Home
last modified time | relevance | path

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

/linux/sound/usb/usx2y/
H A Dusbusx2yaudio.c117 if (subs->hwptr + count > runtime->buffer_size) { in usx2y_urb_play_prepare()
121 len = runtime->buffer_size - subs->hwptr; in usx2y_urb_play_prepare()
124 subs->hwptr * usx2y->stride, len * usx2y->stride); in usx2y_urb_play_prepare()
127 subs->hwptr += count; in usx2y_urb_play_prepare()
128 subs->hwptr -= runtime->buffer_size; in usx2y_urb_play_prepare()
131 urb->transfer_buffer = runtime->dma_area + subs->hwptr * usx2y->stride; in usx2y_urb_play_prepare()
132 subs->hwptr += count; in usx2y_urb_play_prepare()
133 if (subs->hwptr >= runtime->buffer_size) in usx2y_urb_play_prepare()
134 subs->hwptr -= runtime->buffer_size; in usx2y_urb_play_prepare()
360 subs->hwptr = 0; in usx2y_subs_prepare()
H A Dusbusx2y.h95 int hwptr; /* free frame position in the buffer (only for playback) */ member
/linux/include/sound/
H A Demu10k1_synth.h18 struct snd_emu10k1 *hwptr; /* chip */ member
/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; \
/linux/sound/pci/
H A Des1968.c458 unsigned int hwptr; /* current hw pointer in bytes */ member
1204 es->hwptr = 0; in snd_es1968_pcm_trigger()
1799 unsigned int hwptr; in snd_es1968_update_pcm() local
1806 hwptr = snd_es1968_get_dma_ptr(chip, es) << es->wav_shift; in snd_es1968_update_pcm()
1807 hwptr %= es->dma_size; in snd_es1968_update_pcm()
1809 diff = (es->dma_size + hwptr - es->hwptr) % es->dma_size; in snd_es1968_update_pcm()
1811 es->hwptr = hwptr; in snd_es1968_update_pcm()
/linux/sound/core/
H A Dpcm_trace.h11 TRACE_EVENT(hwptr,
/linux/sound/pci/emu10k1/
H A Demu10k1.c159 arg->hwptr = emu; in snd_card_emu10k1_probe()
/linux/sound/pci/au88x0/
H A Dau88x0.c274 arg->hwptr = vortex; in __snd_vortex_probe()
/linux/sound/hda/controllers/
H A Dintel.c651 snd_pcm_uframes_t hwptr, target; in azx_position_ok() local
700 return 1; /* OK, already in hwptr updating process */ in azx_position_ok()
704 hwptr = runtime->hw_ptr_base + pos; in azx_position_ok()
705 if (hwptr < runtime->status->hw_ptr) in azx_position_ok()
706 hwptr += runtime->buffer_size; in azx_position_ok()
708 if (hwptr < target) { in azx_position_ok()
/linux/sound/usb/
H A Dpcm.c1544 unsigned int hwptr = subs->hwptr_done / stride; in prepare_playback_urb() local
1549 if (avail <= hwptr) in prepare_playback_urb()
1551 avail -= hwptr; in prepare_playback_urb()
/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