Searched refs:RX_DESC_SIZE (Results 1 - 2 of 2) sorted by relevance
/netbsd-current/sys/arch/arm/sunxi/ |
H A D | sunxi_emac.c | 81 #define RX_DESC_SIZE (sizeof(struct sunxi_emac_desc) * RX_DESC_COUNT) macro 1236 error = bus_dmamap_create(sc->dmat, RX_DESC_SIZE, 1, RX_DESC_SIZE, 0, 1240 error = bus_dmamem_alloc(sc->dmat, RX_DESC_SIZE, DESC_ALIGN, 0, 1245 RX_DESC_SIZE, (void *)&sc->rx.desc_ring, 1250 RX_DESC_SIZE, NULL, BUS_DMA_WAITOK); 1255 memset(sc->rx.desc_ring, 0, RX_DESC_SIZE);
|
/netbsd-current/sys/dev/ic/ |
H A D | dwc_eqos.c | 92 #define RX_DESC_SIZE (RX_DESC_COUNT * DESC_ALIGN) macro 1394 error = bus_dmamap_create(sc->sc_dmat, RX_DESC_SIZE, 1, RX_DESC_SIZE, 1399 error = bus_dmamem_alloc(sc->sc_dmat, RX_DESC_SIZE, DESC_ALIGN, 1405 RX_DESC_SIZE, (void *)&sc->sc_rx.desc_ring, BUS_DMA_WAITOK); 1410 sc->sc_rx.desc_ring, RX_DESC_SIZE, NULL, BUS_DMA_WAITOK); 1416 memset(sc->sc_rx.desc_ring, 0, RX_DESC_SIZE);
|
Completed in 86 milliseconds