/linux/sound/soc/mediatek/mt2701/ |
H A D | mt2701-afe-pcm.c | 106 static int mt2701_afe_i2s_startup(struct snd_pcm_substream *substream, in mt2701_afe_i2s_startup() 141 static void mt2701_afe_i2s_shutdown(struct snd_pcm_substream *substream, in mt2701_afe_i2s_shutdown() 229 static int mt2701_afe_i2s_prepare(struct snd_pcm_substream *substream, in mt2701_afe_i2s_prepare() 285 static int mt2701_btmrg_startup(struct snd_pcm_substream *substream, in mt2701_btmrg_startup() 301 static int mt2701_btmrg_hw_params(struct snd_pcm_substream *substream, in mt2701_btmrg_hw_params() 343 static void mt2701_btmrg_shutdown(struct snd_pcm_substream *substream, in mt2701_btmrg_shutdown() 363 static int mt2701_simple_fe_startup(struct snd_pcm_substream *substream, in mt2701_simple_fe_startup() 382 static int mt2701_simple_fe_hw_params(struct snd_pcm_substream *substream, in mt2701_simple_fe_hw_params() 399 static int mt2701_dlm_fe_startup(struct snd_pcm_substream *substream, in mt2701_dlm_fe_startup() 425 static void mt2701_dlm_fe_shutdown(struct snd_pcm_substream *substream, in mt2701_dlm_fe_shutdown() [all …]
|
/linux/sound/isa/wavefront/ |
H A D | wavefront_midi.c | 90 get_wavefront_midi (struct snd_rawmidi_substream *substream) in get_wavefront_midi() 229 static int snd_wavefront_midi_input_open(struct snd_rawmidi_substream *substream) in snd_wavefront_midi_input_open() 254 static int snd_wavefront_midi_output_open(struct snd_rawmidi_substream *substream) in snd_wavefront_midi_output_open() 279 static int snd_wavefront_midi_input_close(struct snd_rawmidi_substream *substream) in snd_wavefront_midi_input_close() 303 static int snd_wavefront_midi_output_close(struct snd_rawmidi_substream *substream) in snd_wavefront_midi_output_close() 326 static void snd_wavefront_midi_input_trigger(struct snd_rawmidi_substream *substream, int up) in snd_wavefront_midi_input_trigger() 365 static void snd_wavefront_midi_output_trigger(struct snd_rawmidi_substream *substream, int up) in snd_wavefront_midi_output_trigger() 410 static struct snd_rawmidi_substream *substream = NULL; in snd_wavefront_midi_interrupt() local
|
/linux/drivers/media/pci/ivtv/ |
H A D | ivtv-alsa-pcm.c | 58 struct snd_pcm_substream *substream; in ivtv_alsa_announce_pcm_data() local 131 static int snd_ivtv_pcm_capture_open(struct snd_pcm_substream *substream) in snd_ivtv_pcm_capture_open() 186 static int snd_ivtv_pcm_capture_close(struct snd_pcm_substream *substream) in snd_ivtv_pcm_capture_close() 207 static int snd_ivtv_pcm_prepare(struct snd_pcm_substream *substream) in snd_ivtv_pcm_prepare() 217 static int snd_ivtv_pcm_trigger(struct snd_pcm_substream *substream, int cmd) in snd_ivtv_pcm_trigger() 223 snd_pcm_uframes_t snd_ivtv_pcm_pointer(struct snd_pcm_substream *substream) in snd_ivtv_pcm_pointer()
|
/linux/sound/pci/echoaudio/ |
H A D | midi.c | 154 static int snd_echo_midi_input_open(struct snd_rawmidi_substream *substream) in snd_echo_midi_input_open() 164 static void snd_echo_midi_input_trigger(struct snd_rawmidi_substream *substream, in snd_echo_midi_input_trigger() 179 static int snd_echo_midi_input_close(struct snd_rawmidi_substream *substream) in snd_echo_midi_input_close() 189 static int snd_echo_midi_output_open(struct snd_rawmidi_substream *substream) in snd_echo_midi_output_open() 250 static void snd_echo_midi_output_trigger(struct snd_rawmidi_substream *substream, in snd_echo_midi_output_trigger() 280 static int snd_echo_midi_output_close(struct snd_rawmidi_substream *substream) in snd_echo_midi_output_close()
|
/linux/sound/isa/gus/ |
H A D | gus_uart.c | 78 static int snd_gf1_uart_output_open(struct snd_rawmidi_substream *substream) in snd_gf1_uart_output_open() 99 static int snd_gf1_uart_input_open(struct snd_rawmidi_substream *substream) in snd_gf1_uart_input_open() 131 static int snd_gf1_uart_output_close(struct snd_rawmidi_substream *substream) in snd_gf1_uart_output_close() 146 static int snd_gf1_uart_input_close(struct snd_rawmidi_substream *substream) in snd_gf1_uart_input_close() 161 static void snd_gf1_uart_input_trigger(struct snd_rawmidi_substream *substream, int up) in snd_gf1_uart_input_trigger() 179 static void snd_gf1_uart_output_trigger(struct snd_rawmidi_substream *substream, int up) in snd_gf1_uart_output_trigger()
|
/linux/drivers/media/pci/cx18/ |
H A D | cx18-alsa-pcm.c | 61 struct snd_pcm_substream *substream; in cx18_alsa_announce_pcm_data() local 134 static int snd_cx18_pcm_capture_open(struct snd_pcm_substream *substream) in snd_cx18_pcm_capture_open() 182 static int snd_cx18_pcm_capture_close(struct snd_pcm_substream *substream) in snd_cx18_pcm_capture_close() 203 static int snd_cx18_pcm_prepare(struct snd_pcm_substream *substream) in snd_cx18_pcm_prepare() 213 static int snd_cx18_pcm_trigger(struct snd_pcm_substream *substream, int cmd) in snd_cx18_pcm_trigger() 219 snd_pcm_uframes_t snd_cx18_pcm_pointer(struct snd_pcm_substream *substream) in snd_cx18_pcm_pointer()
|
/linux/sound/pci/aw2/ |
H A D | aw2-alsa.c | 310 static int snd_aw2_pcm_playback_open(struct snd_pcm_substream *substream) in snd_aw2_pcm_playback_open() 320 static int snd_aw2_pcm_playback_close(struct snd_pcm_substream *substream) in snd_aw2_pcm_playback_close() 326 static int snd_aw2_pcm_capture_open(struct snd_pcm_substream *substream) in snd_aw2_pcm_capture_open() 336 static int snd_aw2_pcm_capture_close(struct snd_pcm_substream *substream) in snd_aw2_pcm_capture_close() 343 static int snd_aw2_pcm_prepare_playback(struct snd_pcm_substream *substream) in snd_aw2_pcm_prepare_playback() 372 static int snd_aw2_pcm_prepare_capture(struct snd_pcm_substream *substream) in snd_aw2_pcm_prepare_capture() 401 static int snd_aw2_pcm_trigger_playback(struct snd_pcm_substream *substream, in snd_aw2_pcm_trigger_playback() 427 static int snd_aw2_pcm_trigger_capture(struct snd_pcm_substream *substream, in snd_aw2_pcm_trigger_capture() 453 static snd_pcm_uframes_t snd_aw2_pcm_pointer_playback(struct snd_pcm_substream in snd_aw2_pcm_pointer_playback() 472 static snd_pcm_uframes_t snd_aw2_pcm_pointer_capture(struct snd_pcm_substream in snd_aw2_pcm_pointer_capture()
|
/linux/sound/pci/ca0106/ |
H A D | ca0106_main.c | 546 static int snd_ca0106_pcm_open_playback_channel(struct snd_pcm_substream *substream, in snd_ca0106_pcm_open_playback_channel() 599 static int snd_ca0106_pcm_close_playback(struct snd_pcm_substream *substream) in snd_ca0106_pcm_close_playback() 620 static int snd_ca0106_pcm_open_playback_front(struct snd_pcm_substream *substream) in snd_ca0106_pcm_open_playback_front() 625 static int snd_ca0106_pcm_open_playback_center_lfe(struct snd_pcm_substream *substream) in snd_ca0106_pcm_open_playback_center_lfe() 630 static int snd_ca0106_pcm_open_playback_unknown(struct snd_pcm_substream *substream) in snd_ca0106_pcm_open_playback_unknown() 635 static int snd_ca0106_pcm_open_playback_rear(struct snd_pcm_substream *substream) in snd_ca0106_pcm_open_playback_rear() 641 static int snd_ca0106_pcm_open_capture_channel(struct snd_pcm_substream *substream, in snd_ca0106_pcm_open_capture_channel() 684 static int snd_ca0106_pcm_close_capture(struct snd_pcm_substream *substream) in snd_ca0106_pcm_close_capture() 694 static int snd_ca0106_pcm_open_0_capture(struct snd_pcm_substream *substream) in snd_ca0106_pcm_open_0_capture() 699 static int snd_ca0106_pcm_open_1_capture(struct snd_pcm_substream *substream) in snd_ca0106_pcm_open_1_capture() [all …]
|
/linux/sound/soc/au1x/ |
H A D | dma.c | 34 struct snd_pcm_substream *substream; member 67 struct snd_pcm_substream *substream = stream->substream; in au1000_setup_dma_link() local 137 struct snd_pcm_substream *substream = stream->substream; in au1000_dma_interrupt() local 191 struct snd_pcm_substream *substream) in alchemy_pcm_open() 218 struct snd_pcm_substream *substream) in alchemy_pcm_close() 230 struct snd_pcm_substream *substream, in alchemy_pcm_hw_params() 241 struct snd_pcm_substream *substream) in alchemy_pcm_hw_free() 249 struct snd_pcm_substream *substream, int cmd) in alchemy_pcm_trigger()
|
/linux/sound/soc/bcm/ |
H A D | bcm63xx-pcm-whistler.c | 45 struct snd_pcm_substream *substream, in bcm63xx_pcm_hw_params() 61 struct snd_pcm_substream *substream) in bcm63xx_pcm_hw_free() 73 struct snd_pcm_substream *substream, int cmd) in bcm63xx_pcm_trigger() 142 struct snd_pcm_substream *substream) in bcm63xx_pcm_prepare() 175 struct snd_pcm_substream *substream) in bcm63xx_pcm_pointer() 190 struct snd_pcm_substream *substream) in bcm63xx_pcm_open() 224 struct snd_pcm_substream *substream) in bcm63xx_pcm_close() 237 struct snd_pcm_substream *substream; in i2s_dma_isr() local
|
/linux/drivers/media/usb/usbtv/ |
H A D | usbtv-audio.c | 65 static int snd_usbtv_pcm_open(struct snd_pcm_substream *substream) in snd_usbtv_pcm_open() 76 static int snd_usbtv_pcm_close(struct snd_pcm_substream *substream) in snd_usbtv_pcm_close() 88 static int snd_usbtv_prepare(struct snd_pcm_substream *substream) in snd_usbtv_prepare() 101 struct snd_pcm_substream *substream = chip->snd_substream; in usbtv_audio_urb_received() local 281 static int snd_usbtv_card_trigger(struct snd_pcm_substream *substream, int cmd) in snd_usbtv_card_trigger() 305 static snd_pcm_uframes_t snd_usbtv_pointer(struct snd_pcm_substream *substream) in snd_usbtv_pointer()
|
/linux/sound/soc/dwc/ |
H A D | dwc-pcm.c | 97 struct snd_pcm_substream *substream; in dw_pcm_transfer() local 139 struct snd_pcm_substream *substream) in dw_pcm_open() 153 struct snd_pcm_substream *substream) in dw_pcm_close() 160 struct snd_pcm_substream *substream, in dw_pcm_hw_params() 193 struct snd_pcm_substream *substream, int cmd) in dw_pcm_trigger() 228 struct snd_pcm_substream *substream) in dw_pcm_pointer()
|
/linux/sound/soc/renesas/rcar/ |
H A D | msiof.c | 63 struct snd_pcm_substream *substream[SNDRV_PCM_STREAM_LAST + 1]; member 80 #define msiof_is_play(substream) ((substream)->stream == SNDRV_PCM_STREAM_PLAYBACK) argument 109 struct snd_pcm_substream *substream, int cmd) in msiof_hw_start() 186 struct snd_pcm_substream *substream, int cmd) in msiof_hw_stop() 310 struct snd_pcm_substream *substream) in msiof_open() 338 struct snd_pcm_substream *substream) in msiof_close() 344 struct snd_pcm_substream *substream) in msiof_pointer() 361 struct snd_pcm_substream *substream, int cmd) in msiof_trigger() 391 struct snd_pcm_substream *substream, in msiof_hw_params() 429 struct snd_pcm_substream *substream; in msiof_interrupt() local
|
/linux/sound/soc/sprd/ |
H A D | sprd-pcm-dma.c | 30 struct snd_pcm_substream *substream; member 50 struct snd_pcm_substream *substream) in sprd_pcm_open() 113 struct snd_pcm_substream *substream) in sprd_pcm_close() 135 struct snd_pcm_substream *substream = dma_private->substream; in sprd_pcm_dma_complete() local 140 static void sprd_pcm_release_dma_channel(struct snd_pcm_substream *substream) in sprd_pcm_release_dma_channel() 157 struct snd_pcm_substream *substream, in sprd_pcm_request_dma_channel() 188 struct snd_pcm_substream *substream, in sprd_pcm_hw_params() 306 struct snd_pcm_substream *substream) in sprd_pcm_hw_free() 314 struct snd_pcm_substream *substream, int cmd) in sprd_pcm_trigger() 378 struct snd_pcm_substream *substream) in sprd_pcm_pointer()
|
/linux/sound/atmel/ |
H A D | ac97c.c | 86 static int atmel_ac97c_playback_open(struct snd_pcm_substream *substream) in atmel_ac97c_playback_open() 105 static int atmel_ac97c_capture_open(struct snd_pcm_substream *substream) in atmel_ac97c_capture_open() 124 static int atmel_ac97c_playback_close(struct snd_pcm_substream *substream) in atmel_ac97c_playback_close() 141 static int atmel_ac97c_capture_close(struct snd_pcm_substream *substream) in atmel_ac97c_capture_close() 158 static int atmel_ac97c_playback_hw_params(struct snd_pcm_substream *substream, in atmel_ac97c_playback_hw_params() 172 static int atmel_ac97c_capture_hw_params(struct snd_pcm_substream *substream, in atmel_ac97c_capture_hw_params() 186 static int atmel_ac97c_playback_prepare(struct snd_pcm_substream *substream) in atmel_ac97c_playback_prepare() 268 static int atmel_ac97c_capture_prepare(struct snd_pcm_substream *substream) in atmel_ac97c_capture_prepare() 351 atmel_ac97c_playback_trigger(struct snd_pcm_substream *substream, int cmd) in atmel_ac97c_playback_trigger() 382 atmel_ac97c_capture_trigger(struct snd_pcm_substream *substream, int cmd) in atmel_ac97c_capture_trigger() [all …]
|
/linux/sound/core/seq/ |
H A D | seq_virmidi.c | 123 static void snd_virmidi_input_trigger(struct snd_rawmidi_substream *substream, int up) in snd_virmidi_input_trigger() 136 struct snd_rawmidi_substream *substream; in snd_vmidi_output_work() local 172 static void snd_virmidi_output_trigger(struct snd_rawmidi_substream *substream, int up) in snd_virmidi_output_trigger() 184 static int snd_virmidi_input_open(struct snd_rawmidi_substream *substream) in snd_virmidi_input_open() 213 static int snd_virmidi_output_open(struct snd_rawmidi_substream *substream) in snd_virmidi_output_open() 240 static int snd_virmidi_input_close(struct snd_rawmidi_substream *substream) in snd_virmidi_input_close() 258 static int snd_virmidi_output_close(struct snd_rawmidi_substream *substream) in snd_virmidi_output_close() 273 static void snd_virmidi_output_drain(struct snd_rawmidi_substream *substream) in snd_virmidi_output_drain()
|
/linux/drivers/media/pci/cx23885/ |
H A D | cx23885-alsa.c | 311 static int snd_cx23885_pcm_open(struct snd_pcm_substream *substream) in snd_cx23885_pcm_open() 349 static int snd_cx23885_close(struct snd_pcm_substream *substream) in snd_cx23885_close() 358 static int snd_cx23885_hw_params(struct snd_pcm_substream *substream, in snd_cx23885_hw_params() 418 static int snd_cx23885_hw_free(struct snd_pcm_substream *substream) in snd_cx23885_hw_free() 434 static int snd_cx23885_prepare(struct snd_pcm_substream *substream) in snd_cx23885_prepare() 442 static int snd_cx23885_card_trigger(struct snd_pcm_substream *substream, in snd_cx23885_card_trigger() 472 struct snd_pcm_substream *substream) in snd_cx23885_pointer() 486 static struct page *snd_cx23885_page(struct snd_pcm_substream *substream, in snd_cx23885_page()
|
/linux/sound/sh/ |
H A D | sh_dac_audio.c | 40 struct snd_pcm_substream *substream; member 98 static int snd_sh_dac_pcm_open(struct snd_pcm_substream *substream) in snd_sh_dac_pcm_open() 115 static int snd_sh_dac_pcm_close(struct snd_pcm_substream *substream) in snd_sh_dac_pcm_close() 127 static int snd_sh_dac_pcm_prepare(struct snd_pcm_substream *substream) in snd_sh_dac_pcm_prepare() 138 static int snd_sh_dac_pcm_trigger(struct snd_pcm_substream *substream, int cmd) in snd_sh_dac_pcm_trigger() 159 static int snd_sh_dac_pcm_copy(struct snd_pcm_substream *substream, in snd_sh_dac_pcm_copy() 178 static int snd_sh_dac_pcm_silence(struct snd_pcm_substream *substream, in snd_sh_dac_pcm_silence() 197 snd_pcm_uframes_t snd_sh_dac_pcm_pointer(struct snd_pcm_substream *substream) in snd_sh_dac_pcm_pointer()
|
/linux/sound/soc/fsl/ |
H A D | fsl_asrc_dma.c | 44 struct snd_pcm_substream *substream = arg; in fsl_asrc_dma_complete() local 55 static int fsl_asrc_dma_prepare_and_submit(struct snd_pcm_substream *substream, in fsl_asrc_dma_prepare_and_submit() 98 struct snd_pcm_substream *substream, int cmd) in fsl_asrc_dma_trigger() 128 struct snd_pcm_substream *substream, in fsl_asrc_dma_hw_params() 322 struct snd_pcm_substream *substream) in fsl_asrc_dma_hw_free() 343 struct snd_pcm_substream *substream) in fsl_asrc_dma_startup() 420 struct snd_pcm_substream *substream) in fsl_asrc_dma_shutdown() 441 struct snd_pcm_substream *substream) in fsl_asrc_dma_pcm_pointer()
|
/linux/sound/soc/amd/acp/ |
H A D | acp-pdm.c | 28 static int acp_dmic_prepare(struct snd_pcm_substream *substream, in acp_dmic_prepare() 63 static int acp_dmic_dai_trigger(struct snd_pcm_substream *substream, in acp_dmic_dai_trigger() 107 static int acp_dmic_hwparams(struct snd_pcm_substream *substream, in acp_dmic_hwparams() 142 static int acp_dmic_dai_startup(struct snd_pcm_substream *substream, in acp_dmic_dai_startup() 163 static void acp_dmic_dai_shutdown(struct snd_pcm_substream *substream, in acp_dmic_dai_shutdown()
|
/linux/sound/pci/ |
H A D | rme32.c | 242 static int snd_rme32_playback_silence(struct snd_pcm_substream *substream, in snd_rme32_playback_silence() 253 static int snd_rme32_playback_copy(struct snd_pcm_substream *substream, in snd_rme32_playback_copy() 266 static int snd_rme32_capture_copy(struct snd_pcm_substream *substream, in snd_rme32_capture_copy() 635 snd_rme32_playback_hw_params(struct snd_pcm_substream *substream, in snd_rme32_playback_hw_params() 692 snd_rme32_capture_hw_params(struct snd_pcm_substream *substream, in snd_rme32_capture_hw_params() 819 static int snd_rme32_playback_spdif_open(struct snd_pcm_substream *substream) in snd_rme32_playback_spdif_open() 864 static int snd_rme32_capture_spdif_open(struct snd_pcm_substream *substream) in snd_rme32_capture_spdif_open() 904 snd_rme32_playback_adat_open(struct snd_pcm_substream *substream) in snd_rme32_playback_adat_open() 941 snd_rme32_capture_adat_open(struct snd_pcm_substream *substream) in snd_rme32_capture_adat_open() 975 static int snd_rme32_playback_close(struct snd_pcm_substream *substream) in snd_rme32_playback_close() [all …]
|
/linux/sound/pci/trident/ |
H A D | trident_main.c | 748 static unsigned int snd_trident_control_mode(struct snd_pcm_substream *substream) in snd_trident_control_mode() 782 static int snd_trident_allocate_pcm_mem(struct snd_pcm_substream *substream, in snd_trident_allocate_pcm_mem() 813 static int snd_trident_allocate_evoice(struct snd_pcm_substream *substream, in snd_trident_allocate_evoice() 853 static int snd_trident_hw_params(struct snd_pcm_substream *substream, in snd_trident_hw_params() 875 static int snd_trident_hw_free(struct snd_pcm_substream *substream) in snd_trident_hw_free() 906 static int snd_trident_playback_prepare(struct snd_pcm_substream *substream) in snd_trident_playback_prepare() 992 static int snd_trident_capture_hw_params(struct snd_pcm_substream *substream, in snd_trident_capture_hw_params() 1009 static int snd_trident_capture_prepare(struct snd_pcm_substream *substream) in snd_trident_capture_prepare() 1101 static int snd_trident_si7018_capture_hw_params(struct snd_pcm_substream *substream, in snd_trident_si7018_capture_hw_params() 1118 static int snd_trident_si7018_capture_hw_free(struct snd_pcm_substream *substream) in snd_trident_si7018_capture_hw_free() [all …]
|
/linux/sound/soc/qcom/ |
H A D | lpass-cdc-dma.c | 33 static void __lpass_get_dmactl_handle(struct snd_pcm_substream *substream, struct snd_soc_dai *dai, in __lpass_get_dmactl_handle() 124 struct snd_pcm_substream *substream) in __lpass_platform_codec_intf_init() 171 static int lpass_cdc_dma_daiops_startup(struct snd_pcm_substream *substream, in lpass_cdc_dma_daiops_startup() 194 static void lpass_cdc_dma_daiops_shutdown(struct snd_pcm_substream *substream, in lpass_cdc_dma_daiops_shutdown() 214 static int lpass_cdc_dma_daiops_hw_params(struct snd_pcm_substream *substream, in lpass_cdc_dma_daiops_hw_params() 258 static int lpass_cdc_dma_daiops_trigger(struct snd_pcm_substream *substream, in lpass_cdc_dma_daiops_trigger()
|
/linux/sound/soc/loongson/ |
H A D | loongson_dma.c | 92 struct snd_pcm_substream *substream, int cmd) in loongson_pcm_trigger() 135 struct snd_pcm_substream *substream, in loongson_pcm_hw_params() 199 struct snd_pcm_substream *substream) in loongson_pcm_pointer() 218 struct snd_pcm_substream *substream = devid; in loongson_pcm_dma_irq() local 225 struct snd_pcm_substream *substream) in loongson_pcm_open() 281 struct snd_pcm_substream *substream) in loongson_pcm_close() 297 struct snd_pcm_substream *substream, in loongson_pcm_mmap() 309 struct snd_pcm_substream *substream; in loongson_pcm_new() local
|
/linux/drivers/media/usb/em28xx/ |
H A D | em28xx-audio.c | 75 struct snd_pcm_substream *substream; in em28xx_audio_isocirq() local 216 static int snd_em28xx_capture_open(struct snd_pcm_substream *substream) in snd_em28xx_capture_open() 296 static int snd_em28xx_pcm_close(struct snd_pcm_substream *substream) in snd_em28xx_pcm_close() 317 static int snd_em28xx_prepare(struct snd_pcm_substream *substream) in snd_em28xx_prepare() 345 static int snd_em28xx_capture_trigger(struct snd_pcm_substream *substream, in snd_em28xx_capture_trigger() 372 static snd_pcm_uframes_t snd_em28xx_capture_pointer(struct snd_pcm_substream in snd_em28xx_capture_pointer() 413 struct snd_pcm_substream *substream = dev->adev.capture_pcm_substream; in em28xx_vol_put() local 454 struct snd_pcm_substream *substream = dev->adev.capture_pcm_substream; in em28xx_vol_get() local 490 struct snd_pcm_substream *substream = dev->adev.capture_pcm_substream; in em28xx_vol_put_mute() local 532 struct snd_pcm_substream *substream = dev->adev.capture_pcm_substream; in em28xx_vol_get_mute() local
|