Lines Matching refs:descs
67 struct ftmac100_descs *descs; member
311 return &priv->descs->rxdes[priv->rx_pointer]; in ftmac100_current_rxdes()
576 return &priv->descs->txdes[priv->tx_pointer]; in ftmac100_current_txdes()
581 return &priv->descs->txdes[priv->tx_clean_pointer]; in ftmac100_current_clean_txdes()
704 struct ftmac100_rxdes *rxdes = &priv->descs->rxdes[i]; in ftmac100_free_buffers()
716 struct ftmac100_txdes *txdes = &priv->descs->txdes[i]; in ftmac100_free_buffers()
728 priv->descs, priv->descs_dma_addr); in ftmac100_free_buffers()
735 priv->descs = dma_zalloc_coherent(priv->dev, in ftmac100_alloc_buffers()
739 if (!priv->descs) in ftmac100_alloc_buffers()
743 ftmac100_rxdes_set_end_of_ring(&priv->descs->rxdes[RX_QUEUE_ENTRIES - 1]); in ftmac100_alloc_buffers()
746 struct ftmac100_rxdes *rxdes = &priv->descs->rxdes[i]; in ftmac100_alloc_buffers()
753 ftmac100_txdes_set_end_of_ring(&priv->descs->txdes[TX_QUEUE_ENTRIES - 1]); in ftmac100_alloc_buffers()