Lines Matching defs:ctx_id
246 u16 ctx_id;
249 ctx_id = aq->comp_ctx_pool[aq->comp_ctx_pool_next];
253 return ctx_id;
257 u16 ctx_id)
261 aq->comp_ctx_pool[aq->comp_ctx_pool_next] = ctx_id;
270 u16 ctx_id = cmd_id & (aq->depth - 1);
274 efa_com_dealloc_ctx_id(aq, ctx_id);
280 u16 ctx_id = cmd_id & (aq->depth - 1);
282 if (aq->comp_ctx[ctx_id].occupied && capture) {
291 aq->comp_ctx[ctx_id].occupied = 1;
296 return &aq->comp_ctx[ctx_id];
309 u16 ctx_id;
315 ctx_id = efa_com_alloc_ctx_id(aq);
317 /* cmd_id LSBs are the ctx_id and MSBs are entropy bits from pc */
318 cmd_id = ctx_id & queue_size_mask;
328 efa_com_dealloc_ctx_id(aq, ctx_id);