snd_pcm_sframes_t 399 include/sound/asound.h snd_pcm_sframes_t delay; /* current delay in frames */ snd_pcm_sframes_t 437 include/sound/asound.h snd_pcm_sframes_t result; snd_pcm_sframes_t 443 include/sound/asound.h snd_pcm_sframes_t result; snd_pcm_sframes_t 53 include/sound/pcm-indirect.h snd_pcm_sframes_t diff = appl_ptr - rec->appl_ptr; snd_pcm_sframes_t 57 include/sound/pcm-indirect.h if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2)) snd_pcm_sframes_t 119 include/sound/pcm-indirect.h snd_pcm_sframes_t diff = appl_ptr - rec->appl_ptr; snd_pcm_sframes_t 122 include/sound/pcm-indirect.h if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2)) snd_pcm_sframes_t 623 include/sound/pcm.h static inline snd_pcm_sframes_t bytes_to_frames(struct snd_pcm_runtime *runtime, ssize_t size) snd_pcm_sframes_t 633 include/sound/pcm.h static inline ssize_t frames_to_bytes(struct snd_pcm_runtime *runtime, snd_pcm_sframes_t size) snd_pcm_sframes_t 660 include/sound/pcm.h snd_pcm_sframes_t avail = runtime->status->hw_ptr + runtime->buffer_size - runtime->control->appl_ptr; snd_pcm_sframes_t 673 include/sound/pcm.h snd_pcm_sframes_t avail = runtime->status->hw_ptr - runtime->control->appl_ptr; snd_pcm_sframes_t 679 include/sound/pcm.h static inline snd_pcm_sframes_t snd_pcm_playback_hw_avail(struct snd_pcm_runtime *runtime) snd_pcm_sframes_t 684 include/sound/pcm.h static inline snd_pcm_sframes_t snd_pcm_capture_hw_avail(struct snd_pcm_runtime *runtime) snd_pcm_sframes_t 913 include/sound/pcm.h snd_pcm_sframes_t snd_pcm_lib_write(struct snd_pcm_substream *substream, snd_pcm_sframes_t 916 include/sound/pcm.h snd_pcm_sframes_t snd_pcm_lib_read(struct snd_pcm_substream *substream, snd_pcm_sframes_t 918 include/sound/pcm.h snd_pcm_sframes_t snd_pcm_lib_writev(struct snd_pcm_substream *substream, snd_pcm_sframes_t 920 include/sound/pcm.h snd_pcm_sframes_t snd_pcm_lib_readv(struct snd_pcm_substream *substream, snd_pcm_sframes_t 27 sound/core/oss/copy.c static snd_pcm_sframes_t copy_transfer(struct snd_pcm_plugin *plugin, snd_pcm_sframes_t 37 sound/core/oss/io.c static snd_pcm_sframes_t io_playback_transfer(struct snd_pcm_plugin *plugin, snd_pcm_sframes_t 63 sound/core/oss/io.c static snd_pcm_sframes_t io_capture_transfer(struct snd_pcm_plugin *plugin, snd_pcm_sframes_t 90 sound/core/oss/io.c static snd_pcm_sframes_t io_src_channels(struct snd_pcm_plugin *plugin, snd_pcm_sframes_t 88 sound/core/oss/linear.c static snd_pcm_sframes_t linear_transfer(struct snd_pcm_plugin *plugin, snd_pcm_sframes_t 248 sound/core/oss/mulaw.c static snd_pcm_sframes_t mulaw_transfer(struct snd_pcm_plugin *plugin, snd_pcm_sframes_t 1129 sound/core/oss/pcm_oss.c static int snd_pcm_oss_capture_position_fixup(struct snd_pcm_substream *substream, snd_pcm_sframes_t *delay) snd_pcm_sframes_t 1140 sound/core/oss/pcm_oss.c if (*delay <= (snd_pcm_sframes_t)runtime->buffer_size) snd_pcm_sframes_t 1154 sound/core/oss/pcm_oss.c snd_pcm_sframes_t snd_pcm_oss_write3(struct snd_pcm_substream *substream, const char *ptr, snd_pcm_uframes_t frames, int in_kernel) snd_pcm_sframes_t 1189 sound/core/oss/pcm_oss.c snd_pcm_sframes_t snd_pcm_oss_read3(struct snd_pcm_substream *substream, char *ptr, snd_pcm_uframes_t frames, int in_kernel) snd_pcm_sframes_t 1192 sound/core/oss/pcm_oss.c snd_pcm_sframes_t delay; snd_pcm_sframes_t 1236 sound/core/oss/pcm_oss.c snd_pcm_sframes_t snd_pcm_oss_writev3(struct snd_pcm_substream *substream, void **bufs, snd_pcm_uframes_t frames, int in_kernel) snd_pcm_sframes_t 1272 sound/core/oss/pcm_oss.c snd_pcm_sframes_t snd_pcm_oss_readv3(struct snd_pcm_substream *substream, void **bufs, snd_pcm_uframes_t frames, int in_kernel) snd_pcm_sframes_t 1310 sound/core/oss/pcm_oss.c snd_pcm_sframes_t frames, frames1; snd_pcm_sframes_t 1404 sound/core/oss/pcm_oss.c return xfer > 0 ? (snd_pcm_sframes_t)xfer : tmp; snd_pcm_sframes_t 1410 sound/core/oss/pcm_oss.c snd_pcm_sframes_t frames, frames1; snd_pcm_sframes_t 1489 sound/core/oss/pcm_oss.c return xfer > 0 ? (snd_pcm_sframes_t)xfer : tmp; snd_pcm_sframes_t 2034 sound/core/oss/pcm_oss.c snd_pcm_sframes_t delay; snd_pcm_sframes_t 2057 sound/core/oss/pcm_oss.c snd_pcm_sframes_t delay; snd_pcm_sframes_t 2093 sound/core/oss/pcm_oss.c snd_pcm_sframes_t n; snd_pcm_sframes_t 2125 sound/core/oss/pcm_oss.c snd_pcm_sframes_t avail; snd_pcm_sframes_t 138 sound/core/oss/pcm_plugin.c snd_pcm_sframes_t snd_pcm_plugin_client_channels(struct snd_pcm_plugin *plugin, snd_pcm_sframes_t 199 sound/core/oss/pcm_plugin.c snd_pcm_sframes_t snd_pcm_plug_client_size(struct snd_pcm_substream *plug, snd_pcm_uframes_t drv_frames) snd_pcm_sframes_t 229 sound/core/oss/pcm_plugin.c snd_pcm_sframes_t snd_pcm_plug_slave_size(struct snd_pcm_substream *plug, snd_pcm_uframes_t clt_frames) snd_pcm_sframes_t 232 sound/core/oss/pcm_plugin.c snd_pcm_sframes_t frames; snd_pcm_sframes_t 541 sound/core/oss/pcm_plugin.c snd_pcm_sframes_t snd_pcm_plug_client_channels_buf(struct snd_pcm_substream *plug, snd_pcm_sframes_t 580 sound/core/oss/pcm_plugin.c snd_pcm_sframes_t snd_pcm_plug_write_transfer(struct snd_pcm_substream *plug, struct snd_pcm_plugin_channel *src_channels, snd_pcm_uframes_t size) snd_pcm_sframes_t 585 sound/core/oss/pcm_plugin.c snd_pcm_sframes_t frames = size; snd_pcm_sframes_t 590 sound/core/oss/pcm_plugin.c snd_pcm_sframes_t frames1 = frames; snd_pcm_sframes_t 612 sound/core/oss/pcm_plugin.c snd_pcm_sframes_t snd_pcm_plug_read_transfer(struct snd_pcm_substream *plug, struct snd_pcm_plugin_channel *dst_channels_final, snd_pcm_uframes_t size) snd_pcm_sframes_t 616 sound/core/oss/pcm_plugin.c snd_pcm_sframes_t frames = size; snd_pcm_sframes_t 62 sound/core/oss/pcm_plugin.h snd_pcm_sframes_t (*src_frames)(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t dst_frames); snd_pcm_sframes_t 63 sound/core/oss/pcm_plugin.h snd_pcm_sframes_t (*dst_frames)(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t src_frames); snd_pcm_sframes_t 64 sound/core/oss/pcm_plugin.h snd_pcm_sframes_t (*client_channels)(struct snd_pcm_plugin *plugin, snd_pcm_sframes_t 67 sound/core/oss/pcm_plugin.h snd_pcm_sframes_t (*transfer)(struct snd_pcm_plugin *plugin, snd_pcm_sframes_t 94 sound/core/oss/pcm_plugin.h snd_pcm_sframes_t snd_pcm_plug_client_size(struct snd_pcm_substream *handle, snd_pcm_uframes_t drv_size); snd_pcm_sframes_t 95 sound/core/oss/pcm_plugin.h snd_pcm_sframes_t snd_pcm_plug_slave_size(struct snd_pcm_substream *handle, snd_pcm_uframes_t clt_size); snd_pcm_sframes_t 132 sound/core/oss/pcm_plugin.h snd_pcm_sframes_t snd_pcm_plug_write_transfer(struct snd_pcm_substream *handle, snd_pcm_sframes_t 135 sound/core/oss/pcm_plugin.h snd_pcm_sframes_t snd_pcm_plug_read_transfer(struct snd_pcm_substream *handle, snd_pcm_sframes_t 139 sound/core/oss/pcm_plugin.h snd_pcm_sframes_t snd_pcm_plug_client_channels_buf(struct snd_pcm_substream *handle, snd_pcm_sframes_t 143 sound/core/oss/pcm_plugin.h snd_pcm_sframes_t snd_pcm_plugin_client_channels(struct snd_pcm_plugin *plugin, snd_pcm_sframes_t 158 sound/core/oss/pcm_plugin.h snd_pcm_sframes_t snd_pcm_oss_write3(struct snd_pcm_substream *substream, snd_pcm_sframes_t 161 sound/core/oss/pcm_plugin.h snd_pcm_sframes_t snd_pcm_oss_read3(struct snd_pcm_substream *substream, snd_pcm_sframes_t 163 sound/core/oss/pcm_plugin.h snd_pcm_sframes_t snd_pcm_oss_writev3(struct snd_pcm_substream *substream, snd_pcm_sframes_t 166 sound/core/oss/pcm_plugin.h snd_pcm_sframes_t snd_pcm_oss_readv3(struct snd_pcm_substream *substream, snd_pcm_sframes_t 172 sound/core/oss/pcm_plugin.h static inline snd_pcm_sframes_t snd_pcm_plug_client_size(struct snd_pcm_substream *handle, snd_pcm_uframes_t drv_size) { return drv_size; } snd_pcm_sframes_t 173 sound/core/oss/pcm_plugin.h static inline snd_pcm_sframes_t snd_pcm_plug_slave_size(struct snd_pcm_substream *handle, snd_pcm_uframes_t clt_size) { return clt_size; } snd_pcm_sframes_t 49 sound/core/oss/rate.c snd_pcm_sframes_t old_src_frames, old_dst_frames; snd_pcm_sframes_t 183 sound/core/oss/rate.c static snd_pcm_sframes_t rate_src_frames(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t frames) snd_pcm_sframes_t 186 sound/core/oss/rate.c snd_pcm_sframes_t res; snd_pcm_sframes_t 199 sound/core/oss/rate.c snd_pcm_sframes_t frames1 = frames, res1 = data->old_dst_frames; snd_pcm_sframes_t 216 sound/core/oss/rate.c static snd_pcm_sframes_t rate_dst_frames(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t frames) snd_pcm_sframes_t 219 sound/core/oss/rate.c snd_pcm_sframes_t res; snd_pcm_sframes_t 232 sound/core/oss/rate.c snd_pcm_sframes_t frames1 = frames, res1 = data->old_src_frames; snd_pcm_sframes_t 249 sound/core/oss/rate.c static snd_pcm_sframes_t rate_transfer(struct snd_pcm_plugin *plugin, snd_pcm_sframes_t 48 sound/core/oss/route.c static snd_pcm_sframes_t route_transfer(struct snd_pcm_plugin *plugin, snd_pcm_sframes_t 28 sound/core/pcm_compat.c snd_pcm_sframes_t delay; snd_pcm_sframes_t 47 sound/core/pcm_lib.c snd_pcm_sframes_t noise_dist, n; snd_pcm_sframes_t 61 sound/core/pcm_lib.c if (noise_dist >= (snd_pcm_sframes_t) runtime->silence_threshold) snd_pcm_sframes_t 68 sound/core/pcm_lib.c snd_pcm_sframes_t avail = snd_pcm_playback_hw_avail(runtime); snd_pcm_sframes_t 76 sound/core/pcm_lib.c if ((snd_pcm_sframes_t)frames < 0) snd_pcm_sframes_t 79 sound/core/pcm_lib.c if ((snd_pcm_sframes_t)runtime->silence_filled < 0) { snd_pcm_sframes_t 190 sound/core/pcm_lib.c snd_pcm_sframes_t delta; snd_pcm_sframes_t 237 sound/core/pcm_lib.c snd_pcm_sframes_t delta; snd_pcm_sframes_t 1588 sound/core/pcm_lib.c static snd_pcm_sframes_t snd_pcm_lib_write1(struct snd_pcm_substream *substream, snd_pcm_sframes_t 1670 sound/core/pcm_lib.c snd_pcm_playback_hw_avail(runtime) >= (snd_pcm_sframes_t)runtime->start_threshold) { snd_pcm_sframes_t 1679 sound/core/pcm_lib.c return xfer > 0 ? (snd_pcm_sframes_t)xfer : err; snd_pcm_sframes_t 1696 sound/core/pcm_lib.c snd_pcm_sframes_t snd_pcm_lib_write(struct snd_pcm_substream *substream, const void __user *buf, snd_pcm_uframes_t size) snd_pcm_sframes_t 1757 sound/core/pcm_lib.c snd_pcm_sframes_t snd_pcm_lib_writev(struct snd_pcm_substream *substream, snd_pcm_sframes_t 1798 sound/core/pcm_lib.c static snd_pcm_sframes_t snd_pcm_lib_read1(struct snd_pcm_substream *substream, snd_pcm_sframes_t 1897 sound/core/pcm_lib.c return xfer > 0 ? (snd_pcm_sframes_t)xfer : err; snd_pcm_sframes_t 1900 sound/core/pcm_lib.c snd_pcm_sframes_t snd_pcm_lib_read(struct snd_pcm_substream *substream, void __user *buf, snd_pcm_uframes_t size) snd_pcm_sframes_t 1954 sound/core/pcm_lib.c snd_pcm_sframes_t snd_pcm_lib_readv(struct snd_pcm_substream *substream, snd_pcm_sframes_t 2191 sound/core/pcm_native.c static snd_pcm_sframes_t snd_pcm_playback_rewind(struct snd_pcm_substream *substream, snd_pcm_sframes_t 2195 sound/core/pcm_native.c snd_pcm_sframes_t appl_ptr; snd_pcm_sframes_t 2196 sound/core/pcm_native.c snd_pcm_sframes_t ret; snd_pcm_sframes_t 2197 sound/core/pcm_native.c snd_pcm_sframes_t hw_avail; snd_pcm_sframes_t 2236 sound/core/pcm_native.c static snd_pcm_sframes_t snd_pcm_capture_rewind(struct snd_pcm_substream *substream, snd_pcm_sframes_t 2240 sound/core/pcm_native.c snd_pcm_sframes_t appl_ptr; snd_pcm_sframes_t 2241 sound/core/pcm_native.c snd_pcm_sframes_t ret; snd_pcm_sframes_t 2242 sound/core/pcm_native.c snd_pcm_sframes_t hw_avail; snd_pcm_sframes_t 2281 sound/core/pcm_native.c static snd_pcm_sframes_t snd_pcm_playback_forward(struct snd_pcm_substream *substream, snd_pcm_sframes_t 2285 sound/core/pcm_native.c snd_pcm_sframes_t appl_ptr; snd_pcm_sframes_t 2286 sound/core/pcm_native.c snd_pcm_sframes_t ret; snd_pcm_sframes_t 2287 sound/core/pcm_native.c snd_pcm_sframes_t avail; snd_pcm_sframes_t 2318 sound/core/pcm_native.c if (appl_ptr >= (snd_pcm_sframes_t)runtime->boundary) snd_pcm_sframes_t 2327 sound/core/pcm_native.c static snd_pcm_sframes_t snd_pcm_capture_forward(struct snd_pcm_substream *substream, snd_pcm_sframes_t 2331 sound/core/pcm_native.c snd_pcm_sframes_t appl_ptr; snd_pcm_sframes_t 2332 sound/core/pcm_native.c snd_pcm_sframes_t ret; snd_pcm_sframes_t 2333 sound/core/pcm_native.c snd_pcm_sframes_t avail; snd_pcm_sframes_t 2364 sound/core/pcm_native.c if (appl_ptr >= (snd_pcm_sframes_t)runtime->boundary) snd_pcm_sframes_t 2404 sound/core/pcm_native.c snd_pcm_sframes_t __user *res) snd_pcm_sframes_t 2408 sound/core/pcm_native.c snd_pcm_sframes_t n = 0; snd_pcm_sframes_t 2579 sound/core/pcm_native.c snd_pcm_sframes_t result; snd_pcm_sframes_t 2596 sound/core/pcm_native.c snd_pcm_sframes_t result; snd_pcm_sframes_t 2621 sound/core/pcm_native.c snd_pcm_sframes_t result; snd_pcm_sframes_t 2634 sound/core/pcm_native.c snd_pcm_sframes_t result; snd_pcm_sframes_t 2661 sound/core/pcm_native.c snd_pcm_sframes_t result; snd_pcm_sframes_t 2678 sound/core/pcm_native.c snd_pcm_sframes_t result; snd_pcm_sframes_t 2703 sound/core/pcm_native.c snd_pcm_sframes_t result; snd_pcm_sframes_t 2716 sound/core/pcm_native.c snd_pcm_sframes_t result; snd_pcm_sframes_t 2789 sound/core/pcm_native.c snd_pcm_sframes_t result; snd_pcm_sframes_t 2813 sound/core/pcm_native.c snd_pcm_sframes_t result; snd_pcm_sframes_t 2838 sound/core/pcm_native.c snd_pcm_sframes_t result; snd_pcm_sframes_t 2873 sound/core/pcm_native.c snd_pcm_sframes_t result; snd_pcm_sframes_t 258 sound/drivers/pcm-indirect2.c snd_pcm_sframes_t diff = appl_ptr - rec->appl_ptr; snd_pcm_sframes_t 264 sound/drivers/pcm-indirect2.c if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2)) snd_pcm_sframes_t 420 sound/drivers/pcm-indirect2.c snd_pcm_sframes_t diff = appl_ptr - rec->appl_ptr; snd_pcm_sframes_t 426 sound/drivers/pcm-indirect2.c if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2)) snd_pcm_sframes_t 380 sound/pci/rme9652/rme9652.c snd_pcm_sframes_t delta; snd_pcm_sframes_t 393 sound/pci/rme9652/rme9652.c if (delta <= (snd_pcm_sframes_t)rme9652->max_jitter * 4)