Home
last modified time | relevance | path

Searched refs:v_bit (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/dev/bnxt/bnxt_en/
H A Dbnxt_txrx.c229 bool v_bit = cpr->v_bit; in bnxt_isc_txd_credits_update() local
239 last_v_bit = v_bit; in bnxt_isc_txd_credits_update()
241 NEXT_CP_CONS_V(&cpr->ring, cons, v_bit); in bnxt_isc_txd_credits_update()
245 if (!CMP_VALID(&cmpl[cons], v_bit)) in bnxt_isc_txd_credits_update()
269 NEXT_CP_CONS_V(&cpr->ring, cons, v_bit); in bnxt_isc_txd_credits_update()
271 if (!CMP_VALID(&cmpl[cons], v_bit)) { in bnxt_isc_txd_credits_update()
285 cpr->v_bit = last_v_bit; in bnxt_isc_txd_credits_update()
376 bool v_bit = cpr->v_bit; in bnxt_isc_rxd_available() local
382 NEXT_CP_CONS_V(&cpr->ring, cons, v_bit); in bnxt_isc_rxd_available()
385 if (!CMP_VALID(&cmp[cons], v_bit)) in bnxt_isc_rxd_available()
[all …]
H A Dbnxt.h230 #define CMP_VALID(cmp, v_bit) \ argument
231 ((!!(((struct cmpl_base *)(cmp))->info3_v & htole32(CMPL_BASE_V))) == !!(v_bit) )
245 #define NQ_VALID(cmp, v_bit) \ argument
246 ((!!(((nq_cn_t *)(cmp))->v & htole32(NQ_CN_V))) == !!(v_bit) )
255 #define NEXT_CP_CONS_V(ring, cons, v_bit) do { \ argument
257 ((cons) = 0, (v_bit) = !v_bit); \
620 bool v_bit; /* Value of valid bit */ member
H A Dif_bnxt.c3046 softc->def_cp_ring.v_bit = 1; in bnxt_init()
3067 softc->nq_rings[i].v_bit = 1; in bnxt_init()
3083 softc->rx_cp_rings[i].v_bit = 1; in bnxt_init()
3176 softc->tx_cp_rings[i].v_bit = 1; in bnxt_init()
3767 bool v_bit = cpr->v_bit; in process_nq() local
3773 if (!NQ_VALID(&cmp[cons], v_bit)) { in process_nq()
3786 NEXT_CP_CONS_V(&cpr->ring, cons, v_bit); in process_nq()
3794 cpr->v_bit = v_bit; in process_nq()
4942 cmp[i].info3_v = !cpr->v_bit; in bnxt_mark_cpr_invalid()
5165 bool v_bit = cpr->v_bit; in bnxt_def_cp_task() local
[all …]
/freebsd/sys/dev/enic/
H A Denic.h383 bool v_bit; /* Value of valid bit */ member