Lines Matching refs:dma_ch
121 int dma_ch, done, retries, stop_forced = 0; in snd_ps3_verify_dma_stop() local
124 for (dma_ch = 0; dma_ch < 8; dma_ch++) { in snd_ps3_verify_dma_stop()
127 status = read_reg(PS3_AUDIO_KICK(dma_ch)) & in snd_ps3_verify_dma_stop()
143 __func__, dma_ch); in snd_ps3_verify_dma_stop()
232 int fill_stages, dma_ch, stage; in snd_ps3_program_dma() local
261 dma_ch = stage * 2 + ch; in snd_ps3_program_dma()
270 write_reg(PS3_AUDIO_SOURCE(dma_ch), in snd_ps3_program_dma()
276 write_reg(PS3_AUDIO_DEST(dma_ch), in snd_ps3_program_dma()
280 write_reg(PS3_AUDIO_DEST(dma_ch), in snd_ps3_program_dma()
285 write_reg(PS3_AUDIO_DMASIZE(dma_ch), 0); in snd_ps3_program_dma()
293 if (dma_ch == 0) in snd_ps3_program_dma()
294 write_reg(PS3_AUDIO_KICK(dma_ch), in snd_ps3_program_dma()
297 write_reg(PS3_AUDIO_KICK(dma_ch), in snd_ps3_program_dma()
298 PS3_AUDIO_KICK_EVENT_AUDIO_DMA(dma_ch in snd_ps3_program_dma()