Home
last modified time | relevance | path

Searched refs:snd_pcm_sframes_t (Results 1 – 25 of 40) sorted by relevance

12

/linux-6.15/sound/core/oss/
H A Dpcm_plugin.h47 snd_pcm_sframes_t (*src_frames)(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t dst_frames);
49 snd_pcm_sframes_t (*client_channels)(struct snd_pcm_plugin *plugin,
52 snd_pcm_sframes_t (*transfer)(struct snd_pcm_plugin *plugin,
117 snd_pcm_sframes_t snd_pcm_plug_write_transfer(struct snd_pcm_substream *handle,
120 snd_pcm_sframes_t snd_pcm_plug_read_transfer(struct snd_pcm_substream *handle,
124 snd_pcm_sframes_t snd_pcm_plug_client_channels_buf(struct snd_pcm_substream *handle,
128 snd_pcm_sframes_t snd_pcm_plugin_client_channels(struct snd_pcm_plugin *plugin,
149 snd_pcm_sframes_t snd_pcm_oss_write3(struct snd_pcm_substream *substream,
152 snd_pcm_sframes_t snd_pcm_oss_read3(struct snd_pcm_substream *substream,
154 snd_pcm_sframes_t snd_pcm_oss_writev3(struct snd_pcm_substream *substream,
[all …]
H A Dpcm_plugin.c118 if ((snd_pcm_sframes_t)frames <= 0) in snd_pcm_plug_alloc()
130 if ((snd_pcm_sframes_t)frames <= 0) in snd_pcm_plug_alloc()
142 snd_pcm_sframes_t snd_pcm_plugin_client_channels(struct snd_pcm_plugin *plugin, in snd_pcm_plugin_client_channels()
203 static snd_pcm_sframes_t calc_dst_frames(struct snd_pcm_substream *plug, in calc_dst_frames()
204 snd_pcm_sframes_t frames, in calc_dst_frames()
225 static snd_pcm_sframes_t calc_src_frames(struct snd_pcm_substream *plug, in calc_src_frames()
226 snd_pcm_sframes_t frames, in calc_src_frames()
557 snd_pcm_sframes_t snd_pcm_plug_client_channels_buf(struct snd_pcm_substream *plug, in snd_pcm_plug_client_channels_buf()
602 snd_pcm_sframes_t frames = size; in snd_pcm_plug_write_transfer()
610 snd_pcm_sframes_t frames1 = frames; in snd_pcm_plug_write_transfer()
[all …]
H A Drate.c49 snd_pcm_sframes_t old_src_frames, old_dst_frames;
183 static snd_pcm_sframes_t rate_src_frames(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t frames) in rate_src_frames()
186 snd_pcm_sframes_t res; in rate_src_frames()
199 snd_pcm_sframes_t frames1 = frames, res1 = data->old_dst_frames; in rate_src_frames()
216 static snd_pcm_sframes_t rate_dst_frames(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t frames) in rate_dst_frames()
219 snd_pcm_sframes_t res; in rate_dst_frames()
232 snd_pcm_sframes_t frames1 = frames, res1 = data->old_src_frames; in rate_dst_frames()
249 static snd_pcm_sframes_t rate_transfer(struct snd_pcm_plugin *plugin, in rate_transfer()
H A Dio.c37 static snd_pcm_sframes_t io_playback_transfer(struct snd_pcm_plugin *plugin, in io_playback_transfer()
63 static snd_pcm_sframes_t io_capture_transfer(struct snd_pcm_plugin *plugin, in io_capture_transfer()
90 static snd_pcm_sframes_t io_src_channels(struct snd_pcm_plugin *plugin, in io_src_channels()
H A Dcopy.c27 static snd_pcm_sframes_t copy_transfer(struct snd_pcm_plugin *plugin, in copy_transfer()
H A Droute.c47 static snd_pcm_sframes_t route_transfer(struct snd_pcm_plugin *plugin, in route_transfer()
H A Dpcm_oss.c1198 …t snd_pcm_oss_capture_position_fixup(struct snd_pcm_substream *substream, snd_pcm_sframes_t *delay) in snd_pcm_oss_capture_position_fixup()
1209 if (*delay <= (snd_pcm_sframes_t)runtime->buffer_size) in snd_pcm_oss_capture_position_fixup()
1257 snd_pcm_sframes_t delay; in snd_pcm_oss_read3()
1359 snd_pcm_sframes_t frames, frames1; in snd_pcm_oss_write2()
1463 return xfer > 0 ? (snd_pcm_sframes_t)xfer : tmp; in snd_pcm_oss_write1()
1469 snd_pcm_sframes_t frames, frames1; in snd_pcm_oss_read2()
1558 return xfer > 0 ? (snd_pcm_sframes_t)xfer : tmp; in snd_pcm_oss_read1()
2159 snd_pcm_sframes_t delay; in snd_pcm_oss_get_odelay()
2183 snd_pcm_sframes_t delay; in snd_pcm_oss_get_ptr()
2220 snd_pcm_sframes_t n; in snd_pcm_oss_get_ptr()
[all …]
H A Dlinear.c88 static snd_pcm_sframes_t linear_transfer(struct snd_pcm_plugin *plugin, in linear_transfer()
H A Dmulaw.c248 static snd_pcm_sframes_t mulaw_transfer(struct snd_pcm_plugin *plugin, in mulaw_transfer()
/linux-6.15/include/sound/
H A Dpcm.h375 snd_pcm_sframes_t delay; /* extra delay; typically FIFO size */
1182 snd_pcm_sframes_t __snd_pcm_lib_xfer(struct snd_pcm_substream *substream,
1186 static inline snd_pcm_sframes_t
1193 static inline snd_pcm_sframes_t
1200 static inline snd_pcm_sframes_t
1207 static inline snd_pcm_sframes_t
1214 static inline snd_pcm_sframes_t
1221 static inline snd_pcm_sframes_t
1228 static inline snd_pcm_sframes_t
1235 static inline snd_pcm_sframes_t
[all …]
H A Dpcm-indirect.h40 snd_pcm_sframes_t diff = appl_ptr - rec->appl_ptr; in snd_pcm_indirect_playback_transfer()
44 if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2)) in snd_pcm_indirect_playback_transfer()
114 snd_pcm_sframes_t diff = appl_ptr - rec->appl_ptr; in snd_pcm_indirect_capture_transfer()
117 if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2)) in snd_pcm_indirect_capture_transfer()
H A Dsoc-dai.h239 snd_pcm_sframes_t *cpu_delay, snd_pcm_sframes_t *codec_delay);
346 snd_pcm_sframes_t (*delay)(struct snd_pcm_substream *,
H A Dsoc-component.h152 snd_pcm_sframes_t (*delay)(struct snd_soc_component *component,
536 snd_pcm_sframes_t *cpu_delay, snd_pcm_sframes_t *codec_delay);
/linux-6.15/sound/core/
H A Dpcm_native.c2999 snd_pcm_sframes_t ret; in snd_pcm_rewind()
3018 snd_pcm_sframes_t ret; in snd_pcm_forward()
3225 snd_pcm_sframes_t result; in snd_pcm_xferi_frames_ioctl()
3248 snd_pcm_sframes_t result; in snd_pcm_xfern_frames_ioctl()
3275 snd_pcm_sframes_t result; in snd_pcm_rewind_ioctl()
3291 snd_pcm_sframes_t result; in snd_pcm_forward_ioctl()
3442 snd_pcm_sframes_t result; in snd_pcm_kernel_ioctl()
3482 snd_pcm_sframes_t result; in snd_pcm_read()
3507 snd_pcm_sframes_t result; in snd_pcm_write()
3531 snd_pcm_sframes_t result; in snd_pcm_readv()
[all …]
H A Dpcm_lib.c41 snd_pcm_sframes_t delta; in update_silence_vars()
71 snd_pcm_sframes_t noise_dist; in snd_pcm_playback_silence()
83 if (noise_dist >= (snd_pcm_sframes_t) runtime->silence_threshold) in snd_pcm_playback_silence()
101 snd_pcm_sframes_t avail = runtime->control->appl_ptr - hw_ptr; in snd_pcm_playback_silence()
292 snd_pcm_sframes_t hdelta, delta; in snd_pcm_update_hw_ptr0()
377 snd_pcm_sframes_t xrun_threshold; in snd_pcm_update_hw_ptr0()
2232 snd_pcm_sframes_t diff; in pcm_lib_apply_appl_ptr()
2271 snd_pcm_sframes_t __snd_pcm_lib_xfer(struct snd_pcm_substream *substream, in __snd_pcm_lib_xfer()
2404 snd_pcm_playback_hw_avail(runtime) >= (snd_pcm_sframes_t)runtime->start_threshold) { in __snd_pcm_lib_xfer()
2415 return xfer > 0 ? (snd_pcm_sframes_t)xfer : err; in __snd_pcm_lib_xfer()
/linux-6.15/tools/perf/trace/beauty/include/uapi/sound/
H A Dasound.h148 typedef signed long snd_pcm_sframes_t; typedef
488 snd_pcm_sframes_t delay; /* current delay in frames */
608 snd_pcm_sframes_t result;
614 snd_pcm_sframes_t result;
685 #define SNDRV_PCM_IOCTL_DELAY _IOR('A', 0x21, snd_pcm_sframes_t)
/linux-6.15/include/uapi/sound/
H A Dasound.h148 typedef signed long snd_pcm_sframes_t; typedef
488 snd_pcm_sframes_t delay; /* current delay in frames */
608 snd_pcm_sframes_t result;
614 snd_pcm_sframes_t result;
685 #define SNDRV_PCM_IOCTL_DELAY _IOR('A', 0x21, snd_pcm_sframes_t)
/linux-6.15/drivers/usb/gadget/function/
H A Du_uac1_legacy.c96 snd_pcm_sframes_t result; in playback_default_hw_params()
158 snd_pcm_sframes_t frames; in u_audio_playback()
/linux-6.15/sound/soc/amd/
H A Dacp.h167 snd_pcm_sframes_t delay;
/linux-6.15/sound/soc/renesas/
H A Dsiu.h106 snd_pcm_sframes_t xfer_cnt; /* Number of frames */
/linux-6.15/sound/soc/
H A Dsoc-component.c995 snd_pcm_sframes_t *cpu_delay, in snd_soc_pcm_component_delay()
996 snd_pcm_sframes_t *codec_delay) in snd_soc_pcm_component_delay()
1000 snd_pcm_sframes_t delay; in snd_soc_pcm_component_delay()
H A Dsoc-dai.c658 snd_pcm_sframes_t *cpu_delay, in snd_soc_pcm_dai_delay()
659 snd_pcm_sframes_t *codec_delay) in snd_soc_pcm_dai_delay()
/linux-6.15/drivers/staging/vc04_services/bcm2835-audio/
H A Dbcm2835-pcm.c293 snd_pcm_sframes_t frames_output_in_interval_sized = in snd_bcm2835_pcm_pointer()
/linux-6.15/sound/soc/sof/
H A Dipc4-pcm.c37 snd_pcm_sframes_t delay;
1078 static snd_pcm_sframes_t sof_ipc4_pcm_delay(struct snd_soc_component *component, in sof_ipc4_pcm_delay()
H A Dsof-audio.h136 snd_pcm_sframes_t (*delay)(struct snd_soc_component *component,

12