Lines Matching refs:cpu_base
124 dma_desc = &ring->cpu_base[i];
217 u32 ctl1 = le32_to_cpu(ring->cpu_base[index].ctl1);
257 ctl0 = le32_to_cpu(ring->cpu_base[slot_idx].ctl0);
258 ctl1 = le32_to_cpu(ring->cpu_base[slot_idx].ctl1);
380 struct bgmac_dma_desc *dma_desc = ring->cpu_base + desc_idx;
529 struct bgmac_dma_desc *dma_desc = ring->cpu_base;
579 if (!ring->cpu_base)
584 dma_free_coherent(dma_dev, size, ring->cpu_base,
637 ring->cpu_base = dma_alloc_coherent(dma_dev, size,
640 if (!ring->cpu_base) {
662 ring->cpu_base = dma_alloc_coherent(dma_dev, size,
665 if (!ring->cpu_base) {