Lines Matching refs:tx_ring
489 struct hamachi_desc *tx_ring;
647 hmp->tx_ring = (struct hamachi_desc *)ring_space;
789 pci_free_consistent(pdev, TX_TOTAL_SIZE, hmp->tx_ring,
1019 if (hmp->tx_ring[entry].status_n_length & cpu_to_le32(DescOwn))
1025 hmp->tx_ring[entry].addr, skb->len,
1030 hmp->tx_ring[entry].status_n_length = 0;
1032 hmp->tx_ring[TX_RING_SIZE-1].status_n_length |=
1079 printk("\n"KERN_DEBUG" Tx ring %p: ", hmp->tx_ring);
1081 printk(" %4.4x", hmp->tx_ring[i].status_n_length);
1106 hmp->tx_ring[i].status_n_length = cpu_to_le32(
1108 (hmp->tx_ring[i].status_n_length & 0x0000FFFF));
1110 hmp->tx_ring[i].status_n_length &= 0x0000ffff;
1113 pci_unmap_single(hmp->pci_dev, hmp->tx_ring[i].addr,
1214 hmp->tx_ring[i].status_n_length = 0;
1217 hmp->tx_ring[TX_RING_SIZE-1].status_n_length |= cpu_to_le32(DescEndRing);
1318 hmp->tx_ring[entry].addr = cpu_to_leXX(pci_map_single(hmp->pci_dev,
1331 hmp->tx_ring[entry].status_n_length = cpu_to_le32(DescOwn |
1334 hmp->tx_ring[entry].status_n_length = cpu_to_le32(DescOwn |
1414 if (hmp->tx_ring[entry].status_n_length & cpu_to_le32(DescOwn))
1420 hmp->tx_ring[entry].addr,
1426 hmp->tx_ring[entry].status_n_length = 0;
1428 hmp->tx_ring[TX_RING_SIZE-1].status_n_length |=
1751 readl(ioaddr + TxCurPtr) == (long)&hmp->tx_ring[i] ? '>' : ' ',
1752 i, hmp->tx_ring[i].status_n_length, hmp->tx_ring[i].addr);
1795 hmp->tx_ring[i].addr, skb->len,
1968 pci_free_consistent(pdev, TX_TOTAL_SIZE, hmp->tx_ring,