Lines Matching refs:ch_reg
1580 struct tegra_dma_channel_regs *ch_reg = &tdc->channel_reg; in tegra_dma_runtime_suspend() local
1586 ch_reg->csr = tdc_read(tdc, TEGRA_APBDMA_CHAN_CSR); in tegra_dma_runtime_suspend()
1587 ch_reg->ahb_ptr = tdc_read(tdc, TEGRA_APBDMA_CHAN_AHBPTR); in tegra_dma_runtime_suspend()
1588 ch_reg->apb_ptr = tdc_read(tdc, TEGRA_APBDMA_CHAN_APBPTR); in tegra_dma_runtime_suspend()
1589 ch_reg->ahb_seq = tdc_read(tdc, TEGRA_APBDMA_CHAN_AHBSEQ); in tegra_dma_runtime_suspend()
1590 ch_reg->apb_seq = tdc_read(tdc, TEGRA_APBDMA_CHAN_APBSEQ); in tegra_dma_runtime_suspend()
1592 ch_reg->wcount = tdc_read(tdc, in tegra_dma_runtime_suspend()
1618 struct tegra_dma_channel_regs *ch_reg = &tdc->channel_reg; in tegra_dma_runtime_resume() local
1626 ch_reg->wcount); in tegra_dma_runtime_resume()
1627 tdc_write(tdc, TEGRA_APBDMA_CHAN_APBSEQ, ch_reg->apb_seq); in tegra_dma_runtime_resume()
1628 tdc_write(tdc, TEGRA_APBDMA_CHAN_APBPTR, ch_reg->apb_ptr); in tegra_dma_runtime_resume()
1629 tdc_write(tdc, TEGRA_APBDMA_CHAN_AHBSEQ, ch_reg->ahb_seq); in tegra_dma_runtime_resume()
1630 tdc_write(tdc, TEGRA_APBDMA_CHAN_AHBPTR, ch_reg->ahb_ptr); in tegra_dma_runtime_resume()
1632 (ch_reg->csr & ~TEGRA_APBDMA_CSR_ENB)); in tegra_dma_runtime_resume()