Home
last modified time | relevance | path

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

12

/openbmc/linux/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,
118 snd_pcm_sframes_t snd_pcm_plug_write_transfer(struct snd_pcm_substream *handle,
121 snd_pcm_sframes_t snd_pcm_plug_read_transfer(struct snd_pcm_substream *handle,
125 snd_pcm_sframes_t snd_pcm_plug_client_channels_buf(struct snd_pcm_substream *handle,
129 snd_pcm_sframes_t snd_pcm_plugin_client_channels(struct snd_pcm_plugin *plugin,
152 snd_pcm_sframes_t snd_pcm_oss_write3(struct snd_pcm_substream *substream,
155 snd_pcm_sframes_t snd_pcm_oss_read3(struct snd_pcm_substream *substream,
157 snd_pcm_sframes_t snd_pcm_oss_writev3(struct snd_pcm_substream *substream,
[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 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 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.c1210 …t snd_pcm_oss_capture_position_fixup(struct snd_pcm_substream *substream, snd_pcm_sframes_t *delay) in snd_pcm_oss_capture_position_fixup()
1221 if (*delay <= (snd_pcm_sframes_t)runtime->buffer_size) in snd_pcm_oss_capture_position_fixup()
1269 snd_pcm_sframes_t delay; in snd_pcm_oss_read3()
1371 snd_pcm_sframes_t frames, frames1; in snd_pcm_oss_write2()
1475 return xfer > 0 ? (snd_pcm_sframes_t)xfer : tmp; in snd_pcm_oss_write1()
1481 snd_pcm_sframes_t frames, frames1; in snd_pcm_oss_read2()
1570 return xfer > 0 ? (snd_pcm_sframes_t)xfer : tmp; in snd_pcm_oss_read1()
2174 snd_pcm_sframes_t delay; in snd_pcm_oss_get_odelay()
2198 snd_pcm_sframes_t delay; in snd_pcm_oss_get_ptr()
2235 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()
/openbmc/linux/include/sound/
H A Dpcm.h358 snd_pcm_sframes_t delay; /* extra delay; typically FIFO size */
1139 snd_pcm_sframes_t __snd_pcm_lib_xfer(struct snd_pcm_substream *substream,
1143 static inline snd_pcm_sframes_t
1150 static inline snd_pcm_sframes_t
1157 static inline snd_pcm_sframes_t
1164 static inline snd_pcm_sframes_t
1171 static inline snd_pcm_sframes_t
1178 static inline snd_pcm_sframes_t
1185 static inline snd_pcm_sframes_t
1192 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.h246 snd_pcm_sframes_t *cpu_delay, snd_pcm_sframes_t *codec_delay);
354 snd_pcm_sframes_t (*delay)(struct snd_pcm_substream *,
H A Dsoc-component.h152 snd_pcm_sframes_t (*delay)(struct snd_soc_component *component,
534 snd_pcm_sframes_t *cpu_delay, snd_pcm_sframes_t *codec_delay);
/openbmc/linux/sound/core/
H A Dpcm_native.c2981 snd_pcm_sframes_t ret; in snd_pcm_rewind()
3000 snd_pcm_sframes_t ret; in snd_pcm_forward()
3211 snd_pcm_sframes_t result; in snd_pcm_xferi_frames_ioctl()
3234 snd_pcm_sframes_t result; in snd_pcm_xfern_frames_ioctl()
3262 snd_pcm_sframes_t result; in snd_pcm_rewind_ioctl()
3278 snd_pcm_sframes_t result; in snd_pcm_forward_ioctl()
3429 snd_pcm_sframes_t result; in snd_pcm_kernel_ioctl()
3469 snd_pcm_sframes_t result; in snd_pcm_read()
3494 snd_pcm_sframes_t result; in snd_pcm_write()
3518 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()
289 snd_pcm_sframes_t hdelta, delta; in snd_pcm_update_hw_ptr0()
374 snd_pcm_sframes_t xrun_threshold; in snd_pcm_update_hw_ptr0()
2168 snd_pcm_sframes_t diff; in pcm_lib_apply_appl_ptr()
2207 snd_pcm_sframes_t __snd_pcm_lib_xfer(struct snd_pcm_substream *substream, in __snd_pcm_lib_xfer()
2340 snd_pcm_playback_hw_avail(runtime) >= (snd_pcm_sframes_t)runtime->start_threshold) { in __snd_pcm_lib_xfer()
2351 return xfer > 0 ? (snd_pcm_sframes_t)xfer : err; in __snd_pcm_lib_xfer()
/openbmc/linux/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()
/openbmc/linux/tools/include/uapi/sound/
H A Dasound.h148 typedef signed long snd_pcm_sframes_t; typedef
484 snd_pcm_sframes_t delay; /* current delay in frames */
604 snd_pcm_sframes_t result;
610 snd_pcm_sframes_t result;
681 #define SNDRV_PCM_IOCTL_DELAY _IOR('A', 0x21, snd_pcm_sframes_t)
/openbmc/linux/include/uapi/sound/
H A Dasound.h148 typedef signed long snd_pcm_sframes_t; typedef
484 snd_pcm_sframes_t delay; /* current delay in frames */
604 snd_pcm_sframes_t result;
610 snd_pcm_sframes_t result;
681 #define SNDRV_PCM_IOCTL_DELAY _IOR('A', 0x21, snd_pcm_sframes_t)
/openbmc/linux/sound/soc/amd/
H A Dacp.h167 snd_pcm_sframes_t delay;
/openbmc/linux/sound/soc/sh/
H A Dsiu.h106 snd_pcm_sframes_t xfer_cnt; /* Number of frames */
/openbmc/qemu/audio/
H A Dalsaaudio.c604 snd_pcm_sframes_t avail; in alsa_buffer_get_free()
645 snd_pcm_sframes_t written; in alsa_write()
838 snd_pcm_sframes_t nread; in alsa_read()
/openbmc/linux/sound/soc/
H A Dsoc-component.c993 snd_pcm_sframes_t *cpu_delay, in snd_soc_pcm_component_delay()
994 snd_pcm_sframes_t *codec_delay) in snd_soc_pcm_component_delay()
998 snd_pcm_sframes_t delay; in snd_soc_pcm_component_delay()
H A Dsoc-dai.c709 snd_pcm_sframes_t *cpu_delay, in snd_soc_pcm_dai_delay()
710 snd_pcm_sframes_t *codec_delay) in snd_soc_pcm_dai_delay()
/openbmc/linux/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()
/openbmc/linux/sound/soc/sof/
H A Dsof-audio.h128 snd_pcm_sframes_t (*delay)(struct snd_soc_component *component,

12