Searched refs:descs_cpu (Results 1 – 1 of 1) sorted by relevance
327 u8 *descs_cpu; member395 return (struct ag71xx_desc *)&ring->descs_cpu[idx * AG71XX_DESC_SIZE]; in ag71xx_ring_desc()1328 tx->descs_cpu = dma_alloc_coherent(&ag->pdev->dev, in ag71xx_rings_init()1331 if (!tx->descs_cpu) { in ag71xx_rings_init()1338 rx->descs_cpu = ((void *)tx->descs_cpu) + tx_size * AG71XX_DESC_SIZE; in ag71xx_rings_init()1353 if (tx->descs_cpu) in ag71xx_rings_free()1355 tx->descs_cpu, tx->descs_dma); in ag71xx_rings_free()1359 tx->descs_cpu = NULL; in ag71xx_rings_free()1360 rx->descs_cpu = NULL; in ag71xx_rings_free()