Searched refs:cfglo (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/dma/dw/ |
H A 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 …]
|
H A 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/drivers/dma/ |
H A 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() 425 u32 cfglo; in idma64_chan_deactivate() local 427 cfglo = channel_readl(idma64c, CFG_LO); in idma64_chan_deactivate() 429 cfglo |= IDMA64C_CFGL_CH_DRAIN; in idma64_chan_deactivate() 431 cfglo &= ~IDMA64C_CFGL_CH_DRAIN; in idma64_chan_deactivate() 433 channel_writel(idma64c, CFG_LO, cfglo | IDMA64C_CFGL_CH_SUSP); in idma64_chan_deactivate() 436 cfglo = channel_readl(idma64c, CFG_LO); in idma64_chan_deactivate() 437 } while (!(cfglo & IDMA64C_CFGL_FIFO_EMPTY) && --count); in idma64_chan_deactivate() [all …]
|