Home
last modified time | relevance | path

Searched refs:tdmac (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/drivers/dma/
Dmmp_tdma.c134 struct mmp_tdma_chan *tdmac[TDMA_CHANNEL_NUM]; member
143 static void mmp_tdma_chan_set_desc(struct mmp_tdma_chan *tdmac, dma_addr_t phys) in mmp_tdma_chan_set_desc() argument
145 writel(phys, tdmac->reg_base + TDNDPR); in mmp_tdma_chan_set_desc()
146 writel(readl(tdmac->reg_base + TDCR) | TDCR_FETCHND, in mmp_tdma_chan_set_desc()
147 tdmac->reg_base + TDCR); in mmp_tdma_chan_set_desc()
150 static void mmp_tdma_enable_irq(struct mmp_tdma_chan *tdmac, bool enable) in mmp_tdma_enable_irq() argument
153 writel(TDIMR_COMP, tdmac->reg_base + TDIMR); in mmp_tdma_enable_irq()
155 writel(0, tdmac->reg_base + TDIMR); in mmp_tdma_enable_irq()
158 static void mmp_tdma_enable_chan(struct mmp_tdma_chan *tdmac) in mmp_tdma_enable_chan() argument
161 writel(readl(tdmac->reg_base + TDCR) | TDCR_CHANEN, in mmp_tdma_enable_chan()
[all …]