Searched refs:sc_rx_prod (Results 1 – 12 of 12) sorted by relevance
/openbsd/sys/dev/ic/ |
H A D | hmevar.h | 87 int sc_rx_prod, sc_rx_cons; member
|
H A D | dwqe.c | 624 sc->sc_rx_prod = sc->sc_rx_cons = 0; in dwqe_rxtick() 915 sc->sc_rx_prod = sc->sc_rx_cons = 0; in dwqe_up() 1390 rxb = &sc->sc_rxbuf[sc->sc_rx_prod]; in dwqe_fill_rx_ring() 1398 rxd = &sc->sc_rxdesc[sc->sc_rx_prod]; in dwqe_fill_rx_ring() 1404 if (sc->sc_rx_prod == (DWQE_NRXDESC - 1)) in dwqe_fill_rx_ring() 1405 sc->sc_rx_prod = 0; in dwqe_fill_rx_ring() 1407 sc->sc_rx_prod++; in dwqe_fill_rx_ring() 1412 sc->sc_rx_prod * sizeof(*rxd)); in dwqe_fill_rx_ring()
|
H A D | hme.c | 430 sc->sc_rx_prod = sc->sc_rx_cons = 0; in hme_stop() 1261 if (hme_newbuf(sc, &sc->sc_rxd[sc->sc_rx_prod])) in hme_fill_rx_ring() 1264 sd = &sc->sc_rxd[sc->sc_rx_prod]; in hme_fill_rx_ring() 1265 HME_XD_SETADDR(sc->sc_pci, sc->sc_rb.rb_rxd, sc->sc_rx_prod, in hme_fill_rx_ring() 1267 HME_XD_SETFLAGS(sc->sc_pci, sc->sc_rb.rb_rxd, sc->sc_rx_prod, in hme_fill_rx_ring() 1270 if (++sc->sc_rx_prod == HME_RX_RING_SIZE) in hme_fill_rx_ring() 1271 sc->sc_rx_prod = 0; in hme_fill_rx_ring()
|
H A D | dwqevar.h | 77 int sc_rx_prod; member
|
H A D | gem.c | 460 bus_space_write_4(t, mac, GEM_RX_KICK, sc->sc_rx_prod); in gem_tick() 524 sc->sc_rx_prod = sc->sc_rx_cons = 0; in gem_rxdrain() 851 bus_space_write_4(t, h, GEM_RX_KICK, sc->sc_rx_prod); in gem_init() 1031 bus_space_write_4(t, h, GEM_RX_KICK, sc->sc_rx_prod); in gem_rint() 1046 if (gem_add_rxbuf(sc, sc->sc_rx_prod)) in gem_fill_rx_ring() 1087 sc->sc_rx_prod = GEM_NEXTRX(sc->sc_rx_prod); in gem_add_rxbuf()
|
H A D | gemvar.h | 181 u_int32_t sc_rx_prod, sc_rx_cons; member
|
/openbsd/sys/dev/fdt/ |
H A D | if_dwxe.c | 296 int sc_rx_prod; member 887 sc->sc_rx_prod = sc->sc_rx_cons = 0; in dwxe_rxtick() 1086 sc->sc_rx_prod = sc->sc_rx_cons = 0; in dwxe_up() 1420 rxb = &sc->sc_rxbuf[sc->sc_rx_prod]; in dwxe_fill_rx_ring() 1425 rxd = &sc->sc_rxdesc[sc->sc_rx_prod]; in dwxe_fill_rx_ring() 1430 if (sc->sc_rx_prod == (DWXE_NRXDESC - 1)) in dwxe_fill_rx_ring() 1431 sc->sc_rx_prod = 0; in dwxe_fill_rx_ring() 1433 sc->sc_rx_prod++; in dwxe_fill_rx_ring()
|
H A D | if_fec.c | 237 int sc_rx_prod; member 607 sc->sc_rx_prod = sc->sc_rx_cons = 0; in fec_init_rxd() 1338 rxb = &sc->sc_rxbuf[sc->sc_rx_prod]; in fec_fill_rx_ring() 1342 rxd = &sc->sc_rxdesc[sc->sc_rx_prod]; in fec_fill_rx_ring() 1348 if (sc->sc_rx_prod == (ENET_NRXDESC - 1)) in fec_fill_rx_ring() 1349 sc->sc_rx_prod = 0; in fec_fill_rx_ring() 1351 sc->sc_rx_prod++; in fec_fill_rx_ring()
|
H A D | if_dwge.c | 293 int sc_rx_prod; member 978 sc->sc_rx_prod = sc->sc_rx_cons = 0; in dwge_rxtick() 1197 sc->sc_rx_prod = sc->sc_rx_cons = 0; in dwge_up() 1544 rxb = &sc->sc_rxbuf[sc->sc_rx_prod]; in dwge_fill_rx_ring() 1549 rxd = &sc->sc_rxdesc[sc->sc_rx_prod]; in dwge_fill_rx_ring() 1555 if (sc->sc_rx_prod == (DWGE_NRXDESC - 1)) in dwge_fill_rx_ring() 1556 sc->sc_rx_prod = 0; in dwge_fill_rx_ring() 1558 sc->sc_rx_prod++; in dwge_fill_rx_ring()
|
H A D | if_cad.c | 298 unsigned int sc_rx_prod; member 834 sc->sc_rx_prod = 0; in cad_up() 1384 idx = sc->sc_rx_prod; in cad_rxfill() 1424 sc->sc_rx_prod = idx; in cad_rxfill() 2024 sc->sc_rx_prod == i ? "<" : " ", in cad_dump() 2032 sc->sc_rx_prod == i ? "<" : " ", in cad_dump()
|
H A D | if_mvneta.c | 156 unsigned int sc_rx_prod; /* next rx desc to fill */ member 1195 sc->sc_rx_prod = sc->sc_rx_cons = 0; in mvneta_up() 1767 prod = sc->sc_rx_prod; in mvneta_fill_rx_ring() 1792 sc->sc_rx_prod = prod; in mvneta_fill_rx_ring()
|
/openbsd/sys/dev/pci/ |
H A D | if_nep.c | 446 int sc_rx_prod; member 1573 sc->sc_rx_prod = 0; in nep_up() 1988 desc = sc->sc_rx_prod; in nep_fill_rx_ring() 2016 sc->sc_rx_prod = desc; in nep_fill_rx_ring()
|