Searched refs:tdc_write (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/dma/ |
H A D | tegra186-gpc-dma.c | 261 static inline void tdc_write(struct tegra_dma_channel *tdc, in tdc_write() function 382 tdc_write(tdc, TEGRA_GPCDMA_CHAN_CSRE, val); in tegra_dma_pause() 424 tdc_write(tdc, TEGRA_GPCDMA_CHAN_CSRE, val); in tegra_dma_resume() 466 tdc_write(tdc, TEGRA_GPCDMA_CHAN_CSR, csr); in tegra_dma_disable() 472 tdc_write(tdc, TEGRA_GPCDMA_CHAN_STATUS, status); in tegra_dma_disable() 500 tdc_write(tdc, TEGRA_GPCDMA_CHAN_WCOUNT, ch_regs->wcount); in tegra_dma_configure_next_sg() 501 tdc_write(tdc, TEGRA_GPCDMA_CHAN_SRC_PTR, ch_regs->src_ptr); in tegra_dma_configure_next_sg() 502 tdc_write(tdc, TEGRA_GPCDMA_CHAN_DST_PTR, ch_regs->dst_ptr); in tegra_dma_configure_next_sg() 503 tdc_write(tdc, TEGRA_GPCDMA_CHAN_HIGH_ADDR_PTR, ch_regs->high_addr_ptr); in tegra_dma_configure_next_sg() 506 tdc_write(tdc, TEGRA_GPCDMA_CHAN_CSR, in tegra_dma_configure_next_sg() [all …]
|
H A D | tegra20-apb-dma.c | 235 static inline void tdc_write(struct tegra_dma_channel *tdc, in tdc_write() function 386 tdc_write(tdc, TEGRA_APBDMA_CHAN_CSRE, in tegra_dma_pause() 400 tdc_write(tdc, TEGRA_APBDMA_CHAN_CSRE, 0); in tegra_dma_resume() 412 tdc_write(tdc, TEGRA_APBDMA_CHAN_CSR, csr); in tegra_dma_stop() 416 tdc_write(tdc, TEGRA_APBDMA_CHAN_CSR, csr); in tegra_dma_stop() 422 tdc_write(tdc, TEGRA_APBDMA_CHAN_STATUS, status); in tegra_dma_stop() 432 tdc_write(tdc, TEGRA_APBDMA_CHAN_CSR, ch_regs->csr); in tegra_dma_start() 433 tdc_write(tdc, TEGRA_APBDMA_CHAN_APBSEQ, ch_regs->apb_seq); in tegra_dma_start() 434 tdc_write(tdc, TEGRA_APBDMA_CHAN_APBPTR, ch_regs->apb_ptr); in tegra_dma_start() 435 tdc_write(tdc, TEGRA_APBDMA_CHAN_AHBSEQ, ch_regs->ahb_seq); in tegra_dma_start() [all …]
|