• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/dev/bnxt/

Lines Matching defs: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);
316 if (softc->rx_cp_rings[rxqid].cons != UINT32_MAX)
318 softc->rx_cp_rings[rxqid].cons);
334 uint32_t cons = cpr->cons;
341 NEXT_CP_CONS_V(&cpr->ring, cons, v_bit);
342 CMPL_PREFETCH_NEXT(cpr, cons);
344 if (!CMP_VALID(&cmp[cons], v_bit))
347 type = le16toh(cmp[cons].type) & CMPL_BASE_TYPE_MASK;
350 rcp = (void *)&cmp[cons];
353 NEXT_CP_CONS_V(&cpr->ring, cons, v_bit);
354 CMPL_PREFETCH_NEXT(cpr, cons);
356 if (!CMP_VALID(&cmp[cons], v_bit))
361 NEXT_CP_CONS_V(&cpr->ring, cons, v_bit);
362 CMPL_PREFETCH_NEXT(cpr, cons);
363 if (!CMP_VALID(&cmp[cons], v_bit))
369 rtpae = (void *)&cmp[cons];
373 NEXT_CP_CONS_V(&cpr->ring, cons, v_bit);
374 CMPL_PREFETCH_NEXT(cpr, cons);
376 if (!CMP_VALID(&cmp[cons], v_bit))
380 NEXT_CP_CONS_V(&cpr->ring, cons, v_bit);
381 CMPL_PREFETCH_NEXT(cpr, cons);
382 if (!CMP_VALID(&cmp[cons], v_bit))
388 NEXT_CP_CONS_V(&cpr->ring, cons, v_bit);
389 CMPL_PREFETCH_NEXT(cpr, cons);
391 if (!CMP_VALID(&cmp[cons], v_bit))
403 NEXT_CP_CONS_V(&cpr->ring, cons, v_bit);
404 CMPL_PREFETCH_NEXT(cpr, cons);
406 if (!CMP_VALID(&cmp[cons], v_bit))
462 rcp = &((struct rx_pkt_cmpl *)cpr->ring.vaddr)[cpr->cons];
482 NEXT_CP_CONS_V(&cpr->ring, cpr->cons, cpr->v_bit);
484 rcph = &((struct rx_pkt_cmpl_hi *)cpr->ring.vaddr)[cpr->cons];
513 NEXT_CP_CONS_V(&cpr->ring, cpr->cons, cpr->v_bit);
515 acp = &((struct rx_abuf_cmpl *)cpr->ring.vaddr)[cpr->cons];
532 &((struct rx_tpa_end_cmpl *)cpr->ring.vaddr)[cpr->cons];
563 NEXT_CP_CONS_V(&cpr->ring, cpr->cons, cpr->v_bit);
588 NEXT_CP_CONS_V(&cpr->ring, cpr->cons, cpr->v_bit);
590 acp = &((struct rx_abuf_cmpl *)cpr->ring.vaddr)[cpr->cons];
624 NEXT_CP_CONS_V(&cpr->ring, cpr->cons, cpr->v_bit);
626 CMPL_PREFETCH_NEXT(cpr, cpr->cons);
627 cmp = &((struct cmpl_base *)cpr->ring.vaddr)[cpr->cons];
638 rtpa = (void *)&cmp_q[cpr->cons];
644 NEXT_CP_CONS_V(&cpr->ring, cpr->cons, cpr->v_bit);
646 CMPL_PREFETCH_NEXT(cpr, cpr->cons);
649 ((struct rx_tpa_start_cmpl_hi *)cmp_q)[cpr->cons];
656 NEXT_CP_CONS_V(&cpr->ring, cpr->cons,
660 CMPL_PREFETCH_NEXT(cpr, cpr->cons);