Lines Matching refs:dma_ch
110 int dma_ch, done, retries, stop_forced = 0; in snd_ps3_verify_dma_stop() local
113 for (dma_ch = 0; dma_ch < 8; dma_ch++) { in snd_ps3_verify_dma_stop()
116 status = read_reg(PS3_AUDIO_KICK(dma_ch)) & in snd_ps3_verify_dma_stop()
132 __func__, dma_ch); in snd_ps3_verify_dma_stop()
221 int fill_stages, dma_ch, stage; in snd_ps3_program_dma() local
248 dma_ch = stage * 2 + ch; in snd_ps3_program_dma()
257 write_reg(PS3_AUDIO_SOURCE(dma_ch), in snd_ps3_program_dma()
263 write_reg(PS3_AUDIO_DEST(dma_ch), in snd_ps3_program_dma()
267 write_reg(PS3_AUDIO_DEST(dma_ch), in snd_ps3_program_dma()
272 write_reg(PS3_AUDIO_DMASIZE(dma_ch), 0); in snd_ps3_program_dma()
280 if (dma_ch == 0) in snd_ps3_program_dma()
281 write_reg(PS3_AUDIO_KICK(dma_ch), in snd_ps3_program_dma()
284 write_reg(PS3_AUDIO_KICK(dma_ch), in snd_ps3_program_dma()
285 PS3_AUDIO_KICK_EVENT_AUDIO_DMA(dma_ch in snd_ps3_program_dma()