Searched refs:appl_ptr (Results 1 - 19 of 19) sorted by relevance

/linux-master/include/sound/
H A Dpcm-indirect.h24 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 Drawmidi.h64 size_t appl_ptr; /* application pointer */ member in struct:snd_rawmidi_runtime
H A Dpcm.h813 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 Dpcm_compat.c165 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 Dpcm_local.h27 snd_pcm_uframes_t appl_ptr);
H A Dsound_kunit.c44 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 Dpcm_lib.c72 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 Dpcm_native.c1065 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 Drawmidi.c180 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 Dpcm.c464 snd_iprintf(buffer, "appl_ptr : %ld\n", runtime->control->appl_ptr);
/linux-master/sound/soc/sof/intel/
H A Dhda-pcm.c154 appl_pos = frames_to_bytes(runtime, runtime->control->appl_ptr);
/linux-master/sound/soc/google/
H A Dchv3-i2s.c17 * 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 Dasound.h279 #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 Dasound.h279 #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 Daloop.c581 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 Dpcm_oss.c1700 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 Dimx-pcm-rpmsg.c543 buffer_tail = (frames_to_bytes(runtime, runtime->control->appl_ptr) %
/linux-master/sound/usb/
H A Dpcm.c1498 /* 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 Dasihpi.c794 "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)

Completed in 390 milliseconds