Lines Matching refs:descs
67 struct ftmac100_descs *descs; member
311 return &priv->descs->rxdes[priv->rx_pointer]; in ftmac100_current_rxdes()
573 return &priv->descs->txdes[priv->tx_pointer]; in ftmac100_current_txdes()
578 return &priv->descs->txdes[priv->tx_clean_pointer]; in ftmac100_current_clean_txdes()
701 struct ftmac100_rxdes *rxdes = &priv->descs->rxdes[i]; in ftmac100_free_buffers()
713 struct ftmac100_txdes *txdes = &priv->descs->txdes[i]; in ftmac100_free_buffers()
725 priv->descs, priv->descs_dma_addr); in ftmac100_free_buffers()
732 priv->descs = dma_alloc_coherent(priv->dev, sizeof(struct ftmac100_descs), in ftmac100_alloc_buffers()
734 if (!priv->descs) in ftmac100_alloc_buffers()
737 memset(priv->descs, 0, sizeof(struct ftmac100_descs)); in ftmac100_alloc_buffers()
740 ftmac100_rxdes_set_end_of_ring(&priv->descs->rxdes[RX_QUEUE_ENTRIES - 1]); in ftmac100_alloc_buffers()
743 struct ftmac100_rxdes *rxdes = &priv->descs->rxdes[i]; in ftmac100_alloc_buffers()
750 ftmac100_txdes_set_end_of_ring(&priv->descs->txdes[TX_QUEUE_ENTRIES - 1]); in ftmac100_alloc_buffers()