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()
1153 struct TxFD *tx_fd; in dscc4_start_xmit() local
1158 tx_fd = dpriv->tx_fd + next; in dscc4_start_xmit()
1159 tx_fd->state = FrameEnd | TO_STATE_TX(skb->len); in dscc4_start_xmit()
1160 tx_fd->data = cpu_to_le32(pci_map_single(ppriv->pdev, skb->data, skb->len, in dscc4_start_xmit()
1162 tx_fd->complete = 0x00000000; in dscc4_start_xmit()
1163 tx_fd->jiffies = jiffies; in dscc4_start_xmit()
1567 struct TxFD *tx_fd; in dscc4_tx_irq() local
1576 tx_fd = dpriv->tx_fd + cur; in dscc4_tx_irq()
1579 pci_unmap_single(ppriv->pdev, le32_to_cpu(tx_fd->data), in dscc4_tx_irq()
1581 if (tx_fd->state & FrameEnd) { in dscc4_tx_irq()
1598 tx_fd->data = tx_fd->next; in dscc4_tx_irq()
1599 tx_fd->state = FrameEnd | TO_STATE_TX(2*DUMMY_SKB_SIZE); in dscc4_tx_irq()
1600 tx_fd->complete = 0x00000000; in dscc4_tx_irq()
1601 tx_fd->jiffies = 0; in dscc4_tx_irq()
1895 struct TxFD *tx_fd = dpriv->tx_fd + last; in dscc4_init_dummy_skb() local
1900 tx_fd->state = FrameEnd | TO_STATE_TX(DUMMY_SKB_SIZE); in dscc4_init_dummy_skb()
1901 tx_fd->data = cpu_to_le32(pci_map_single(dpriv->pci_priv->pdev, in dscc4_init_dummy_skb()
1913 struct TxFD *tx_fd; in dscc4_init_ring() local
1926 dpriv->tx_fd = tx_fd = (struct TxFD *) ring; in dscc4_init_ring()
1932 tx_fd->state = FrameEnd | TO_STATE_TX(2*DUMMY_SKB_SIZE); in dscc4_init_ring()
1933 tx_fd->complete = 0x00000000; in dscc4_init_ring()
1935 tx_fd->data = cpu_to_le32(dpriv->tx_fd_dma); in dscc4_init_ring()
1936 (tx_fd++)->next = cpu_to_le32(dpriv->tx_fd_dma + in dscc4_init_ring()
1937 (++i%TX_RING_SIZE)*sizeof(*tx_fd)); in dscc4_init_ring()