Home
last modified time | relevance | path

Searched refs:hwptr (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/sound/usb/usx2y/
H A Dusbusx2yaudio.c142 if (subs->hwptr + count > runtime->buffer_size) { in usx2y_urb_play_prepare()
146 len = runtime->buffer_size - subs->hwptr; in usx2y_urb_play_prepare()
149 subs->hwptr * usx2y->stride, len * usx2y->stride); in usx2y_urb_play_prepare()
152 subs->hwptr += count; in usx2y_urb_play_prepare()
153 subs->hwptr -= runtime->buffer_size; in usx2y_urb_play_prepare()
156 urb->transfer_buffer = runtime->dma_area + subs->hwptr * usx2y->stride; in usx2y_urb_play_prepare()
157 subs->hwptr += count; in usx2y_urb_play_prepare()
158 if (subs->hwptr >= runtime->buffer_size) in usx2y_urb_play_prepare()
159 subs->hwptr -= runtime->buffer_size; in usx2y_urb_play_prepare()
379 subs->hwptr = 0; in usx2y_subs_prepare()
H A Dusbusx2y.h69 int hwptr; /* free frame position in the buffer (only for playback) */ member
/openbmc/linux/include/sound/
H A Demu10k1_synth.h18 struct snd_emu10k1 *hwptr; /* chip */ member
/openbmc/linux/sound/pci/emu10k1/
H A Demu10k1_synth.c41 hw = arg->hwptr; in snd_emu10k1_synth_probe()
H A Demu10k1.c158 arg->hwptr = emu; in snd_card_emu10k1_probe()
/openbmc/linux/sound/pci/
H A Dmaestro3.c707 unsigned int hwptr; member
1147 s->hwptr = 0; in snd_m3_pcm_setup1()
1483 unsigned int hwptr; in snd_m3_update_ptr() local
1489 hwptr = snd_m3_get_pointer(chip, s, subs); in snd_m3_update_ptr()
1492 if (hwptr >= s->dma_size) in snd_m3_update_ptr()
1493 hwptr %= s->dma_size; in snd_m3_update_ptr()
1495 diff = s->dma_size + hwptr - s->hwptr; in snd_m3_update_ptr()
1499 s->hwptr = hwptr; in snd_m3_update_ptr()
H A Des1968.c458 unsigned int hwptr; /* current hw pointer in bytes */ member
1247 es->hwptr = 0; in snd_es1968_pcm_trigger()
1849 unsigned int hwptr; in snd_es1968_update_pcm() local
1856 hwptr = snd_es1968_get_dma_ptr(chip, es) << es->wav_shift; in snd_es1968_update_pcm()
1857 hwptr %= es->dma_size; in snd_es1968_update_pcm()
1859 diff = (es->dma_size + hwptr - es->hwptr) % es->dma_size; in snd_es1968_update_pcm()
1861 es->hwptr = hwptr; in snd_es1968_update_pcm()
/openbmc/linux/drivers/video/fbdev/riva/
H A Driva_hw.h555 #define RIVA_FIFO_FREE(hwinst,hwptr,cnt) \ argument
559 (hwinst).FifoFreeCount = NV_RD32(&(hwinst).hwptr->FifoFree, 0) >> 2; \
/openbmc/linux/sound/core/
H A Dpcm_trace.h11 TRACE_EVENT(hwptr,
/openbmc/qemu/audio/
H A Dcoreaudio.m312 void *hwptr)
316 HWVoiceOut *hw = hwptr;
317 coreaudioVoiceOut *core = (coreaudioVoiceOut *) hwptr;
/openbmc/linux/sound/pci/au88x0/
H A Dau88x0.c275 arg->hwptr = vortex; in __snd_vortex_probe()
/openbmc/linux/sound/pci/hda/
H A Dhda_intel.c644 snd_pcm_uframes_t hwptr, target; in azx_position_ok() local
697 hwptr = runtime->hw_ptr_base + pos; in azx_position_ok()
698 if (hwptr < runtime->status->hw_ptr) in azx_position_ok()
699 hwptr += runtime->buffer_size; in azx_position_ok()
701 if (hwptr < target) { in azx_position_ok()
/openbmc/linux/sound/usb/
H A Dpcm.c1496 unsigned int hwptr = subs->hwptr_done / stride; in prepare_playback_urb() local
1501 if (avail <= hwptr) in prepare_playback_urb()
1503 avail -= hwptr; in prepare_playback_urb()
/openbmc/linux/Documentation/sound/designs/
H A Dtracepoints.rst21 This category includes four tracepoints; ``hwptr``, ``applptr``, ``xrun`` and
H A Dprocfile.rst117 Since 2.6.30, this option can enable the hwptr check using