Lines Matching refs:txdes

81 	struct ftgmac100_txdes *txdes;  member
625 struct ftgmac100_txdes *txdes, in ftgmac100_free_tx_packet() argument
628 dma_addr_t map = le32_to_cpu(txdes->txdes3); in ftgmac100_free_tx_packet()
648 struct ftgmac100_txdes *txdes; in ftgmac100_tx_complete_packet() local
654 txdes = &priv->txdes[pointer]; in ftgmac100_tx_complete_packet()
656 ctl_stat = le32_to_cpu(txdes->txdes0); in ftgmac100_tx_complete_packet()
663 ftgmac100_free_tx_packet(priv, pointer, skb, txdes, ctl_stat); in ftgmac100_tx_complete_packet()
664 txdes->txdes0 = cpu_to_le32(ctl_stat & priv->txdes0_edotr_mask); in ftgmac100_tx_complete_packet()
719 struct ftgmac100_txdes *txdes, *first; in ftgmac100_hard_start_xmit() local
755 txdes = first = &priv->txdes[pointer]; in ftgmac100_hard_start_xmit()
767 txdes->txdes3 = cpu_to_le32(map); in ftgmac100_hard_start_xmit()
781 txdes->txdes1 = cpu_to_le32(csum_vlan); in ftgmac100_hard_start_xmit()
800 txdes = &priv->txdes[pointer]; in ftgmac100_hard_start_xmit()
806 txdes->txdes0 = cpu_to_le32(ctl_stat); in ftgmac100_hard_start_xmit()
807 txdes->txdes1 = 0; in ftgmac100_hard_start_xmit()
808 txdes->txdes3 = cpu_to_le32(map); in ftgmac100_hard_start_xmit()
852 txdes = &priv->txdes[pointer]; in ftgmac100_hard_start_xmit()
853 ctl_stat = le32_to_cpu(txdes->txdes0); in ftgmac100_hard_start_xmit()
854 ftgmac100_free_tx_packet(priv, pointer, skb, txdes, ctl_stat); in ftgmac100_hard_start_xmit()
855 txdes->txdes0 = cpu_to_le32(ctl_stat & priv->txdes0_edotr_mask); in ftgmac100_hard_start_xmit()
890 struct ftgmac100_txdes *txdes = &priv->txdes[i]; in ftgmac100_free_buffers() local
895 ftgmac100_free_tx_packet(priv, i, skb, txdes, in ftgmac100_free_buffers()
896 le32_to_cpu(txdes->txdes0)); in ftgmac100_free_buffers()
913 if (priv->txdes) in ftgmac100_free_rings()
916 priv->txdes, priv->txdes_dma); in ftgmac100_free_rings()
917 priv->txdes = NULL; in ftgmac100_free_rings()
944 priv->txdes = dma_zalloc_coherent(priv->dev, in ftgmac100_alloc_rings()
948 if (!priv->txdes) in ftgmac100_alloc_rings()
965 struct ftgmac100_txdes *txdes = NULL; in ftgmac100_init_rings() local
989 txdes = &priv->txdes[i]; in ftgmac100_init_rings()
990 txdes->txdes0 = 0; in ftgmac100_init_rings()
992 txdes->txdes0 |= cpu_to_le32(priv->txdes0_edotr_mask); in ftgmac100_init_rings()