Lines Matching refs:cbuf
228 h->cbuf.buf += h->cbuf.count; in snd_harmony_interrupt()
229 h->cbuf.buf %= h->cbuf.size; in snd_harmony_interrupt()
232 h->cbuf.addr + h->cbuf.buf); in snd_harmony_interrupt()
354 harmony_write(h, HARMONY_RNXTADD, h->cbuf.addr); in snd_harmony_capture_trigger()
446 h->cbuf.size = snd_pcm_lib_buffer_bytes(ss); in snd_harmony_capture_prepare()
447 h->cbuf.count = snd_pcm_lib_period_bytes(ss); in snd_harmony_capture_prepare()
448 if (h->cbuf.buf >= h->cbuf.size) in snd_harmony_capture_prepare()
449 h->cbuf.buf = 0; in snd_harmony_capture_prepare()
462 h->cbuf.addr = rt->dma_addr; in snd_harmony_capture_prepare()
507 if ((h->cbuf.addr == 0) || (h->cbuf.size == 0)) in snd_harmony_capture_pointer()
511 caught = rcuradd - h->cbuf.addr; in snd_harmony_capture_pointer()
515 rcuradd, h->cbuf.addr, caught); in snd_harmony_capture_pointer()
518 if (rcuradd > h->cbuf.addr + h->cbuf.size) { in snd_harmony_capture_pointer()