Lines Matching refs:cbuf
215 h->cbuf.buf += h->cbuf.count; in snd_harmony_interrupt()
216 h->cbuf.buf %= h->cbuf.size; in snd_harmony_interrupt()
219 h->cbuf.addr + h->cbuf.buf); in snd_harmony_interrupt()
341 harmony_write(h, HARMONY_RNXTADD, h->cbuf.addr); in snd_harmony_capture_trigger()
433 h->cbuf.size = snd_pcm_lib_buffer_bytes(ss); in snd_harmony_capture_prepare()
434 h->cbuf.count = snd_pcm_lib_period_bytes(ss); in snd_harmony_capture_prepare()
435 if (h->cbuf.buf >= h->cbuf.size) in snd_harmony_capture_prepare()
436 h->cbuf.buf = 0; in snd_harmony_capture_prepare()
449 h->cbuf.addr = rt->dma_addr; in snd_harmony_capture_prepare()
494 if ((h->cbuf.addr == 0) || (h->cbuf.size == 0)) in snd_harmony_capture_pointer()
498 caught = rcuradd - h->cbuf.addr; in snd_harmony_capture_pointer()
502 rcuradd, h->cbuf.addr, caught); in snd_harmony_capture_pointer()
505 if (rcuradd > h->cbuf.addr + h->cbuf.size) { in snd_harmony_capture_pointer()