Lines Matching refs:dcbs_dma
178 dcb->llp = ocelot_fdma_idx_dma(rx_ring->dcbs_dma, idx); in ocelot_fdma_alloc_rx_buffs()
260 dma_base = rx_ring->dcbs_dma; in ocelot_fdma_rx_restart()
547 dma = ocelot_fdma_idx_dma(tx_ring->dcbs_dma, tx_ring->next_to_clean); in ocelot_fdma_tx_cleanup()
629 dma = ocelot_fdma_idx_dma(tx_ring->dcbs_dma, in ocelot_fdma_send_skb()
634 dcb->llp = ocelot_fdma_idx_dma(tx_ring->dcbs_dma, next_idx); in ocelot_fdma_send_skb()
748 dma_addr_t dcbs_dma; in ocelot_fdma_rings_alloc() local
760 dcbs_dma = fdma->dcbs_dma_base; in ocelot_fdma_rings_alloc()
761 if (!IS_ALIGNED(dcbs_dma, 4)) { in ocelot_fdma_rings_alloc()
762 adjust = dcbs_dma & 0x3; in ocelot_fdma_rings_alloc()
763 dcbs_dma = ALIGN(dcbs_dma, 4); in ocelot_fdma_rings_alloc()
769 fdma->tx_ring.dcbs_dma = dcbs_dma; in ocelot_fdma_rings_alloc()
774 fdma->rx_ring.dcbs_dma = dcbs_dma + OCELOT_FDMA_TX_DCB_SIZE; in ocelot_fdma_rings_alloc()
875 ocelot_fdma_activate_chan(ocelot, ocelot->fdma->rx_ring.dcbs_dma, in ocelot_fdma_start()