Searched refs:substream (Results 201 - 225 of 947) sorted by relevance

1234567891011>>

/linux-master/sound/soc/amd/ps/
H A Dps-pdm-dma.c183 struct snd_pcm_substream *substream)
190 runtime = substream->runtime;
196 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
209 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
210 adata->capture_stream = substream;
218 struct snd_pcm_substream *substream,
224 rtd = substream->runtime->private_data;
229 rtd->dma_addr = substream->runtime->dma_addr;
231 acp63_config_dma(rtd, substream->stream);
278 struct snd_pcm_substream *substream)
182 acp63_pdm_dma_open(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
217 acp63_pdm_dma_hw_params(struct snd_soc_component *component, struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params) argument
277 acp63_pdm_dma_close(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
289 acp63_pdm_dai_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) argument
[all...]
/linux-master/sound/hda/ext/
H A Dhdac_ext_stream.c258 struct snd_pcm_substream *substream)
273 if (hstream->direction != substream->stream)
286 res->link_substream = substream;
294 struct snd_pcm_substream *substream)
309 if (hstream->direction != substream->stream)
321 res->hstream.substream = substream;
331 * @substream: PCM substream to assign
335 * given PCM substream, assign
257 hdac_ext_link_dma_stream_assign(struct hdac_bus *bus, struct snd_pcm_substream *substream) argument
293 hdac_ext_host_dma_stream_assign(struct hdac_bus *bus, struct snd_pcm_substream *substream) argument
345 snd_hdac_ext_stream_assign(struct hdac_bus *bus, struct snd_pcm_substream *substream, int type) argument
[all...]
/linux-master/sound/pci/trident/
H A Dtrident_main.c36 struct snd_pcm_substream *substream);
39 struct snd_pcm_substream *substream);
743 substream - PCM substream
748 static unsigned int snd_trident_control_mode(struct snd_pcm_substream *substream) argument
751 struct snd_pcm_runtime *runtime = substream->runtime;
773 Description: Allocate PCM ring buffer for given substream
775 Parameters: substream - PCM substream class
782 static int snd_trident_allocate_pcm_mem(struct snd_pcm_substream *substream, argument
813 snd_trident_allocate_evoice(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *hw_params) argument
853 snd_trident_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *hw_params) argument
875 snd_trident_hw_free(struct snd_pcm_substream *substream) argument
906 snd_trident_playback_prepare(struct snd_pcm_substream *substream) argument
992 snd_trident_capture_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *hw_params) argument
1009 snd_trident_capture_prepare(struct snd_pcm_substream *substream) argument
1101 snd_trident_si7018_capture_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *hw_params) argument
1118 snd_trident_si7018_capture_hw_free(struct snd_pcm_substream *substream) argument
1143 snd_trident_si7018_capture_prepare(struct snd_pcm_substream *substream) argument
1214 snd_trident_foldback_prepare(struct snd_pcm_substream *substream) argument
1292 snd_trident_spdif_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *hw_params) argument
1357 snd_trident_spdif_prepare(struct snd_pcm_substream *substream) argument
1496 snd_trident_trigger(struct snd_pcm_substream *substream, int cmd) argument
1595 snd_trident_playback_pointer(struct snd_pcm_substream *substream) argument
1634 snd_trident_capture_pointer(struct snd_pcm_substream *substream) argument
1664 snd_trident_spdif_pointer(struct snd_pcm_substream *substream) argument
1809 snd_trident_playback_open(struct snd_pcm_substream *substream) argument
1837 snd_trident_playback_close(struct snd_pcm_substream *substream) argument
1858 snd_trident_spdif_open(struct snd_pcm_substream *substream) argument
1899 snd_trident_spdif_close(struct snd_pcm_substream *substream) argument
1937 snd_trident_capture_open(struct snd_pcm_substream *substream) argument
1965 snd_trident_capture_close(struct snd_pcm_substream *substream) argument
1981 snd_trident_foldback_open(struct snd_pcm_substream *substream) argument
2008 snd_trident_foldback_close(struct snd_pcm_substream *substream) argument
2144 struct snd_pcm_substream *substream; local
2178 struct snd_pcm_substream *substream; local
2870 snd_trident_pcm_mixer_build(struct snd_trident *trident, struct snd_trident_voice *voice, struct snd_pcm_substream *substream) argument
2888 snd_trident_pcm_mixer_free(struct snd_trident *trident, struct snd_trident_voice *voice, struct snd_pcm_substream *substream) argument
[all...]
/linux-master/sound/pci/cs46xx/
H A Dcs46xx_lib.c864 static void snd_cs46xx_pb_trans_copy(struct snd_pcm_substream *substream, argument
867 struct snd_pcm_runtime *runtime = substream->runtime;
872 static int snd_cs46xx_playback_transfer(struct snd_pcm_substream *substream) argument
874 struct snd_pcm_runtime *runtime = substream->runtime;
876 return snd_pcm_indirect_playback_transfer(substream, &cpcm->pcm_rec,
880 static void snd_cs46xx_cp_trans_copy(struct snd_pcm_substream *substream, argument
883 struct snd_cs46xx *chip = snd_pcm_substream_chip(substream);
884 struct snd_pcm_runtime *runtime = substream->runtime;
889 static int snd_cs46xx_capture_transfer(struct snd_pcm_substream *substream) argument
891 struct snd_cs46xx *chip = snd_pcm_substream_chip(substream);
896 snd_cs46xx_playback_direct_pointer(struct snd_pcm_substream *substream) argument
914 snd_cs46xx_playback_indirect_pointer(struct snd_pcm_substream *substream) argument
931 snd_cs46xx_capture_direct_pointer(struct snd_pcm_substream *substream) argument
938 snd_cs46xx_capture_indirect_pointer(struct snd_pcm_substream *substream) argument
945 snd_cs46xx_playback_trigger(struct snd_pcm_substream *substream, int cmd) argument
1010 snd_cs46xx_capture_trigger(struct snd_pcm_substream *substream, int cmd) argument
1079 snd_cs46xx_playback_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *hw_params) argument
1179 snd_cs46xx_playback_hw_free(struct snd_pcm_substream *substream) argument
1199 snd_cs46xx_playback_prepare(struct snd_pcm_substream *substream) argument
1270 snd_cs46xx_capture_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *hw_params) argument
1297 snd_cs46xx_capture_hw_free(struct snd_pcm_substream *substream) argument
1309 snd_cs46xx_capture_prepare(struct snd_pcm_substream *substream) argument
1477 _cs46xx_playback_open_channel(struct snd_pcm_substream *substream,int pcm_channel_id) argument
1519 snd_cs46xx_playback_open(struct snd_pcm_substream *substream) argument
1526 snd_cs46xx_playback_open_rear(struct snd_pcm_substream *substream) argument
1532 snd_cs46xx_playback_open_clfe(struct snd_pcm_substream *substream) argument
1538 snd_cs46xx_playback_open_iec958(struct snd_pcm_substream *substream) argument
1553 snd_cs46xx_playback_close_iec958(struct snd_pcm_substream *substream) argument
1570 snd_cs46xx_capture_open(struct snd_pcm_substream *substream) argument
1593 snd_cs46xx_playback_close(struct snd_pcm_substream *substream) argument
1622 snd_cs46xx_capture_close(struct snd_pcm_substream *substream) argument
2530 snd_cs46xx_midi_input_open(struct snd_rawmidi_substream *substream) argument
2548 snd_cs46xx_midi_input_close(struct snd_rawmidi_substream *substream) argument
2566 snd_cs46xx_midi_output_open(struct snd_rawmidi_substream *substream) argument
2585 snd_cs46xx_midi_output_close(struct snd_rawmidi_substream *substream) argument
2603 snd_cs46xx_midi_input_trigger(struct snd_rawmidi_substream *substream, int up) argument
2623 snd_cs46xx_midi_output_trigger(struct snd_rawmidi_substream *substream, int up) argument
[all...]
/linux-master/sound/soc/mediatek/mt2701/
H A Dmt2701-afe-pcm.c106 static int mt2701_afe_i2s_startup(struct snd_pcm_substream *substream, argument
141 static void mt2701_afe_i2s_shutdown(struct snd_pcm_substream *substream, argument
155 if (i2s_path->occupied[substream->stream])
156 i2s_path->occupied[substream->stream] = 0;
160 mt2701_afe_i2s_path_disable(afe, i2s_path, substream->stream);
163 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
164 mt2701_afe_i2s_path_disable(afe, i2s_path, !substream->stream);
229 static int mt2701_afe_i2s_prepare(struct snd_pcm_substream *substream, argument
243 if (i2s_path->occupied[substream->stream])
250 i2s_path->occupied[substream
285 mt2701_btmrg_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) argument
301 mt2701_btmrg_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) argument
343 mt2701_btmrg_shutdown(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) argument
363 mt2701_simple_fe_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) argument
382 mt2701_simple_fe_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) argument
399 mt2701_dlm_fe_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) argument
425 mt2701_dlm_fe_shutdown(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) argument
443 mt2701_dlm_fe_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) argument
466 mt2701_dlm_fe_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) argument
492 mt2701_memif_fs(struct snd_pcm_substream *substream, unsigned int rate) argument
506 mt2701_irq_fs(struct snd_pcm_substream *substream, unsigned int rate) argument
[all...]
/linux-master/sound/pci/
H A Dvia82xx.c313 struct snd_pcm_substream *substream; member in struct:viadev
408 static int build_via_table(struct viadev *dev, struct snd_pcm_substream *substream, argument
413 struct via82xx *chip = snd_pcm_substream_chip(substream);
452 addr = snd_pcm_sgbuf_get_addr(substream, ofs);
454 r = snd_pcm_sgbuf_get_chunk_size(substream, ofs, rest);
483 static int clean_via_table(struct viadev *dev, struct snd_pcm_substream *substream, argument
637 if (viadev->substream && viadev->running) {
649 snd_pcm_period_elapsed(viadev->substream);
675 struct snd_pcm_substream *substream; local
685 substream
720 snd_via82xx_pcm_trigger(struct snd_pcm_substream *substream, int cmd) argument
825 snd_via686_pcm_pointer(struct snd_pcm_substream *substream) argument
856 snd_via8233_pcm_pointer(struct snd_pcm_substream *substream) argument
917 snd_via82xx_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *hw_params) argument
932 snd_via82xx_hw_free(struct snd_pcm_substream *substream) argument
970 snd_via686_playback_prepare(struct snd_pcm_substream *substream) argument
982 snd_via686_capture_prepare(struct snd_pcm_substream *substream) argument
1016 snd_via8233_playback_prepare(struct snd_pcm_substream *substream) argument
1059 snd_via8233_multi_prepare(struct snd_pcm_substream *substream) argument
1108 snd_via8233_capture_prepare(struct snd_pcm_substream *substream) argument
1158 snd_via82xx_pcm_open(struct via82xx *chip, struct viadev *viadev, struct snd_pcm_substream *substream) argument
1220 snd_via686_playback_open(struct snd_pcm_substream *substream) argument
1235 snd_via8233_playback_open(struct snd_pcm_substream *substream) argument
1264 snd_via8233_multi_open(struct snd_pcm_substream *substream) argument
1295 snd_via82xx_capture_open(struct snd_pcm_substream *substream) argument
1306 snd_via82xx_pcm_close(struct snd_pcm_substream *substream) argument
1335 snd_via8233_playback_close(struct snd_pcm_substream *substream) argument
[all...]
H A Dals4000.c356 static int snd_als4000_capture_prepare(struct snd_pcm_substream *substream) argument
358 struct snd_sb *chip = snd_pcm_substream_chip(substream);
359 struct snd_pcm_runtime *runtime = substream->runtime;
365 size = snd_pcm_lib_buffer_bytes(substream);
366 count = snd_pcm_lib_period_bytes(substream);
383 static int snd_als4000_playback_prepare(struct snd_pcm_substream *substream) argument
385 struct snd_sb *chip = snd_pcm_substream_chip(substream);
386 struct snd_pcm_runtime *runtime = substream->runtime;
392 size = snd_pcm_lib_buffer_bytes(substream);
393 count = snd_pcm_lib_period_bytes(substream);
421 snd_als4000_capture_trigger(struct snd_pcm_substream *substream, int cmd) argument
454 snd_als4000_playback_trigger(struct snd_pcm_substream *substream, int cmd) argument
479 snd_als4000_capture_pointer(struct snd_pcm_substream *substream) argument
491 snd_als4000_playback_pointer(struct snd_pcm_substream *substream) argument
608 snd_als4000_playback_open(struct snd_pcm_substream *substream) argument
618 snd_als4000_playback_close(struct snd_pcm_substream *substream) argument
626 snd_als4000_capture_open(struct snd_pcm_substream *substream) argument
636 snd_als4000_capture_close(struct snd_pcm_substream *substream) argument
[all...]
/linux-master/sound/soc/mediatek/mt6797/
H A Dmt6797-dai-hostless.c37 static int mtk_dai_hostless_startup(struct snd_pcm_substream *substream, argument
42 return snd_soc_set_runtime_hwparams(substream, afe->mtk_afe_hardware);
/linux-master/sound/soc/mediatek/mt8183/
H A Dmt8183-dai-hostless.c37 static int mtk_dai_hostless_startup(struct snd_pcm_substream *substream, argument
42 return snd_soc_set_runtime_hwparams(substream, afe->mtk_afe_hardware);
/linux-master/sound/isa/sb/
H A Dsb16_main.c235 static int snd_sb16_playback_prepare(struct snd_pcm_substream *substream) argument
238 struct snd_sb *chip = snd_pcm_substream_chip(substream);
239 struct snd_pcm_runtime *runtime = substream->runtime;
251 size = chip->p_dma_size = snd_pcm_lib_buffer_bytes(substream);
255 count = snd_pcm_lib_period_bytes(substream);
277 static int snd_sb16_playback_trigger(struct snd_pcm_substream *substream, argument
280 struct snd_sb *chip = snd_pcm_substream_chip(substream);
305 static int snd_sb16_capture_prepare(struct snd_pcm_substream *substream) argument
308 struct snd_sb *chip = snd_pcm_substream_chip(substream);
309 struct snd_pcm_runtime *runtime = substream
346 snd_sb16_capture_trigger(struct snd_pcm_substream *substream, int cmd) argument
426 snd_sb16_playback_pointer(struct snd_pcm_substream *substream) argument
437 snd_sb16_capture_pointer(struct snd_pcm_substream *substream) argument
492 snd_sb16_playback_open(struct snd_pcm_substream *substream) argument
554 snd_sb16_playback_close(struct snd_pcm_substream *substream) argument
567 snd_sb16_capture_open(struct snd_pcm_substream *substream) argument
629 snd_sb16_capture_close(struct snd_pcm_substream *substream) argument
[all...]
/linux-master/sound/isa/ad1816a/
H A Dad1816a_lib.c196 static int snd_ad1816a_playback_trigger(struct snd_pcm_substream *substream, int cmd) argument
198 struct snd_ad1816a *chip = snd_pcm_substream_chip(substream);
203 static int snd_ad1816a_capture_trigger(struct snd_pcm_substream *substream, int cmd) argument
205 struct snd_ad1816a *chip = snd_pcm_substream_chip(substream);
210 static int snd_ad1816a_playback_prepare(struct snd_pcm_substream *substream) argument
212 struct snd_ad1816a *chip = snd_pcm_substream_chip(substream);
214 struct snd_pcm_runtime *runtime = substream->runtime;
219 chip->p_dma_size = size = snd_pcm_lib_buffer_bytes(substream);
236 snd_pcm_lib_period_bytes(substream) / 4 - 1);
242 static int snd_ad1816a_capture_prepare(struct snd_pcm_substream *substream) argument
275 snd_ad1816a_playback_pointer(struct snd_pcm_substream *substream) argument
285 snd_ad1816a_capture_pointer(struct snd_pcm_substream *substream) argument
424 snd_ad1816a_playback_open(struct snd_pcm_substream *substream) argument
440 snd_ad1816a_capture_open(struct snd_pcm_substream *substream) argument
456 snd_ad1816a_playback_close(struct snd_pcm_substream *substream) argument
465 snd_ad1816a_capture_close(struct snd_pcm_substream *substream) argument
[all...]
/linux-master/sound/soc/codecs/
H A Dsdw-mockup.c49 static void sdw_mockup_shutdown(struct snd_pcm_substream *substream, argument
52 snd_soc_dai_set_dma_data(dai, substream, NULL);
55 static int sdw_mockup_pcm_hw_params(struct snd_pcm_substream *substream, argument
63 struct sdw_stream_runtime *sdw_stream = snd_soc_dai_get_dma_data(dai, substream);
73 snd_sdw_params_to_config(substream, params, &stream_config, &port_config);
75 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
88 static int sdw_mockup_pcm_hw_free(struct snd_pcm_substream *substream, argument
93 struct sdw_stream_runtime *sdw_stream = snd_soc_dai_get_dma_data(dai, substream);
/linux-master/sound/atmel/
H A Dac97c.c85 static int atmel_ac97c_playback_open(struct snd_pcm_substream *substream) argument
87 struct atmel_ac97c *chip = snd_pcm_substream_chip(substream);
88 struct snd_pcm_runtime *runtime = substream->runtime;
100 chip->playback_substream = substream;
104 static int atmel_ac97c_capture_open(struct snd_pcm_substream *substream) argument
106 struct atmel_ac97c *chip = snd_pcm_substream_chip(substream);
107 struct snd_pcm_runtime *runtime = substream->runtime;
119 chip->capture_substream = substream;
123 static int atmel_ac97c_playback_close(struct snd_pcm_substream *substream) argument
125 struct atmel_ac97c *chip = snd_pcm_substream_chip(substream);
140 atmel_ac97c_capture_close(struct snd_pcm_substream *substream) argument
157 atmel_ac97c_playback_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *hw_params) argument
171 atmel_ac97c_capture_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *hw_params) argument
185 atmel_ac97c_playback_prepare(struct snd_pcm_substream *substream) argument
267 atmel_ac97c_capture_prepare(struct snd_pcm_substream *substream) argument
350 atmel_ac97c_playback_trigger(struct snd_pcm_substream *substream, int cmd) argument
381 atmel_ac97c_capture_trigger(struct snd_pcm_substream *substream, int cmd) argument
413 atmel_ac97c_playback_pointer(struct snd_pcm_substream *substream) argument
430 atmel_ac97c_capture_pointer(struct snd_pcm_substream *substream) argument
[all...]
/linux-master/sound/soc/samsung/
H A Dodroid.c25 static int odroid_card_fe_startup(struct snd_pcm_substream *substream) argument
27 struct snd_pcm_runtime *runtime = substream->runtime;
34 static int odroid_card_fe_hw_params(struct snd_pcm_substream *substream, argument
37 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
55 static int odroid_card_be_hw_params(struct snd_pcm_substream *substream, argument
58 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
115 static int odroid_card_be_trigger(struct snd_pcm_substream *substream, int cmd) argument
117 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
/linux-master/sound/pci/ctxfi/
H A Dcttimer.c34 struct snd_pcm_substream *substream; member in struct:ct_timer_instance
66 struct snd_pcm_substream *substream = ti->substream; local
67 struct snd_pcm_runtime *runtime = substream->runtime;
74 position = substream->ops->pointer(substream);
98 struct snd_pcm_runtime *runtime = ti->substream->runtime;
202 period_size = ti->substream->runtime->period_size;
203 rate = ti->substream->runtime->rate;
204 pos = ti->substream
[all...]
/linux-master/sound/drivers/mpu401/
H A Dmpu401_uart.c268 static int snd_mpu401_uart_input_open(struct snd_rawmidi_substream *substream) argument
273 mpu = substream->rmidi->private_data;
283 mpu->substream_input = substream;
293 static int snd_mpu401_uart_output_open(struct snd_rawmidi_substream *substream) argument
298 mpu = substream->rmidi->private_data;
308 mpu->substream_output = substream;
318 static int snd_mpu401_uart_input_close(struct snd_rawmidi_substream *substream) argument
323 mpu = substream->rmidi->private_data;
335 static int snd_mpu401_uart_output_close(struct snd_rawmidi_substream *substream) argument
340 mpu = substream
356 snd_mpu401_uart_input_trigger(struct snd_rawmidi_substream *substream, int up) argument
443 snd_mpu401_uart_output_trigger(struct snd_rawmidi_substream *substream, int up) argument
[all...]
/linux-master/sound/soc/amd/renoir/
H A Dacp3x-pdm-dma.c205 struct snd_pcm_substream *substream)
212 runtime = substream->runtime;
218 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
231 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
232 adata->capture_stream = substream;
240 struct snd_pcm_substream *substream,
246 rtd = substream->runtime->private_data;
251 rtd->dma_addr = substream->runtime->dma_addr;
253 config_acp_dma(rtd, substream->stream);
301 struct snd_pcm_substream *substream)
204 acp_pdm_dma_open(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
239 acp_pdm_dma_hw_params(struct snd_soc_component *component, struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params) argument
300 acp_pdm_dma_close(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
310 acp_pdm_dai_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) argument
[all...]
/linux-master/sound/soc/amd/yc/
H A Dacp6x-pdm-dma.c181 struct snd_pcm_substream *substream)
188 runtime = substream->runtime;
194 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
207 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
208 adata->capture_stream = substream;
216 struct snd_pcm_substream *substream,
222 rtd = substream->runtime->private_data;
227 rtd->dma_addr = substream->runtime->dma_addr;
229 acp6x_config_dma(rtd, substream->stream);
275 struct snd_pcm_substream *substream)
180 acp6x_pdm_dma_open(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
215 acp6x_pdm_dma_hw_params(struct snd_soc_component *component, struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params) argument
274 acp6x_pdm_dma_close(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
284 acp6x_pdm_dai_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) argument
[all...]
/linux-master/sound/soc/amd/acp/
H A Dacp-legacy-common.c45 static void set_acp_pdm_ring_buffer(struct snd_pcm_substream *substream, argument
48 struct snd_pcm_runtime *runtime = substream->runtime;
66 static void set_acp_pdm_clk(struct snd_pcm_substream *substream, argument
78 set_acp_pdm_ring_buffer(substream, dai);
81 void restore_acp_pdm_params(struct snd_pcm_substream *substream, argument
88 soc_runtime = snd_soc_substream_to_rtd(substream);
98 set_acp_pdm_clk(substream, dai);
102 static int set_acp_i2s_dma_fifo(struct snd_pcm_substream *substream, argument
108 struct acp_stream *stream = substream->runtime->private_data;
111 unsigned int dir = substream
192 restore_acp_i2s_params(struct snd_pcm_substream *substream, struct acp_dev_data *adata, struct acp_stream *stream) argument
[all...]
/linux-master/sound/soc/amd/vangogh/
H A Dacp5x-mach.c144 static int acp5x_8821_startup(struct snd_pcm_substream *substream) argument
146 struct snd_pcm_runtime *runtime = substream->runtime;
147 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
158 snd_pcm_hw_constraint_list(substream->runtime, 0,
165 static int acp5x_nau8821_hw_params(struct snd_pcm_substream *substream, argument
168 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
198 static int acp5x_cs35l41_startup(struct snd_pcm_substream *substream) argument
200 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
202 struct snd_pcm_runtime *runtime = substream->runtime;
215 static int acp5x_cs35l41_hw_params(struct snd_pcm_substream *substream, argument
335 acp5x_max98388_startup(struct snd_pcm_substream *substream) argument
[all...]
/linux-master/sound/firewire/tascam/
H A Dtascam.h60 struct snd_rawmidi_substream *substream; member in struct:snd_fw_async_midi_port
184 struct snd_rawmidi_substream *substream)
187 port->substream = substream;
195 port->substream = NULL;
183 snd_fw_async_midi_port_run(struct snd_fw_async_midi_port *port, struct snd_rawmidi_substream *substream) argument
/linux-master/sound/soc/meson/
H A Daiu-encoder-spdif.c47 aiu_encoder_spdif_trigger(struct snd_pcm_substream *substream, int cmd, argument
95 static int aiu_encoder_spdif_hw_params(struct snd_pcm_substream *substream, argument
155 static int aiu_encoder_spdif_hw_free(struct snd_pcm_substream *substream, argument
165 static int aiu_encoder_spdif_startup(struct snd_pcm_substream *substream, argument
195 static void aiu_encoder_spdif_shutdown(struct snd_pcm_substream *substream, argument
/linux-master/sound/soc/xilinx/
H A Dxlnx_formatter_pcm.c328 struct snd_pcm_substream *substream)
334 struct snd_pcm_runtime *runtime = substream->runtime;
337 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK &&
340 else if (substream->stream == SNDRV_PCM_STREAM_CAPTURE &&
348 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
355 adata->play_stream = substream;
364 adata->capture_stream = substream;
376 substream->stream, stream_data->interleaved,
379 snd_soc_set_runtime_hwparams(substream, &xlnx_pcm_hardware);
420 struct snd_pcm_substream *substream)
327 xlnx_formatter_pcm_open(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
419 xlnx_formatter_pcm_close(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
439 xlnx_formatter_pcm_pointer(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
454 xlnx_formatter_pcm_hw_params(struct snd_soc_component *component, struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params) argument
539 xlnx_formatter_pcm_trigger(struct snd_soc_component *component, struct snd_pcm_substream *substream, int cmd) argument
[all...]
/linux-master/sound/core/oss/
H A Dpcm_plugin.h109 int snd_pcm_plug_format_plugins(struct snd_pcm_substream *substream,
152 snd_pcm_sframes_t snd_pcm_oss_write3(struct snd_pcm_substream *substream,
155 snd_pcm_sframes_t snd_pcm_oss_read3(struct snd_pcm_substream *substream,
157 snd_pcm_sframes_t snd_pcm_oss_writev3(struct snd_pcm_substream *substream,
159 snd_pcm_sframes_t snd_pcm_oss_readv3(struct snd_pcm_substream *substream,
/linux-master/sound/soc/ux500/
H A Dux500_msp_dai.c298 static int setup_msp_config(struct snd_pcm_substream *substream, argument
304 struct snd_pcm_runtime *runtime = substream->runtime;
315 msp_config->direction = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ?
380 static int ux500_msp_dai_startup(struct snd_pcm_substream *substream, argument
387 snd_pcm_stream_str(substream));
421 static void ux500_msp_dai_shutdown(struct snd_pcm_substream *substream, argument
426 bool is_playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK);
429 snd_pcm_stream_str(substream));
441 __func__, dai->id, snd_pcm_stream_str(substream));
456 static int ux500_msp_dai_prepare(struct snd_pcm_substream *substream, argument
494 ux500_msp_dai_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) argument
640 ux500_msp_dai_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) argument
[all...]

Completed in 236 milliseconds

1234567891011>>