Lines Matching refs:apb_regs
316 if (!chan->chip->apb_regs) { in dw_axi_dma_set_byte_halfword()
325 val = ioread32(chan->chip->apb_regs + offset); in dw_axi_dma_set_byte_halfword()
332 iowrite32(val, chan->chip->apb_regs + offset); in dw_axi_dma_set_byte_halfword()
366 if (chan->chip->apb_regs) in axi_chan_block_xfer_start()
374 if (chan->chip->apb_regs) in axi_chan_block_xfer_start()
482 if (!chip->apb_regs) { in dw_axi_dma_set_hw_channel()
497 reg_value = lo_hi_readq(chip->apb_regs + DMAC_APB_HW_HS_SEL_0); in dw_axi_dma_set_hw_channel()
505 lo_hi_writeq(reg_value, chip->apb_regs + DMAC_APB_HW_HS_SEL_0); in dw_axi_dma_set_hw_channel()
1335 chip->apb_regs = devm_platform_ioremap_resource(pdev, 1); in dw_probe()
1336 if (IS_ERR(chip->apb_regs)) in dw_probe()
1337 return PTR_ERR(chip->apb_regs); in dw_probe()