Searched refs:cfglo (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/drivers/dma/dw/ |
D | idma32.c | 50 u32 cfghi = 0, cfglo = 0; in idma32_initialize_chan_xbar() local 127 cfglo |= IDMA32C_CFGL_DST_BURST_ALIGN | IDMA32C_CFGL_SRC_BURST_ALIGN; in idma32_initialize_chan_xbar() 137 channel_writel(dwc, CFG_LO, cfglo); in idma32_initialize_chan_xbar() 144 u32 cfglo = 0; in idma32_initialize_chan_generic() local 147 cfglo |= IDMA32C_CFGL_DST_BURST_ALIGN | IDMA32C_CFGL_SRC_BURST_ALIGN; in idma32_initialize_chan_generic() 157 channel_writel(dwc, CFG_LO, cfglo); in idma32_initialize_chan_generic() 163 u32 cfglo = channel_readl(dwc, CFG_LO); in idma32_suspend_chan() local 166 cfglo |= IDMA32C_CFGL_CH_DRAIN; in idma32_suspend_chan() 168 channel_writel(dwc, CFG_LO, cfglo | DWC_CFGL_CH_SUSP); in idma32_suspend_chan() 173 u32 cfglo = channel_readl(dwc, CFG_LO); in idma32_resume_chan() local [all …]
|
D | dw.c | 18 u32 cfglo = DWC_CFGL_CH_PRIOR(dwc->priority); in dw_dma_initialize_chan() local 26 cfglo |= hs_polarity ? DWC_CFGL_HS_DST_POL | DWC_CFGL_HS_SRC_POL : 0; in dw_dma_initialize_chan() 28 channel_writel(dwc, CFG_LO, cfglo); in dw_dma_initialize_chan() 34 u32 cfglo = channel_readl(dwc, CFG_LO); in dw_dma_suspend_chan() local 36 channel_writel(dwc, CFG_LO, cfglo | DWC_CFGL_CH_SUSP); in dw_dma_suspend_chan() 41 u32 cfglo = channel_readl(dwc, CFG_LO); in dw_dma_resume_chan() local 43 channel_writel(dwc, CFG_LO, cfglo & ~DWC_CFGL_CH_SUSP); in dw_dma_resume_chan()
|
/linux-6.1.9/drivers/dma/ |
D | idma64.c | 62 u32 cfglo = 0; in idma64_chan_init() local 65 cfglo |= IDMA64C_CFGL_DST_BURST_ALIGN | IDMA64C_CFGL_SRC_BURST_ALIGN; in idma64_chan_init() 67 channel_writel(idma64c, CFG_LO, cfglo); in idma64_chan_init() 417 u32 cfglo; in idma64_chan_deactivate() local 419 cfglo = channel_readl(idma64c, CFG_LO); in idma64_chan_deactivate() 421 cfglo |= IDMA64C_CFGL_CH_DRAIN; in idma64_chan_deactivate() 423 cfglo &= ~IDMA64C_CFGL_CH_DRAIN; in idma64_chan_deactivate() 425 channel_writel(idma64c, CFG_LO, cfglo | IDMA64C_CFGL_CH_SUSP); in idma64_chan_deactivate() 428 cfglo = channel_readl(idma64c, CFG_LO); in idma64_chan_deactivate() 429 } while (!(cfglo & IDMA64C_CFGL_FIFO_EMPTY) && --count); in idma64_chan_deactivate() [all …]
|