Home
last modified time | relevance | path

Searched refs:snd_pcm_substream (Results 1 – 25 of 914) sorted by relevance

12345678910>>...37

/linux-6.1.9/sound/core/oss/
Dpcm_plugin.h61 struct snd_pcm_substream *plug;
70 int snd_pcm_plugin_build(struct snd_pcm_substream *handle,
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…
85 int snd_pcm_plugin_build_io(struct snd_pcm_substream *handle,
88 int snd_pcm_plugin_build_linear(struct snd_pcm_substream *handle,
92 int snd_pcm_plugin_build_mulaw(struct snd_pcm_substream *handle,
96 int snd_pcm_plugin_build_rate(struct snd_pcm_substream *handle,
100 int snd_pcm_plugin_build_route(struct snd_pcm_substream *handle,
[all …]
/linux-6.1.9/include/sound/
Dpcm.h48 struct snd_pcm_substream;
54 int (*open)(struct snd_pcm_substream *substream);
55 int (*close)(struct snd_pcm_substream *substream);
56 int (*ioctl)(struct snd_pcm_substream * substream,
58 int (*hw_params)(struct snd_pcm_substream *substream,
60 int (*hw_free)(struct snd_pcm_substream *substream);
61 int (*prepare)(struct snd_pcm_substream *substream);
62 int (*trigger)(struct snd_pcm_substream *substream, int cmd);
63 int (*sync_stop)(struct snd_pcm_substream *substream);
64 snd_pcm_uframes_t (*pointer)(struct snd_pcm_substream *substream);
[all …]
Ddmaengine_pcm.h22 snd_pcm_substream_to_dma_direction(const struct snd_pcm_substream *substream) in snd_pcm_substream_to_dma_direction()
30 int snd_hwparams_to_dma_slave_config(const struct snd_pcm_substream *substream,
32 int snd_dmaengine_pcm_trigger(struct snd_pcm_substream *substream, int cmd);
33 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);
36 int snd_dmaengine_pcm_open(struct snd_pcm_substream *substream,
38 int snd_dmaengine_pcm_close(struct snd_pcm_substream *substream);
40 int snd_dmaengine_pcm_open_request_chan(struct snd_pcm_substream *substream,
42 int snd_dmaengine_pcm_close_release_chan(struct snd_pcm_substream *substream);
46 struct dma_chan *snd_dmaengine_pcm_get_chan(struct snd_pcm_substream *substream);
[all …]
Dpxa2xx-lib.h9 struct snd_pcm_substream;
15 extern int pxa2xx_pcm_hw_params(struct snd_pcm_substream *substream,
17 extern int pxa2xx_pcm_trigger(struct snd_pcm_substream *substream, int cmd);
18 extern snd_pcm_uframes_t pxa2xx_pcm_pointer(struct snd_pcm_substream *substream);
19 extern int pxa2xx_pcm_prepare(struct snd_pcm_substream *substream);
20 extern int pxa2xx_pcm_open(struct snd_pcm_substream *substream);
21 extern int pxa2xx_pcm_close(struct snd_pcm_substream *substream);
26 struct snd_pcm_substream *substream);
28 struct snd_pcm_substream *substream);
30 struct snd_pcm_substream *substream,
[all …]
Dsoc-component.h115 struct snd_pcm_substream *substream);
117 struct snd_pcm_substream *substream);
119 struct snd_pcm_substream *substream,
122 struct snd_pcm_substream *substream,
125 struct snd_pcm_substream *substream);
127 struct snd_pcm_substream *substream);
129 struct snd_pcm_substream *substream, int cmd);
131 struct snd_pcm_substream *substream);
133 struct snd_pcm_substream *substream);
135 struct snd_pcm_substream *substream, struct timespec64 *system_ts,
[all …]
Dsoc-dai.h17 struct snd_pcm_substream;
208 struct snd_pcm_substream *substream,
211 struct snd_pcm_substream *substream,
214 struct snd_pcm_substream *substream);
216 struct snd_pcm_substream *substream, int rollback);
240 int snd_soc_pcm_dai_prepare(struct snd_pcm_substream *substream);
241 int snd_soc_pcm_dai_trigger(struct snd_pcm_substream *substream, int cmd,
243 int snd_soc_pcm_dai_bespoke_trigger(struct snd_pcm_substream *substream,
245 void snd_soc_pcm_dai_delay(struct snd_pcm_substream *substream,
318 int (*startup)(struct snd_pcm_substream *,
[all …]
Dsoc-link.h16 int snd_soc_link_startup(struct snd_pcm_substream *substream);
17 void snd_soc_link_shutdown(struct snd_pcm_substream *substream,
19 int snd_soc_link_prepare(struct snd_pcm_substream *substream);
20 int snd_soc_link_hw_params(struct snd_pcm_substream *substream,
22 void snd_soc_link_hw_free(struct snd_pcm_substream *substream,
25 int snd_soc_link_trigger(struct snd_pcm_substream *substream, int cmd,
/linux-6.1.9/sound/core/
Dpcm_local.h26 int pcm_lib_apply_appl_ptr(struct snd_pcm_substream *substream,
28 int snd_pcm_update_state(struct snd_pcm_substream *substream,
30 int snd_pcm_update_hw_ptr(struct snd_pcm_substream *substream);
32 void snd_pcm_playback_silence(struct snd_pcm_substream *substream,
36 snd_pcm_avail(struct snd_pcm_substream *substream) in snd_pcm_avail()
45 snd_pcm_hw_avail(struct snd_pcm_substream *substream) in snd_pcm_hw_avail()
54 void snd_pcm_timer_resolution_change(struct snd_pcm_substream *substream);
55 void snd_pcm_timer_init(struct snd_pcm_substream *substream);
56 void snd_pcm_timer_done(struct snd_pcm_substream *substream);
59 snd_pcm_timer_resolution_change(struct snd_pcm_substream *substream) {} in snd_pcm_timer_resolution_change()
[all …]
Dpcm_native.c64 static int snd_pcm_hw_refine_old_user(struct snd_pcm_substream *substream,
66 static int snd_pcm_hw_params_old_user(struct snd_pcm_substream *substream,
108 void snd_pcm_stream_lock(struct snd_pcm_substream *substream) in snd_pcm_stream_lock()
120 void snd_pcm_stream_unlock(struct snd_pcm_substream *substream) in snd_pcm_stream_unlock()
134 void snd_pcm_stream_lock_irq(struct snd_pcm_substream *substream) in snd_pcm_stream_lock_irq()
141 static void snd_pcm_stream_lock_nested(struct snd_pcm_substream *substream) in snd_pcm_stream_lock_nested()
157 void snd_pcm_stream_unlock_irq(struct snd_pcm_substream *substream) in snd_pcm_stream_unlock_irq()
164 unsigned long _snd_pcm_stream_lock_irqsave(struct snd_pcm_substream *substream) in _snd_pcm_stream_lock_irqsave()
175 unsigned long _snd_pcm_stream_lock_irqsave_nested(struct snd_pcm_substream *substream) in _snd_pcm_stream_lock_irqsave_nested()
195 void snd_pcm_stream_unlock_irqrestore(struct snd_pcm_substream *substream, in snd_pcm_stream_unlock_irqrestore()
[all …]
Dpcm_dmaengine.c30 const struct snd_pcm_substream *substream) in substream_to_prtd()
35 struct dma_chan *snd_dmaengine_pcm_get_chan(struct snd_pcm_substream *substream) in snd_dmaengine_pcm_get_chan()
54 int snd_hwparams_to_dma_slave_config(const struct snd_pcm_substream *substream, in snd_hwparams_to_dma_slave_config()
107 const struct snd_pcm_substream *substream, in snd_dmaengine_pcm_set_config_from_dai_data()
137 struct snd_pcm_substream *substream = arg; in dmaengine_pcm_dma_complete()
148 static int dmaengine_pcm_prepare_and_submit(struct snd_pcm_substream *substream) in dmaengine_pcm_prepare_and_submit()
187 int snd_dmaengine_pcm_trigger(struct snd_pcm_substream *substream, int cmd) in snd_dmaengine_pcm_trigger()
233 snd_pcm_uframes_t snd_dmaengine_pcm_pointer_no_residue(struct snd_pcm_substream *substream) in snd_dmaengine_pcm_pointer_no_residue()
249 snd_pcm_uframes_t snd_dmaengine_pcm_pointer(struct snd_pcm_substream *substream) in snd_dmaengine_pcm_pointer()
305 int snd_dmaengine_pcm_open(struct snd_pcm_substream *substream, in snd_dmaengine_pcm_open()
[all …]
Dpcm_memory.c75 static int preallocate_pcm_pages(struct snd_pcm_substream *substream, in preallocate_pcm_pages()
106 void snd_pcm_lib_preallocate_free(struct snd_pcm_substream *substream) in snd_pcm_lib_preallocate_free()
119 struct snd_pcm_substream *substream; in snd_pcm_lib_preallocate_free_for_all()
136 struct snd_pcm_substream *substream = entry->private_data; in snd_pcm_lib_preallocate_proc_read()
148 struct snd_pcm_substream *substream = entry->private_data; in snd_pcm_lib_preallocate_max_proc_read()
160 struct snd_pcm_substream *substream = entry->private_data; in snd_pcm_lib_preallocate_proc_write()
209 static inline void preallocate_info_init(struct snd_pcm_substream *substream) in preallocate_info_init()
229 static inline void preallocate_info_init(struct snd_pcm_substream *substream) in preallocate_info_init()
237 static int preallocate_pages(struct snd_pcm_substream *substream, in preallocate_pages()
277 struct snd_pcm_substream *substream; in preallocate_pages_for_all()
[all …]
Dpcm_timer.c19 void snd_pcm_timer_resolution_change(struct snd_pcm_substream *substream) in snd_pcm_timer_resolution_change()
54 struct snd_pcm_substream *substream; in snd_pcm_timer_resolution()
62 struct snd_pcm_substream *substream; in snd_pcm_timer_start()
71 struct snd_pcm_substream *substream; in snd_pcm_timer_stop()
94 struct snd_pcm_substream *substream = timer->private_data; in snd_pcm_timer_free()
98 void snd_pcm_timer_init(struct snd_pcm_substream *substream) in snd_pcm_timer_init()
124 void snd_pcm_timer_done(struct snd_pcm_substream *substream) in snd_pcm_timer_done()
/linux-6.1.9/sound/soc/meson/
Daiu-fifo.h15 struct snd_pcm_substream;
32 struct snd_pcm_substream *substream);
34 int aiu_fifo_trigger(struct snd_pcm_substream *substream, int cmd,
36 int aiu_fifo_prepare(struct snd_pcm_substream *substream,
38 int aiu_fifo_hw_params(struct snd_pcm_substream *substream,
41 int aiu_fifo_hw_free(struct snd_pcm_substream *substream,
43 int aiu_fifo_startup(struct snd_pcm_substream *substream,
45 void aiu_fifo_shutdown(struct snd_pcm_substream *substream,
Daxg-fifo.h80 struct snd_pcm_substream *ss);
82 struct snd_pcm_substream *ss);
84 struct snd_pcm_substream *ss,
87 struct snd_pcm_substream *ss,
90 struct snd_pcm_substream *ss);
92 struct snd_pcm_substream *ss);
94 struct snd_pcm_substream *ss, int cmd);
/linux-6.1.9/sound/arm/
Dpxa2xx-pcm-lib.c32 int pxa2xx_pcm_hw_params(struct snd_pcm_substream *substream, in pxa2xx_pcm_hw_params()
61 int pxa2xx_pcm_trigger(struct snd_pcm_substream *substream, int cmd) in pxa2xx_pcm_trigger()
68 pxa2xx_pcm_pointer(struct snd_pcm_substream *substream) in pxa2xx_pcm_pointer()
74 int pxa2xx_pcm_prepare(struct snd_pcm_substream *substream) in pxa2xx_pcm_prepare()
80 int pxa2xx_pcm_open(struct snd_pcm_substream *substream) in pxa2xx_pcm_open()
119 int pxa2xx_pcm_close(struct snd_pcm_substream *substream) in pxa2xx_pcm_close()
150 struct snd_pcm_substream *substream) in pxa2xx_soc_pcm_open()
157 struct snd_pcm_substream *substream) in pxa2xx_soc_pcm_close()
164 struct snd_pcm_substream *substream, in pxa2xx_soc_pcm_hw_params()
172 struct snd_pcm_substream *substream) in pxa2xx_soc_pcm_prepare()
[all …]
/linux-6.1.9/sound/soc/mediatek/common/
Dmtk-afe-fe-dai.h16 int mtk_afe_fe_startup(struct snd_pcm_substream *substream,
18 void mtk_afe_fe_shutdown(struct snd_pcm_substream *substream,
20 int mtk_afe_fe_hw_params(struct snd_pcm_substream *substream,
23 int mtk_afe_fe_hw_free(struct snd_pcm_substream *substream,
25 int mtk_afe_fe_prepare(struct snd_pcm_substream *substream,
27 int mtk_afe_fe_trigger(struct snd_pcm_substream *substream, int cmd,
47 int mtk_memif_set_rate_substream(struct snd_pcm_substream *substream,
/linux-6.1.9/sound/pci/aw2/
Daw2-alsa.c105 static int snd_aw2_pcm_playback_open(struct snd_pcm_substream *substream);
106 static int snd_aw2_pcm_playback_close(struct snd_pcm_substream *substream);
107 static int snd_aw2_pcm_capture_open(struct snd_pcm_substream *substream);
108 static int snd_aw2_pcm_capture_close(struct snd_pcm_substream *substream);
109 static int snd_aw2_pcm_prepare_playback(struct snd_pcm_substream *substream);
110 static int snd_aw2_pcm_prepare_capture(struct snd_pcm_substream *substream);
111 static int snd_aw2_pcm_trigger_playback(struct snd_pcm_substream *substream,
113 static int snd_aw2_pcm_trigger_capture(struct snd_pcm_substream *substream,
115 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
[all …]
/linux-6.1.9/sound/firewire/tascam/
Dtascam-pcm.c11 struct snd_pcm_substream *substream) in pcm_init_hw_params()
43 static int pcm_open(struct snd_pcm_substream *substream) in pcm_open()
107 static int pcm_close(struct snd_pcm_substream *substream) in pcm_close()
116 static int pcm_hw_params(struct snd_pcm_substream *substream, in pcm_hw_params()
138 static int pcm_hw_free(struct snd_pcm_substream *substream) in pcm_hw_free()
154 static int pcm_capture_prepare(struct snd_pcm_substream *substream) in pcm_capture_prepare()
171 static int pcm_playback_prepare(struct snd_pcm_substream *substream) in pcm_playback_prepare()
188 static int pcm_capture_trigger(struct snd_pcm_substream *substream, int cmd) in pcm_capture_trigger()
206 static int pcm_playback_trigger(struct snd_pcm_substream *substream, int cmd) in pcm_playback_trigger()
224 static snd_pcm_uframes_t pcm_capture_pointer(struct snd_pcm_substream *sbstrm) in pcm_capture_pointer()
[all …]
/linux-6.1.9/sound/firewire/oxfw/
Doxfw-pcm.c110 struct snd_pcm_substream *substream) in init_hw_params()
146 static int limit_to_current_params(struct snd_pcm_substream *substream) in limit_to_current_params()
170 static int pcm_open(struct snd_pcm_substream *substream) in pcm_open()
228 static int pcm_close(struct snd_pcm_substream *substream) in pcm_close()
236 static int pcm_capture_hw_params(struct snd_pcm_substream *substream, in pcm_capture_hw_params()
259 static int pcm_playback_hw_params(struct snd_pcm_substream *substream, in pcm_playback_hw_params()
283 static int pcm_capture_hw_free(struct snd_pcm_substream *substream) in pcm_capture_hw_free()
298 static int pcm_playback_hw_free(struct snd_pcm_substream *substream) in pcm_playback_hw_free()
314 static int pcm_capture_prepare(struct snd_pcm_substream *substream) in pcm_capture_prepare()
329 static int pcm_playback_prepare(struct snd_pcm_substream *substream) in pcm_playback_prepare()
[all …]
/linux-6.1.9/sound/firewire/digi00x/
Ddigi00x-pcm.c58 struct snd_pcm_substream *substream) in pcm_init_hw_params()
100 static int pcm_open(struct snd_pcm_substream *substream) in pcm_open()
178 static int pcm_close(struct snd_pcm_substream *substream) in pcm_close()
187 static int pcm_hw_params(struct snd_pcm_substream *substream, in pcm_hw_params()
209 static int pcm_hw_free(struct snd_pcm_substream *substream) in pcm_hw_free()
225 static int pcm_capture_prepare(struct snd_pcm_substream *substream) in pcm_capture_prepare()
241 static int pcm_playback_prepare(struct snd_pcm_substream *substream) in pcm_playback_prepare()
259 static int pcm_capture_trigger(struct snd_pcm_substream *substream, int cmd) in pcm_capture_trigger()
277 static int pcm_playback_trigger(struct snd_pcm_substream *substream, int cmd) in pcm_playback_trigger()
295 static snd_pcm_uframes_t pcm_capture_pointer(struct snd_pcm_substream *sbstrm) in pcm_capture_pointer()
[all …]
/linux-6.1.9/sound/firewire/fireworks/
Dfireworks_pcm.c133 struct snd_pcm_substream *substream) in pcm_init_hw_params()
173 static int pcm_open(struct snd_pcm_substream *substream) in pcm_open()
240 static int pcm_close(struct snd_pcm_substream *substream) in pcm_close()
247 static int pcm_hw_params(struct snd_pcm_substream *substream, in pcm_hw_params()
269 static int pcm_hw_free(struct snd_pcm_substream *substream) in pcm_hw_free()
285 static int pcm_capture_prepare(struct snd_pcm_substream *substream) in pcm_capture_prepare()
296 static int pcm_playback_prepare(struct snd_pcm_substream *substream) in pcm_playback_prepare()
308 static int pcm_capture_trigger(struct snd_pcm_substream *substream, int cmd) in pcm_capture_trigger()
325 static int pcm_playback_trigger(struct snd_pcm_substream *substream, int cmd) in pcm_playback_trigger()
343 static snd_pcm_uframes_t pcm_capture_pointer(struct snd_pcm_substream *sbstrm) in pcm_capture_pointer()
[all …]
/linux-6.1.9/sound/firewire/motu/
Dmotu-pcm.c96 struct snd_pcm_substream *substream) in init_hw_info()
130 static int pcm_open(struct snd_pcm_substream *substream) in pcm_open()
198 static int pcm_close(struct snd_pcm_substream *substream) in pcm_close()
207 static int pcm_hw_params(struct snd_pcm_substream *substream, in pcm_hw_params()
229 static int pcm_hw_free(struct snd_pcm_substream *substream) in pcm_hw_free()
245 static int capture_prepare(struct snd_pcm_substream *substream) in capture_prepare()
258 static int playback_prepare(struct snd_pcm_substream *substream) in playback_prepare()
272 static int capture_trigger(struct snd_pcm_substream *substream, int cmd) in capture_trigger()
289 static int playback_trigger(struct snd_pcm_substream *substream, int cmd) in playback_trigger()
307 static snd_pcm_uframes_t capture_pointer(struct snd_pcm_substream *substream) in capture_pointer()
[all …]
/linux-6.1.9/sound/firewire/bebob/
Dbebob_pcm.c96 struct snd_pcm_substream *substream) in pcm_init_hw_params()
132 static int pcm_open(struct snd_pcm_substream *substream) in pcm_open()
204 pcm_close(struct snd_pcm_substream *substream) in pcm_close()
211 static int pcm_hw_params(struct snd_pcm_substream *substream, in pcm_hw_params()
233 static int pcm_hw_free(struct snd_pcm_substream *substream) in pcm_hw_free()
250 pcm_capture_prepare(struct snd_pcm_substream *substream) in pcm_capture_prepare()
262 pcm_playback_prepare(struct snd_pcm_substream *substream) in pcm_playback_prepare()
275 pcm_capture_trigger(struct snd_pcm_substream *substream, int cmd) in pcm_capture_trigger()
293 pcm_playback_trigger(struct snd_pcm_substream *substream, int cmd) in pcm_playback_trigger()
311 static snd_pcm_uframes_t pcm_capture_pointer(struct snd_pcm_substream *sbstrm) in pcm_capture_pointer()
[all …]
/linux-6.1.9/sound/firewire/fireface/
Dff-pcm.c105 struct snd_pcm_substream *substream) in pcm_init_hw_params()
139 static int pcm_open(struct snd_pcm_substream *substream) in pcm_open()
218 static int pcm_close(struct snd_pcm_substream *substream) in pcm_close()
227 static int pcm_hw_params(struct snd_pcm_substream *substream, in pcm_hw_params()
249 static int pcm_hw_free(struct snd_pcm_substream *substream) in pcm_hw_free()
265 static int pcm_capture_prepare(struct snd_pcm_substream *substream) in pcm_capture_prepare()
282 static int pcm_playback_prepare(struct snd_pcm_substream *substream) in pcm_playback_prepare()
299 static int pcm_capture_trigger(struct snd_pcm_substream *substream, int cmd) in pcm_capture_trigger()
317 static int pcm_playback_trigger(struct snd_pcm_substream *substream, int cmd) in pcm_playback_trigger()
335 static snd_pcm_uframes_t pcm_capture_pointer(struct snd_pcm_substream *sbstrm) in pcm_capture_pointer()
[all …]
/linux-6.1.9/sound/firewire/dice/
Ddice-pcm.c14 struct snd_pcm_substream *substream = rule->private; in dice_rate_constraint()
52 struct snd_pcm_substream *substream = rule->private; in dice_channels_constraint()
126 struct snd_pcm_substream *substream) in init_hw_info()
164 static int pcm_open(struct snd_pcm_substream *substream) in pcm_open()
254 static int pcm_close(struct snd_pcm_substream *substream) in pcm_close()
263 static int pcm_hw_params(struct snd_pcm_substream *substream, in pcm_hw_params()
290 static int pcm_hw_free(struct snd_pcm_substream *substream) in pcm_hw_free()
306 static int capture_prepare(struct snd_pcm_substream *substream) in capture_prepare()
320 static int playback_prepare(struct snd_pcm_substream *substream) in playback_prepare()
335 static int capture_trigger(struct snd_pcm_substream *substream, int cmd) in capture_trigger()
[all …]

12345678910>>...37