Home
last modified time | relevance | path

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

123456789

/linux/sound/core/oss/
H A 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;
77 int snd_pcm_plug_alloc(struct snd_pcm_substream *plug, snd_pcm_uframes_t frames);
78 snd_pcm_sframes_t snd_pcm_plug_client_size(struct snd_pcm_substream *handle, snd_pcm_uframes_t drv_…
79 snd_pcm_sframes_t snd_pcm_plug_slave_size(struct snd_pcm_substream *handle, snd_pcm_uframes_t clt_s…
119 snd_pcm_uframes_t size);
[all …]
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
/linux/sound/core/
H A 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_bas
[all...]
H A 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
H A Dpcm_lib.c34 snd_pcm_uframes_t off, snd_pcm_uframes_t frames);
38 snd_pcm_uframes_t ptr, in update_silence_vars()
39 snd_pcm_uframes_t new_ptr) in update_silence_vars()
48 if ((snd_pcm_uframes_t)delta < runtime->silence_filled) in update_silence_vars()
64 void snd_pcm_playback_silence(struct snd_pcm_substream *substream, snd_pcm_uframes_t new_hw_ptr) in snd_pcm_playback_silence()
67 snd_pcm_uframes_t frames, ofs, transfer; in snd_pcm_playback_silence()
72 snd_pcm_uframes_t appl_ptr = READ_ONCE(runtime->control->appl_ptr); in snd_pcm_playback_silence()
93 snd_pcm_uframes_t hw_ptr = runtime->status->hw_ptr; in snd_pcm_playback_silence()
212 snd_pcm_uframes_t avail; in snd_pcm_update_state()
290 snd_pcm_uframes_t pos; in snd_pcm_update_hw_ptr0()
[all …]
H A Dsound_kunit.c42 snd_pcm_uframes_t buffer_size;
43 snd_pcm_uframes_t hw_ptr;
44 snd_pcm_uframes_t appl_ptr;
45 snd_pcm_uframes_t expected_avail;
186 static snd_pcm_uframes_t calculate_boundary(snd_pcm_uframes_t buffer_size) in calculate_boundary()
188 snd_pcm_uframes_t boundary = buffer_size; in calculate_boundary()
/linux/tools/include/uapi/sound/
H A Dasound.h
/linux/include/uapi/sound/
H A Dasound.h147 typedef unsigned long snd_pcm_uframes_t; typedef
422 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 */
444 snd_pcm_uframes_t stop_threshold; /* - stop playback */
445 snd_pcm_uframes_t silence_threshold; /* - pre-fill buffer with silence */
446 snd_pcm_uframes_t silence_size; /* max size of silence pre-fill; when >= boundary,
448 snd_pcm_uframes_t boundary; /* pointers wrap point */
486 snd_pcm_uframes_t appl_ptr; /* appl ptr */
[all …]
/linux/tools/perf/trace/beauty/include/uapi/sound/
H A Dasound.h147 typedef unsigned long snd_pcm_uframes_t; typedef
422 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 */
444 snd_pcm_uframes_t stop_threshold; /* - stop playback */
445 snd_pcm_uframes_t silence_threshold; /* - pre-fill buffer with silence */
446 snd_pcm_uframes_t silence_size; /* max size of silence pre-fill; when >= boundary,
448 snd_pcm_uframes_t boundary; /* pointers wrap point */
486 snd_pcm_uframes_t appl_ptr; /* appl ptr */
[all …]
/linux/include/sound/
H A Dpcm.h66 snd_pcm_uframes_t (*pointer)(struct snd_pcm_substream *substream);
106 #define SNDRV_PCM_POS_XRUN ((snd_pcm_uframes_t)-1)
370 snd_pcm_uframes_t avail_max;
371 snd_pcm_uframes_t hw_ptr_base; /* Position at buffer restart */
372 snd_pcm_uframes_t hw_ptr_interrupt; /* Position at interrupt time */
384 snd_pcm_uframes_t period_size; /* period size */
386 snd_pcm_uframes_t buffer_size; /* buffer size */
387 snd_pcm_uframes_t min_align; /* Min alignment for the format */
399 snd_pcm_uframes_t start_threshold;
400 snd_pcm_uframes_t stop_threshold;
[all …]
H A 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
113 snd_pcm_uframes_t appl_ptr = runtime->control->appl_ptr; in snd_pcm_indirect_capture_transfer()
154 static inline snd_pcm_uframes_t
H A Dpxa2xx-lib.h18 extern snd_pcm_uframes_t pxa2xx_pcm_pointer(struct snd_pcm_substream *substream);
36 extern snd_pcm_uframes_t
H A 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/sound/usb/line6/
H A 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/sound/usb/6fire/
H A 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/sound/soc/sof/amd/
H A Dacp-pcm.c89 snd_pcm_uframes_t acp_pcm_pointer(struct snd_sof_dev *sdev, in acp_pcm_pointer()
97 snd_pcm_uframes_t pos; in acp_pcm_pointer()
/linux/include/trace/events/
H A Dsof.h66 snd_pcm_uframes_t dma_posn,
67 snd_pcm_uframes_t dai_posn
/linux/sound/arm/
H A Dpxa2xx-pcm-lib.c67 snd_pcm_uframes_t
185 snd_pcm_uframes_t
/linux/sound/pci/aw2/
H A 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/sound/usb/hiface/
H A 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/sound/soc/mediatek/common/
H A Dmtk-afe-platform-driver.h20 snd_pcm_uframes_t mtk_afe_pcm_pointer(struct snd_soc_component *component,

123456789