Lines Matching refs:tx_fd
204 struct TxFD *tx_fd; member
487 struct TxFD *tx_fd = dpriv->tx_fd; in dscc4_release_ring() local
492 pci_free_consistent(pdev, TX_TOTAL_SIZE, tx_fd, dpriv->tx_fd_dma); in dscc4_release_ring()
498 pci_unmap_single(pdev, le32_to_cpu(tx_fd->data), in dscc4_release_ring()
503 tx_fd++; in dscc4_release_ring()
1150 struct TxFD *tx_fd; in dscc4_start_xmit() local
1155 tx_fd = dpriv->tx_fd + next; in dscc4_start_xmit()
1156 tx_fd->state = FrameEnd | TO_STATE_TX(skb->len); in dscc4_start_xmit()
1157 tx_fd->data = cpu_to_le32(pci_map_single(ppriv->pdev, skb->data, skb->len, in dscc4_start_xmit()
1159 tx_fd->complete = 0x00000000; in dscc4_start_xmit()
1160 tx_fd->jiffies = jiffies; in dscc4_start_xmit()
1564 struct TxFD *tx_fd; in dscc4_tx_irq() local
1573 tx_fd = dpriv->tx_fd + cur; in dscc4_tx_irq()
1576 pci_unmap_single(ppriv->pdev, le32_to_cpu(tx_fd->data), in dscc4_tx_irq()
1578 if (tx_fd->state & FrameEnd) { in dscc4_tx_irq()
1595 tx_fd->data = tx_fd->next; in dscc4_tx_irq()
1596 tx_fd->state = FrameEnd | TO_STATE_TX(2*DUMMY_SKB_SIZE); in dscc4_tx_irq()
1597 tx_fd->complete = 0x00000000; in dscc4_tx_irq()
1598 tx_fd->jiffies = 0; in dscc4_tx_irq()
1892 struct TxFD *tx_fd = dpriv->tx_fd + last; in dscc4_init_dummy_skb() local
1897 tx_fd->state = FrameEnd | TO_STATE_TX(DUMMY_SKB_SIZE); in dscc4_init_dummy_skb()
1898 tx_fd->data = cpu_to_le32(pci_map_single(dpriv->pci_priv->pdev, in dscc4_init_dummy_skb()
1910 struct TxFD *tx_fd; in dscc4_init_ring() local
1923 dpriv->tx_fd = tx_fd = (struct TxFD *) ring; in dscc4_init_ring()
1929 tx_fd->state = FrameEnd | TO_STATE_TX(2*DUMMY_SKB_SIZE); in dscc4_init_ring()
1930 tx_fd->complete = 0x00000000; in dscc4_init_ring()
1932 tx_fd->data = cpu_to_le32(dpriv->tx_fd_dma); in dscc4_init_ring()
1933 (tx_fd++)->next = cpu_to_le32(dpriv->tx_fd_dma + in dscc4_init_ring()
1934 (++i%TX_RING_SIZE)*sizeof(*tx_fd)); in dscc4_init_ring()