Home
last modified time | relevance | path

Searched refs:dma_ch (Results 1 – 6 of 6) sorted by relevance

/sound/arm/
Dpxa2xx-pcm-lib.c94 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()
[all …]
Dpxa2xx-pcm.c47 rtd->dma_ch = ret; in pxa2xx_pcm_open()
53 pxa_free_dma(rtd->dma_ch); in pxa2xx_pcm_open()
65 pxa_free_dma(rtd->dma_ch); in pxa2xx_pcm_close()
Dpxa2xx-pcm.h15 int dma_ch; member
/sound/soc/pxa/
Dpxa2xx-pcm.c46 prtd->dma_ch = ret; in pxa2xx_pcm_hw_params()
48 pxa_free_dma(prtd->dma_ch); in pxa2xx_pcm_hw_params()
54 prtd->dma_ch = ret; in pxa2xx_pcm_hw_params()
66 if (prtd->dma_ch >= 0) { in pxa2xx_pcm_hw_free()
67 pxa_free_dma(prtd->dma_ch); in pxa2xx_pcm_hw_free()
68 prtd->dma_ch = -1; in pxa2xx_pcm_hw_free()
/sound/ppc/
Dsnd_ps3.c122 int dma_ch, done, retries, stop_forced = 0; in snd_ps3_verify_dma_stop() local
125 for (dma_ch = 0; dma_ch < 8; dma_ch++) { in snd_ps3_verify_dma_stop()
128 status = read_reg(PS3_AUDIO_KICK(dma_ch)) & in snd_ps3_verify_dma_stop()
144 __func__, dma_ch); in snd_ps3_verify_dma_stop()
233 int fill_stages, dma_ch, stage; in snd_ps3_program_dma() local
262 dma_ch = stage * 2 + ch; in snd_ps3_program_dma()
271 write_reg(PS3_AUDIO_SOURCE(dma_ch), in snd_ps3_program_dma()
277 write_reg(PS3_AUDIO_DEST(dma_ch), in snd_ps3_program_dma()
281 write_reg(PS3_AUDIO_DEST(dma_ch), in snd_ps3_program_dma()
286 write_reg(PS3_AUDIO_DMASIZE(dma_ch), 0); in snd_ps3_program_dma()
[all …]
/sound/soc/tegra/
Dtegra20_i2s.c344 u32 dma_ch; in tegra20_i2s_platform_probe() local
382 dma_ch = of_dma[1]; in tegra20_i2s_platform_probe()
384 dma_ch = dmareq->start; in tegra20_i2s_platform_probe()
413 i2s->capture_dma_data.slave_id = dma_ch; in tegra20_i2s_platform_probe()
418 i2s->playback_dma_data.slave_id = dma_ch; in tegra20_i2s_platform_probe()