Lines Matching refs:ctx_mask
70 unsigned char ae, unsigned int ctx_mask) in qat_hal_set_live_ctx() argument
72 AE(handle, ae).live_ctx_mask = ctx_mask; in qat_hal_set_live_ctx()
314 unsigned char ae, unsigned int ctx_mask, in qat_hal_wr_indr_csr() argument
322 if (!(ctx_mask & (1 << ctx))) in qat_hal_wr_indr_csr()
346 unsigned char ae, unsigned int ctx_mask, in qat_hal_put_sig_event() argument
353 if (!(ctx_mask & (1 << ctx))) in qat_hal_put_sig_event()
362 unsigned char ae, unsigned int ctx_mask, in qat_hal_put_wakeup_event() argument
369 if (!(ctx_mask & (1 << ctx))) in qat_hal_put_wakeup_event()
530 unsigned char ae, unsigned int ctx_mask) in qat_hal_disable_ctx() argument
536 (~((ctx_mask & ICP_QAT_UCLO_AE_ALL_CTX) << CE_ENABLE_BITPOS)); in qat_hal_disable_ctx()
594 unsigned char ae, unsigned int ctx_mask) in qat_hal_enable_ctx() argument
600 ctx_mask &= (ctx & CE_INUSE_CONTEXTS) ? 0x55 : 0xFF; in qat_hal_enable_ctx()
601 ctx |= (ctx_mask << CE_ENABLE_BITPOS); in qat_hal_enable_ctx()
625 unsigned int ctx_mask = ICP_QAT_UCLO_AE_ALL_CTX; in qat_hal_clear_gpr() local
643 qat_hal_wr_indr_csr(handle, ae, ctx_mask, CTX_STS_INDIRECT, in qat_hal_clear_gpr()
648 qat_hal_put_wakeup_event(handle, ae, ctx_mask, XCWE_VOLUNTARY); in qat_hal_clear_gpr()
649 qat_hal_wr_indr_csr(handle, ae, ctx_mask, in qat_hal_clear_gpr()
652 qat_hal_enable_ctx(handle, ae, ctx_mask); in qat_hal_clear_gpr()
664 qat_hal_disable_ctx(handle, ae, ctx_mask); in qat_hal_clear_gpr()
669 qat_hal_wr_indr_csr(handle, ae, ctx_mask, CTX_STS_INDIRECT, in qat_hal_clear_gpr()
674 qat_hal_put_wakeup_event(handle, ae, ctx_mask, in qat_hal_clear_gpr()
676 qat_hal_put_sig_event(handle, ae, ctx_mask, in qat_hal_clear_gpr()
923 unsigned int ctx_mask) in qat_hal_stop() argument
926 qat_hal_disable_ctx(handle, ae, ctx_mask); in qat_hal_stop()
930 unsigned char ae, unsigned int ctx_mask, unsigned int upc) in qat_hal_set_pc() argument
932 qat_hal_wr_indr_csr(handle, ae, ctx_mask, CTX_STS_INDIRECT, in qat_hal_set_pc()
1469 unsigned char ae, unsigned long ctx_mask, in qat_hal_init_gpr() argument
1482 if (ctx_mask == 0) { in qat_hal_init_gpr()
1489 if (!test_bit(ctx, &ctx_mask)) in qat_hal_init_gpr()
1497 } while (ctx_mask && (ctx++ < ICP_QAT_UCLO_MAX_CTX)); in qat_hal_init_gpr()
1503 unsigned char ae, unsigned long ctx_mask, in qat_hal_init_wr_xfer() argument
1516 if (ctx_mask == 0) { in qat_hal_init_wr_xfer()
1523 if (!test_bit(ctx, &ctx_mask)) in qat_hal_init_wr_xfer()
1532 } while (ctx_mask && (ctx++ < ICP_QAT_UCLO_MAX_CTX)); in qat_hal_init_wr_xfer()
1538 unsigned char ae, unsigned long ctx_mask, in qat_hal_init_rd_xfer() argument
1551 if (ctx_mask == 0) { in qat_hal_init_rd_xfer()
1558 if (!test_bit(ctx, &ctx_mask)) in qat_hal_init_rd_xfer()
1567 } while (ctx_mask && (ctx++ < ICP_QAT_UCLO_MAX_CTX)); in qat_hal_init_rd_xfer()
1573 unsigned char ae, unsigned long ctx_mask, in qat_hal_init_nn() argument
1584 if (ctx_mask == 0) in qat_hal_init_nn()
1588 if (!test_bit(ctx, &ctx_mask)) in qat_hal_init_nn()