Lines Matching refs:channel_offset
112 uint32_t channel_offset = channel == 0 ? 0x00 : 0x10; in sy1xx_udma_cancel() local
115 SY1XX_UDMA_WRITE_REG(base, SY1XX_UDMA_CFG_REG + channel_offset, in sy1xx_udma_cancel()
122 uint32_t channel_offset = channel == 0 ? 0x00 : 0x10; in sy1xx_udma_is_ready() local
124 int32_t isBusy = SY1XX_UDMA_READ_REG(base, SY1XX_UDMA_CFG_REG + channel_offset) & in sy1xx_udma_is_ready()
132 uint32_t channel_offset = channel == 0 ? 0x00 : 0x10; in sy1xx_udma_wait_for_finished() local
136 while (SY1XX_UDMA_READ_REG(base, SY1XX_UDMA_CFG_REG + channel_offset) & in sy1xx_udma_wait_for_finished()
167 uint32_t channel_offset = channel == 0 ? 0x00 : 0x10; in sy1xx_udma_start() local
169 SY1XX_UDMA_WRITE_REG(base, SY1XX_UDMA_SADDR_REG + channel_offset, saddr); in sy1xx_udma_start()
170 SY1XX_UDMA_WRITE_REG(base, SY1XX_UDMA_SIZE_REG + channel_offset, size); in sy1xx_udma_start()
171 SY1XX_UDMA_WRITE_REG(base, SY1XX_UDMA_CFG_REG + channel_offset, in sy1xx_udma_start()
179 uint32_t channel_offset = channel == 0 ? 0x00 : 0x10; in sy1xx_udma_get_remaining() local
181 int32_t size = SY1XX_UDMA_READ_REG(base, SY1XX_UDMA_SIZE_REG + channel_offset); in sy1xx_udma_get_remaining()