Home
last modified time | relevance | path

Searched refs:snd_pcm_uframes_t (Results 1 – 25 of 212) sorted by relevance

123456789

/Linux-v6.1/sound/core/oss/
Dpcm_plugin.h28 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 …]
Dmulaw.c144 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()
Droute.c28 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()
Dio.c40 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()
Dlinear.c58 snd_pcm_uframes_t frames) in convert()
67 snd_pcm_uframes_t frames1; in convert()
91 snd_pcm_uframes_t frames) in linear_transfer()
Dpcm_plugin.c49 static int snd_pcm_plugin_alloc(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t frames) in snd_pcm_plugin_alloc()
108 int snd_pcm_plug_alloc(struct snd_pcm_substream *plug, snd_pcm_uframes_t frames) in snd_pcm_plug_alloc()
143 snd_pcm_uframes_t frames, in snd_pcm_plugin_client_channels()
247 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()
262 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()
559 snd_pcm_uframes_t count, in snd_pcm_plug_client_channels_buf()
597 …truct snd_pcm_substream *plug, struct snd_pcm_plugin_channel *src_channels, snd_pcm_uframes_t size) in snd_pcm_plug_write_transfer()
639 …snd_pcm_substream *plug, struct snd_pcm_plugin_channel *dst_channels_final, snd_pcm_uframes_t size) in snd_pcm_plug_read_transfer()
Drate.c183 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-v6.1/sound/core/
Dpcm_trace.h12 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 …]
Dpcm_local.h27 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
Dpcm_lib.c34 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()
184 snd_pcm_uframes_t avail; in snd_pcm_update_state()
262 snd_pcm_uframes_t pos; in snd_pcm_update_hw_ptr0()
263 snd_pcm_uframes_t old_hw_ptr, new_hw_ptr, hw_base; in snd_pcm_update_hw_ptr0()
450 delta -= (snd_pcm_uframes_t)delta % runtime->period_size; in snd_pcm_update_hw_ptr0()
1861 snd_pcm_uframes_t *availp) in wait_for_avail()
[all …]
/Linux-v6.1/include/uapi/sound/
Dasound.h147 typedef unsigned long snd_pcm_uframes_t; typedef
415 snd_pcm_uframes_t fifo_size; /* R: chip FIFO size in frames */
429 snd_pcm_uframes_t avail_min; /* min avail frames for wakeup */
430 snd_pcm_uframes_t xfer_align; /* obsolete: xfer size need to be a multiple */
431 snd_pcm_uframes_t start_threshold; /* min hw_avail frames for automatic start */
432 snd_pcm_uframes_t stop_threshold; /* min avail frames for automatic stop */
433 snd_pcm_uframes_t silence_threshold; /* min distance from noise for silence filling */
434 snd_pcm_uframes_t silence_size; /* silence block size */
435 snd_pcm_uframes_t boundary; /* pointers wrap point */
473 snd_pcm_uframes_t appl_ptr; /* appl ptr */
[all …]
/Linux-v6.1/tools/include/uapi/sound/
Dasound.h147 typedef unsigned long snd_pcm_uframes_t; typedef
415 snd_pcm_uframes_t fifo_size; /* R: chip FIFO size in frames */
429 snd_pcm_uframes_t avail_min; /* min avail frames for wakeup */
430 snd_pcm_uframes_t xfer_align; /* obsolete: xfer size need to be a multiple */
431 snd_pcm_uframes_t start_threshold; /* min hw_avail frames for automatic start */
432 snd_pcm_uframes_t stop_threshold; /* min avail frames for automatic stop */
433 snd_pcm_uframes_t silence_threshold; /* min distance from noise for silence filling */
434 snd_pcm_uframes_t silence_size; /* silence block size */
435 snd_pcm_uframes_t boundary; /* pointers wrap point */
473 snd_pcm_uframes_t appl_ptr; /* appl ptr */
[all …]
/Linux-v6.1/include/sound/
Dpcm.h64 snd_pcm_uframes_t (*pointer)(struct snd_pcm_substream *substream);
106 #define SNDRV_PCM_POS_XRUN ((snd_pcm_uframes_t)-1)
355 snd_pcm_uframes_t avail_max;
356 snd_pcm_uframes_t hw_ptr_base; /* Position at buffer restart */
357 snd_pcm_uframes_t hw_ptr_interrupt; /* Position at interrupt time */
369 snd_pcm_uframes_t period_size; /* period size */
371 snd_pcm_uframes_t buffer_size; /* buffer size */
372 snd_pcm_uframes_t min_align; /* Min alignment for the format */
384 snd_pcm_uframes_t start_threshold;
385 snd_pcm_uframes_t stop_threshold;
[all …]
Dpcm-indirect.h24 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
Dpxa2xx-lib.h18 extern snd_pcm_uframes_t pxa2xx_pcm_pointer(struct snd_pcm_substream *substream);
36 extern snd_pcm_uframes_t
Ddmaengine_pcm.h33 snd_pcm_uframes_t snd_dmaengine_pcm_pointer(struct snd_pcm_substream *substream);
34 snd_pcm_uframes_t snd_dmaengine_pcm_pointer_no_residue(struct snd_pcm_substream *substream);
/Linux-v6.1/sound/usb/line6/
Dpcm.h98 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-v6.1/sound/usb/6fire/
Dpcm.h42 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-v6.1/include/trace/events/
Dsof.h66 snd_pcm_uframes_t dma_posn,
67 snd_pcm_uframes_t dai_posn
/Linux-v6.1/sound/arm/
Dpxa2xx-pcm-lib.c67 snd_pcm_uframes_t
185 snd_pcm_uframes_t
/Linux-v6.1/sound/soc/mediatek/common/
Dmtk-afe-platform-driver.h20 snd_pcm_uframes_t mtk_afe_pcm_pointer(struct snd_soc_component *component,
/Linux-v6.1/sound/pci/aw2/
Daw2-alsa.c115 static snd_pcm_uframes_t snd_aw2_pcm_pointer_playback(struct snd_pcm_substream
117 static snd_pcm_uframes_t snd_aw2_pcm_pointer_capture(struct snd_pcm_substream
454 static snd_pcm_uframes_t snd_aw2_pcm_pointer_playback(struct snd_pcm_substream in snd_aw2_pcm_pointer_playback()
473 static snd_pcm_uframes_t snd_aw2_pcm_pointer_capture(struct snd_pcm_substream in snd_aw2_pcm_pointer_capture()
/Linux-v6.1/sound/usb/hiface/
Dpcm.c37 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-v6.1/sound/soc/tegra/
Dtegra_pcm.h32 snd_pcm_uframes_t tegra_pcm_pointer(struct snd_soc_component *component,
/Linux-v6.1/drivers/media/pci/cx18/
Dcx18-alsa-pcm.c219 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()

123456789