Searched refs:comp_ctx (Results 1 – 7 of 7) sorted by relevance
/linux-5.19.10/drivers/infiniband/hw/efa/ |
D | efa_com.c | 266 struct efa_comp_ctx *comp_ctx) in efa_com_put_comp_ctx() argument 268 u16 cmd_id = EFA_GET(&comp_ctx->user_cqe->acq_common_descriptor.command, in efa_com_put_comp_ctx() 273 comp_ctx->occupied = 0; in efa_com_put_comp_ctx() 282 if (aq->comp_ctx[ctx_id].occupied && capture) { in efa_com_get_comp_ctx() 291 aq->comp_ctx[ctx_id].occupied = 1; in efa_com_get_comp_ctx() 296 return &aq->comp_ctx[ctx_id]; in efa_com_get_comp_ctx() 306 struct efa_comp_ctx *comp_ctx; in __efa_com_submit_admin_cmd() local 326 comp_ctx = efa_com_get_comp_ctx(aq, cmd_id, true); in __efa_com_submit_admin_cmd() 327 if (!comp_ctx) { in __efa_com_submit_admin_cmd() 332 comp_ctx->status = EFA_CMD_SUBMITTED; in __efa_com_submit_admin_cmd() [all …]
|
D | efa_com.h | 62 struct efa_comp_ctx *comp_ctx; member
|
/linux-5.19.10/drivers/crypto/cavium/zip/ |
D | zip_crypto.c | 74 struct zip_operation *comp_ctx = &zip_ctx->zip_comp; in zip_ctx_init() local 77 zip_static_init_zip_ops(comp_ctx, lzs_flag); in zip_ctx_init() 80 comp_ctx->input = zip_data_buf_alloc(MAX_INPUT_BUFFER_SIZE); in zip_ctx_init() 81 if (!comp_ctx->input) in zip_ctx_init() 84 comp_ctx->output = zip_data_buf_alloc(MAX_OUTPUT_BUFFER_SIZE); in zip_ctx_init() 85 if (!comp_ctx->output) in zip_ctx_init() 102 zip_data_buf_free(comp_ctx->output, MAX_OUTPUT_BUFFER_SIZE); in zip_ctx_init() 105 zip_data_buf_free(comp_ctx->input, MAX_INPUT_BUFFER_SIZE); in zip_ctx_init() 112 struct zip_operation *comp_ctx = &zip_ctx->zip_comp; in zip_ctx_exit() local 115 zip_data_buf_free(comp_ctx->input, MAX_INPUT_BUFFER_SIZE); in zip_ctx_exit() [all …]
|
/linux-5.19.10/drivers/net/ethernet/amazon/ena/ |
D | ena_com.c | 173 struct ena_comp_ctx *comp_ctx) in comp_ctxt_release() argument 175 comp_ctx->occupied = false; in comp_ctxt_release() 189 if (unlikely(!admin_queue->comp_ctx)) { in get_comp_ctxt() 195 if (unlikely(admin_queue->comp_ctx[command_id].occupied && capture)) { in get_comp_ctxt() 203 admin_queue->comp_ctx[command_id].occupied = true; in get_comp_ctxt() 206 return &admin_queue->comp_ctx[command_id]; in get_comp_ctxt() 215 struct ena_comp_ctx *comp_ctx; in __ena_com_submit_admin_cmd() local 241 comp_ctx = get_comp_ctxt(admin_queue, cmd_id, true); in __ena_com_submit_admin_cmd() 242 if (unlikely(!comp_ctx)) in __ena_com_submit_admin_cmd() 245 comp_ctx->status = ENA_CMD_SUBMITTED; in __ena_com_submit_admin_cmd() [all …]
|
D | ena_com.h | 221 struct ena_comp_ctx *comp_ctx; member
|
/linux-5.19.10/drivers/infiniband/hw/irdma/ |
D | uk.c | 1001 u64 comp_ctx, qword0, qword2, qword3; in irdma_uk_cq_poll_cmpl() local 1106 get_64bit_val(cqe, 8, &comp_ctx); in irdma_uk_cq_poll_cmpl() 1109 qp = (struct irdma_qp_uk *)(unsigned long)comp_ctx; in irdma_uk_cq_poll_cmpl() 1467 u64 qword3, comp_ctx; in irdma_uk_clean_cq() local 1484 get_64bit_val(cqe, 8, &comp_ctx); in irdma_uk_clean_cq() 1485 if ((void *)(unsigned long)comp_ctx == q) in irdma_uk_clean_cq()
|
D | puda.c | 219 u64 comp_ctx; in irdma_puda_poll_info() local 276 get_64bit_val(cqe, 8, &comp_ctx); in irdma_puda_poll_info() 277 info->qp = (struct irdma_qp_uk *)(unsigned long)comp_ctx; in irdma_puda_poll_info()
|