Searched refs:txmaps (Results 1 – 2 of 2) sorted by relevance
3212 t4_alloc_tx_maps(struct adapter *sc, struct tx_maps *txmaps, int count, in t4_alloc_tx_maps() argument3217 txmaps->map_total = count; in t4_alloc_tx_maps()3218 txmaps->map_avail = txmaps->map_cidx = txmaps->map_pidx = 0; in t4_alloc_tx_maps()3220 txmaps->map = kmem_zalloc(sizeof (ddi_dma_handle_t) * in t4_alloc_tx_maps()3221 txmaps->map_total, flags); in t4_alloc_tx_maps()3225 DDI_DMA_SLEEP, 0, &txmaps->map[i]); in t4_alloc_tx_maps()3232 txmaps->map_avail++; in t4_alloc_tx_maps()
839 int t4_alloc_tx_maps(struct adapter *sc, struct tx_maps *txmaps, int count,