Home
last modified time | relevance | path

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

12345678

/Linux-v5.10/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()
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()
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-v5.10/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()
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/
Dasound.h161 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/
Dasound.h161 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/
Dpcm.h64 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 …]
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.h19 extern snd_pcm_uframes_t pxa2xx_pcm_pointer(struct snd_pcm_substream *substream);
44 extern snd_pcm_uframes_t
Ddmaengine_pcm.h31 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/
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-v5.10/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-v5.10/sound/soc/mediatek/common/
Dmtk-afe-platform-driver.h20 snd_pcm_uframes_t mtk_afe_pcm_pointer(struct snd_soc_component *component,
/Linux-v5.10/sound/usb/
Dpcm.h5 snd_pcm_uframes_t snd_usb_pcm_delay(struct snd_usb_substream *subs,
/Linux-v5.10/sound/soc/sof/intel/
Dhda-pcm.c147 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/
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-v5.10/sound/pci/lx6464es/
Dlx6464es.h44 snd_pcm_uframes_t frame_pos;
/Linux-v5.10/sound/soc/tegra/
Dtegra_pcm.h39 snd_pcm_uframes_t tegra_pcm_pointer(struct snd_soc_component *component,
/Linux-v5.10/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()

12345678