Home
last modified time | relevance | path

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

/sound/usb/usx2y/
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()
A Dusbusx2y.h95 int hwptr; /* free frame position in the buffer (only for playback) */ member
/sound/pci/emu10k1/
A Demu10k1_synth.c41 hw = arg->hwptr; in snd_emu10k1_synth_probe()
A Demu10k1.c159 arg->hwptr = emu; in snd_card_emu10k1_probe()
/sound/pci/
A Dmaestro3.c707 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()
A Des1968.c458 unsigned int hwptr; /* current hw pointer in bytes */ member
1239 es->hwptr = 0; in snd_es1968_pcm_trigger()
1843 unsigned int hwptr; in snd_es1968_update_pcm() local
1850 hwptr = snd_es1968_get_dma_ptr(chip, es) << es->wav_shift; in snd_es1968_update_pcm()
1851 hwptr %= es->dma_size; in snd_es1968_update_pcm()
1853 diff = (es->dma_size + hwptr - es->hwptr) % es->dma_size; in snd_es1968_update_pcm()
1855 es->hwptr = hwptr; in snd_es1968_update_pcm()
/sound/core/
A Dpcm_trace.h11 TRACE_EVENT(hwptr,
/sound/pci/au88x0/
A Dau88x0.c274 arg->hwptr = vortex; in __snd_vortex_probe()
/sound/hda/controllers/
A Dintel.c651 snd_pcm_uframes_t hwptr, target; in azx_position_ok() local
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()
/sound/usb/
A Dpcm.c1551 unsigned int hwptr = subs->hwptr_done / stride; in prepare_playback_urb() local
1556 if (avail <= hwptr) in prepare_playback_urb()
1558 avail -= hwptr; in prepare_playback_urb()

Completed in 35 milliseconds