Home
last modified time | relevance | path

Searched refs:cfglo (Results 1 – 3 of 3) sorted by relevance

/drivers/dma/dw/
Didma32.c15 u32 cfglo = 0; in idma32_initialize_chan() local
18 cfglo |= IDMA32C_CFGL_DST_BURST_ALIGN | IDMA32C_CFGL_SRC_BURST_ALIGN; in idma32_initialize_chan()
28 channel_writel(dwc, CFG_LO, cfglo); in idma32_initialize_chan()
34 u32 cfglo = channel_readl(dwc, CFG_LO); in idma32_suspend_chan() local
37 cfglo |= IDMA32C_CFGL_CH_DRAIN; in idma32_suspend_chan()
39 channel_writel(dwc, CFG_LO, cfglo | DWC_CFGL_CH_SUSP); in idma32_suspend_chan()
44 u32 cfglo = channel_readl(dwc, CFG_LO); in idma32_resume_chan() local
47 cfglo &= ~IDMA32C_CFGL_CH_DRAIN; in idma32_resume_chan()
49 channel_writel(dwc, CFG_LO, cfglo & ~DWC_CFGL_CH_SUSP); in idma32_resume_chan()
Ddw.c18 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()
/drivers/dma/
Didma64.c62 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 …]