Searched refs:idma_mask (Results 1 – 1 of 1) sorted by relevance
282 #define idma_mask(ch) (idma_is_valid(ch) ? (1UL << (ch & 0x1F)) : 0) macro283 #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()[all …]