Home
last modified time | relevance | path

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

/Linux-v5.10/sound/usb/usx2y/
Dusbusx2yaudio.c138 if (subs->hwptr + count > runtime->buffer_size) { in usX2Y_urb_play_prepare()
143 len = runtime->buffer_size - subs->hwptr; in usX2Y_urb_play_prepare()
146 subs->hwptr * usX2Y->stride, len * usX2Y->stride); in usX2Y_urb_play_prepare()
149 subs->hwptr += count; in usX2Y_urb_play_prepare()
150 subs->hwptr -= runtime->buffer_size; in usX2Y_urb_play_prepare()
153 urb->transfer_buffer = runtime->dma_area + subs->hwptr * usX2Y->stride; in usX2Y_urb_play_prepare()
154 if ((subs->hwptr += count) >= runtime->buffer_size) in usX2Y_urb_play_prepare()
155 subs->hwptr -= runtime->buffer_size; in usX2Y_urb_play_prepare()
360 subs->hwptr = 0; in usX2Y_subs_prepare()
Dusbusx2y.h70 int hwptr; /* free frame position in the buffer (only for playback) */ member
/Linux-v5.10/include/sound/
Demu10k1_synth.h18 struct snd_emu10k1 *hwptr; /* chip */ member
/Linux-v5.10/sound/pci/emu10k1/
Demu10k1_synth.c42 hw = arg->hwptr; in snd_emu10k1_synth_probe()
Demu10k1.c164 arg->hwptr = emu; in snd_card_emu10k1_probe()
/Linux-v5.10/sound/pci/
Dmaestro3.c712 unsigned int hwptr; member
1152 s->hwptr = 0; in snd_m3_pcm_setup1()
1488 unsigned int hwptr; in snd_m3_update_ptr() local
1494 hwptr = snd_m3_get_pointer(chip, s, subs); in snd_m3_update_ptr()
1497 if (hwptr >= s->dma_size) in snd_m3_update_ptr()
1498 hwptr %= s->dma_size; in snd_m3_update_ptr()
1500 diff = s->dma_size + hwptr - s->hwptr; in snd_m3_update_ptr()
1504 s->hwptr = hwptr; in snd_m3_update_ptr()
Des1968.c462 unsigned int hwptr; /* current hw pointer in bytes */ member
1251 es->hwptr = 0; in snd_es1968_pcm_trigger()
1848 unsigned int hwptr; in snd_es1968_update_pcm() local
1855 hwptr = snd_es1968_get_dma_ptr(chip, es) << es->wav_shift; in snd_es1968_update_pcm()
1856 hwptr %= es->dma_size; in snd_es1968_update_pcm()
1858 diff = (es->dma_size + hwptr - es->hwptr) % es->dma_size; in snd_es1968_update_pcm()
1860 es->hwptr = hwptr; in snd_es1968_update_pcm()
/Linux-v5.10/drivers/video/fbdev/riva/
Driva_hw.h555 #define RIVA_FIFO_FREE(hwinst,hwptr,cnt) \ argument
559 (hwinst).FifoFreeCount = NV_RD32(&(hwinst).hwptr->FifoFree, 0) >> 2; \
/Linux-v5.10/sound/core/
Dpcm_trace.h11 TRACE_EVENT(hwptr,
/Linux-v5.10/sound/pci/au88x0/
Dau88x0.c325 arg->hwptr = vortex; in snd_vortex_probe()
/Linux-v5.10/Documentation/sound/designs/
Dtracepoints.rst21 This category includes four tracepoints; ``hwptr``, ``applptr``, ``xrun`` and
Dprocfile.rst117 Since 2.6.30, this option can enable the hwptr check using