Home
last modified time | relevance | path

Searched refs:snd_pcm_substream (Results 1 - 25 of 1740) sorted by relevance

12345678910>>...70

/kernel/linux/linux-5.10/include/sound/
H A Dpxa2xx-lib.h9 struct snd_pcm_substream;
15 extern int pxa2xx_pcm_hw_params(struct snd_pcm_substream *substream,
17 extern int pxa2xx_pcm_hw_free(struct snd_pcm_substream *substream);
18 extern int pxa2xx_pcm_trigger(struct snd_pcm_substream *substream, int cmd);
19 extern snd_pcm_uframes_t pxa2xx_pcm_pointer(struct snd_pcm_substream *substream);
20 extern int pxa2xx_pcm_prepare(struct snd_pcm_substream *substream);
21 extern int pxa2xx_pcm_open(struct snd_pcm_substream *substream);
22 extern int pxa2xx_pcm_close(struct snd_pcm_substream *substream);
23 extern int pxa2xx_pcm_mmap(struct snd_pcm_substream *substream,
32 struct snd_pcm_substream *substrea
[all...]
H A 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 *substrea
444 struct snd_pcm_substream { global() struct
[all...]
H A Ddmaengine_pcm.h20 snd_pcm_substream_to_dma_direction(const struct snd_pcm_substream *substream) in snd_pcm_substream_to_dma_direction()
28 int snd_hwparams_to_dma_slave_config(const struct snd_pcm_substream *substream,
30 int snd_dmaengine_pcm_trigger(struct snd_pcm_substream *substream, int cmd);
31 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);
34 int snd_dmaengine_pcm_open(struct snd_pcm_substream *substream,
36 int snd_dmaengine_pcm_close(struct snd_pcm_substream *substream);
38 int snd_dmaengine_pcm_open_request_chan(struct snd_pcm_substream *substream,
40 int snd_dmaengine_pcm_close_release_chan(struct snd_pcm_substream *substream);
44 struct dma_chan *snd_dmaengine_pcm_get_chan(struct snd_pcm_substream *substrea
[all...]
H A 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 *substrea
[all...]
H A Dsoc-dai.h17 struct snd_pcm_substream;
149 struct snd_pcm_substream *substream,
152 struct snd_pcm_substream *substream);
154 struct snd_pcm_substream *substream);
156 struct snd_pcm_substream *substream, int rollback);
158 struct snd_pcm_substream *substream);
182 int snd_soc_pcm_dai_prepare(struct snd_pcm_substream *substream);
183 int snd_soc_pcm_dai_trigger(struct snd_pcm_substream *substream, int cmd);
184 int snd_soc_pcm_dai_bespoke_trigger(struct snd_pcm_substream *substream,
256 int (*startup)(struct snd_pcm_substream *,
[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);
23 int snd_soc_link_trigger(struct snd_pcm_substream *substream, int cmd);
/kernel/linux/linux-5.10/sound/core/oss/
H A 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_size);
80 snd_pcm_sframes_t snd_pcm_plug_slave_size(struct snd_pcm_substream *handle, snd_pcm_uframes_t clt_size);
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 *handl
[all...]
/kernel/linux/linux-6.6/sound/core/oss/
H A 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_size);
80 snd_pcm_sframes_t snd_pcm_plug_slave_size(struct snd_pcm_substream *handle, snd_pcm_uframes_t clt_size);
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 *handl
[all...]
/kernel/linux/linux-5.10/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 *substrea
[all...]
H A 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()
182 void snd_pcm_stream_unlock_irqrestore(struct snd_pcm_substream *substream, in snd_pcm_stream_unlock_irqrestore()
193 static int snd_pcm_ops_ioctl(struct snd_pcm_substream *substrea
[all...]
/kernel/linux/linux-6.6/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 *substrea
[all...]
H A 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 *substrea
[all...]
/kernel/linux/linux-6.6/include/sound/
H A 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 *substrea
[all...]
H A Dpcm.h49 struct snd_pcm_substream;
55 int (*open)(struct snd_pcm_substream *substream);
56 int (*close)(struct snd_pcm_substream *substream);
57 int (*ioctl)(struct snd_pcm_substream * substream,
59 int (*hw_params)(struct snd_pcm_substream *substream,
61 int (*hw_free)(struct snd_pcm_substream *substream);
62 int (*prepare)(struct snd_pcm_substream *substream);
63 int (*trigger)(struct snd_pcm_substream *substream, int cmd);
64 int (*sync_stop)(struct snd_pcm_substream *substream);
65 snd_pcm_uframes_t (*pointer)(struct snd_pcm_substream *substrea
447 struct snd_pcm_substream { global() struct
[all...]
H A 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 *substrea
[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,
126 struct snd_pcm_substream *substream);
128 struct snd_pcm_substream *substream);
130 struct snd_pcm_substream *substream, int cmd);
132 struct snd_pcm_substream *substream);
134 struct snd_pcm_substream *substream);
136 struct snd_pcm_substream *substrea
[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,
/kernel/linux/linux-5.10/sound/arm/
H A Dpxa2xx-pcm-lib.c32 int pxa2xx_pcm_hw_params(struct snd_pcm_substream *substream, in pxa2xx_pcm_hw_params()
63 int pxa2xx_pcm_hw_free(struct snd_pcm_substream *substream) in pxa2xx_pcm_hw_free()
70 int pxa2xx_pcm_trigger(struct snd_pcm_substream *substream, int cmd) in pxa2xx_pcm_trigger()
77 pxa2xx_pcm_pointer(struct snd_pcm_substream *substream) in pxa2xx_pcm_pointer()
83 int pxa2xx_pcm_prepare(struct snd_pcm_substream *substream) in pxa2xx_pcm_prepare()
89 int pxa2xx_pcm_open(struct snd_pcm_substream *substream) in pxa2xx_pcm_open()
128 int pxa2xx_pcm_close(struct snd_pcm_substream *substream) in pxa2xx_pcm_close()
134 int pxa2xx_pcm_mmap(struct snd_pcm_substream *substream, in pxa2xx_pcm_mmap()
145 struct snd_pcm_substream *substream = pcm->streams[stream].substream; in pxa2xx_pcm_preallocate_dma_buffer()
161 struct snd_pcm_substream *substrea in pxa2xx_pcm_free_dma_buffers()
[all...]
/kernel/linux/linux-5.10/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_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,
/kernel/linux/linux-6.6/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_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,
/kernel/linux/linux-6.6/sound/arm/
H A 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 *substrea in pxa2xx_soc_pcm_prepare()
[all...]
/kernel/linux/linux-5.10/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,
47 int mtk_memif_set_rate_substream(struct snd_pcm_substream *substream,
/kernel/linux/linux-6.6/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,
47 int mtk_memif_set_rate_substream(struct snd_pcm_substream *substream,
/kernel/linux/linux-6.6/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()
224 static snd_pcm_uframes_t pcm_capture_pointer(struct snd_pcm_substream *sbstr
[all...]
/kernel/linux/linux-5.10/sound/soc/tegra/
H A Dtegra_pcm.h28 struct snd_pcm_substream *substream);
30 struct snd_pcm_substream *substream);
32 struct snd_pcm_substream *substream,
35 struct snd_pcm_substream *substream);
37 struct snd_pcm_substream *substream,
40 struct snd_pcm_substream *substream);

Completed in 15 milliseconds

12345678910>>...70