Lines Matching refs:tx_info
539 struct tx_ring_info tx_info[TX_RING_SIZE]; member
1178 memset(&np->tx_info[i], 0, sizeof(np->tx_info[i])); in init_ring()
1211 np->tx_info[entry].skb = skb; in start_tx()
1227 np->tx_info[entry].mapping = in start_tx()
1232 np->tx_info[entry].mapping = in start_tx()
1239 np->tx_ring[entry].addr = cpu_to_dma(np->tx_info[entry].mapping); in start_tx()
1246 np->tx_info[entry].used_slots = TX_RING_SIZE - entry; in start_tx()
1247 np->cur_tx += np->tx_info[entry].used_slots; in start_tx()
1250 np->tx_info[entry].used_slots = 1; in start_tx()
1251 np->cur_tx += np->tx_info[entry].used_slots; in start_tx()
1338 struct sk_buff *skb = np->tx_info[entry].skb; in intr_handler()
1339 np->tx_info[entry].skb = NULL; in intr_handler()
1341 np->tx_info[entry].mapping, in intr_handler()
1344 np->tx_info[entry].mapping = 0; in intr_handler()
1345 np->dirty_tx += np->tx_info[entry].used_slots; in intr_handler()
1346 entry = (entry + np->tx_info[entry].used_slots) % TX_RING_SIZE; in intr_handler()
1351 np->tx_info[entry].mapping, in intr_handler()
1947 struct sk_buff *skb = np->tx_info[i].skb; in netdev_close()
1951 np->tx_info[i].mapping, in netdev_close()
1953 np->tx_info[i].mapping = 0; in netdev_close()
1955 np->tx_info[i].skb = NULL; in netdev_close()