Searched refs:txr (Results 1 – 3 of 3) sorted by relevance
251 static inline u32 bnx2_tx_avail(struct bnx2 *bp, struct bnx2_tx_ring_info *txr) in bnx2_tx_avail() argument261 diff = txr->tx_prod - txr->tx_cons; in bnx2_tx_avail()700 struct bnx2_tx_ring_info *txr = &bnapi->tx_ring; in bnx2_free_tx_mem() local702 if (txr->tx_desc_ring) { in bnx2_free_tx_mem()704 txr->tx_desc_ring, in bnx2_free_tx_mem()705 txr->tx_desc_mapping); in bnx2_free_tx_mem()706 txr->tx_desc_ring = NULL; in bnx2_free_tx_mem()708 kfree(txr->tx_buf_ring); in bnx2_free_tx_mem()709 txr->tx_buf_ring = NULL; in bnx2_free_tx_mem()752 struct bnx2_tx_ring_info *txr = &bnapi->tx_ring; in bnx2_alloc_tx_mem() local[all …]
82 struct ioc3_etxd *txr; member863 ip->txr[i].cmd = 0; in ioc3_clean_tx_ring()874 if (ip->txr) { in ioc3_free_rings()876 free_pages((unsigned long)ip->txr, 2); in ioc3_free_rings()877 ip->txr = NULL; in ioc3_free_rings()934 if (ip->txr == NULL) { in ioc3_alloc_rings()936 ip->txr = (struct ioc3_etxd *)__get_free_pages(GFP_KERNEL, 2); in ioc3_alloc_rings()937 if (!ip->txr) in ioc3_alloc_rings()963 ring = ioc3_map(ip->txr, 0); in ioc3_init_rings()1474 desc = &ip->txr[produce]; in ioc3_start_xmit()
176 dma_addr_t txr; /* Tx descriptor ring */ member530 txre = (struct mpsc_tx_desc *)(pi->txr in mpsc_sdma_start_tx()822 pi->txr = dp; in mpsc_init_rings()858 dp = pi->txr; in mpsc_init_rings()900 pi->txr = 0; in mpsc_uninit_rings()1092 txre = (struct mpsc_tx_desc *)(pi->txr in mpsc_setup_tx_desc()1172 txre = (struct mpsc_tx_desc *)(pi->txr in mpsc_tx_intr()1192 txre = (struct mpsc_tx_desc *)(pi->txr in mpsc_tx_intr()