Lines Matching refs:cons

196 	uint32_t cons = cpr->cons;
204 last_cons = cons;
206 NEXT_CP_CONS_V(&cpr->ring, cons, v_bit);
207 CMPL_PREFETCH_NEXT(cpr, cons);
209 if (!CMP_VALID(&cmpl[cons], v_bit))
212 type = cmpl[cons].flags_type & TX_CMPL_TYPE_MASK;
215 err = (le16toh(cmpl[cons].errors_v) &
222 avail += cmpl[cons].opaque >> 24;
233 NEXT_CP_CONS_V(&cpr->ring, cons, v_bit);
234 if (!CMP_VALID(&cmpl[cons], v_bit))
245 cpr->cons = last_cons;
247 BNXT_CP_IDX_DISABLE_DB(&cpr->ring, cpr->cons);
318 if (softc->rx_cp_rings[rxqid].cons != UINT32_MAX)
320 softc->rx_cp_rings[rxqid].cons);
337 uint32_t cons = cpr->cons;
344 NEXT_CP_CONS_V(&cpr->ring, cons, v_bit);
345 CMPL_PREFETCH_NEXT(cpr, cons);
347 if (!CMP_VALID(&cmp[cons], v_bit))
350 type = le16toh(cmp[cons].type) & CMPL_BASE_TYPE_MASK;
353 rcp = (void *)&cmp[cons];
356 NEXT_CP_CONS_V(&cpr->ring, cons, v_bit);
357 CMPL_PREFETCH_NEXT(cpr, cons);
359 if (!CMP_VALID(&cmp[cons], v_bit))
364 NEXT_CP_CONS_V(&cpr->ring, cons, v_bit);
365 CMPL_PREFETCH_NEXT(cpr, cons);
366 if (!CMP_VALID(&cmp[cons], v_bit))
372 rtpae = (void *)&cmp[cons];
376 NEXT_CP_CONS_V(&cpr->ring, cons, v_bit);
377 CMPL_PREFETCH_NEXT(cpr, cons);
379 if (!CMP_VALID(&cmp[cons], v_bit))
383 NEXT_CP_CONS_V(&cpr->ring, cons, v_bit);
384 CMPL_PREFETCH_NEXT(cpr, cons);
385 if (!CMP_VALID(&cmp[cons], v_bit))
391 NEXT_CP_CONS_V(&cpr->ring, cons, v_bit);
392 CMPL_PREFETCH_NEXT(cpr, cons);
394 if (!CMP_VALID(&cmp[cons], v_bit))
406 NEXT_CP_CONS_V(&cpr->ring, cons, v_bit);
407 CMPL_PREFETCH_NEXT(cpr, cons);
409 if (!CMP_VALID(&cmp[cons], v_bit))
465 rcp = &((struct rx_pkt_cmpl *)cpr->ring.vaddr)[cpr->cons];
485 NEXT_CP_CONS_V(&cpr->ring, cpr->cons, cpr->v_bit);
487 rcph = &((struct rx_pkt_cmpl_hi *)cpr->ring.vaddr)[cpr->cons];
516 NEXT_CP_CONS_V(&cpr->ring, cpr->cons, cpr->v_bit);
518 acp = &((struct rx_abuf_cmpl *)cpr->ring.vaddr)[cpr->cons];
535 &((struct rx_tpa_end_cmpl *)cpr->ring.vaddr)[cpr->cons];
567 NEXT_CP_CONS_V(&cpr->ring, cpr->cons, cpr->v_bit);
569 agendh = &((struct rx_tpa_end_cmpl_hi *)cpr->ring.vaddr)[cpr->cons];
593 NEXT_CP_CONS_V(&cpr->ring, cpr->cons, cpr->v_bit);
595 acp = &((struct rx_abuf_cmpl *)cpr->ring.vaddr)[cpr->cons];
629 NEXT_CP_CONS_V(&cpr->ring, cpr->cons, cpr->v_bit);
631 CMPL_PREFETCH_NEXT(cpr, cpr->cons);
632 cmp = &((struct cmpl_base *)cpr->ring.vaddr)[cpr->cons];
643 rtpa = (void *)&cmp_q[cpr->cons];
649 NEXT_CP_CONS_V(&cpr->ring, cpr->cons, cpr->v_bit);
651 CMPL_PREFETCH_NEXT(cpr, cpr->cons);
654 ((struct rx_tpa_start_cmpl_hi *)cmp_q)[cpr->cons];
661 NEXT_CP_CONS_V(&cpr->ring, cpr->cons,
665 CMPL_PREFETCH_NEXT(cpr, cpr->cons);