Lines Matching refs:tx_info
552 struct tx_ring_info tx_info[TX_RING_SIZE]; member
1209 memset(&np->tx_info[i], 0, sizeof(np->tx_info[i])); in init_ring()
1242 np->tx_info[entry].skb = skb; in start_tx()
1258 np->tx_info[entry].mapping = in start_tx()
1263 np->tx_info[entry].mapping = in start_tx()
1270 np->tx_ring[entry].addr = cpu_to_dma(np->tx_info[entry].mapping); in start_tx()
1277 np->tx_info[entry].used_slots = TX_RING_SIZE - entry; in start_tx()
1278 np->cur_tx += np->tx_info[entry].used_slots; in start_tx()
1281 np->tx_info[entry].used_slots = 1; in start_tx()
1282 np->cur_tx += np->tx_info[entry].used_slots; in start_tx()
1369 struct sk_buff *skb = np->tx_info[entry].skb; in intr_handler()
1370 np->tx_info[entry].skb = NULL; in intr_handler()
1372 np->tx_info[entry].mapping, in intr_handler()
1375 np->tx_info[entry].mapping = 0; in intr_handler()
1376 np->dirty_tx += np->tx_info[entry].used_slots; in intr_handler()
1377 entry = (entry + np->tx_info[entry].used_slots) % TX_RING_SIZE; in intr_handler()
1382 np->tx_info[entry].mapping, in intr_handler()
1978 struct sk_buff *skb = np->tx_info[i].skb; in netdev_close()
1982 np->tx_info[i].mapping, in netdev_close()
1984 np->tx_info[i].mapping = 0; in netdev_close()
1986 np->tx_info[i].skb = NULL; in netdev_close()