/linux-master/include/sound/ |
H A D | pcm-indirect.h | 24 snd_pcm_uframes_t appl_ptr; /* Last seen appl_ptr */ member in struct:snd_pcm_indirect 39 snd_pcm_uframes_t appl_ptr = runtime->control->appl_ptr; local 40 snd_pcm_sframes_t diff = appl_ptr - rec->appl_ptr; 49 rec->appl_ptr = appl_ptr; 113 snd_pcm_uframes_t appl_ptr = runtime->control->appl_ptr; local [all...] |
H A D | rawmidi.h | 64 size_t appl_ptr; /* application pointer */ member in struct:snd_rawmidi_runtime
|
H A D | pcm.h | 813 snd_pcm_sframes_t avail = runtime->status->hw_ptr + runtime->buffer_size - runtime->control->appl_ptr; 831 snd_pcm_sframes_t avail = runtime->status->hw_ptr - runtime->control->appl_ptr; 1588 snd_pcm_uframes_t appl_ptr; /* appl ptr */ member in struct:snd_pcm_status64 1613 u32 appl_ptr; /* appl ptr */ member in struct:snd_pcm_status32
|
/linux-master/sound/core/ |
H A D | pcm_compat.c | 165 u32 appl_ptr; member in struct:compat_snd_pcm_status64 212 .appl_ptr = status.appl_ptr, 389 u32 appl_ptr; member in struct:snd_pcm_mmap_control_x32 422 get_user(scontrol.appl_ptr, &src->c.control.appl_ptr) || 438 control->appl_ptr = scontrol.appl_ptr; 440 scontrol.appl_ptr = control->appl_ptr 483 __u32 appl_ptr; member in struct:__snd_pcm_mmap_control64_buggy [all...] |
H A D | pcm_local.h | 27 snd_pcm_uframes_t appl_ptr);
|
H A D | sound_kunit.c | 44 snd_pcm_uframes_t appl_ptr; member in struct:avail_test_data 195 /* buf_size + hw_ptr < appl_ptr => avail = buf_size + hw_ptr - appl_ptr + boundary */ 198 * buf_size + hw_ptr - appl_ptr >= boundary => 199 * => avail = buf_size + hw_ptr - appl_ptr - boundary 202 /* standard case: avail = buf_size + hw_ptr - appl_ptr */ 218 r->control->appl_ptr = p_avail_data[i].appl_ptr; 224 /* hw_ptr - appl_ptr < 0 => avail = hw_ptr - appl_ptr [all...] |
H A D | pcm_lib.c | 72 snd_pcm_uframes_t appl_ptr = READ_ONCE(runtime->control->appl_ptr); local 73 update_silence_vars(runtime, runtime->silence_start, appl_ptr); 78 noise_dist = appl_ptr - new_hw_ptr; 101 snd_pcm_sframes_t avail = runtime->control->appl_ptr - hw_ptr; 105 * In free-running mode, appl_ptr will be zero even while running, 2190 /* update to the given appl_ptr and call ack callback if needed; 2194 snd_pcm_uframes_t appl_ptr) 2197 snd_pcm_uframes_t old_appl_ptr = runtime->control->appl_ptr; 2201 if (old_appl_ptr == appl_ptr) 2193 pcm_lib_apply_appl_ptr(struct snd_pcm_substream *substream, snd_pcm_uframes_t appl_ptr) argument 2309 snd_pcm_uframes_t frames, appl_ptr, appl_ofs; local [all...] |
H A D | pcm_native.c | 1065 status->appl_ptr = runtime->control->appl_ptr; 1129 .appl_ptr = status64.appl_ptr, 1898 runtime->control->appl_ptr = runtime->status->hw_ptr; 1950 runtime->control->appl_ptr = runtime->status->hw_ptr; 2209 /* runtime->control->appl_ptr = runtime->status->hw_ptr; */ 2928 /* increase the appl_ptr; returns the processed frames or a negative error */ 2934 snd_pcm_sframes_t appl_ptr; local 2941 appl_ptr 2954 snd_pcm_sframes_t appl_ptr; local 3090 u32 appl_ptr; member in struct:snd_pcm_mmap_control32 [all...] |
H A D | rawmidi.c | 180 runtime->appl_ptr = runtime->hw_ptr = 0; 229 runtime->appl_ptr = runtime->hw_ptr = 0; 1219 unsigned long appl_ptr; local 1225 count1 = runtime->buffer_size - runtime->appl_ptr; 1231 /* update runtime->appl_ptr before unlocking for userbuf */ 1232 appl_ptr = runtime->appl_ptr; 1233 runtime->appl_ptr += count1; 1234 runtime->appl_ptr %= runtime->buffer_size; 1238 memcpy(kernelbuf + result, runtime->buffer + appl_ptr, count 1521 unsigned long appl_ptr; local [all...] |
H A D | pcm.c | 464 snd_iprintf(buffer, "appl_ptr : %ld\n", runtime->control->appl_ptr);
|
/linux-master/sound/soc/sof/intel/ |
H A D | hda-pcm.c | 154 appl_pos = frames_to_bytes(runtime, runtime->control->appl_ptr);
|
/linux-master/sound/soc/google/ |
H A D | chv3-i2s.c | 17 * the appl_ptr from within the driver and pass it to hardware. 259 bytes = frames_to_bytes(runtime, runtime->control->appl_ptr);
|
/linux-master/tools/include/uapi/sound/ |
H A D | asound.h | 279 #define SNDRV_PCM_INFO_SYNC_APPLPTR 0x00000020 /* need the explicit sync of appl_ptr update */ 298 #define SNDRV_PCM_INFO_NO_REWINDS 0x20000000 /* hardware can only support monotonic changes of appl_ptr */ 485 snd_pcm_uframes_t appl_ptr; /* appl ptr */ member in struct:snd_pcm_status 540 snd_pcm_uframes_t appl_ptr; /* RW: appl ptr (0...boundary-1) */ member in struct:__snd_pcm_mmap_control 545 #define SNDRV_PCM_SYNC_PTR_APPL (1<<1) /* get appl_ptr from driver (r/w op) */ 584 snd_pcm_uframes_t appl_ptr; /* RW: appl ptr (0...boundary-1) */ member in struct:__snd_pcm_mmap_control64
|
/linux-master/include/uapi/sound/ |
H A D | asound.h | 279 #define SNDRV_PCM_INFO_SYNC_APPLPTR 0x00000020 /* need the explicit sync of appl_ptr update */ 298 #define SNDRV_PCM_INFO_NO_REWINDS 0x20000000 /* hardware can only support monotonic changes of appl_ptr */ 485 snd_pcm_uframes_t appl_ptr; /* appl ptr */ member in struct:snd_pcm_status 540 snd_pcm_uframes_t appl_ptr; /* RW: appl ptr (0...boundary-1) */ member in struct:__snd_pcm_mmap_control 545 #define SNDRV_PCM_SYNC_PTR_APPL (1<<1) /* get appl_ptr from driver (r/w op) */ 584 snd_pcm_uframes_t appl_ptr; /* RW: appl ptr (0...boundary-1) */ member in struct:__snd_pcm_mmap_control64
|
/linux-master/sound/drivers/ |
H A D | aloop.c | 581 snd_pcm_uframes_t appl_ptr, appl_ptr1, diff; local 582 appl_ptr = appl_ptr1 = runtime->control->appl_ptr; 585 if (appl_ptr < appl_ptr1) 587 diff = (appl_ptr - appl_ptr1) * play->pcm_salign;
|
/linux-master/sound/core/oss/ |
H A D | pcm_oss.c | 1700 size = runtime->control->appl_ptr % runtime->period_size; 2053 snd_pcm_uframes_t appl_ptr; local 2054 appl_ptr = hw_ptr + runtime->buffer_size; 2055 appl_ptr %= runtime->boundary; 2056 runtime->control->appl_ptr = appl_ptr;
|
/linux-master/sound/soc/fsl/ |
H A D | imx-pcm-rpmsg.c | 543 buffer_tail = (frames_to_bytes(runtime, runtime->control->appl_ptr) %
|
/linux-master/sound/usb/ |
H A D | pcm.c | 1498 /* calculate the byte offset-in-buffer of the appl_ptr */ 1499 avail = (runtime->control->appl_ptr - runtime->hw_ptr_base)
|
/linux-master/sound/pci/asihpi/ |
H A D | asihpi.c | 794 "timer1, %s, %d, S=%d, elap=%d, rw=%d, dsp=%d, left=%d, aux=%d, space=%d, hw_ptr=%ld, appl_ptr=%ld\n", 806 runtime->control->appl_ptr)
|