Searched refs:AG71XX_DESC_SIZE (Results 1 – 1 of 1) sorted by relevance
301 #define AG71XX_DESC_SIZE roundup(sizeof(struct ag71xx_desc), \ macro392 return (struct ag71xx_desc *)&ring->descs_cpu[idx * AG71XX_DESC_SIZE]; in ag71xx_ring_desc()1161 AG71XX_DESC_SIZE * ((i + 1) & ring_mask)); in ag71xx_ring_tx_init()1234 AG71XX_DESC_SIZE * ((i + 1) & ring_mask)); in ag71xx_ring_rx_init()1308 ring_size * AG71XX_DESC_SIZE, in ag71xx_rings_init()1317 rx->descs_cpu = ((void *)tx->descs_cpu) + tx_size * AG71XX_DESC_SIZE; in ag71xx_rings_init()1318 rx->descs_dma = tx->descs_dma + tx_size * AG71XX_DESC_SIZE; in ag71xx_rings_init()1333 dma_free_coherent(&ag->pdev->dev, ring_size * AG71XX_DESC_SIZE, in ag71xx_rings_free()