ch_regs 1897 drivers/dma/at_hdmac.c atchan->ch_regs = atdma->regs + ch_regs(i); ch_regs 251 drivers/dma/at_hdmac_regs.h void __iomem *ch_regs; ch_regs 271 drivers/dma/at_hdmac_regs.h __raw_readl((atchan)->ch_regs + ATC_##name##_OFFSET) ch_regs 274 drivers/dma/at_hdmac_regs.h __raw_writel((val), (atchan)->ch_regs + ATC_##name##_OFFSET) ch_regs 185 drivers/dma/at_xdmac.c void __iomem *ch_regs; ch_regs 256 drivers/dma/at_xdmac.c #define at_xdmac_chan_read(atchan, reg) readl_relaxed((atchan)->ch_regs + (reg)) ch_regs 257 drivers/dma/at_xdmac.c #define at_xdmac_chan_write(atchan, reg, value) writel_relaxed((value), (atchan)->ch_regs + (reg)) ch_regs 2073 drivers/dma/at_xdmac.c atchan->ch_regs = at_xdmac_chan_reg_base(atxdmac, i); ch_regs 1154 drivers/dma/dw/core.c dwc->ch_regs = &__dw_regs(dw)->CHAN[i]; ch_regs 266 drivers/dma/dw/regs.h void __iomem *ch_regs; ch_regs 297 drivers/dma/dw/regs.h return dwc->ch_regs; ch_regs 120 drivers/dma/pch_dma.c struct pch_dma_desc_regs ch_regs[MAX_CHAN_NR]; ch_regs 753 drivers/dma/pch_dma.c pd->ch_regs[i].dev_addr = channel_readl(pd_chan, DEV_ADDR); ch_regs 754 drivers/dma/pch_dma.c pd->ch_regs[i].mem_addr = channel_readl(pd_chan, MEM_ADDR); ch_regs 755 drivers/dma/pch_dma.c pd->ch_regs[i].size = channel_readl(pd_chan, SIZE); ch_regs 756 drivers/dma/pch_dma.c pd->ch_regs[i].next = channel_readl(pd_chan, NEXT); ch_regs 776 drivers/dma/pch_dma.c channel_writel(pd_chan, DEV_ADDR, pd->ch_regs[i].dev_addr); ch_regs 777 drivers/dma/pch_dma.c channel_writel(pd_chan, MEM_ADDR, pd->ch_regs[i].mem_addr); ch_regs 778 drivers/dma/pch_dma.c channel_writel(pd_chan, SIZE, pd->ch_regs[i].size); ch_regs 779 drivers/dma/pch_dma.c channel_writel(pd_chan, NEXT, pd->ch_regs[i].next); ch_regs 149 drivers/dma/tegra20-apb-dma.c struct tegra_dma_channel_regs ch_regs; ch_regs 446 drivers/dma/tegra20-apb-dma.c struct tegra_dma_channel_regs *ch_regs = &sg_req->ch_regs; ch_regs 448 drivers/dma/tegra20-apb-dma.c tdc_write(tdc, TEGRA_APBDMA_CHAN_CSR, ch_regs->csr); ch_regs 449 drivers/dma/tegra20-apb-dma.c tdc_write(tdc, TEGRA_APBDMA_CHAN_APBSEQ, ch_regs->apb_seq); ch_regs 450 drivers/dma/tegra20-apb-dma.c tdc_write(tdc, TEGRA_APBDMA_CHAN_APBPTR, ch_regs->apb_ptr); ch_regs 451 drivers/dma/tegra20-apb-dma.c tdc_write(tdc, TEGRA_APBDMA_CHAN_AHBSEQ, ch_regs->ahb_seq); ch_regs 452 drivers/dma/tegra20-apb-dma.c tdc_write(tdc, TEGRA_APBDMA_CHAN_AHBPTR, ch_regs->ahb_ptr); ch_regs 454 drivers/dma/tegra20-apb-dma.c tdc_write(tdc, TEGRA_APBDMA_CHAN_WCOUNT, ch_regs->wcount); ch_regs 458 drivers/dma/tegra20-apb-dma.c ch_regs->csr | TEGRA_APBDMA_CSR_ENB); ch_regs 492 drivers/dma/tegra20-apb-dma.c tdc_write(tdc, TEGRA_APBDMA_CHAN_APBPTR, nsg_req->ch_regs.apb_ptr); ch_regs 493 drivers/dma/tegra20-apb-dma.c tdc_write(tdc, TEGRA_APBDMA_CHAN_AHBPTR, nsg_req->ch_regs.ahb_ptr); ch_regs 496 drivers/dma/tegra20-apb-dma.c nsg_req->ch_regs.wcount); ch_regs 498 drivers/dma/tegra20-apb-dma.c nsg_req->ch_regs.csr | TEGRA_APBDMA_CSR_ENB); ch_regs 990 drivers/dma/tegra20-apb-dma.c struct tegra_dma_channel_regs *ch_regs, u32 len) ch_regs 995 drivers/dma/tegra20-apb-dma.c ch_regs->wcount = len_field; ch_regs 997 drivers/dma/tegra20-apb-dma.c ch_regs->csr |= len_field; ch_regs 1088 drivers/dma/tegra20-apb-dma.c sg_req->ch_regs.apb_ptr = apb_ptr; ch_regs 1089 drivers/dma/tegra20-apb-dma.c sg_req->ch_regs.ahb_ptr = mem; ch_regs 1090 drivers/dma/tegra20-apb-dma.c sg_req->ch_regs.csr = csr; ch_regs 1091 drivers/dma/tegra20-apb-dma.c tegra_dma_prep_wcount(tdc, &sg_req->ch_regs, len); ch_regs 1092 drivers/dma/tegra20-apb-dma.c sg_req->ch_regs.apb_seq = apb_seq; ch_regs 1093 drivers/dma/tegra20-apb-dma.c sg_req->ch_regs.ahb_seq = ahb_seq; ch_regs 1222 drivers/dma/tegra20-apb-dma.c sg_req->ch_regs.apb_ptr = apb_ptr; ch_regs 1223 drivers/dma/tegra20-apb-dma.c sg_req->ch_regs.ahb_ptr = mem; ch_regs 1224 drivers/dma/tegra20-apb-dma.c sg_req->ch_regs.csr = csr; ch_regs 1225 drivers/dma/tegra20-apb-dma.c tegra_dma_prep_wcount(tdc, &sg_req->ch_regs, len); ch_regs 1226 drivers/dma/tegra20-apb-dma.c sg_req->ch_regs.apb_seq = apb_seq; ch_regs 1227 drivers/dma/tegra20-apb-dma.c sg_req->ch_regs.ahb_seq = ahb_seq; ch_regs 121 drivers/dma/tegra210-adma.c struct tegra_adma_chan_regs ch_regs; ch_regs 142 drivers/dma/tegra210-adma.c struct tegra_adma_chan_regs ch_regs; ch_regs 354 drivers/dma/tegra210-adma.c struct tegra_adma_chan_regs *ch_regs; ch_regs 369 drivers/dma/tegra210-adma.c ch_regs = &desc->ch_regs; ch_regs 373 drivers/dma/tegra210-adma.c tdma_ch_write(tdc, ADMA_CH_TC, ch_regs->tc); ch_regs 374 drivers/dma/tegra210-adma.c tdma_ch_write(tdc, ADMA_CH_CTRL, ch_regs->ctrl); ch_regs 375 drivers/dma/tegra210-adma.c tdma_ch_write(tdc, ADMA_CH_LOWER_SRC_ADDR, ch_regs->src_addr); ch_regs 376 drivers/dma/tegra210-adma.c tdma_ch_write(tdc, ADMA_CH_LOWER_TRG_ADDR, ch_regs->trg_addr); ch_regs 377 drivers/dma/tegra210-adma.c tdma_ch_write(tdc, ADMA_CH_FIFO_CTRL, ch_regs->fifo_ctrl); ch_regs 378 drivers/dma/tegra210-adma.c tdma_ch_write(tdc, ADMA_CH_CONFIG, ch_regs->config); ch_regs 457 drivers/dma/tegra210-adma.c struct tegra_adma_chan_regs *ch_regs = &desc->ch_regs; ch_regs 460 drivers/dma/tegra210-adma.c ch_regs->ctrl = tdma_ch_read(tdc, ADMA_CH_CTRL); ch_regs 461 drivers/dma/tegra210-adma.c ch_regs->ctrl |= (1 << ADMA_CH_CTRL_XFER_PAUSE_SHIFT); ch_regs 462 drivers/dma/tegra210-adma.c tdma_ch_write(tdc, ADMA_CH_CTRL, ch_regs->ctrl); ch_regs 479 drivers/dma/tegra210-adma.c struct tegra_adma_chan_regs *ch_regs = &desc->ch_regs; ch_regs 481 drivers/dma/tegra210-adma.c ch_regs->ctrl = tdma_ch_read(tdc, ADMA_CH_CTRL); ch_regs 482 drivers/dma/tegra210-adma.c ch_regs->ctrl &= ~(1 << ADMA_CH_CTRL_XFER_PAUSE_SHIFT); ch_regs 483 drivers/dma/tegra210-adma.c tdma_ch_write(tdc, ADMA_CH_CTRL, ch_regs->ctrl); ch_regs 527 drivers/dma/tegra210-adma.c residual = desc->ch_regs.tc; ch_regs 562 drivers/dma/tegra210-adma.c struct tegra_adma_chan_regs *ch_regs = &desc->ch_regs; ch_regs 573 drivers/dma/tegra210-adma.c ch_regs->config = ADMA_CH_CONFIG_SRC_BUF(desc->num_periods - 1); ch_regs 574 drivers/dma/tegra210-adma.c ch_regs->ctrl = ADMA_CH_REG_FIELD_VAL(tdc->sreq_index, ch_regs 577 drivers/dma/tegra210-adma.c ch_regs->src_addr = buf_addr; ch_regs 583 drivers/dma/tegra210-adma.c ch_regs->config = ADMA_CH_CONFIG_TRG_BUF(desc->num_periods - 1); ch_regs 584 drivers/dma/tegra210-adma.c ch_regs->ctrl = ADMA_CH_REG_FIELD_VAL(tdc->sreq_index, ch_regs 587 drivers/dma/tegra210-adma.c ch_regs->trg_addr = buf_addr; ch_regs 595 drivers/dma/tegra210-adma.c ch_regs->ctrl |= ADMA_CH_CTRL_DIR(adma_dir) | ch_regs 598 drivers/dma/tegra210-adma.c ch_regs->config |= cdata->adma_get_burst_config(burst_size); ch_regs 599 drivers/dma/tegra210-adma.c ch_regs->config |= ADMA_CH_CONFIG_WEIGHT_FOR_WRR(1); ch_regs 601 drivers/dma/tegra210-adma.c ch_regs->config |= TEGRA186_ADMA_CH_CONFIG_OUTSTANDING_REQS(8); ch_regs 602 drivers/dma/tegra210-adma.c ch_regs->fifo_ctrl = cdata->ch_fifo_ctrl; ch_regs 603 drivers/dma/tegra210-adma.c ch_regs->tc = desc->period_len & ADMA_CH_TC_COUNT_MASK; ch_regs 725 drivers/dma/tegra210-adma.c ch_reg = &tdc->ch_regs; ch_regs 763 drivers/dma/tegra210-adma.c ch_reg = &tdc->ch_regs; ch_regs 26 drivers/dma/txx9dmac.c return dc->ch_regs; ch_regs 32 drivers/dma/txx9dmac.c return dc->ch_regs; ch_regs 1131 drivers/dma/txx9dmac.c dc->ch_regs = &__txx9dmac_regs(dc->ddev)->CHAN[ch]; ch_regs 1133 drivers/dma/txx9dmac.c dc->ch_regs = &__txx9dmac_regs32(dc->ddev)->CHAN[ch]; ch_regs 164 drivers/dma/txx9dmac.h void __iomem *ch_regs;