Lines Matching refs:descs
56 struct ftmac100_descs *descs; member
336 return &priv->descs->rxdes[priv->rx_pointer]; in ftmac100_current_rxdes()
602 return &priv->descs->txdes[priv->tx_pointer]; in ftmac100_current_txdes()
607 return &priv->descs->txdes[priv->tx_clean_pointer]; in ftmac100_current_clean_txdes()
730 struct ftmac100_rxdes *rxdes = &priv->descs->rxdes[i]; in ftmac100_free_buffers()
742 struct ftmac100_txdes *txdes = &priv->descs->txdes[i]; in ftmac100_free_buffers()
754 priv->descs, priv->descs_dma_addr); in ftmac100_free_buffers()
761 priv->descs = dma_alloc_coherent(priv->dev, in ftmac100_alloc_buffers()
764 if (!priv->descs) in ftmac100_alloc_buffers()
768 ftmac100_rxdes_set_end_of_ring(&priv->descs->rxdes[RX_QUEUE_ENTRIES - 1]); in ftmac100_alloc_buffers()
771 struct ftmac100_rxdes *rxdes = &priv->descs->rxdes[i]; in ftmac100_alloc_buffers()
778 ftmac100_txdes_set_end_of_ring(&priv->descs->txdes[TX_QUEUE_ENTRIES - 1]); in ftmac100_alloc_buffers()