Lines Matching refs:prod_idx
1266 u16 prod_idx; in qedi_process_completions() local
1273 prod_idx = sb->pi_array[QEDI_PROTO_CQ_PROD_IDX]; in qedi_process_completions()
1275 if (prod_idx >= QEDI_CQ_SIZE) in qedi_process_completions()
1276 prod_idx = prod_idx % QEDI_CQ_SIZE; in qedi_process_completions()
1281 que, prod_idx, que->cq_cons_idx, fp->sb_id); in qedi_process_completions()
1291 while (que->cq_cons_idx != prod_idx) { in qedi_process_completions()
1296 cqe, prod_idx, que->cq_cons_idx); in qedi_process_completions()
1320 u16 prod_idx; in qedi_fp_has_work() local
1325 prod_idx = sb->pi_array[QEDI_PROTO_CQ_PROD_IDX]; in qedi_fp_has_work()
1331 if (prod_idx >= QEDI_CQ_SIZE) in qedi_fp_has_work()
1332 prod_idx = prod_idx % QEDI_CQ_SIZE; in qedi_fp_has_work()
1334 return (que->cq_cons_idx != prod_idx); in qedi_fp_has_work()