Lines Matching refs:pbuf
196 h->pbuf.buf += h->pbuf.count; /* PAGE_SIZE */ in snd_harmony_interrupt()
197 h->pbuf.buf %= h->pbuf.size; /* MAX_BUFS*PAGE_SIZE */ in snd_harmony_interrupt()
200 h->pbuf.addr + h->pbuf.buf); in snd_harmony_interrupt()
304 harmony_write(h, HARMONY_PNXTADD, h->pbuf.addr); in snd_harmony_playback_trigger()
403 h->pbuf.size = snd_pcm_lib_buffer_bytes(ss); in snd_harmony_playback_prepare()
404 h->pbuf.count = snd_pcm_lib_period_bytes(ss); in snd_harmony_playback_prepare()
405 if (h->pbuf.buf >= h->pbuf.size) in snd_harmony_playback_prepare()
406 h->pbuf.buf = 0; in snd_harmony_playback_prepare()
419 h->pbuf.addr = rt->dma_addr; in snd_harmony_playback_prepare()
465 if ((h->pbuf.addr == 0) || (h->pbuf.size == 0)) in snd_harmony_playback_pointer()
469 played = pcuradd - h->pbuf.addr; in snd_harmony_playback_pointer()
473 pcuradd, h->pbuf.addr, played); in snd_harmony_playback_pointer()
476 if (pcuradd > h->pbuf.addr + h->pbuf.size) { in snd_harmony_playback_pointer()