Lines Matching full:scr
532 u32 scr = stm32_dma_read(dmadev, STM32_DMA_SCR(chan->id)); in stm32_dma_dump_reg() local
539 dev_dbg(chan2dev(chan), "SCR: 0x%08x\n", scr); in stm32_dma_dump_reg()
656 * to set it here in SCR backup to ensure a good reconfiguration on transfer complete. in stm32_dma_handle_chan_paused()
734 static void stm32_dma_handle_chan_done(struct stm32_dma_chan *chan, u32 scr) in stm32_dma_handle_chan_done() argument
745 if (!(scr & (STM32_DMA_SCR_CIRC | STM32_DMA_SCR_DBM))) in stm32_dma_handle_chan_done()
747 else if (scr & STM32_DMA_SCR_DBM) in stm32_dma_handle_chan_done()
764 u32 status, scr, sfcr; in stm32_dma_chan_irq() local
769 scr = stm32_dma_read(dmadev, STM32_DMA_SCR(chan->id)); in stm32_dma_chan_irq()
776 if (!(scr & STM32_DMA_SCR_EN) && in stm32_dma_chan_irq()
792 if (scr & STM32_DMA_SCR_TCIE) { in stm32_dma_chan_irq()
794 stm32_dma_handle_chan_done(chan, scr); in stm32_dma_chan_irq()
807 if (!(scr & STM32_DMA_SCR_EN)) in stm32_dma_chan_irq()
855 u32 id = chan->id, scr, ndtr, offset, spar, sm0ar, sm1ar; in stm32_dma_resume() local
862 scr = stm32_dma_read(dmadev, STM32_DMA_SCR(id)); in stm32_dma_resume()
863 if (WARN_ON(scr & STM32_DMA_SCR_EN)) in stm32_dma_resume()
1736 int id, ret, scr; in stm32_dma_pm_suspend() local
1743 scr = stm32_dma_read(dmadev, STM32_DMA_SCR(id)); in stm32_dma_pm_suspend()
1744 if (scr & STM32_DMA_SCR_EN) { in stm32_dma_pm_suspend()