Home | History | Annotate | Download | only in qat

Lines Matching defs:ctx_mask

239 qat_ae_ctx_indr_write(struct qat_softc *sc, u_char ae, uint32_t ctx_mask,
257 if ((ctx_mask & (1 << ctx)) == 0)
707 qat_ae_enable_ctx(struct qat_softc *sc, u_char ae, u_int ctx_mask)
715 ctx_mask &= 0x55;
717 ctx_mask &= 0xff;
720 ctxen |= __SHIFTIN(ctx_mask, CTX_ENABLES_ENABLE);
725 qat_ae_disable_ctx(struct qat_softc *sc, u_char ae, u_int ctx_mask)
731 ctxen &= ~(__SHIFTIN(ctx_mask & AE_ALL_CTX, CTX_ENABLES_ENABLE));
1786 qat_ae_write_pc(struct qat_softc *sc, u_char ae, u_int ctx_mask, u_int upc)
1792 qat_ae_ctx_indr_write(sc, ae, ctx_mask, CTX_STS_INDIRECT,
2897 qat_aefw_start(struct qat_softc *sc, u_char ae, u_int ctx_mask)
2915 qat_ae_ctx_indr_write(sc, ae, (~ctx_mask) & AE_ALL_CTX,
2918 qat_ae_enable_ctx(sc, ae, ctx_mask);
3098 qat_aefw_init_reg(struct qat_softc *sc, u_char ae, u_char ctx_mask,
3116 if ((ctx_mask & (1 << ctx)) == 0)
3146 u_char ctx_mask;
3164 ctx_mask = 0xff; /* 8-ctx mode */
3166 ctx_mask = 0x55; /* 4-ctx mode */
3168 qat_aefw_init_reg(sc, ae, ctx_mask,
3175 ctx_mask = 0xff; /* 8-ctx mode */
3177 ctx_mask = 0x55; /* 4-ctx mode */
3179 if (((1 << uirs->uirs_ctx) & ctx_mask) == 0)
3417 u_char ae, ctx_mask;
3431 ctx_mask = 0xff; /* 8-ctx mode */
3433 ctx_mask = 0x55; /* 4-ctx mode */
3480 if (ctx_mask & (1 << c))