Home
last modified time | relevance | path

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

/sound/core/
Dpcm_compat.c187 u32 hw_ptr; member
213 put_user(status.hw_ptr, &src->hw_ptr) || in snd_pcm_status_user_compat()
365 u32 hw_ptr; member
428 sstatus.hw_ptr = status->hw_ptr % boundary; in snd_pcm_ioctl_sync_ptr_compat()
434 put_user(sstatus.hw_ptr, &src->s.status.hw_ptr) || in snd_pcm_ioctl_sync_ptr_compat()
Drawmidi.c124 runtime->appl_ptr = runtime->hw_ptr = 0; in snd_rawmidi_runtime_create()
163 runtime->appl_ptr = runtime->hw_ptr = 0; in snd_rawmidi_drop_output()
206 runtime->appl_ptr = runtime->hw_ptr = 0; in snd_rawmidi_drain_input()
885 runtime->buffer[runtime->hw_ptr++] = buffer[0]; in snd_rawmidi_receive()
886 runtime->hw_ptr %= runtime->buffer_size; in snd_rawmidi_receive()
894 count1 = runtime->buffer_size - runtime->hw_ptr; in snd_rawmidi_receive()
899 memcpy(runtime->buffer + runtime->hw_ptr, buffer, count1); in snd_rawmidi_receive()
900 runtime->hw_ptr += count1; in snd_rawmidi_receive()
901 runtime->hw_ptr %= runtime->buffer_size; in snd_rawmidi_receive()
914 runtime->hw_ptr = count1; in snd_rawmidi_receive()
[all …]
Dpcm_lib.c75 runtime->silence_start = (runtime->status->hw_ptr + in snd_pcm_playback_silence()
79 ofs = runtime->status->hw_ptr; in snd_pcm_playback_silence()
234 entry->old_hw_ptr = runtime->status->hw_ptr; in xrun_log()
322 old_hw_ptr = runtime->status->hw_ptr; in snd_pcm_update_hw_ptr0()
506 if (runtime->status->hw_ptr == new_hw_ptr) in snd_pcm_update_hw_ptr0()
523 runtime->status->hw_ptr = new_hw_ptr; in snd_pcm_update_hw_ptr0()
541 + runtime->status->hw_ptr in snd_pcm_update_hw_ptr0()
545 + runtime->status->hw_ptr in snd_pcm_update_hw_ptr0()
1736 runtime->status->hw_ptr %= runtime->buffer_size; in snd_pcm_lib_ioctl_reset()
1738 runtime->status->hw_ptr = 0; in snd_pcm_lib_ioctl_reset()
Dpcm_native.c613 status->hw_ptr = runtime->status->hw_ptr; in snd_pcm_status()
1287 runtime->hw_ptr_interrupt = runtime->status->hw_ptr - in snd_pcm_do_reset()
1288 runtime->status->hw_ptr % runtime->period_size; in snd_pcm_do_reset()
1289 runtime->silence_start = runtime->status->hw_ptr; in snd_pcm_do_reset()
1297 runtime->control->appl_ptr = runtime->status->hw_ptr; in snd_pcm_post_reset()
1343 runtime->control->appl_ptr = runtime->status->hw_ptr; in snd_pcm_post_prepare()
2532 sync_ptr.s.status.hw_ptr = status->hw_ptr; in snd_pcm_sync_ptr()
Dpcm.c469 snd_iprintf(buffer, "hw_ptr : %ld\n", runtime->status->hw_ptr); in snd_pcm_substream_proc_status_read()
/sound/pcmcia/vx/
Dvxp_ops.c368 int offset = pipe->hw_ptr; in vxp_dma_write()
382 pipe->hw_ptr = 0; in vxp_dma_write()
384 pipe->hw_ptr += count; in vxp_dma_write()
408 int offset = pipe->hw_ptr; in vxp_dma_read()
422 pipe->hw_ptr = 0; in vxp_dma_read()
424 pipe->hw_ptr += count; in vxp_dma_read()
/sound/pci/vx222/
Dvx222_ops.c257 int offset = pipe->hw_ptr; in vx2_dma_write()
277 pipe->hw_ptr = 0; in vx2_dma_write()
279 pipe->hw_ptr += count; in vx2_dma_write()
295 int offset = pipe->hw_ptr; in vx2_dma_read()
313 pipe->hw_ptr = 0; in vx2_dma_read()
315 pipe->hw_ptr += count; in vx2_dma_read()
/sound/drivers/vx/
Dvx_pcm.c63 int offset = pipe->hw_ptr; in vx_pcm_read_per_bytes()
80 pipe->hw_ptr = offset; in vx_pcm_read_per_bytes()
881 pipe->hw_ptr = 0; in vx_pcm_prepare()
1063 if ((pipe->hw_ptr % pipe->align) == 0) in vx_pcm_capture_update()
1113 return bytes_to_frames(runtime, pipe->hw_ptr); in vx_pcm_capture_pointer()
/sound/pci/rme9652/
Drme9652.c1972 runtime->status->hw_ptr = rme9652_hw_pointer(rme9652); in snd_rme9652_reset()
1974 runtime->status->hw_ptr = 0; in snd_rme9652_reset()
1980 oruntime->status->hw_ptr = runtime->status->hw_ptr; in snd_rme9652_reset()
Dhdspm.c5217 runtime->status->hw_ptr = hdspm_hw_pointer(hdspm); in snd_hdspm_reset()
5219 runtime->status->hw_ptr = 0; in snd_hdspm_reset()
5225 oruntime->status->hw_ptr = in snd_hdspm_reset()
5226 runtime->status->hw_ptr; in snd_hdspm_reset()
Dhdsp.c4032 runtime->status->hw_ptr = hdsp_hw_pointer(hdsp); in snd_hdsp_reset()
4034 runtime->status->hw_ptr = 0; in snd_hdsp_reset()
4040 oruntime->status->hw_ptr = runtime->status->hw_ptr; in snd_hdsp_reset()
/sound/pci/nm256/
Dnm256.c835 struct snd_pcm_hardware *hw_ptr) in snd_nm256_setup_stream() argument
840 runtime->hw = *hw_ptr; in snd_nm256_setup_stream()
/sound/core/oss/
Dpcm_oss.c1970 snd_pcm_uframes_t hw_ptr) in snd_pcm_oss_simulate_fill() argument
1974 appl_ptr = hw_ptr + runtime->buffer_size; in snd_pcm_oss_simulate_fill()
2123 info.ptr = snd_pcm_oss_bytes(substream, runtime->status->hw_ptr % runtime->buffer_size); in snd_pcm_oss_get_ptr()
2134 info.bytes = snd_pcm_oss_bytes(substream, runtime->status->hw_ptr) & INT_MAX; in snd_pcm_oss_get_ptr()
/sound/pci/emu10k1/
Demupcm.c746 period_pos = runtime->status->hw_ptr - runtime->hw_ptr_interrupt; in snd_emu10k1_playback_mangle_extra()
/sound/pci/asihpi/
Dasihpi.c796 runtime->status->hw_ptr), in snd_card_asihpi_timer_function()