Home
last modified time | relevance | path

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

12345678910>>...39

/linux-6.15/include/sound/
H A Ddmaengine_pcm.h22 snd_pcm_substream_to_dma_direction(const struct snd_pcm_substream *substream) in snd_pcm_substream_to_dma_direction()
32 int snd_dmaengine_pcm_trigger(struct snd_pcm_substream *substream, int cmd);
36 int snd_dmaengine_pcm_open(struct snd_pcm_substream *substream,
38 int snd_dmaengine_pcm_close(struct snd_pcm_substream *substream);
39 int snd_dmaengine_pcm_sync_stop(struct snd_pcm_substream *substream);
41 int snd_dmaengine_pcm_open_request_chan(struct snd_pcm_substream *substream,
88 const struct snd_pcm_substream *substream,
93 struct snd_pcm_substream *substream,
139 int (*prepare_slave_config)(struct snd_pcm_substream *substream,
144 struct snd_pcm_substream *substream);
[all …]
H A Dpxa2xx-lib.h9 struct snd_pcm_substream;
15 extern int pxa2xx_pcm_hw_params(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,
33 struct snd_pcm_substream *substream);
35 struct snd_pcm_substream *substream, int cmd);
[all …]
H A Dpcm.h50 struct snd_pcm_substream;
56 int (*open)(struct snd_pcm_substream *substream);
238 struct snd_pcm_substream *substream;
366 struct snd_pcm_substream *trigger_master;
464 struct snd_pcm_substream { struct
484 struct snd_pcm_substream *next; argument
519 struct snd_pcm_substream *substream; argument
603 struct snd_pcm_substream **rsubstream);
961 struct snd_pcm_substream *master) in snd_pcm_trigger_done()
1482 static inline struct snd_pcm_substream *
[all …]
H A Dsoc-component.h116 struct snd_pcm_substream *substream);
118 struct snd_pcm_substream *substream);
120 struct snd_pcm_substream *substream,
123 struct snd_pcm_substream *substream,
132 struct snd_pcm_substream *substream);
145 struct snd_pcm_substream *substream,
148 struct snd_pcm_substream *substream,
151 struct snd_pcm_substream *substream);
249 struct snd_pcm_substream *mark_open;
250 struct snd_pcm_substream *mark_hw_params;
[all …]
H A 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,
H A Dsoc-dai.h17 struct snd_pcm_substream;
191 struct snd_pcm_substream *substream);
205 struct snd_pcm_substream *substream,
208 struct snd_pcm_substream *substream,
211 struct snd_pcm_substream *substream);
322 int (*startup)(struct snd_pcm_substream *,
328 int (*hw_free)(struct snd_pcm_substream *,
330 int (*prepare)(struct snd_pcm_substream *,
459 struct snd_pcm_substream *mark_startup;
460 struct snd_pcm_substream *mark_hw_params;
[all …]
/linux-6.15/sound/core/oss/
H A Dpcm_plugin.h61 struct snd_pcm_substream *plug;
70 int snd_pcm_plugin_build(struct snd_pcm_substream *handle,
84 int snd_pcm_plugin_build_io(struct snd_pcm_substream *handle,
87 int snd_pcm_plugin_build_linear(struct snd_pcm_substream *handle,
91 int snd_pcm_plugin_build_mulaw(struct snd_pcm_substream *handle,
95 int snd_pcm_plugin_build_rate(struct snd_pcm_substream *handle,
99 int snd_pcm_plugin_build_route(struct snd_pcm_substream *handle,
103 int snd_pcm_plugin_build_copy(struct snd_pcm_substream *handle,
108 int snd_pcm_plug_format_plugins(struct snd_pcm_substream *substream,
149 snd_pcm_sframes_t snd_pcm_oss_write3(struct snd_pcm_substream *substream,
[all …]
/linux-6.15/sound/core/
H A 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 …]
H A Dpcm_native.c1240 struct snd_pcm_substream *s = NULL; in snd_pcm_action_group()
1241 struct snd_pcm_substream *s1; in snd_pcm_action_group()
1759 struct snd_pcm_substream *substream; in snd_pcm_suspend_all()
2099 struct snd_pcm_substream *s; in snd_pcm_drain()
2332 struct snd_pcm_substream, in snd_pcm_unlink()
2747 struct snd_pcm_substream *substream; in snd_pcm_open_substream()
2797 struct snd_pcm_substream *substream; in snd_pcm_open_file()
2905 struct snd_pcm_substream *substream; in snd_pcm_release()
3480 struct snd_pcm_substream *substream; in snd_pcm_read()
3505 struct snd_pcm_substream *substream; in snd_pcm_write()
[all …]
H A 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()
187 int snd_dmaengine_pcm_trigger(struct snd_pcm_substream *substream, int cmd) in snd_dmaengine_pcm_trigger()
305 int snd_dmaengine_pcm_open(struct snd_pcm_substream *substream, in snd_dmaengine_pcm_open()
352 int snd_dmaengine_pcm_sync_stop(struct snd_pcm_substream *substream) in snd_dmaengine_pcm_sync_stop()
366 static void __snd_dmaengine_pcm_close(struct snd_pcm_substream *substream, in __snd_dmaengine_pcm_close()
389 int snd_dmaengine_pcm_close(struct snd_pcm_substream *substream) in snd_dmaengine_pcm_close()
[all …]
H A 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()
123 void snd_pcm_timer_done(struct snd_pcm_substream *substream) in snd_pcm_timer_done()
/linux-6.15/sound/arm/
H A Dpxa2xx-pcm-lib.c32 int pxa2xx_pcm_hw_params(struct snd_pcm_substream *substream, in pxa2xx_pcm_hw_params()
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()
179 struct snd_pcm_substream *substream, int cmd) in pxa2xx_soc_pcm_trigger()
[all …]
/linux-6.15/sound/soc/meson/
H A 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_startup(struct snd_pcm_substream *substream,
43 void aiu_fifo_shutdown(struct snd_pcm_substream *substream,
H A Daxg-fifo.h76 struct snd_pcm_substream *ss);
78 struct snd_pcm_substream *ss);
80 struct snd_pcm_substream *ss,
83 struct snd_pcm_substream *ss,
86 struct snd_pcm_substream *ss);
88 struct snd_pcm_substream *ss);
90 struct snd_pcm_substream *ss, int cmd);
/linux-6.15/sound/soc/mediatek/common/
H A 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,
45 int mtk_memif_set_rate_substream(struct snd_pcm_substream *substream,
/linux-6.15/sound/pci/aw2/
H A 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);
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,
311 static int snd_aw2_pcm_playback_open(struct snd_pcm_substream *substream) in snd_aw2_pcm_playback_open()
321 static int snd_aw2_pcm_playback_close(struct snd_pcm_substream *substream) in snd_aw2_pcm_playback_close()
327 static int snd_aw2_pcm_capture_open(struct snd_pcm_substream *substream) in snd_aw2_pcm_capture_open()
[all …]
/linux-6.15/sound/firewire/tascam/
H A 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()
238 static int pcm_capture_ack(struct snd_pcm_substream *substream) in pcm_capture_ack()
[all …]
/linux-6.15/sound/firewire/oxfw/
H A Doxfw-pcm.c110 struct snd_pcm_substream *substream) in init_hw_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()
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()
348 struct snd_pcm_substream *pcm; in pcm_capture_trigger()
366 struct snd_pcm_substream *pcm; in pcm_playback_trigger()
395 static int pcm_capture_ack(struct snd_pcm_substream *substream) in pcm_capture_ack()
[all …]
/linux-6.15/sound/firewire/digi00x/
H A 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()
309 static int pcm_capture_ack(struct snd_pcm_substream *substream) in pcm_capture_ack()
[all …]
/linux-6.15/sound/soc/sof/intel/
H A Dhda-dai-ops.c30 struct snd_pcm_substream *fe_substream; in hda_check_fes()
120 struct snd_pcm_substream *substream) in hda_get_hext_stream()
127 struct snd_pcm_substream *substream) in hda_ipc4_get_hext_stream()
161 struct snd_pcm_substream *substream) in hda_release_hext_stream()
181 struct snd_pcm_substream *substream, in hda_codec_dai_set_stream()
192 struct snd_pcm_substream *substream, in hda_calc_stream_format()
217 struct snd_pcm_substream *substream) in hda_get_hlink()
244 struct snd_pcm_substream *substream, in dmic_calc_stream_format()
273 struct snd_pcm_substream *substream) in ssp_get_hlink()
289 struct snd_pcm_substream *substream) in sdw_get_hlink()
[all …]
/linux-6.15/sound/soc/qcom/
H A Dsdw.h9 int qcom_snd_sdw_startup(struct snd_pcm_substream *substream);
10 int qcom_snd_sdw_prepare(struct snd_pcm_substream *substream,
13 int qcom_snd_sdw_hw_params(struct snd_pcm_substream *substream,
16 int qcom_snd_sdw_hw_free(struct snd_pcm_substream *substream,
/linux-6.15/sound/virtio/
H A Dvirtio_pcm_ops.c96 static int virtsnd_pcm_sync_stop(struct snd_pcm_substream *substream);
105 static int virtsnd_pcm_open(struct snd_pcm_substream *substream) in virtsnd_pcm_open()
135 static int virtsnd_pcm_close(struct snd_pcm_substream *substream) in virtsnd_pcm_close()
214 static int virtsnd_pcm_hw_params(struct snd_pcm_substream *substream, in virtsnd_pcm_hw_params()
252 static int virtsnd_pcm_hw_free(struct snd_pcm_substream *substream) in virtsnd_pcm_hw_free()
270 static int virtsnd_pcm_prepare(struct snd_pcm_substream *substream) in virtsnd_pcm_prepare()
392 static int virtsnd_pcm_sync_stop(struct snd_pcm_substream *substream) in virtsnd_pcm_sync_stop()
444 virtsnd_pcm_pb_pointer(struct snd_pcm_substream *substream) in virtsnd_pcm_pb_pointer()
462 virtsnd_pcm_cp_pointer(struct snd_pcm_substream *substream) in virtsnd_pcm_cp_pointer()
479 static int virtsnd_pcm_pb_ack(struct snd_pcm_substream *substream) in virtsnd_pcm_pb_ack()
[all …]
/linux-6.15/sound/firewire/fireface/
H A 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()
349 static int pcm_capture_ack(struct snd_pcm_substream *substream) in pcm_capture_ack()
[all …]
/linux-6.15/sound/firewire/fireworks/
H A 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()
356 static int pcm_capture_ack(struct snd_pcm_substream *substream) in pcm_capture_ack()
[all …]
/linux-6.15/sound/firewire/motu/
H A 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()
320 static int capture_ack(struct snd_pcm_substream *substream) in capture_ack()
[all …]

12345678910>>...39