/sound/core/ |
D | pcm_compat.c | 199 u32 hw_ptr; member 239 put_user(status.hw_ptr, &src->hw_ptr) || in snd_pcm_status_user_compat() 262 u32 hw_ptr; member 303 put_user(status.hw_ptr, &src->hw_ptr) || in snd_pcm_status_user_x32() 466 u32 hw_ptr; member 529 sstatus.hw_ptr = status->hw_ptr % boundary; in snd_pcm_ioctl_sync_ptr_compat() 535 put_user(sstatus.hw_ptr, &src->s.status.hw_ptr) || in snd_pcm_ioctl_sync_ptr_compat() 552 u32 hw_ptr; member 617 sstatus.hw_ptr = status->hw_ptr % boundary; in snd_pcm_ioctl_sync_ptr_x32() 623 put_user(sstatus.hw_ptr, &src->s.status.hw_ptr) || in snd_pcm_ioctl_sync_ptr_x32()
|
D | rawmidi.c | 143 runtime->appl_ptr = runtime->hw_ptr = 0; in snd_rawmidi_runtime_create() 182 runtime->appl_ptr = runtime->hw_ptr = 0; in snd_rawmidi_drop_output() 229 runtime->appl_ptr = runtime->hw_ptr = 0; in snd_rawmidi_drain_input() 677 runtime->appl_ptr = runtime->hw_ptr = 0; in snd_rawmidi_output_params() 708 runtime->appl_ptr = runtime->hw_ptr = 0; in snd_rawmidi_input_params() 927 runtime->buffer[runtime->hw_ptr++] = buffer[0]; in snd_rawmidi_receive() 928 runtime->hw_ptr %= runtime->buffer_size; in snd_rawmidi_receive() 936 count1 = runtime->buffer_size - runtime->hw_ptr; in snd_rawmidi_receive() 941 memcpy(runtime->buffer + runtime->hw_ptr, buffer, count1); in snd_rawmidi_receive() 942 runtime->hw_ptr += count1; in snd_rawmidi_receive() [all …]
|
D | pcm_trace.h | 34 __entry->old_hw_ptr = (substream)->runtime->status->hw_ptr; 69 __entry->old_hw_ptr = (substream)->runtime->status->hw_ptr;
|
D | pcm_lib.c | 84 runtime->silence_start = (runtime->status->hw_ptr + in snd_pcm_playback_silence() 88 ofs = runtime->status->hw_ptr; in snd_pcm_playback_silence() 255 audio_frames = runtime->hw_ptr_wrap + runtime->status->hw_ptr; in update_audio_tstamp() 293 old_hw_ptr = runtime->status->hw_ptr; in snd_pcm_update_hw_ptr0() 458 if (runtime->status->hw_ptr == new_hw_ptr) { in snd_pcm_update_hw_ptr0() 478 runtime->status->hw_ptr = new_hw_ptr; in snd_pcm_update_hw_ptr0() 1775 runtime->status->hw_ptr %= runtime->buffer_size; in snd_pcm_lib_ioctl_reset() 1777 runtime->status->hw_ptr = 0; in snd_pcm_lib_ioctl_reset()
|
D | pcm_native.c | 778 status->hw_ptr = runtime->status->hw_ptr; in snd_pcm_status() 1493 runtime->hw_ptr_interrupt = runtime->status->hw_ptr - in snd_pcm_do_reset() 1494 runtime->status->hw_ptr % runtime->period_size; in snd_pcm_do_reset() 1495 runtime->silence_start = runtime->status->hw_ptr; in snd_pcm_do_reset() 1503 runtime->control->appl_ptr = runtime->status->hw_ptr; in snd_pcm_post_reset() 1549 runtime->control->appl_ptr = runtime->status->hw_ptr; in snd_pcm_post_prepare() 2749 sync_ptr.s.status.hw_ptr = status->hw_ptr; in snd_pcm_sync_ptr()
|
D | pcm.c | 482 snd_iprintf(buffer, "hw_ptr : %ld\n", runtime->status->hw_ptr); in snd_pcm_substream_proc_status_read()
|
/sound/soc/intel/baytrail/ |
D | sst-baytrail-pcm.c | 50 u32 hw_ptr; member 157 sst_byt_stream_start(byt, pcm_data->stream, pcm_data->hw_ptr); in sst_byt_pcm_restore_stream_context() 160 pcm_data->hw_ptr); in sst_byt_pcm_restore_stream_context() 186 pcm_data->hw_ptr = 0; in sst_byt_pcm_trigger() 226 pcm_data->hw_ptr = hw_pos; in byt_notify_pointer() 245 dev_dbg(rtd->dev, "PCM: DMA pointer %u bytes\n", pcm_data->hw_ptr); in sst_byt_pcm_pointer() 247 return bytes_to_frames(runtime, pcm_data->hw_ptr); in sst_byt_pcm_pointer()
|
/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/soc/mediatek/ |
D | mtk-afe-pcm.c | 179 return bytes_to_frames(substream->runtime, memif->hw_ptr); in mtk_afe_pcm_pointer() 606 memif->hw_ptr = 0; in mtk_afe_dais_hw_params() 741 memif->hw_ptr = 0; in mtk_afe_dais_trigger() 1085 unsigned int reg_value, hw_ptr; in mtk_afe_irq_handler() local 1102 &hw_ptr); in mtk_afe_irq_handler() 1103 if (ret || hw_ptr == 0) { in mtk_afe_irq_handler() 1105 hw_ptr = memif->phys_buf_addr; in mtk_afe_irq_handler() 1107 memif->hw_ptr = hw_ptr - memif->phys_buf_addr; in mtk_afe_irq_handler()
|
D | mtk-afe-common.h | 95 unsigned int hw_ptr; /* Previous IRQ's HW ptr */ member
|
/sound/pci/vx222/ |
D | vx222_ops.c | 262 int offset = pipe->hw_ptr; in vx2_dma_write() 282 pipe->hw_ptr = 0; in vx2_dma_write() 284 pipe->hw_ptr += count; in vx2_dma_write() 300 int offset = pipe->hw_ptr; in vx2_dma_read() 318 pipe->hw_ptr = 0; in vx2_dma_read() 320 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() 859 pipe->hw_ptr = 0; in vx_pcm_prepare() 1040 if ((pipe->hw_ptr % pipe->align) == 0) in vx_pcm_capture_update() 1092 return bytes_to_frames(runtime, pipe->hw_ptr); in vx_pcm_capture_pointer()
|
/sound/pci/rme9652/ |
D | rme9652.c | 1951 runtime->status->hw_ptr = rme9652_hw_pointer(rme9652); in snd_rme9652_reset() 1953 runtime->status->hw_ptr = 0; in snd_rme9652_reset() 1959 oruntime->status->hw_ptr = runtime->status->hw_ptr; in snd_rme9652_reset()
|
D | hdsp.c | 3974 runtime->status->hw_ptr = hdsp_hw_pointer(hdsp); in snd_hdsp_reset() 3976 runtime->status->hw_ptr = 0; in snd_hdsp_reset() 3982 oruntime->status->hw_ptr = runtime->status->hw_ptr; in snd_hdsp_reset()
|
D | hdspm.c | 5493 runtime->status->hw_ptr = hdspm_hw_pointer(hdspm); in snd_hdspm_reset() 5495 runtime->status->hw_ptr = 0; in snd_hdspm_reset() 5501 oruntime->status->hw_ptr = in snd_hdspm_reset() 5502 runtime->status->hw_ptr; in snd_hdspm_reset()
|
/sound/pci/nm256/ |
D | nm256.c | 838 struct snd_pcm_hardware *hw_ptr) in snd_nm256_setup_stream() argument 843 runtime->hw = *hw_ptr; in snd_nm256_setup_stream()
|
/sound/core/oss/ |
D | pcm_oss.c | 2108 snd_pcm_uframes_t hw_ptr) in snd_pcm_oss_simulate_fill() argument 2112 appl_ptr = hw_ptr + runtime->buffer_size; in snd_pcm_oss_simulate_fill() 2273 info.ptr = snd_pcm_oss_bytes(substream, runtime->status->hw_ptr % runtime->buffer_size); in snd_pcm_oss_get_ptr() 2284 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 | 747 period_pos = runtime->status->hw_ptr - runtime->hw_ptr_interrupt; in snd_emu10k1_playback_mangle_extra()
|
/sound/pci/asihpi/ |
D | asihpi.c | 844 runtime->status->hw_ptr), in snd_card_asihpi_timer_function()
|