/linux/include/sound/ |
H A D | pcm-indirect.h | 24 snd_pcm_uframes_t appl_ptr; /* Last seen appl_ptr */ member 39 snd_pcm_uframes_t appl_ptr = runtime->control->appl_ptr; in snd_pcm_indirect_playback_transfer() local 40 snd_pcm_sframes_t diff = appl_ptr - rec->appl_ptr; in snd_pcm_indirect_playback_transfer() 49 rec->appl_ptr = appl_ptr; in snd_pcm_indirect_playback_transfer() 113 snd_pcm_uframes_t appl_ptr = runtime->control->appl_ptr; in snd_pcm_indirect_capture_transfer() local 114 snd_pcm_sframes_t diff = appl_ptr - rec->appl_ptr; in snd_pcm_indirect_capture_transfer() 122 rec->appl_ptr = appl_ptr; in snd_pcm_indirect_capture_transfer()
|
H A D | pcm.h | 826 …_pcm_sframes_t avail = runtime->status->hw_ptr + runtime->buffer_size - runtime->control->appl_ptr; in snd_pcm_playback_avail() 844 snd_pcm_sframes_t avail = runtime->status->hw_ptr - runtime->control->appl_ptr; in snd_pcm_capture_avail() 1547 snd_pcm_uframes_t appl_ptr; /* appl ptr */ member 1572 u32 appl_ptr; /* appl ptr */ member
|
/linux/sound/core/ |
H A D | pcm_compat.c | 165 u32 appl_ptr; member 212 .appl_ptr = status.appl_ptr, in snd_pcm_status_user_compat64() 387 u32 appl_ptr; member 434 control->appl_ptr = scontrol.appl_ptr; in snd_pcm_ioctl_sync_ptr_x32() 436 scontrol.appl_ptr = control->appl_ptr % boundary; in snd_pcm_ioctl_sync_ptr_x32() 471 __u32 appl_ptr; member 503 err = pcm_lib_apply_appl_ptr(substream, sync_cp->appl_ptr); in snd_pcm_ioctl_sync_ptr_buggy() 507 sync_cp->appl_ptr = control->appl_ptr; in snd_pcm_ioctl_sync_ptr_buggy()
|
H A D | pcm_lib.c | 72 snd_pcm_uframes_t appl_ptr = READ_ONCE(runtime->control->appl_ptr); in snd_pcm_playback_silence() local 73 update_silence_vars(runtime, runtime->silence_start, appl_ptr); in snd_pcm_playback_silence() 78 noise_dist = appl_ptr - new_hw_ptr; in snd_pcm_playback_silence() 101 snd_pcm_sframes_t avail = runtime->control->appl_ptr - hw_ptr; in snd_pcm_playback_silence() 2228 snd_pcm_uframes_t appl_ptr) in pcm_lib_apply_appl_ptr() argument 2231 snd_pcm_uframes_t old_appl_ptr = runtime->control->appl_ptr; in pcm_lib_apply_appl_ptr() 2235 if (old_appl_ptr == appl_ptr) in pcm_lib_apply_appl_ptr() 2238 if (appl_ptr >= runtime->boundary) in pcm_lib_apply_appl_ptr() 2244 diff = appl_ptr - old_appl_ptr; in pcm_lib_apply_appl_ptr() 2254 runtime->control->appl_ptr = appl_ptr; in pcm_lib_apply_appl_ptr() [all …]
|
H A D | sound_kunit.c | 44 snd_pcm_uframes_t appl_ptr; member 223 r->control->appl_ptr = p_avail_data[i].appl_ptr; in test_playback_avail() 251 r->control->appl_ptr = c_avail_data[i].appl_ptr; in test_capture_avail()
|
H A D | rawmidi.c | 180 runtime->appl_ptr = runtime->hw_ptr = 0; in snd_rawmidi_runtime_create() 229 runtime->appl_ptr = runtime->hw_ptr = 0; in __reset_runtime_ptrs() 1224 unsigned long appl_ptr; in snd_rawmidi_kernel_read1() local 1230 count1 = runtime->buffer_size - runtime->appl_ptr; in snd_rawmidi_kernel_read1() 1237 appl_ptr = runtime->appl_ptr; in snd_rawmidi_kernel_read1() 1238 runtime->appl_ptr += count1; in snd_rawmidi_kernel_read1() 1239 runtime->appl_ptr %= runtime->buffer_size; in snd_rawmidi_kernel_read1() 1243 memcpy(kernelbuf + result, runtime->buffer + appl_ptr, count1); in snd_rawmidi_kernel_read1() 1247 runtime->buffer + appl_ptr, count1)) in snd_rawmidi_kernel_read1() 1526 unsigned long appl_ptr; in snd_rawmidi_kernel_write1() local [all …]
|
H A D | pcm_native.c | 1083 status->appl_ptr = runtime->control->appl_ptr; in snd_pcm_status64() 1147 .appl_ptr = status64.appl_ptr, in snd_pcm_status_user32() 1918 runtime->control->appl_ptr = runtime->status->hw_ptr; in snd_pcm_post_reset() 1970 runtime->control->appl_ptr = runtime->status->hw_ptr; in snd_pcm_post_prepare() 2958 snd_pcm_sframes_t appl_ptr; in forward_appl_ptr() local 2965 appl_ptr = runtime->control->appl_ptr + frames; in forward_appl_ptr() 2966 if (appl_ptr >= (snd_pcm_sframes_t)runtime->boundary) in forward_appl_ptr() 2967 appl_ptr -= runtime->boundary; in forward_appl_ptr() 2968 ret = pcm_lib_apply_appl_ptr(substream, appl_ptr); in forward_appl_ptr() 2978 snd_pcm_sframes_t appl_ptr; in rewind_appl_ptr() local [all …]
|
H A D | pcm_local.h | 27 snd_pcm_uframes_t appl_ptr);
|
H A D | pcm.c | 464 snd_iprintf(buffer, "appl_ptr : %ld\n", runtime->control->appl_ptr); in snd_pcm_substream_proc_status_read()
|
/linux/tools/perf/trace/beauty/include/uapi/sound/ |
H A D | asound.h | 486 snd_pcm_uframes_t appl_ptr; /* appl ptr */ member 541 snd_pcm_uframes_t appl_ptr; /* RW: appl ptr (0...boundary-1) */ member 585 snd_pcm_uframes_t appl_ptr; /* RW: appl ptr (0...boundary-1) */ member
|
/linux/include/uapi/sound/ |
H A D | asound.h | 486 snd_pcm_uframes_t appl_ptr; /* appl ptr */ member 541 snd_pcm_uframes_t appl_ptr; /* RW: appl ptr (0...boundary-1) */ member 585 snd_pcm_uframes_t appl_ptr; /* RW: appl ptr (0...boundary-1) */ member
|
/linux/sound/soc/sof/intel/ |
H A D | hda-pcm.c | 160 appl_pos = frames_to_bytes(runtime, runtime->control->appl_ptr); in hda_dsp_pcm_ack()
|
/linux/sound/drivers/ |
H A D | aloop.c | 582 snd_pcm_uframes_t appl_ptr, appl_ptr1, diff; in copy_play_buf() local 583 appl_ptr = appl_ptr1 = runtime->control->appl_ptr; in copy_play_buf() 586 if (appl_ptr < appl_ptr1) in copy_play_buf() 588 diff = (appl_ptr - appl_ptr1) * play->pcm_salign; in copy_play_buf()
|
/linux/sound/soc/google/ |
H A D | chv3-i2s.c | 259 bytes = frames_to_bytes(runtime, runtime->control->appl_ptr); in chv3_dma_ack()
|
/linux/sound/core/oss/ |
H A D | pcm_oss.c | 1699 size = runtime->control->appl_ptr % runtime->period_size; in snd_pcm_oss_sync() 2052 snd_pcm_uframes_t appl_ptr; in snd_pcm_oss_simulate_fill() local 2053 appl_ptr = hw_ptr + runtime->buffer_size; in snd_pcm_oss_simulate_fill() 2054 appl_ptr %= runtime->boundary; in snd_pcm_oss_simulate_fill() 2055 runtime->control->appl_ptr = appl_ptr; in snd_pcm_oss_simulate_fill()
|
/linux/sound/soc/qcom/qdsp6/ |
H A D | q6apm-dai.c | 294 avail_periods = (runtime->control->appl_ptr - prtd->queue_ptr)/runtime->period_size; in q6apm_dai_ack()
|
/linux/sound/soc/fsl/ |
H A D | imx-pcm-rpmsg.c | 543 buffer_tail = (frames_to_bytes(runtime, runtime->control->appl_ptr) % in imx_rpmsg_pcm_ack()
|
/linux/sound/usb/ |
H A D | pcm.c | 1554 avail = (runtime->control->appl_ptr - runtime->hw_ptr_base) in prepare_playback_urb()
|
/linux/sound/pci/asihpi/ |
H A D | asihpi.c | 800 runtime->control->appl_ptr) in snd_card_asihpi_timer_function()
|