Home
last modified time | relevance | path

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

/freebsd/sys/dev/cadence/
H A Dif_cgem.c90 #define CGEM_NUM_RX_DESCS 512 /* size of receive descriptor ring */ macro
143 struct mbuf *rxring_m[CGEM_NUM_RX_DESCS];
144 bus_dmamap_t rxring_m_dmamap[CGEM_NUM_RX_DESCS];
410 int desc_rings_size = CGEM_NUM_RX_DESCS * sizeof(struct cgem_rx_desc) + in cgem_setup_descs()
461 for (i = 0; i < CGEM_NUM_RX_DESCS; i++) { in cgem_setup_descs()
467 sc->rxring[CGEM_NUM_RX_DESCS - 1].addr |= CGEM_RXDESC_WRAP; in cgem_setup_descs()
473 sc->txring = (struct cgem_tx_desc *)(sc->rxring + CGEM_NUM_RX_DESCS); in cgem_setup_descs()
474 sc->txring_physaddr = sc->rxring_physaddr + CGEM_NUM_RX_DESCS * in cgem_setup_descs()
550 if (sc->rxring_hd_ptr == CGEM_NUM_RX_DESCS - 1) { in cgem_fill_rqueue()
595 if (++sc->rxring_tl_ptr == CGEM_NUM_RX_DESCS) in cgem_recv()
[all …]