Home
last modified time | relevance | path

Searched defs:substream (Results 1 – 25 of 399) sorted by relevance

12345678910>>...16

/sound/core/
Dpcm_native.c96 int snd_pcm_info(struct snd_pcm_substream *substream, struct snd_pcm_info *info) in snd_pcm_info()
123 int snd_pcm_info_user(struct snd_pcm_substream *substream, in snd_pcm_info_user()
164 int snd_pcm_hw_refine(struct snd_pcm_substream *substream, in snd_pcm_hw_refine()
337 static int snd_pcm_hw_refine_user(struct snd_pcm_substream *substream, in snd_pcm_hw_refine_user()
372 static void snd_pcm_set_state(struct snd_pcm_substream *substream, int state) in snd_pcm_set_state()
380 static int snd_pcm_hw_params(struct snd_pcm_substream *substream, in snd_pcm_hw_params()
481 static int snd_pcm_hw_params_user(struct snd_pcm_substream *substream, in snd_pcm_hw_params_user()
501 static int snd_pcm_hw_free(struct snd_pcm_substream *substream) in snd_pcm_hw_free()
528 static int snd_pcm_sw_params(struct snd_pcm_substream *substream, in snd_pcm_sw_params()
577 static int snd_pcm_sw_params_user(struct snd_pcm_substream *substream, in snd_pcm_sw_params_user()
[all …]
Dpcm_memory.c51 static int preallocate_pcm_pages(struct snd_pcm_substream *substream, size_t size) in preallocate_pcm_pages()
81 static void snd_pcm_lib_preallocate_dma_free(struct snd_pcm_substream *substream) in snd_pcm_lib_preallocate_dma_free()
100 int snd_pcm_lib_preallocate_free(struct snd_pcm_substream *substream) in snd_pcm_lib_preallocate_free()
122 struct snd_pcm_substream *substream; in snd_pcm_lib_preallocate_free_for_all() local
142 struct snd_pcm_substream *substream = entry->private_data; in snd_pcm_lib_preallocate_proc_read() local
154 struct snd_pcm_substream *substream = entry->private_data; in snd_pcm_lib_preallocate_max_proc_read() local
166 struct snd_pcm_substream *substream = entry->private_data; in snd_pcm_lib_preallocate_proc_write() local
205 static inline void preallocate_info_init(struct snd_pcm_substream *substream) in preallocate_info_init()
238 static int snd_pcm_lib_preallocate_pages1(struct snd_pcm_substream *substream, in snd_pcm_lib_preallocate_pages1()
270 int snd_pcm_lib_preallocate_pages(struct snd_pcm_substream *substream, in snd_pcm_lib_preallocate_pages()
[all …]
Drawmidi.c81 static inline int snd_rawmidi_ready(struct snd_rawmidi_substream *substream) in snd_rawmidi_ready()
87 static inline int snd_rawmidi_ready_append(struct snd_rawmidi_substream *substream, in snd_rawmidi_ready_append()
103 static int snd_rawmidi_runtime_create(struct snd_rawmidi_substream *substream) in snd_rawmidi_runtime_create()
129 static int snd_rawmidi_runtime_free(struct snd_rawmidi_substream *substream) in snd_rawmidi_runtime_free()
139 static inline void snd_rawmidi_output_trigger(struct snd_rawmidi_substream *substream,int up) in snd_rawmidi_output_trigger()
146 static void snd_rawmidi_input_trigger(struct snd_rawmidi_substream *substream, int up) in snd_rawmidi_input_trigger()
155 int snd_rawmidi_drop_output(struct snd_rawmidi_substream *substream) in snd_rawmidi_drop_output()
169 int snd_rawmidi_drain_output(struct snd_rawmidi_substream *substream) in snd_rawmidi_drain_output()
198 int snd_rawmidi_drain_input(struct snd_rawmidi_substream *substream) in snd_rawmidi_drain_input()
219 struct snd_rawmidi_substream *substream; in assign_substream() local
[all …]
Dpcm_timer.c32 void snd_pcm_timer_resolution_change(struct snd_pcm_substream *substream) in snd_pcm_timer_resolution_change()
65 struct snd_pcm_substream *substream; in snd_pcm_timer_resolution() local
73 struct snd_pcm_substream *substream; in snd_pcm_timer_start() local
82 struct snd_pcm_substream *substream; in snd_pcm_timer_stop() local
105 struct snd_pcm_substream *substream = timer->private_data; in snd_pcm_timer_free() local
109 void snd_pcm_timer_init(struct snd_pcm_substream *substream) in snd_pcm_timer_init()
135 void snd_pcm_timer_done(struct snd_pcm_substream *substream) in snd_pcm_timer_done()
/sound/pci/oxygen/
Doxygen_pcm.c121 oxygen_substream_channel(struct snd_pcm_substream *substream) in oxygen_substream_channel()
126 static int oxygen_open(struct snd_pcm_substream *substream, in oxygen_open()
189 static int oxygen_rec_a_open(struct snd_pcm_substream *substream) in oxygen_rec_a_open()
194 static int oxygen_rec_b_open(struct snd_pcm_substream *substream) in oxygen_rec_b_open()
199 static int oxygen_rec_c_open(struct snd_pcm_substream *substream) in oxygen_rec_c_open()
204 static int oxygen_spdif_open(struct snd_pcm_substream *substream) in oxygen_spdif_open()
209 static int oxygen_multich_open(struct snd_pcm_substream *substream) in oxygen_multich_open()
214 static int oxygen_ac97_open(struct snd_pcm_substream *substream) in oxygen_ac97_open()
219 static int oxygen_close(struct snd_pcm_substream *substream) in oxygen_close()
302 static int oxygen_hw_params(struct snd_pcm_substream *substream, in oxygen_hw_params()
[all …]
/sound/soc/
Dsoc-dmaengine-pcm.c39 const struct snd_pcm_substream *substream) in substream_to_prtd()
44 struct dma_chan *snd_dmaengine_pcm_get_chan(struct snd_pcm_substream *substream) in snd_dmaengine_pcm_get_chan()
61 int snd_hwparams_to_dma_slave_config(const struct snd_pcm_substream *substream, in snd_hwparams_to_dma_slave_config()
115 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() local
147 static int dmaengine_pcm_prepare_and_submit(struct snd_pcm_substream *substream) in dmaengine_pcm_prepare_and_submit()
186 int snd_dmaengine_pcm_trigger(struct snd_pcm_substream *substream, int cmd) in snd_dmaengine_pcm_trigger()
224 snd_pcm_uframes_t snd_dmaengine_pcm_pointer_no_residue(struct snd_pcm_substream *substream) in snd_dmaengine_pcm_pointer_no_residue()
238 snd_pcm_uframes_t snd_dmaengine_pcm_pointer(struct snd_pcm_substream *substream) in snd_dmaengine_pcm_pointer()
290 int snd_dmaengine_pcm_open(struct snd_pcm_substream *substream, in snd_dmaengine_pcm_open()
[all …]
/sound/arm/
Dpxa2xx-pcm-lib.c37 int __pxa2xx_pcm_hw_params(struct snd_pcm_substream *substream, in __pxa2xx_pcm_hw_params()
75 int __pxa2xx_pcm_hw_free(struct snd_pcm_substream *substream) in __pxa2xx_pcm_hw_free()
87 int pxa2xx_pcm_trigger(struct snd_pcm_substream *substream, int cmd) in pxa2xx_pcm_trigger()
121 pxa2xx_pcm_pointer(struct snd_pcm_substream *substream) in pxa2xx_pcm_pointer()
136 int __pxa2xx_pcm_prepare(struct snd_pcm_substream *substream) in __pxa2xx_pcm_prepare()
157 struct snd_pcm_substream *substream = dev_id; in pxa2xx_pcm_dma_irq() local
174 int __pxa2xx_pcm_open(struct snd_pcm_substream *substream) in __pxa2xx_pcm_open()
223 int __pxa2xx_pcm_close(struct snd_pcm_substream *substream) in __pxa2xx_pcm_close()
235 int pxa2xx_pcm_mmap(struct snd_pcm_substream *substream, in pxa2xx_pcm_mmap()
248 struct snd_pcm_substream *substream = pcm->streams[stream].substream; in pxa2xx_pcm_preallocate_dma_buffer() local
[all …]
/sound/soc/nuc900/
Dnuc900-pcm.c45 static int nuc900_dma_hw_params(struct snd_pcm_substream *substream, in nuc900_dma_hw_params()
69 static void nuc900_update_dma_register(struct snd_pcm_substream *substream, in nuc900_update_dma_register()
88 static void nuc900_dma_start(struct snd_pcm_substream *substream) in nuc900_dma_start()
99 static void nuc900_dma_stop(struct snd_pcm_substream *substream) in nuc900_dma_stop()
112 struct snd_pcm_substream *substream = dev_id; in nuc900_dma_interrupt() local
161 static int nuc900_dma_hw_free(struct snd_pcm_substream *substream) in nuc900_dma_hw_free()
167 static int nuc900_dma_prepare(struct snd_pcm_substream *substream) in nuc900_dma_prepare()
207 static int nuc900_dma_trigger(struct snd_pcm_substream *substream, int cmd) in nuc900_dma_trigger()
230 static int nuc900_dma_getposition(struct snd_pcm_substream *substream, in nuc900_dma_getposition()
245 static snd_pcm_uframes_t nuc900_dma_pointer(struct snd_pcm_substream *substream) in nuc900_dma_pointer()
[all …]
/sound/soc/davinci/
Ddavinci-pcm.c151 static void davinci_pcm_period_elapsed(struct snd_pcm_substream *substream) in davinci_pcm_period_elapsed()
161 static void davinci_pcm_period_reset(struct snd_pcm_substream *substream) in davinci_pcm_period_reset()
170 static void davinci_pcm_enqueue_dma(struct snd_pcm_substream *substream) in davinci_pcm_enqueue_dma()
234 struct snd_pcm_substream *substream = data; in davinci_pcm_dma_irq() local
256 static int allocate_sram(struct snd_pcm_substream *substream, in allocate_sram()
289 static void davinci_free_sram(struct snd_pcm_substream *substream, in davinci_free_sram()
298 static int allocate_sram(struct snd_pcm_substream *substream, in allocate_sram()
305 static void davinci_free_sram(struct snd_pcm_substream *substream, in davinci_free_sram()
315 static int ping_pong_dma_setup(struct snd_pcm_substream *substream) in ping_pong_dma_setup()
418 static int request_ping_pong(struct snd_pcm_substream *substream, in request_ping_pong()
[all …]
/sound/drivers/pcsp/
Dpcsp_lib.c31 struct snd_pcm_substream *substream; in pcsp_call_pcm_elapsed() local
47 struct snd_pcm_substream *substream; in pcsp_timer_update() local
89 struct snd_pcm_substream *substream; in pcsp_pointer_update() local
201 static int snd_pcsp_playback_close(struct snd_pcm_substream *substream) in snd_pcsp_playback_close()
212 static int snd_pcsp_playback_hw_params(struct snd_pcm_substream *substream, in snd_pcsp_playback_hw_params()
225 static int snd_pcsp_playback_hw_free(struct snd_pcm_substream *substream) in snd_pcsp_playback_hw_free()
235 static int snd_pcsp_playback_prepare(struct snd_pcm_substream *substream) in snd_pcsp_playback_prepare()
257 static int snd_pcsp_trigger(struct snd_pcm_substream *substream, int cmd) in snd_pcsp_trigger()
277 static snd_pcm_uframes_t snd_pcsp_playback_pointer(struct snd_pcm_substream in snd_pcsp_playback_pointer()
310 static int snd_pcsp_playback_open(struct snd_pcm_substream *substream) in snd_pcsp_playback_open()
/sound/pci/emu10k1/
Demupcm.c91 static snd_pcm_uframes_t snd_emu10k1_efx_playback_pointer(struct snd_pcm_substream *substream) in snd_emu10k1_efx_playback_pointer()
288 struct snd_pcm_substream *substream = evoice->epcm->substream; in snd_emu10k1_pcm_init_voice() local
407 static int snd_emu10k1_playback_hw_params(struct snd_pcm_substream *substream, in snd_emu10k1_playback_hw_params()
435 static int snd_emu10k1_playback_hw_free(struct snd_pcm_substream *substream) in snd_emu10k1_playback_hw_free()
465 static int snd_emu10k1_efx_playback_hw_free(struct snd_pcm_substream *substream) in snd_emu10k1_efx_playback_hw_free()
494 static int snd_emu10k1_playback_prepare(struct snd_pcm_substream *substream) in snd_emu10k1_playback_prepare()
522 static int snd_emu10k1_efx_playback_prepare(struct snd_pcm_substream *substream) in snd_emu10k1_efx_playback_prepare()
578 static int snd_emu10k1_capture_hw_params(struct snd_pcm_substream *substream, in snd_emu10k1_capture_hw_params()
584 static int snd_emu10k1_capture_hw_free(struct snd_pcm_substream *substream) in snd_emu10k1_capture_hw_free()
589 static int snd_emu10k1_capture_prepare(struct snd_pcm_substream *substream) in snd_emu10k1_capture_prepare()
[all …]
/sound/soc/jz4740/
Djz4740-pcm.c63 struct snd_pcm_substream *substream) in jz4740_pcm_start_transfer()
95 struct snd_pcm_substream *substream = dev_id; in jz4740_pcm_dma_transfer_done() local
104 static int jz4740_pcm_hw_params(struct snd_pcm_substream *substream, in jz4740_pcm_hw_params()
143 static int jz4740_pcm_hw_free(struct snd_pcm_substream *substream) in jz4740_pcm_hw_free()
156 static int jz4740_pcm_prepare(struct snd_pcm_substream *substream) in jz4740_pcm_prepare()
168 static int jz4740_pcm_trigger(struct snd_pcm_substream *substream, int cmd) in jz4740_pcm_trigger()
191 static snd_pcm_uframes_t jz4740_pcm_pointer(struct snd_pcm_substream *substream) in jz4740_pcm_pointer()
213 static int jz4740_pcm_open(struct snd_pcm_substream *substream) in jz4740_pcm_open()
229 static int jz4740_pcm_close(struct snd_pcm_substream *substream) in jz4740_pcm_close()
239 static int jz4740_pcm_mmap(struct snd_pcm_substream *substream, in jz4740_pcm_mmap()
[all …]
/sound/soc/samsung/
Ddma.c70 static void dma_enqueue(struct snd_pcm_substream *substream) in dma_enqueue()
116 struct snd_pcm_substream *substream = data; in audio_buffdone() local
138 static int dma_hw_params(struct snd_pcm_substream *substream, in dma_hw_params()
197 static int dma_hw_free(struct snd_pcm_substream *substream) in dma_hw_free()
215 static int dma_prepare(struct snd_pcm_substream *substream) in dma_prepare()
239 static int dma_trigger(struct snd_pcm_substream *substream, int cmd) in dma_trigger()
270 dma_pointer(struct snd_pcm_substream *substream) in dma_pointer()
296 static int dma_open(struct snd_pcm_substream *substream) in dma_open()
316 static int dma_close(struct snd_pcm_substream *substream) in dma_close()
331 static int dma_mmap(struct snd_pcm_substream *substream, in dma_mmap()
[all …]
Didma.c79 static int idma_enqueue(struct snd_pcm_substream *substream) in idma_enqueue()
114 static void idma_setcallbk(struct snd_pcm_substream *substream, in idma_setcallbk()
148 struct snd_pcm_substream *substream = id; in idma_done() local
155 static int idma_hw_params(struct snd_pcm_substream *substream, in idma_hw_params()
181 static int idma_hw_free(struct snd_pcm_substream *substream) in idma_hw_free()
188 static int idma_prepare(struct snd_pcm_substream *substream) in idma_prepare()
201 static int idma_trigger(struct snd_pcm_substream *substream, int cmd) in idma_trigger()
234 idma_pointer(struct snd_pcm_substream *substream) in idma_pointer()
251 static int idma_mmap(struct snd_pcm_substream *substream, in idma_mmap()
298 static int idma_open(struct snd_pcm_substream *substream) in idma_open()
[all …]
/sound/pci/cs5535audio/
Dcs5535audio_pcm.c92 static int snd_cs5535audio_playback_open(struct snd_pcm_substream *substream) in snd_cs5535audio_playback_open()
110 static int snd_cs5535audio_playback_close(struct snd_pcm_substream *substream) in snd_cs5535audio_playback_close()
120 struct snd_pcm_substream *substream, in cs5535audio_build_dma_packets()
238 struct snd_pcm_substream *substream) in cs5535audio_clear_dma_packets()
245 static int snd_cs5535audio_hw_params(struct snd_pcm_substream *substream, in snd_cs5535audio_hw_params()
268 static int snd_cs5535audio_hw_free(struct snd_pcm_substream *substream) in snd_cs5535audio_hw_free()
286 static int snd_cs5535audio_playback_prepare(struct snd_pcm_substream *substream) in snd_cs5535audio_playback_prepare()
293 static int snd_cs5535audio_trigger(struct snd_pcm_substream *substream, int cmd) in snd_cs5535audio_trigger()
328 static snd_pcm_uframes_t snd_cs5535audio_pcm_pointer(struct snd_pcm_substream in snd_cs5535audio_pcm_pointer()
351 static int snd_cs5535audio_capture_open(struct snd_pcm_substream *substream) in snd_cs5535audio_capture_open()
[all …]
/sound/pci/ctxfi/
Dctpcm.c119 static int ct_pcm_playback_open(struct snd_pcm_substream *substream) in ct_pcm_playback_open()
166 static int ct_pcm_playback_close(struct snd_pcm_substream *substream) in ct_pcm_playback_close()
179 static int ct_pcm_hw_params(struct snd_pcm_substream *substream, in ct_pcm_hw_params()
195 static int ct_pcm_hw_free(struct snd_pcm_substream *substream) in ct_pcm_hw_free()
207 static int ct_pcm_playback_prepare(struct snd_pcm_substream *substream) in ct_pcm_playback_prepare()
228 ct_pcm_playback_trigger(struct snd_pcm_substream *substream, int cmd) in ct_pcm_playback_trigger()
253 ct_pcm_playback_pointer(struct snd_pcm_substream *substream) in ct_pcm_playback_pointer()
269 static int ct_pcm_capture_open(struct snd_pcm_substream *substream) in ct_pcm_capture_open()
311 static int ct_pcm_capture_close(struct snd_pcm_substream *substream) in ct_pcm_capture_close()
318 static int ct_pcm_capture_prepare(struct snd_pcm_substream *substream) in ct_pcm_capture_prepare()
[all …]
/sound/usb/caiaq/
Dmidi.c29 static int snd_usb_caiaq_midi_input_open(struct snd_rawmidi_substream *substream) in snd_usb_caiaq_midi_input_open()
34 static int snd_usb_caiaq_midi_input_close(struct snd_rawmidi_substream *substream) in snd_usb_caiaq_midi_input_close()
39 static void snd_usb_caiaq_midi_input_trigger(struct snd_rawmidi_substream *substream, int up) in snd_usb_caiaq_midi_input_trigger()
50 static int snd_usb_caiaq_midi_output_open(struct snd_rawmidi_substream *substream) in snd_usb_caiaq_midi_output_open()
55 static int snd_usb_caiaq_midi_output_close(struct snd_rawmidi_substream *substream) in snd_usb_caiaq_midi_output_close()
66 struct snd_rawmidi_substream *substream) in snd_usb_caiaq_midi_send()
91 static void snd_usb_caiaq_midi_output_trigger(struct snd_rawmidi_substream *substream, int up) in snd_usb_caiaq_midi_output_trigger()
/sound/soc/blackfin/
Dbf5xx-ac97-pcm.c56 static void bf5xx_mmap_copy(struct snd_pcm_substream *substream, in bf5xx_mmap_copy()
120 static int bf5xx_pcm_hw_params(struct snd_pcm_substream *substream, in bf5xx_pcm_hw_params()
131 static int bf5xx_pcm_hw_free(struct snd_pcm_substream *substream) in bf5xx_pcm_hw_free()
151 static int bf5xx_pcm_prepare(struct snd_pcm_substream *substream) in bf5xx_pcm_prepare()
183 static int bf5xx_pcm_trigger(struct snd_pcm_substream *substream, int cmd) in bf5xx_pcm_trigger()
222 static snd_pcm_uframes_t bf5xx_pcm_pointer(struct snd_pcm_substream *substream) in bf5xx_pcm_pointer()
244 static int bf5xx_pcm_open(struct snd_pcm_substream *substream) in bf5xx_pcm_open()
273 static int bf5xx_pcm_mmap(struct snd_pcm_substream *substream, in bf5xx_pcm_mmap()
284 static int bf5xx_pcm_copy(struct snd_pcm_substream *substream, int channel, in bf5xx_pcm_copy()
323 struct snd_pcm_substream *substream = pcm->streams[stream].substream; in bf5xx_pcm_preallocate_dma_buffer() local
[all …]
Dbf5xx-i2s-pcm.c67 static int bf5xx_pcm_hw_params(struct snd_pcm_substream *substream, in bf5xx_pcm_hw_params()
76 static int bf5xx_pcm_hw_free(struct snd_pcm_substream *substream) in bf5xx_pcm_hw_free()
83 static int bf5xx_pcm_prepare(struct snd_pcm_substream *substream) in bf5xx_pcm_prepare()
103 static int bf5xx_pcm_trigger(struct snd_pcm_substream *substream, int cmd) in bf5xx_pcm_trigger()
132 static snd_pcm_uframes_t bf5xx_pcm_pointer(struct snd_pcm_substream *substream) in bf5xx_pcm_pointer()
158 static int bf5xx_pcm_open(struct snd_pcm_substream *substream) in bf5xx_pcm_open()
193 static int bf5xx_pcm_mmap(struct snd_pcm_substream *substream, in bf5xx_pcm_mmap()
218 struct snd_pcm_substream *substream = pcm->streams[stream].substream; in bf5xx_pcm_preallocate_dma_buffer() local
241 struct snd_pcm_substream *substream; in bf5xx_pcm_free_dma_buffers() local
Dbf5xx-tdm-pcm.c71 static int bf5xx_pcm_hw_params(struct snd_pcm_substream *substream, in bf5xx_pcm_hw_params()
80 static int bf5xx_pcm_hw_free(struct snd_pcm_substream *substream) in bf5xx_pcm_hw_free()
87 static int bf5xx_pcm_prepare(struct snd_pcm_substream *substream) in bf5xx_pcm_prepare()
110 static int bf5xx_pcm_trigger(struct snd_pcm_substream *substream, int cmd) in bf5xx_pcm_trigger()
138 static snd_pcm_uframes_t bf5xx_pcm_pointer(struct snd_pcm_substream *substream) in bf5xx_pcm_pointer()
155 static int bf5xx_pcm_open(struct snd_pcm_substream *substream) in bf5xx_pcm_open()
187 static int bf5xx_pcm_copy(struct snd_pcm_substream *substream, int channel, in bf5xx_pcm_copy()
222 static int bf5xx_pcm_silence(struct snd_pcm_substream *substream, in bf5xx_pcm_silence()
247 struct snd_pcm_substream *substream = pcm->streams[stream].substream; in bf5xx_pcm_preallocate_dma_buffer() local
267 struct snd_pcm_substream *substream; in bf5xx_pcm_free_dma_buffers() local
/sound/isa/sb/
Dsb8_midi.c63 static int snd_sb8dsp_midi_input_open(struct snd_rawmidi_substream *substream) in snd_sb8dsp_midi_input_open()
90 static int snd_sb8dsp_midi_output_open(struct snd_rawmidi_substream *substream) in snd_sb8dsp_midi_output_open()
117 static int snd_sb8dsp_midi_input_close(struct snd_rawmidi_substream *substream) in snd_sb8dsp_midi_input_close()
135 static int snd_sb8dsp_midi_output_close(struct snd_rawmidi_substream *substream) in snd_sb8dsp_midi_output_close()
153 static void snd_sb8dsp_midi_input_trigger(struct snd_rawmidi_substream *substream, int up) in snd_sb8dsp_midi_input_trigger()
176 static void snd_sb8dsp_midi_output_write(struct snd_rawmidi_substream *substream) in snd_sb8dsp_midi_output_write()
214 struct snd_rawmidi_substream *substream = (struct snd_rawmidi_substream *) data; in snd_sb8dsp_midi_output_timer() local
225 static void snd_sb8dsp_midi_output_trigger(struct snd_rawmidi_substream *substream, int up) in snd_sb8dsp_midi_output_trigger()
Dsb8_main.c104 static int snd_sb8_playback_prepare(struct snd_pcm_substream *substream) in snd_sb8_playback_prepare()
206 static int snd_sb8_playback_trigger(struct snd_pcm_substream *substream, in snd_sb8_playback_trigger()
242 static int snd_sb8_hw_params(struct snd_pcm_substream *substream, in snd_sb8_hw_params()
248 static int snd_sb8_hw_free(struct snd_pcm_substream *substream) in snd_sb8_hw_free()
254 static int snd_sb8_capture_prepare(struct snd_pcm_substream *substream) in snd_sb8_capture_prepare()
343 static int snd_sb8_capture_trigger(struct snd_pcm_substream *substream, in snd_sb8_capture_trigger()
383 struct snd_pcm_substream *substream; in snd_sb8dsp_interrupt() local
414 static snd_pcm_uframes_t snd_sb8_playback_pointer(struct snd_pcm_substream *substream) in snd_sb8_playback_pointer()
430 static snd_pcm_uframes_t snd_sb8_capture_pointer(struct snd_pcm_substream *substream) in snd_sb8_capture_pointer()
492 static int snd_sb8_open(struct snd_pcm_substream *substream) in snd_sb8_open()
[all …]
/sound/core/oss/
Dpcm_oss.c565 static int snd_pcm_oss_plugin_clear(struct snd_pcm_substream *substream) in snd_pcm_oss_plugin_clear()
611 static long snd_pcm_oss_bytes(struct snd_pcm_substream *substream, long frames) in snd_pcm_oss_bytes()
628 static long snd_pcm_alsa_frames(struct snd_pcm_substream *substream, long bytes) in snd_pcm_alsa_frames()
707 static int snd_pcm_oss_period_size(struct snd_pcm_substream *substream, in snd_pcm_oss_period_size()
797 static int choose_rate(struct snd_pcm_substream *substream, in choose_rate()
837 static int snd_pcm_oss_change_params(struct snd_pcm_substream *substream) in snd_pcm_oss_change_params()
1085 struct snd_pcm_substream *asubstream = NULL, *substream; in snd_pcm_oss_get_active_substream() local
1106 static int snd_pcm_oss_prepare(struct snd_pcm_substream *substream) in snd_pcm_oss_prepare()
1124 static int snd_pcm_oss_make_ready(struct snd_pcm_substream *substream) in snd_pcm_oss_make_ready()
1145 static int snd_pcm_oss_capture_position_fixup(struct snd_pcm_substream *substream, snd_pcm_sframes_… in snd_pcm_oss_capture_position_fixup()
[all …]
/sound/soc/fsl/
Dimx-pcm-fiq.c44 struct snd_pcm_substream *substream; member
52 struct snd_pcm_substream *substream = iprtd->substream; in snd_hrtimer_callback() local
90 static int snd_imx_pcm_hw_params(struct snd_pcm_substream *substream, in snd_imx_pcm_hw_params()
108 static int snd_imx_pcm_prepare(struct snd_pcm_substream *substream) in snd_imx_pcm_prepare()
128 static int snd_imx_pcm_trigger(struct snd_pcm_substream *substream, int cmd) in snd_imx_pcm_trigger()
161 static snd_pcm_uframes_t snd_imx_pcm_pointer(struct snd_pcm_substream *substream) in snd_imx_pcm_pointer()
188 static int snd_imx_open(struct snd_pcm_substream *substream) in snd_imx_open()
216 static int snd_imx_close(struct snd_pcm_substream *substream) in snd_imx_close()
244 struct snd_pcm_substream *substream; in imx_pcm_fiq_new() local
/sound/isa/gus/
Dgus_pcm.c46 struct snd_pcm_substream *substream; member
74 static int snd_gf1_pcm_block_change(struct snd_pcm_substream *substream, in snd_gf1_pcm_block_change()
106 static void snd_gf1_pcm_trigger_up(struct snd_pcm_substream *substream) in snd_gf1_pcm_trigger_up()
356 static int snd_gf1_pcm_playback_copy(struct snd_pcm_substream *substream, in snd_gf1_pcm_playback_copy()
388 static int snd_gf1_pcm_playback_silence(struct snd_pcm_substream *substream, in snd_gf1_pcm_playback_silence()
418 static int snd_gf1_pcm_playback_hw_params(struct snd_pcm_substream *substream, in snd_gf1_pcm_playback_hw_params()
467 static int snd_gf1_pcm_playback_hw_free(struct snd_pcm_substream *substream) in snd_gf1_pcm_playback_hw_free()
488 static int snd_gf1_pcm_playback_prepare(struct snd_pcm_substream *substream) in snd_gf1_pcm_playback_prepare()
500 static int snd_gf1_pcm_playback_trigger(struct snd_pcm_substream *substream, in snd_gf1_pcm_playback_trigger()
526 static snd_pcm_uframes_t snd_gf1_pcm_playback_pointer(struct snd_pcm_substream *substream) in snd_gf1_pcm_playback_pointer()
[all …]

12345678910>>...16