Searched refs:tdmac (Results 1 – 1 of 1) sorted by relevance
134 struct mmp_tdma_chan *tdmac[TDMA_CHANNEL_NUM]; member143 static void mmp_tdma_chan_set_desc(struct mmp_tdma_chan *tdmac, dma_addr_t phys) in mmp_tdma_chan_set_desc() argument145 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() argument153 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() argument161 writel(readl(tdmac->reg_base + TDCR) | TDCR_CHANEN, in mmp_tdma_enable_chan()[all …]