Lines Matching refs:tx_info
539 struct tx_ring_info tx_info[TX_RING_SIZE]; member
1183 memset(&np->tx_info[i], 0, sizeof(np->tx_info[i])); in init_ring()
1218 np->tx_info[entry].skb = skb; in start_tx()
1234 np->tx_info[entry].mapping = in start_tx()
1239 np->tx_info[entry].mapping = in start_tx()
1246 np->tx_info[entry].mapping)) { in start_tx()
1251 np->tx_ring[entry].addr = cpu_to_dma(np->tx_info[entry].mapping); in start_tx()
1258 np->tx_info[entry].used_slots = TX_RING_SIZE - entry; in start_tx()
1259 np->cur_tx += np->tx_info[entry].used_slots; in start_tx()
1262 np->tx_info[entry].used_slots = 1; in start_tx()
1263 np->cur_tx += np->tx_info[entry].used_slots; in start_tx()
1287 np->tx_info[entry].skb = NULL; in start_tx()
1290 np->tx_info[entry].mapping, in start_tx()
1293 np->tx_info[entry].mapping = 0; in start_tx()
1294 entry = (entry + np->tx_info[entry].used_slots) % TX_RING_SIZE; in start_tx()
1297 np->tx_info[entry].mapping, in start_tx()
1372 struct sk_buff *skb = np->tx_info[entry].skb; in intr_handler()
1373 np->tx_info[entry].skb = NULL; in intr_handler()
1375 np->tx_info[entry].mapping, in intr_handler()
1378 np->tx_info[entry].mapping = 0; in intr_handler()
1379 np->dirty_tx += np->tx_info[entry].used_slots; in intr_handler()
1380 entry = (entry + np->tx_info[entry].used_slots) % TX_RING_SIZE; in intr_handler()
1385 np->tx_info[entry].mapping, in intr_handler()
1989 struct sk_buff *skb = np->tx_info[i].skb; in netdev_close()
1993 np->tx_info[i].mapping, in netdev_close()
1995 np->tx_info[i].mapping = 0; in netdev_close()
1997 np->tx_info[i].skb = NULL; in netdev_close()