Searched refs:sc_rxmaps (Results 1 – 5 of 5) sorted by relevance
| /netbsd/src/sys/dev/ic/ |
| D | i82557var.h | 193 bus_dmamap_t sc_rxmaps[FXP_NRFABUFS]; /* free receive buffer DMA maps */ member 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)
|
| D | i82557.c | 341 MCLBYTES, 0, 0, &sc->sc_rxmaps[i])) != 0) { in fxp_attach() 443 if (sc->sc_rxmaps[i] != NULL) in fxp_attach() 444 bus_dmamap_destroy(sc->sc_dmat, sc->sc_rxmaps[i]); in fxp_attach() 2523 bus_dmamap_unload(sc->sc_dmat, sc->sc_rxmaps[i]); in fxp_detach() 2524 bus_dmamap_destroy(sc->sc_dmat, sc->sc_rxmaps[i]); in fxp_detach()
|
| /netbsd/src/sys/arch/arm/gemini/ |
| D | gemini_gmacvar.h | 93 gmac_mapcache_t *sc_rxmaps; member
|
| D | gemini_gmac.c | 193 sc->sc_rxmaps = gmac_mapcache_create(sc->sc_dmat, MAX_RXMAPS, in gmac_init() 195 KASSERT(sc->sc_rxmaps != NULL); in gmac_init() 209 hqm = gmac_hwqmem_create(sc->sc_rxmaps, 32 /*SWFREEQ_DESCS*/, 1, in gmac_init() 219 hqm = gmac_hwqmem_create(sc->sc_rxmaps, HWFREEQ_DESCS, 1, in gmac_init()
|
| D | if_gmc.c | 436 gmac_mapcache_destroy(&psc->sc_rxmaps); in gmc_ifstop() 449 gmac_mapcache_fill(psc->sc_rxmaps, MIN_RXMAPS); in gmc_ifinit() 454 hqm = gmac_hwqmem_create(psc->sc_rxmaps, 16, /*RXQ_NDESCS,*/ 1, in gmc_ifinit()
|