Home
last modified time | relevance | path

Searched refs:apb_regs (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/dma/dw-axi-dmac/
H A Ddw-axi-dmac-platform.c358 if (!chan->chip->apb_regs) { in dw_axi_dma_set_byte_halfword()
367 val = ioread32(chan->chip->apb_regs + offset); in dw_axi_dma_set_byte_halfword()
374 iowrite32(val, chan->chip->apb_regs + offset); in dw_axi_dma_set_byte_halfword()
406 if (chan->chip->apb_regs) in axi_chan_block_xfer_start()
415 if (chan->chip->apb_regs) in axi_chan_block_xfer_start()
525 if (!chip->apb_regs) { in dw_axi_dma_set_hw_channel()
540 reg_value = lo_hi_readq(chip->apb_regs + DMAC_APB_HW_HS_SEL_0); in dw_axi_dma_set_hw_channel()
548 lo_hi_writeq(reg_value, chip->apb_regs + DMAC_APB_HW_HS_SEL_0); in dw_axi_dma_set_hw_channel()
1408 chip->apb_regs = devm_platform_ioremap_resource(pdev, 1); in dw_probe()
1409 if (IS_ERR(chip->apb_regs)) in dw_probe()
[all …]
H A Ddw-axi-dmac.h70 void __iomem *apb_regs; member