Lines Matching refs:pbuf
209 h->pbuf.buf += h->pbuf.count; /* PAGE_SIZE */ in snd_harmony_interrupt()
210 h->pbuf.buf %= h->pbuf.size; /* MAX_BUFS*PAGE_SIZE */ in snd_harmony_interrupt()
213 h->pbuf.addr + h->pbuf.buf); in snd_harmony_interrupt()
317 harmony_write(h, HARMONY_PNXTADD, h->pbuf.addr); in snd_harmony_playback_trigger()
416 h->pbuf.size = snd_pcm_lib_buffer_bytes(ss); in snd_harmony_playback_prepare()
417 h->pbuf.count = snd_pcm_lib_period_bytes(ss); in snd_harmony_playback_prepare()
418 if (h->pbuf.buf >= h->pbuf.size) in snd_harmony_playback_prepare()
419 h->pbuf.buf = 0; in snd_harmony_playback_prepare()
432 h->pbuf.addr = rt->dma_addr; in snd_harmony_playback_prepare()
478 if ((h->pbuf.addr == 0) || (h->pbuf.size == 0)) in snd_harmony_playback_pointer()
482 played = pcuradd - h->pbuf.addr; in snd_harmony_playback_pointer()
486 pcuradd, h->pbuf.addr, played); in snd_harmony_playback_pointer()
489 if (pcuradd > h->pbuf.addr + h->pbuf.size) { in snd_harmony_playback_pointer()