Searched refs:hw_ptr (Results 1 – 15 of 15) sorted by relevance
/sound/core/ |
D | pcm_compat.c | 187 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()
|
D | rawmidi.c | 124 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 …]
|
D | pcm_lib.c | 75 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()
|
D | pcm_native.c | 613 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()
|
D | pcm.c | 469 snd_iprintf(buffer, "hw_ptr : %ld\n", runtime->status->hw_ptr); in snd_pcm_substream_proc_status_read()
|
/sound/pcmcia/vx/ |
D | vxp_ops.c | 368 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/ |
D | vx222_ops.c | 257 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/ |
D | vx_pcm.c | 63 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/ |
D | rme9652.c | 1972 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()
|
D | hdspm.c | 5217 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()
|
D | hdsp.c | 4032 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/ |
D | nm256.c | 835 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/ |
D | pcm_oss.c | 1970 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/ |
D | emupcm.c | 746 period_pos = runtime->status->hw_ptr - runtime->hw_ptr_interrupt; in snd_emu10k1_playback_mangle_extra()
|
/sound/pci/asihpi/ |
D | asihpi.c | 796 runtime->status->hw_ptr), in snd_card_asihpi_timer_function()
|