Lines Matching refs:chain32
123 struct qed_chain_u32 chain32; member
199 return p_chain->u.chain32.cons_idx; in qed_chain_get_cons_idx_u32()
221 (u64)p_chain->u.chain32.prod_idx) - in qed_chain_get_elem_left_u32()
222 (u64)p_chain->u.chain32.cons_idx); in qed_chain_get_elem_left_u32()
224 used -= p_chain->u.chain32.prod_idx / p_chain->elem_per_page - in qed_chain_get_elem_left_u32()
225 p_chain->u.chain32.cons_idx / p_chain->elem_per_page; in qed_chain_get_elem_left_u32()
298 (((p)->u.chain32.idx & (p)->elem_per_page_mask) == (p)->usable_per_page)
304 ((((p)->u.chain32.idx + 1) & (p)->elem_per_page_mask) == \
314 (p)->u.chain32.idx += (p)->elem_unusable; \
331 p_chain->u.chain32.cons_idx++; in qed_chain_return_produced()
360 if ((p_chain->u.chain32.prod_idx & in qed_chain_produce()
362 p_prod_idx = &p_chain->u.chain32.prod_idx; in qed_chain_produce()
367 p_chain->u.chain32.prod_idx++; in qed_chain_produce()
406 p_chain->u.chain32.prod_idx++; in qed_chain_recycle_consumed()
433 if ((p_chain->u.chain32.cons_idx & in qed_chain_consume()
435 p_cons_idx = &p_chain->u.chain32.cons_idx; in qed_chain_consume()
440 p_chain->u.chain32.cons_idx++; in qed_chain_consume()
463 p_chain->u.chain32.prod_idx = 0; in qed_chain_reset()
464 p_chain->u.chain32.cons_idx = 0; in qed_chain_reset()
670 p_chain->u.chain32.prod_idx; in qed_chain_set_prod()
700 p_chain->u.chain32.prod_idx = prod_idx; in qed_chain_set_prod()