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.c192 bool v_bit = cpr->v_bit; in bnxt_isc_txd_credits_update() local
200 last_v_bit = v_bit; in bnxt_isc_txd_credits_update()
201 NEXT_CP_CONS_V(&cpr->ring, cons, v_bit); in bnxt_isc_txd_credits_update()
204 if (!CMP_VALID(&cmpl[cons], v_bit)) in bnxt_isc_txd_credits_update()
228 NEXT_CP_CONS_V(&cpr->ring, cons, v_bit); in bnxt_isc_txd_credits_update()
229 if (!CMP_VALID(&cmpl[cons], v_bit)) in bnxt_isc_txd_credits_update()
241 cpr->v_bit = last_v_bit; in bnxt_isc_txd_credits_update()
325 bool v_bit = cpr->v_bit; in bnxt_isc_rxd_available() local
331 NEXT_CP_CONS_V(&cpr->ring, cons, v_bit); in bnxt_isc_rxd_available()
334 if (!CMP_VALID(&cmp[cons], v_bit)) in bnxt_isc_rxd_available()
[all …]
H A Dbnxt.h222 #define CMP_VALID(cmp, v_bit) \
223 ((!!(((struct cmpl_base *)(cmp))->info3_v & htole32(CMPL_BASE_V))) == !!(v_bit) )
230 #define NQ_VALID(cmp, v_bit) \
231 ((!!(((nq_cn_t *)(cmp))->v & htole32(NQ_CN_V))) == !!(v_bit) )
240 #define NEXT_CP_CONS_V(ring, cons, v_bit) do { \
242 ((cons) = 0, (v_bit) = !v_bit); \
574 bool v_bit; /* Value of valid bit */
221 CMP_VALID(cmp,v_bit) global() argument
229 NQ_VALID(cmp,v_bit) global() argument
239 NEXT_CP_CONS_V(ring,cons,v_bit) global() argument
573 bool v_bit; /* Value of valid bit */ global() member
H A Dif_bnxt.c2796 softc->def_cp_ring.v_bit = 1; in bnxt_init()
2814 softc->nq_rings[i].v_bit = 1; in bnxt_init()
2827 softc->rx_cp_rings[i].v_bit = 1; in bnxt_init()
2912 softc->tx_cp_rings[i].v_bit = 1; in bnxt_init()
3371 bool v_bit = cpr->v_bit; in process_nq()
3376 if (!NQ_VALID(&cmp[cons], v_bit)) in process_nq()
3384 NEXT_CP_CONS_V(&cpr->ring, cons, v_bit); in process_nq()
3390 cpr->v_bit = v_bit;
3367 bool v_bit = cpr->v_bit; process_nq() local
4616 bool v_bit = cpr->v_bit; bnxt_def_cp_task() local
[all...]
/freebsd/sys/dev/enic/
H A Denic.h395 bool v_bit; /* Value of valid bit */ member