Lines Matching refs:dma_ch
94 DDADR(prtd->dma_ch) = prtd->dma_desc_array_phys; in pxa2xx_pcm_trigger()
95 DCSR(prtd->dma_ch) = DCSR_RUN; in pxa2xx_pcm_trigger()
101 DCSR(prtd->dma_ch) &= ~DCSR_RUN; in pxa2xx_pcm_trigger()
105 DCSR(prtd->dma_ch) |= DCSR_RUN; in pxa2xx_pcm_trigger()
108 DDADR(prtd->dma_ch) = prtd->dma_desc_array_phys; in pxa2xx_pcm_trigger()
109 DCSR(prtd->dma_ch) |= DCSR_RUN; in pxa2xx_pcm_trigger()
127 DSADR(prtd->dma_ch) : DTADR(prtd->dma_ch); in pxa2xx_pcm_pointer()
143 if (prtd->dma_ch == -1) in __pxa2xx_pcm_prepare()
146 DCSR(prtd->dma_ch) &= ~DCSR_RUN; in __pxa2xx_pcm_prepare()
147 DCSR(prtd->dma_ch) = 0; in __pxa2xx_pcm_prepare()
148 DCMD(prtd->dma_ch) = 0; in __pxa2xx_pcm_prepare()
149 *prtd->params->drcmr = prtd->dma_ch | DRCMR_MAPVLD; in __pxa2xx_pcm_prepare()
155 void pxa2xx_pcm_dma_irq(int dma_ch, void *dev_id) in pxa2xx_pcm_dma_irq() argument
161 dcsr = DCSR(dma_ch); in pxa2xx_pcm_dma_irq()
162 DCSR(dma_ch) = dcsr & ~DCSR_STOPIRQEN; in pxa2xx_pcm_dma_irq()
168 rtd->params->name, dma_ch, dcsr); in pxa2xx_pcm_dma_irq()
212 rtd->dma_ch = -1; in __pxa2xx_pcm_open()