Lines Matching refs:txdes

68 	struct ftgmac100_txdes *txdes;  member
612 struct ftgmac100_txdes *txdes, in ftgmac100_free_tx_packet() argument
615 dma_addr_t map = le32_to_cpu(txdes->txdes3); in ftgmac100_free_tx_packet()
635 struct ftgmac100_txdes *txdes; in ftgmac100_tx_complete_packet() local
641 txdes = &priv->txdes[pointer]; in ftgmac100_tx_complete_packet()
643 ctl_stat = le32_to_cpu(txdes->txdes0); in ftgmac100_tx_complete_packet()
650 ftgmac100_free_tx_packet(priv, pointer, skb, txdes, ctl_stat); in ftgmac100_tx_complete_packet()
651 txdes->txdes0 = cpu_to_le32(ctl_stat & priv->txdes0_edotr_mask); in ftgmac100_tx_complete_packet()
706 struct ftgmac100_txdes *txdes, *first; in ftgmac100_hard_start_xmit() local
754 txdes = first = &priv->txdes[pointer]; in ftgmac100_hard_start_xmit()
766 txdes->txdes3 = cpu_to_le32(map); in ftgmac100_hard_start_xmit()
767 txdes->txdes1 = cpu_to_le32(csum_vlan); in ftgmac100_hard_start_xmit()
786 txdes = &priv->txdes[pointer]; in ftgmac100_hard_start_xmit()
792 txdes->txdes0 = cpu_to_le32(ctl_stat); in ftgmac100_hard_start_xmit()
793 txdes->txdes1 = 0; in ftgmac100_hard_start_xmit()
794 txdes->txdes3 = cpu_to_le32(map); in ftgmac100_hard_start_xmit()
838 txdes = &priv->txdes[pointer]; in ftgmac100_hard_start_xmit()
839 ctl_stat = le32_to_cpu(txdes->txdes0); in ftgmac100_hard_start_xmit()
840 ftgmac100_free_tx_packet(priv, pointer, skb, txdes, ctl_stat); in ftgmac100_hard_start_xmit()
841 txdes->txdes0 = cpu_to_le32(ctl_stat & priv->txdes0_edotr_mask); in ftgmac100_hard_start_xmit()
876 struct ftgmac100_txdes *txdes = &priv->txdes[i]; in ftgmac100_free_buffers() local
881 ftgmac100_free_tx_packet(priv, i, skb, txdes, in ftgmac100_free_buffers()
882 le32_to_cpu(txdes->txdes0)); in ftgmac100_free_buffers()
899 if (priv->txdes) in ftgmac100_free_rings()
902 priv->txdes, priv->txdes_dma); in ftgmac100_free_rings()
903 priv->txdes = NULL; in ftgmac100_free_rings()
929 priv->txdes = dma_alloc_coherent(priv->dev, in ftgmac100_alloc_rings()
932 if (!priv->txdes) in ftgmac100_alloc_rings()
949 struct ftgmac100_txdes *txdes = NULL; in ftgmac100_init_rings() local
973 txdes = &priv->txdes[i]; in ftgmac100_init_rings()
974 txdes->txdes0 = 0; in ftgmac100_init_rings()
976 txdes->txdes0 |= cpu_to_le32(priv->txdes0_edotr_mask); in ftgmac100_init_rings()