/linux-4.1.27/sound/core/oss/ |
D | pcm_plugin.h | 62 snd_pcm_sframes_t (*src_frames)(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t dst_frames); 63 snd_pcm_sframes_t (*dst_frames)(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t src_frames); 64 snd_pcm_sframes_t (*client_channels)(struct snd_pcm_plugin *plugin, 67 snd_pcm_sframes_t (*transfer)(struct snd_pcm_plugin *plugin, 94 snd_pcm_sframes_t snd_pcm_plug_client_size(struct snd_pcm_substream *handle, snd_pcm_uframes_t drv_… 95 snd_pcm_sframes_t snd_pcm_plug_slave_size(struct snd_pcm_substream *handle, snd_pcm_uframes_t clt_s… 133 snd_pcm_sframes_t snd_pcm_plug_write_transfer(struct snd_pcm_substream *handle, 136 snd_pcm_sframes_t snd_pcm_plug_read_transfer(struct snd_pcm_substream *handle, 140 snd_pcm_sframes_t snd_pcm_plug_client_channels_buf(struct snd_pcm_substream *handle, 144 snd_pcm_sframes_t snd_pcm_plugin_client_channels(struct snd_pcm_plugin *plugin, [all …]
|
D | rate.c | 49 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()
|
D | io.c | 37 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()
|
D | pcm_plugin.c | 138 snd_pcm_sframes_t snd_pcm_plugin_client_channels(struct snd_pcm_plugin *plugin, in snd_pcm_plugin_client_channels() 199 snd_pcm_sframes_t snd_pcm_plug_client_size(struct snd_pcm_substream *plug, snd_pcm_uframes_t drv_fr… in snd_pcm_plug_client_size() 230 snd_pcm_sframes_t snd_pcm_plug_slave_size(struct snd_pcm_substream *plug, snd_pcm_uframes_t clt_fra… in snd_pcm_plug_slave_size() 233 snd_pcm_sframes_t frames; in snd_pcm_plug_slave_size() 547 snd_pcm_sframes_t snd_pcm_plug_client_channels_buf(struct snd_pcm_substream *plug, in snd_pcm_plug_client_channels_buf() 586 snd_pcm_sframes_t snd_pcm_plug_write_transfer(struct snd_pcm_substream *plug, struct snd_pcm_plugin… in snd_pcm_plug_write_transfer() 591 snd_pcm_sframes_t frames = size; in snd_pcm_plug_write_transfer() 596 snd_pcm_sframes_t frames1 = frames; in snd_pcm_plug_write_transfer() 618 snd_pcm_sframes_t snd_pcm_plug_read_transfer(struct snd_pcm_substream *plug, struct snd_pcm_plugin_… in snd_pcm_plug_read_transfer() 622 snd_pcm_sframes_t frames = size; in snd_pcm_plug_read_transfer()
|
D | copy.c | 27 static snd_pcm_sframes_t copy_transfer(struct snd_pcm_plugin *plugin, in copy_transfer()
|
D | route.c | 47 static snd_pcm_sframes_t route_transfer(struct snd_pcm_plugin *plugin, in route_transfer()
|
D | pcm_oss.c | 1151 …t snd_pcm_oss_capture_position_fixup(struct snd_pcm_substream *substream, snd_pcm_sframes_t *delay) in snd_pcm_oss_capture_position_fixup() 1162 if (*delay <= (snd_pcm_sframes_t)runtime->buffer_size) in snd_pcm_oss_capture_position_fixup() 1176 snd_pcm_sframes_t snd_pcm_oss_write3(struct snd_pcm_substream *substream, const char *ptr, snd_pcm_… in snd_pcm_oss_write3() 1211 snd_pcm_sframes_t snd_pcm_oss_read3(struct snd_pcm_substream *substream, char *ptr, snd_pcm_uframes… in snd_pcm_oss_read3() 1214 snd_pcm_sframes_t delay; in snd_pcm_oss_read3() 1258 snd_pcm_sframes_t snd_pcm_oss_writev3(struct snd_pcm_substream *substream, void **bufs, snd_pcm_ufr… in snd_pcm_oss_writev3() 1294 snd_pcm_sframes_t snd_pcm_oss_readv3(struct snd_pcm_substream *substream, void **bufs, snd_pcm_ufra… in snd_pcm_oss_readv3() 1332 snd_pcm_sframes_t frames, frames1; in snd_pcm_oss_write2() 1426 return xfer > 0 ? (snd_pcm_sframes_t)xfer : tmp; in snd_pcm_oss_write1() 1432 snd_pcm_sframes_t frames, frames1; in snd_pcm_oss_read2() [all …]
|
D | linear.c | 88 static snd_pcm_sframes_t linear_transfer(struct snd_pcm_plugin *plugin, in linear_transfer()
|
D | mulaw.c | 248 static snd_pcm_sframes_t mulaw_transfer(struct snd_pcm_plugin *plugin, in mulaw_transfer()
|
/linux-4.1.27/include/sound/ |
D | pcm-indirect.h | 53 snd_pcm_sframes_t diff = appl_ptr - rec->appl_ptr; in snd_pcm_indirect_playback_transfer() 57 if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2)) in snd_pcm_indirect_playback_transfer() 119 snd_pcm_sframes_t diff = appl_ptr - rec->appl_ptr; in snd_pcm_indirect_capture_transfer() 122 if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2)) in snd_pcm_indirect_capture_transfer()
|
D | pcm.h | 352 snd_pcm_sframes_t delay; /* extra delay; typically FIFO size */ 683 static inline snd_pcm_sframes_t bytes_to_frames(struct snd_pcm_runtime *runtime, ssize_t size) in bytes_to_frames() 703 static inline ssize_t frames_to_bytes(struct snd_pcm_runtime *runtime, snd_pcm_sframes_t size) in frames_to_bytes() 746 …snd_pcm_sframes_t avail = runtime->status->hw_ptr + runtime->buffer_size - runtime->control->appl_… in snd_pcm_playback_avail() 762 snd_pcm_sframes_t avail = runtime->status->hw_ptr - runtime->control->appl_ptr; in snd_pcm_capture_avail() 772 static inline snd_pcm_sframes_t snd_pcm_playback_hw_avail(struct snd_pcm_runtime *runtime) in snd_pcm_playback_hw_avail() 781 static inline snd_pcm_sframes_t snd_pcm_capture_hw_avail(struct snd_pcm_runtime *runtime) in snd_pcm_capture_hw_avail() 1072 snd_pcm_sframes_t snd_pcm_lib_write(struct snd_pcm_substream *substream, 1075 snd_pcm_sframes_t snd_pcm_lib_read(struct snd_pcm_substream *substream, 1077 snd_pcm_sframes_t snd_pcm_lib_writev(struct snd_pcm_substream *substream, [all …]
|
D | soc-dai.h | 191 snd_pcm_sframes_t (*delay)(struct snd_pcm_substream *,
|
D | soc.h | 892 snd_pcm_sframes_t (*delay)(struct snd_pcm_substream *,
|
/linux-4.1.27/sound/core/ |
D | pcm_native.c | 2432 static snd_pcm_sframes_t snd_pcm_playback_rewind(struct snd_pcm_substream *substream, in snd_pcm_playback_rewind() 2436 snd_pcm_sframes_t appl_ptr; in snd_pcm_playback_rewind() 2437 snd_pcm_sframes_t ret; in snd_pcm_playback_rewind() 2438 snd_pcm_sframes_t hw_avail; in snd_pcm_playback_rewind() 2480 static snd_pcm_sframes_t snd_pcm_capture_rewind(struct snd_pcm_substream *substream, in snd_pcm_capture_rewind() 2484 snd_pcm_sframes_t appl_ptr; in snd_pcm_capture_rewind() 2485 snd_pcm_sframes_t ret; in snd_pcm_capture_rewind() 2486 snd_pcm_sframes_t hw_avail; in snd_pcm_capture_rewind() 2528 static snd_pcm_sframes_t snd_pcm_playback_forward(struct snd_pcm_substream *substream, in snd_pcm_playback_forward() 2532 snd_pcm_sframes_t appl_ptr; in snd_pcm_playback_forward() [all …]
|
D | pcm_lib.c | 59 snd_pcm_sframes_t noise_dist, n; in snd_pcm_playback_silence() 73 if (noise_dist >= (snd_pcm_sframes_t) runtime->silence_threshold) in snd_pcm_playback_silence() 80 snd_pcm_sframes_t avail = snd_pcm_playback_hw_avail(runtime); in snd_pcm_playback_silence() 90 if ((snd_pcm_sframes_t)frames < 0) in snd_pcm_playback_silence() 93 if ((snd_pcm_sframes_t)runtime->silence_filled < 0) { in snd_pcm_playback_silence() 284 snd_pcm_sframes_t hdelta, delta; in snd_pcm_update_hw_ptr0() 369 snd_pcm_sframes_t xrun_threshold; in snd_pcm_update_hw_ptr0() 2012 static snd_pcm_sframes_t snd_pcm_lib_write1(struct snd_pcm_substream *substream, in snd_pcm_lib_write1() 2100 snd_pcm_playback_hw_avail(runtime) >= (snd_pcm_sframes_t)runtime->start_threshold) { in snd_pcm_lib_write1() 2111 return xfer > 0 ? (snd_pcm_sframes_t)xfer : err; in snd_pcm_lib_write1() [all …]
|
D | pcm_compat.c | 29 snd_pcm_sframes_t delay; in snd_pcm_ioctl_delay_compat()
|
/linux-4.1.27/sound/drivers/ |
D | pcm-indirect2.c | 258 snd_pcm_sframes_t diff = appl_ptr - rec->appl_ptr; in snd_pcm_indirect2_playback_transfer() 264 if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2)) in snd_pcm_indirect2_playback_transfer() 420 snd_pcm_sframes_t diff = appl_ptr - rec->appl_ptr; in snd_pcm_indirect2_capture_transfer() 426 if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2)) in snd_pcm_indirect2_capture_transfer()
|
/linux-4.1.27/include/uapi/sound/ |
D | asound.h | 149 typedef signed long snd_pcm_sframes_t; typedef 443 snd_pcm_sframes_t delay; /* current delay in frames */ 486 snd_pcm_sframes_t result; 492 snd_pcm_sframes_t result; 562 #define SNDRV_PCM_IOCTL_DELAY _IOR('A', 0x21, snd_pcm_sframes_t)
|
/linux-4.1.27/drivers/usb/gadget/function/ |
D | u_uac1.c | 99 snd_pcm_sframes_t result; in playback_default_hw_params() 162 snd_pcm_sframes_t frames; in u_audio_playback()
|
/linux-4.1.27/sound/soc/sh/ |
D | siu.h | 120 snd_pcm_sframes_t xfer_cnt; /* Number of frames */
|
D | siu_pcm.c | 410 snd_pcm_sframes_t xfer_cnt; in siu_pcm_prepare()
|
/linux-4.1.27/Documentation/sound/alsa/soc/ |
D | platform.txt | 42 snd_pcm_sframes_t (*delay)(struct snd_pcm_substream *,
|
/linux-4.1.27/sound/soc/samsung/ |
D | s3c-i2s-v2.c | 532 static snd_pcm_sframes_t s3c2412_i2s_delay(struct snd_pcm_substream *substream, in s3c2412_i2s_delay() 537 snd_pcm_sframes_t delay; in s3c2412_i2s_delay()
|
D | i2s.c | 940 static snd_pcm_sframes_t 945 snd_pcm_sframes_t delay; in i2s_delay()
|
/linux-4.1.27/sound/soc/omap/ |
D | omap-mcbsp.c | 194 static snd_pcm_sframes_t omap_mcbsp_dai_delay( in omap_mcbsp_dai_delay() 202 snd_pcm_sframes_t delay; in omap_mcbsp_dai_delay()
|
/linux-4.1.27/sound/soc/codecs/ |
D | tlv320dac33.c | 1150 static snd_pcm_sframes_t dac33_dai_delay( in dac33_dai_delay() 1159 snd_pcm_sframes_t delay = 0; in dac33_dai_delay()
|
/linux-4.1.27/sound/pci/rme9652/ |
D | rme9652.c | 373 snd_pcm_sframes_t delta; in rme9652_hw_pointer() 386 if (delta <= (snd_pcm_sframes_t)rme9652->max_jitter * 4) in rme9652_hw_pointer()
|
/linux-4.1.27/sound/soc/ |
D | soc-pcm.c | 1041 snd_pcm_sframes_t delay = 0; in soc_pcm_pointer() 1042 snd_pcm_sframes_t codec_delay = 0; in soc_pcm_pointer()
|