Searched refs:hwptr (Results 1 – 14 of 14) sorted by relevance
/linux/sound/usb/usx2y/ |
H A D | usbusx2yaudio.c | 144 if (subs->hwptr + count > runtime->buffer_size) { in usx2y_urb_play_prepare() 148 len = runtime->buffer_size - subs->hwptr; in usx2y_urb_play_prepare() 151 subs->hwptr * usx2y->stride, len * usx2y->stride); in usx2y_urb_play_prepare() 154 subs->hwptr += count; in usx2y_urb_play_prepare() 155 subs->hwptr -= runtime->buffer_size; in usx2y_urb_play_prepare() 158 urb->transfer_buffer = runtime->dma_area + subs->hwptr * usx2y->stride; in usx2y_urb_play_prepare() 159 subs->hwptr += count; in usx2y_urb_play_prepare() 160 if (subs->hwptr >= runtime->buffer_size) in usx2y_urb_play_prepare() 161 subs->hwptr -= runtime->buffer_size; in usx2y_urb_play_prepare() 387 subs->hwptr = 0; in usx2y_subs_prepare()
|
H A D | usbusx2y.h | 69 int hwptr; /* free frame position in the buffer (only for playback) */ member
|
/linux/include/sound/ |
H A D | emu10k1_synth.h | 18 struct snd_emu10k1 *hwptr; /* chip */ member
|
/linux/sound/pci/emu10k1/ |
H A D | emu10k1_synth.c | 41 hw = arg->hwptr; in snd_emu10k1_synth_probe()
|
H A D | emu10k1.c | 158 arg->hwptr = emu; in snd_card_emu10k1_probe()
|
/linux/sound/pci/ |
H A D | maestro3.c | 707 unsigned int hwptr; member 1145 s->hwptr = 0; in snd_m3_pcm_setup1() 1481 unsigned int hwptr; in snd_m3_update_ptr() local 1487 hwptr = snd_m3_get_pointer(chip, s, subs); in snd_m3_update_ptr() 1490 if (hwptr >= s->dma_size) in snd_m3_update_ptr() 1491 hwptr %= s->dma_size; in snd_m3_update_ptr() 1493 diff = s->dma_size + hwptr - s->hwptr; in snd_m3_update_ptr() 1497 s->hwptr = hwptr; in snd_m3_update_ptr()
|
H A D | es1968.c | 458 unsigned int hwptr; /* current hw pointer in bytes */ member 1239 es->hwptr = 0; in snd_es1968_pcm_trigger() 1841 unsigned int hwptr; in snd_es1968_update_pcm() local 1848 hwptr = snd_es1968_get_dma_ptr(chip, es) << es->wav_shift; in snd_es1968_update_pcm() 1849 hwptr %= es->dma_size; in snd_es1968_update_pcm() 1851 diff = (es->dma_size + hwptr - es->hwptr) % es->dma_size; in snd_es1968_update_pcm() 1853 es->hwptr = hwptr; in snd_es1968_update_pcm()
|
/linux/drivers/video/fbdev/riva/ |
H A D | riva_hw.h | 555 #define RIVA_FIFO_FREE(hwinst,hwptr,cnt) \ argument 559 (hwinst).FifoFreeCount = NV_RD32(&(hwinst).hwptr->FifoFree, 0) >> 2; \
|
/linux/sound/core/ |
H A D | pcm_trace.h | 11 TRACE_EVENT(hwptr,
|
/linux/sound/pci/au88x0/ |
H A D | au88x0.c | 275 arg->hwptr = vortex; in __snd_vortex_probe()
|
/linux/sound/pci/hda/ |
H A D | hda_intel.c | 649 snd_pcm_uframes_t hwptr, target; in azx_position_ok() local 702 hwptr = runtime->hw_ptr_base + pos; in azx_position_ok() 703 if (hwptr < runtime->status->hw_ptr) in azx_position_ok() 704 hwptr += runtime->buffer_size; in azx_position_ok() 706 if (hwptr < target) { in azx_position_ok()
|
/linux/sound/usb/ |
H A D | pcm.c | 1496 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()
|
/linux/Documentation/sound/designs/ |
H A D | tracepoints.rst | 21 This category includes four tracepoints; ``hwptr``, ``applptr``, ``xrun`` and
|
H A D | procfile.rst | 117 Since 2.6.30, this option can enable the hwptr check using
|