Lines Matching refs:descs
54 struct ftmac100_descs *descs; member
298 return &priv->descs->rxdes[priv->rx_pointer]; in ftmac100_current_rxdes()
564 return &priv->descs->txdes[priv->tx_pointer]; in ftmac100_current_txdes()
569 return &priv->descs->txdes[priv->tx_clean_pointer]; in ftmac100_current_clean_txdes()
692 struct ftmac100_rxdes *rxdes = &priv->descs->rxdes[i]; in ftmac100_free_buffers()
704 struct ftmac100_txdes *txdes = &priv->descs->txdes[i]; in ftmac100_free_buffers()
716 priv->descs, priv->descs_dma_addr); in ftmac100_free_buffers()
723 priv->descs = dma_alloc_coherent(priv->dev, in ftmac100_alloc_buffers()
726 if (!priv->descs) in ftmac100_alloc_buffers()
730 ftmac100_rxdes_set_end_of_ring(&priv->descs->rxdes[RX_QUEUE_ENTRIES - 1]); in ftmac100_alloc_buffers()
733 struct ftmac100_rxdes *rxdes = &priv->descs->rxdes[i]; in ftmac100_alloc_buffers()
740 ftmac100_txdes_set_end_of_ring(&priv->descs->txdes[TX_QUEUE_ENTRIES - 1]); in ftmac100_alloc_buffers()