Lines Matching refs:ch_reg
1511 struct tegra_dma_channel_regs *ch_reg = &tdc->channel_reg; in tegra_dma_runtime_suspend() local
1517 ch_reg->csr = tdc_read(tdc, TEGRA_APBDMA_CHAN_CSR); in tegra_dma_runtime_suspend()
1518 ch_reg->ahb_ptr = tdc_read(tdc, TEGRA_APBDMA_CHAN_AHBPTR); in tegra_dma_runtime_suspend()
1519 ch_reg->apb_ptr = tdc_read(tdc, TEGRA_APBDMA_CHAN_APBPTR); in tegra_dma_runtime_suspend()
1520 ch_reg->ahb_seq = tdc_read(tdc, TEGRA_APBDMA_CHAN_AHBSEQ); in tegra_dma_runtime_suspend()
1521 ch_reg->apb_seq = tdc_read(tdc, TEGRA_APBDMA_CHAN_APBSEQ); in tegra_dma_runtime_suspend()
1523 ch_reg->wcount = tdc_read(tdc, in tegra_dma_runtime_suspend()
1549 struct tegra_dma_channel_regs *ch_reg = &tdc->channel_reg; in tegra_dma_runtime_resume() local
1557 ch_reg->wcount); in tegra_dma_runtime_resume()
1558 tdc_write(tdc, TEGRA_APBDMA_CHAN_APBSEQ, ch_reg->apb_seq); in tegra_dma_runtime_resume()
1559 tdc_write(tdc, TEGRA_APBDMA_CHAN_APBPTR, ch_reg->apb_ptr); in tegra_dma_runtime_resume()
1560 tdc_write(tdc, TEGRA_APBDMA_CHAN_AHBSEQ, ch_reg->ahb_seq); in tegra_dma_runtime_resume()
1561 tdc_write(tdc, TEGRA_APBDMA_CHAN_AHBPTR, ch_reg->ahb_ptr); in tegra_dma_runtime_resume()
1563 (ch_reg->csr & ~TEGRA_APBDMA_CSR_ENB)); in tegra_dma_runtime_resume()