Lines Matching refs:ch
201 static dma_addr_t v_to_bus(struct snd_ps3_card_info *card, void *paddr, int ch) in v_to_bus() argument
203 return card->dma_start_bus_addr[ch] + in v_to_bus()
204 (paddr - card->dma_start_vaddr[ch]); in v_to_bus()
213 enum snd_ps3_ch ch, size_t byte_count, in snd_ps3_bump_buffer() argument
217 card->dma_last_transfer_vaddr[ch] = in snd_ps3_bump_buffer()
218 card->dma_next_transfer_vaddr[ch]; in snd_ps3_bump_buffer()
219 card->dma_next_transfer_vaddr[ch] += byte_count; in snd_ps3_bump_buffer()
220 if ((card->dma_start_vaddr[ch] + (card->dma_buffer_size / 2)) <= in snd_ps3_bump_buffer()
221 card->dma_next_transfer_vaddr[ch]) { in snd_ps3_bump_buffer()
222 card->dma_next_transfer_vaddr[ch] = card->dma_start_vaddr[ch]; in snd_ps3_bump_buffer()
234 enum snd_ps3_ch ch; in snd_ps3_program_dma() local
259 for (ch = 0; ch < 2; ch++) { in snd_ps3_program_dma()
262 dma_ch = stage * 2 + ch; in snd_ps3_program_dma()
268 card->dma_next_transfer_vaddr[ch], in snd_ps3_program_dma()
269 ch); in snd_ps3_program_dma()
276 if (ch == 0) in snd_ps3_program_dma()
289 snd_ps3_bump_buffer(card, ch, in snd_ps3_program_dma()