Searched refs:gmac_mapcache_t (Results 1 – 2 of 2) sorted by relevance
/netbsd-src/sys/arch/arm/gemini/ |
H A D | gemini_gmacvar.h | 45 typedef struct gmac_mapcache gmac_mapcache_t; typedef 93 gmac_mapcache_t *sc_rxmaps; 94 gmac_mapcache_t *sc_txmaps; 121 gmac_mapcache_t *hqm_mc; 166 gmac_hwqmem_create(gmac_mapcache_t *, size_t, size_t, int); 180 gmac_mapcache_t * 182 void gmac_mapcache_destroy(gmac_mapcache_t **); 183 int gmac_mapcache_fill(gmac_mapcache_t *, size_t); 185 gmac_mapcache_get(gmac_mapcache_t *); 186 void gmac_mapcache_put(gmac_mapcache_t *, bus_dmamap_t);
|
H A D | gemini_gmac.c | 425 gmac_mapcache_t * 429 gmac_mapcache_t *mc; in gmac_mapcache_create() 431 mc = kmem_zalloc(offsetof(gmac_mapcache_t, mc_maps[maxmaps]), in gmac_mapcache_create() 444 gmac_mapcache_destroy(gmac_mapcache_t **mc_p) in gmac_mapcache_destroy() 446 gmac_mapcache_t *mc = *mc_p; in gmac_mapcache_destroy() 458 kmem_free(mc, offsetof(gmac_mapcache_t, mc_maps[mc->mc_max])); in gmac_mapcache_destroy() 463 gmac_mapcache_fill(gmac_mapcache_t *mc, size_t limit) in gmac_mapcache_fill() 487 gmac_mapcache_get(gmac_mapcache_t *mc) in gmac_mapcache_get() 516 gmac_mapcache_put(gmac_mapcache_t *mc, bus_dmamap_t map) in gmac_mapcache_put() 961 gmac_hwqmem_create(gmac_mapcache_t *mc, size_t ndesc, size_t nqueue, int flags) in gmac_hwqmem_create()
|