/src/sys/dev/ic/ |
i82557var.h | 193 bus_dmamap_t sc_rxmaps[FXP_NRFABUFS]; /* free receive buffer DMA maps */ member in struct:fxp_softc 254 #define FXP_RXMAP_GET(sc) ((sc)->sc_rxmaps[(sc)->sc_rxfree++]) 255 #define FXP_RXMAP_PUT(sc, map) (sc)->sc_rxmaps[--(sc)->sc_rxfree] = (map)
|
i82557.c | 341 MCLBYTES, 0, 0, &sc->sc_rxmaps[i])) != 0) { 443 if (sc->sc_rxmaps[i] != NULL) 444 bus_dmamap_destroy(sc->sc_dmat, sc->sc_rxmaps[i]); 2523 bus_dmamap_unload(sc->sc_dmat, sc->sc_rxmaps[i]); 2524 bus_dmamap_destroy(sc->sc_dmat, sc->sc_rxmaps[i]);
|
/src/sys/arch/arm/gemini/ |
gemini_gmacvar.h | 93 gmac_mapcache_t *sc_rxmaps; member in struct:gmac_softc
|
gemini_gmac.c | 193 sc->sc_rxmaps = gmac_mapcache_create(sc->sc_dmat, MAX_RXMAPS, 195 KASSERT(sc->sc_rxmaps != NULL); 209 hqm = gmac_hwqmem_create(sc->sc_rxmaps, 32 /*SWFREEQ_DESCS*/, 1, 219 hqm = gmac_hwqmem_create(sc->sc_rxmaps, HWFREEQ_DESCS, 1,
|
if_gmc.c | 436 gmac_mapcache_destroy(&psc->sc_rxmaps); 449 gmac_mapcache_fill(psc->sc_rxmaps, MIN_RXMAPS); 454 hqm = gmac_hwqmem_create(psc->sc_rxmaps, 16, /*RXQ_NDESCS,*/ 1,
|