Lines Matching refs:idma_mask
282 #define idma_mask(ch) (idma_is_valid(ch) ? (1UL << (ch & 0x1F)) : 0) macro
283 #define idma_is_set(reg, dma) (__raw_readl(reg(dma)) & idma_mask(dma))
697 __raw_writel(reg & ~idma_mask(in_dma), IPU_CHA_DB_MODE_SEL(in_dma)); in ipu_uninit_channel()
699 __raw_writel(reg & ~idma_mask(out_dma), IPU_CHA_DB_MODE_SEL(out_dma)); in ipu_uninit_channel()
1046 reg |= idma_mask(dma_chan); in ipu_init_channel_buffer()
1048 reg &= ~idma_mask(dma_chan); in ipu_init_channel_buffer()
1052 __raw_writel(idma_mask(dma_chan), IPU_CHA_CUR_BUF(dma_chan)); in ipu_init_channel_buffer()
1082 __raw_writel(reg | idma_mask(in_dma), IDMAC_CHA_EN(in_dma)); in ipu_enable_channel()
1086 __raw_writel(reg | idma_mask(out_dma), IDMAC_CHA_EN(out_dma)); in ipu_enable_channel()
1120 __raw_writel(idma_mask(dma_ch), in ipu_clear_buffer_ready()
1125 __raw_writel(idma_mask(dma_ch), in ipu_clear_buffer_ready()
1173 __raw_writel(reg & ~idma_mask(in_dma), IDMAC_CHA_EN(in_dma)); in ipu_disable_channel()
1174 __raw_writel(idma_mask(in_dma), IPU_CHA_CUR_BUF(in_dma)); in ipu_disable_channel()
1178 __raw_writel(reg & ~idma_mask(out_dma), IDMAC_CHA_EN(out_dma)); in ipu_disable_channel()
1179 __raw_writel(idma_mask(out_dma), IPU_CHA_CUR_BUF(out_dma)); in ipu_disable_channel()