/Linux-v5.10/sound/core/oss/ |
D | pcm_plugin.h | 28 snd_pcm_uframes_t frames; /* allocated frames */ 47 snd_pcm_sframes_t (*src_frames)(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t dst_frames); 48 snd_pcm_sframes_t (*dst_frames)(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t src_frames); 50 snd_pcm_uframes_t frames, 55 snd_pcm_uframes_t frames); 65 snd_pcm_uframes_t buf_frames; 78 int snd_pcm_plug_alloc(struct snd_pcm_substream *plug, snd_pcm_uframes_t frames); 79 snd_pcm_sframes_t snd_pcm_plug_client_size(struct snd_pcm_substream *handle, snd_pcm_uframes_t drv_… 80 snd_pcm_sframes_t snd_pcm_plug_slave_size(struct snd_pcm_substream *handle, snd_pcm_uframes_t clt_s… 120 snd_pcm_uframes_t size); [all …]
|
D | mulaw.c | 144 snd_pcm_uframes_t frames); 171 snd_pcm_uframes_t frames) in mulaw_decode() 180 snd_pcm_uframes_t frames1; in mulaw_decode() 217 snd_pcm_uframes_t frames) in mulaw_encode() 226 snd_pcm_uframes_t frames1; in mulaw_encode() 251 snd_pcm_uframes_t frames) in mulaw_transfer()
|
D | route.c | 28 snd_pcm_uframes_t frames, snd_pcm_format_t format) in zero_areas() 41 snd_pcm_uframes_t frames, snd_pcm_format_t format) in copy_area() 50 snd_pcm_uframes_t frames) in route_transfer()
|
D | io.c | 40 snd_pcm_uframes_t frames) in io_playback_transfer() 66 snd_pcm_uframes_t frames) in io_capture_transfer() 91 snd_pcm_uframes_t frames, in io_src_channels()
|
D | linear.c | 58 snd_pcm_uframes_t frames) in convert() 67 snd_pcm_uframes_t frames1; in convert() 91 snd_pcm_uframes_t frames) in linear_transfer()
|
D | pcm_plugin.c | 49 static int snd_pcm_plugin_alloc(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t frames) in snd_pcm_plugin_alloc() 104 int snd_pcm_plug_alloc(struct snd_pcm_substream *plug, snd_pcm_uframes_t frames) in snd_pcm_plug_alloc() 139 snd_pcm_uframes_t frames, in snd_pcm_plugin_client_channels() 243 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() 258 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() 555 snd_pcm_uframes_t count, in snd_pcm_plug_client_channels_buf() 592 …truct snd_pcm_substream *plug, struct snd_pcm_plugin_channel *src_channels, snd_pcm_uframes_t size) in snd_pcm_plug_write_transfer() 632 …snd_pcm_substream *plug, struct snd_pcm_plugin_channel *dst_channels_final, snd_pcm_uframes_t size) in snd_pcm_plug_read_transfer()
|
D | rate.c | 183 static snd_pcm_sframes_t rate_src_frames(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t 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() 252 snd_pcm_uframes_t frames) in rate_transfer() 254 snd_pcm_uframes_t dst_frames; in rate_transfer()
|
/Linux-v5.10/sound/core/ |
D | pcm_trace.h | 12 TP_PROTO(struct snd_pcm_substream *substream, snd_pcm_uframes_t pos, bool irq), 20 __field( snd_pcm_uframes_t, pos ) 21 __field( snd_pcm_uframes_t, period_size ) 22 __field( snd_pcm_uframes_t, buffer_size ) 23 __field( snd_pcm_uframes_t, old_hw_ptr ) 24 __field( snd_pcm_uframes_t, hw_ptr_base ) 58 __field( snd_pcm_uframes_t, period_size ) 59 __field( snd_pcm_uframes_t, buffer_size ) 60 __field( snd_pcm_uframes_t, old_hw_ptr ) 61 __field( snd_pcm_uframes_t, hw_ptr_base ) [all …]
|
D | pcm_local.h | 27 snd_pcm_uframes_t appl_ptr); 33 snd_pcm_uframes_t new_hw_ptr); 35 static inline snd_pcm_uframes_t 44 static inline snd_pcm_uframes_t
|
D | pcm_lib.c | 34 snd_pcm_uframes_t off, snd_pcm_uframes_t frames); 45 void snd_pcm_playback_silence(struct snd_pcm_substream *substream, snd_pcm_uframes_t new_hw_ptr) in snd_pcm_playback_silence() 48 snd_pcm_uframes_t frames, ofs, transfer; in snd_pcm_playback_silence() 53 snd_pcm_uframes_t appl_ptr = READ_ONCE(runtime->control->appl_ptr); in snd_pcm_playback_silence() 58 if ((snd_pcm_uframes_t)n < runtime->silence_filled) in snd_pcm_playback_silence() 183 snd_pcm_uframes_t avail; in snd_pcm_update_state() 261 snd_pcm_uframes_t pos; in snd_pcm_update_hw_ptr0() 262 snd_pcm_uframes_t old_hw_ptr, new_hw_ptr, hw_base; in snd_pcm_update_hw_ptr0() 449 delta -= (snd_pcm_uframes_t)delta % runtime->period_size; in snd_pcm_update_hw_ptr0() 1826 snd_pcm_uframes_t *availp) in wait_for_avail() [all …]
|
/Linux-v5.10/include/uapi/sound/ |
D | asound.h | 161 typedef unsigned long snd_pcm_uframes_t; typedef 423 snd_pcm_uframes_t fifo_size; /* R: chip FIFO size in frames */ 437 snd_pcm_uframes_t avail_min; /* min avail frames for wakeup */ 438 snd_pcm_uframes_t xfer_align; /* obsolete: xfer size need to be a multiple */ 439 snd_pcm_uframes_t start_threshold; /* min hw_avail frames for automatic start */ 440 snd_pcm_uframes_t stop_threshold; /* min avail frames for automatic stop */ 441 snd_pcm_uframes_t silence_threshold; /* min distance from noise for silence filling */ 442 snd_pcm_uframes_t silence_size; /* silence block size */ 443 snd_pcm_uframes_t boundary; /* pointers wrap point */ 481 snd_pcm_uframes_t appl_ptr; /* appl ptr */ [all …]
|
/Linux-v5.10/tools/include/uapi/sound/ |
D | asound.h | 161 typedef unsigned long snd_pcm_uframes_t; typedef 423 snd_pcm_uframes_t fifo_size; /* R: chip FIFO size in frames */ 437 snd_pcm_uframes_t avail_min; /* min avail frames for wakeup */ 438 snd_pcm_uframes_t xfer_align; /* obsolete: xfer size need to be a multiple */ 439 snd_pcm_uframes_t start_threshold; /* min hw_avail frames for automatic start */ 440 snd_pcm_uframes_t stop_threshold; /* min avail frames for automatic stop */ 441 snd_pcm_uframes_t silence_threshold; /* min distance from noise for silence filling */ 442 snd_pcm_uframes_t silence_size; /* silence block size */ 443 snd_pcm_uframes_t boundary; /* pointers wrap point */ 481 snd_pcm_uframes_t appl_ptr; /* appl ptr */ [all …]
|
/Linux-v5.10/include/sound/ |
D | pcm.h | 64 snd_pcm_uframes_t (*pointer)(struct snd_pcm_substream *substream); 106 #define SNDRV_PCM_POS_XRUN ((snd_pcm_uframes_t)-1) 350 snd_pcm_uframes_t avail_max; 351 snd_pcm_uframes_t hw_ptr_base; /* Position at buffer restart */ 352 snd_pcm_uframes_t hw_ptr_interrupt; /* Position at interrupt time */ 364 snd_pcm_uframes_t period_size; /* period size */ 366 snd_pcm_uframes_t buffer_size; /* buffer size */ 367 snd_pcm_uframes_t min_align; /* Min alignment for the format */ 379 snd_pcm_uframes_t start_threshold; 380 snd_pcm_uframes_t stop_threshold; [all …]
|
D | pcm-indirect.h | 24 snd_pcm_uframes_t appl_ptr; /* Last seen appl_ptr */ 39 snd_pcm_uframes_t appl_ptr = runtime->control->appl_ptr; in snd_pcm_indirect_playback_transfer() 81 static inline snd_pcm_uframes_t 108 snd_pcm_uframes_t appl_ptr = runtime->control->appl_ptr; in snd_pcm_indirect_capture_transfer() 149 static inline snd_pcm_uframes_t
|
D | pxa2xx-lib.h | 19 extern snd_pcm_uframes_t pxa2xx_pcm_pointer(struct snd_pcm_substream *substream); 44 extern snd_pcm_uframes_t
|
D | dmaengine_pcm.h | 31 snd_pcm_uframes_t snd_dmaengine_pcm_pointer(struct snd_pcm_substream *substream); 32 snd_pcm_uframes_t snd_dmaengine_pcm_pointer_no_residue(struct snd_pcm_substream *substream);
|
/Linux-v5.10/sound/usb/line6/ |
D | pcm.h | 98 snd_pcm_uframes_t pos; 115 snd_pcm_uframes_t pos_done; 189 extern snd_pcm_uframes_t snd_line6_pointer(struct snd_pcm_substream *substream);
|
/Linux-v5.10/sound/usb/6fire/ |
D | pcm.h | 42 snd_pcm_uframes_t dma_off; /* current position in alsa dma_area */ 43 snd_pcm_uframes_t period_off; /* current position in current period */
|
/Linux-v5.10/sound/soc/mediatek/common/ |
D | mtk-afe-platform-driver.h | 20 snd_pcm_uframes_t mtk_afe_pcm_pointer(struct snd_soc_component *component,
|
/Linux-v5.10/sound/usb/ |
D | pcm.h | 5 snd_pcm_uframes_t snd_usb_pcm_delay(struct snd_usb_substream *subs,
|
/Linux-v5.10/sound/soc/sof/intel/ |
D | hda-pcm.c | 147 snd_pcm_uframes_t hda_dsp_pcm_pointer(struct snd_sof_dev *sdev, in hda_dsp_pcm_pointer() 155 snd_pcm_uframes_t pos; in hda_dsp_pcm_pointer()
|
/Linux-v5.10/sound/usb/hiface/ |
D | pcm.c | 37 snd_pcm_uframes_t dma_off; /* current position in alsa dma_area */ 38 snd_pcm_uframes_t period_off; /* current position in current period */ 482 static snd_pcm_uframes_t hiface_pcm_pointer(struct snd_pcm_substream *alsa_sub) in hiface_pcm_pointer() 487 snd_pcm_uframes_t dma_offset; in hiface_pcm_pointer()
|
/Linux-v5.10/sound/pci/lx6464es/ |
D | lx6464es.h | 44 snd_pcm_uframes_t frame_pos;
|
/Linux-v5.10/sound/soc/tegra/ |
D | tegra_pcm.h | 39 snd_pcm_uframes_t tegra_pcm_pointer(struct snd_soc_component *component,
|
/Linux-v5.10/drivers/media/pci/cx18/ |
D | cx18-alsa-pcm.c | 219 snd_pcm_uframes_t snd_cx18_pcm_pointer(struct snd_pcm_substream *substream) in snd_cx18_pcm_pointer() 222 snd_pcm_uframes_t hwptr_done; in snd_cx18_pcm_pointer()
|