Searched refs:rx_cons (Results 1 – 7 of 7) sorted by relevance
/openbsd/sys/dev/pci/ |
H A D | if_bge.c | 3514 uint16_t rx_prod, rx_cons; in bge_rxeof() local 3522 rx_cons = sc->bge_rx_saved_considx; in bge_rxeof() 3526 if (rx_cons == rx_prod) in bge_rxeof() 3537 tosync = rx_prod - rx_cons; in bge_rxeof() 3539 toff = offset + (rx_cons * sizeof (struct bge_rx_bd)); in bge_rxeof() 3542 tlen = (sc->bge_return_ring_cnt - rx_cons) * in bge_rxeof() 3553 while (rx_cons != rx_prod) { in bge_rxeof() 3558 cur_rx = &sc->bge_rdata->bge_rx_return_ring[rx_cons]; in bge_rxeof() 3561 BGE_INC(rx_cons, sc->bge_return_ring_cnt); in bge_rxeof() 3621 sc->bge_rx_saved_considx = rx_cons; in bge_rxeof()
|
H A D | if_bnxt.c | 198 int rx_cons; member 955 rx->rx_cons = 0; in bnxt_queue_up() 1647 rx->rx_cons += rxfree; in bnxt_intr() 1648 if (rx->rx_cons >= rx->rx_ring.ring_size) in bnxt_intr() 1649 rx->rx_cons -= rx->rx_ring.ring_size; in bnxt_intr() 1665 if ((rx->rx_cons == rx->rx_prod) || in bnxt_intr() 2270 if (rx->rx_cons == rx->rx_prod) in bnxt_refill() 2276 if ((rx->rx_cons == rx->rx_prod) || in bnxt_refill()
|
H A D | if_age.c | 1271 int rx_cons; in age_rxeof() local 1275 rx_cons = AGE_RX_CONS(index); in age_rxeof() 1298 AGE_DESC_INC(rx_cons, AGE_RX_RING_CNT)) { in age_rxeof() 1299 rxd = &sc->age_cdata.age_rxdesc[rx_cons]; in age_rxeof() 1408 sc->age_cdata.age_rx_cons = rx_cons; in age_rxeof()
|
H A D | if_aq_pci.c | 928 uint32_t rx_cons; member 2944 rx->rx_cons = AQ_READ_REG(sc, RX_DMA_DESC_HEAD_PTR_REG(rx->rx_q)) & in aq_rxring_reset() 2946 AQ_WRITE_REG(sc, RX_DMA_DESC_TAIL_PTR_REG(rx->rx_q), rx->rx_cons); in aq_rxring_reset() 2947 rx->rx_prod = rx->rx_cons; in aq_rxring_reset() 3066 idx = rx->rx_cons; in aq_rxeof() 3147 rx->rx_cons = idx; in aq_rxeof()
|
H A D | if_bnx.c | 4014 sc->rx_cons = 0; in bnx_init_rx_chain() 4253 sw_cons = sc->rx_cons; in bnx_rx_intr() 4444 sc->rx_cons = sw_cons; in bnx_rx_intr() 4451 sw_cons = sc->rx_cons; in bnx_rx_intr() 4474 sc->rx_cons = sw_cons; in bnx_rx_intr() 4486 __FUNCTION__, sc->rx_prod, sc->rx_cons, sc->rx_prod_bseq); in bnx_rx_intr() 6129 sc->rx_cons); in bnx_dump_driver_state()
|
H A D | if_alc.c | 2437 int count, nsegs, rx_cons; in alc_rxeof() local 2441 rx_cons = RRD_RD_IDX(rdinfo); in alc_rxeof() 2464 ALC_DESC_INC(rx_cons, ALC_RX_RING_CNT)) { in alc_rxeof() 2465 rxd = &sc->alc_cdata.alc_rxdesc[rx_cons]; in alc_rxeof()
|
H A D | if_bnxreg.h | 4851 u_int16_t rx_cons; member
|