Lines Matching refs:tx_fd
202 struct TxFD *tx_fd;
484 struct TxFD *tx_fd = dpriv->tx_fd;
489 pci_free_consistent(pdev, TX_TOTAL_SIZE, tx_fd, dpriv->tx_fd_dma);
495 pci_unmap_single(pdev, le32_to_cpu(tx_fd->data),
500 tx_fd++;
1111 struct TxFD *tx_fd;
1116 tx_fd = dpriv->tx_fd + next;
1117 tx_fd->state = FrameEnd | TO_STATE_TX(skb->len);
1118 tx_fd->data = cpu_to_le32(pci_map_single(ppriv->pdev, skb->data, skb->len,
1120 tx_fd->complete = 0x00000000;
1121 tx_fd->jiffies = jiffies;
1484 struct TxFD *tx_fd;
1493 tx_fd = dpriv->tx_fd + cur;
1496 pci_unmap_single(ppriv->pdev, le32_to_cpu(tx_fd->data),
1498 if (tx_fd->state & FrameEnd) {
1515 tx_fd->data = tx_fd->next;
1516 tx_fd->state = FrameEnd | TO_STATE_TX(2*DUMMY_SKB_SIZE);
1517 tx_fd->complete = 0x00000000;
1518 tx_fd->jiffies = 0;
1792 * (tx_fd->state = 0xc0000000)
1806 struct TxFD *tx_fd = dpriv->tx_fd + last;
1811 tx_fd->state = FrameEnd | TO_STATE_TX(DUMMY_SKB_SIZE);
1812 tx_fd->data = cpu_to_le32(pci_map_single(dpriv->pci_priv->pdev,
1824 struct TxFD *tx_fd;
1837 dpriv->tx_fd = tx_fd = (struct TxFD *) ring;
1843 tx_fd->state = FrameEnd | TO_STATE_TX(2*DUMMY_SKB_SIZE);
1844 tx_fd->complete = 0x00000000;
1845 tx_fd->data = cpu_to_le32(dpriv->tx_fd_dma);
1846 (tx_fd++)->next = cpu_to_le32(dpriv->tx_fd_dma +
1847 (++i%TX_RING_SIZE)*sizeof(*tx_fd));