• Home
  • Raw
  • Download

Lines Matching refs:tx_info

531 	struct tx_ring_info tx_info[TX_RING_SIZE];  member
1172 memset(&np->tx_info[i], 0, sizeof(np->tx_info[i])); in init_ring()
1207 np->tx_info[entry].skb = skb; in start_tx()
1223 np->tx_info[entry].mapping = in start_tx()
1230 np->tx_info[entry].mapping = in start_tx()
1236 if (dma_mapping_error(&np->pci_dev->dev, np->tx_info[entry].mapping)) { in start_tx()
1241 np->tx_ring[entry].addr = cpu_to_dma(np->tx_info[entry].mapping); in start_tx()
1248 np->tx_info[entry].used_slots = TX_RING_SIZE - entry; in start_tx()
1249 np->cur_tx += np->tx_info[entry].used_slots; in start_tx()
1252 np->tx_info[entry].used_slots = 1; in start_tx()
1253 np->cur_tx += np->tx_info[entry].used_slots; in start_tx()
1277 np->tx_info[entry].skb = NULL; in start_tx()
1280 np->tx_info[entry].mapping, in start_tx()
1282 np->tx_info[entry].mapping = 0; in start_tx()
1283 entry = (entry + np->tx_info[entry].used_slots) % TX_RING_SIZE; in start_tx()
1286 np->tx_info[entry].mapping, in start_tx()
1360 struct sk_buff *skb = np->tx_info[entry].skb; in intr_handler()
1361 np->tx_info[entry].skb = NULL; in intr_handler()
1363 np->tx_info[entry].mapping, in intr_handler()
1366 np->tx_info[entry].mapping = 0; in intr_handler()
1367 np->dirty_tx += np->tx_info[entry].used_slots; in intr_handler()
1368 entry = (entry + np->tx_info[entry].used_slots) % TX_RING_SIZE; in intr_handler()
1373 np->tx_info[entry].mapping, in intr_handler()
1980 struct sk_buff *skb = np->tx_info[i].skb; in netdev_close()
1983 dma_unmap_single(&np->pci_dev->dev, np->tx_info[i].mapping, in netdev_close()
1985 np->tx_info[i].mapping = 0; in netdev_close()
1987 np->tx_info[i].skb = NULL; in netdev_close()