Home
last modified time | relevance | path

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

12

/drivers/staging/vc04_services/bcm2835-audio/
Dbcm2835-pcm.c55 struct snd_pcm_substream *substream = alsa_stream->substream; in bcm2835_playback_fifo() local
85 static int snd_bcm2835_playback_open_generic(struct snd_pcm_substream *substream, int spdif) in snd_bcm2835_playback_open_generic()
157 static int snd_bcm2835_playback_open(struct snd_pcm_substream *substream) in snd_bcm2835_playback_open()
162 static int snd_bcm2835_playback_spdif_open(struct snd_pcm_substream *substream) in snd_bcm2835_playback_spdif_open()
167 static int snd_bcm2835_playback_close(struct snd_pcm_substream *substream) in snd_bcm2835_playback_close()
195 static int snd_bcm2835_pcm_prepare(struct snd_pcm_substream *substream) in snd_bcm2835_pcm_prepare()
234 static void snd_bcm2835_pcm_transfer(struct snd_pcm_substream *substream, in snd_bcm2835_pcm_transfer()
244 static int snd_bcm2835_pcm_ack(struct snd_pcm_substream *substream) in snd_bcm2835_pcm_ack()
255 static int snd_bcm2835_pcm_trigger(struct snd_pcm_substream *substream, int cmd) in snd_bcm2835_pcm_trigger()
275 snd_bcm2835_pcm_pointer(struct snd_pcm_substream *substream) in snd_bcm2835_pcm_pointer()
/drivers/media/pci/cobalt/
Dcobalt-alsa-pcm.c101 struct snd_pcm_substream *substream; in cobalt_alsa_announce_pcm_data() local
206 static int snd_cobalt_pcm_capture_open(struct snd_pcm_substream *substream) in snd_cobalt_pcm_capture_open()
229 static int snd_cobalt_pcm_capture_close(struct snd_pcm_substream *substream) in snd_cobalt_pcm_capture_close()
240 static int snd_cobalt_pcm_prepare(struct snd_pcm_substream *substream) in snd_cobalt_pcm_prepare()
250 static int snd_cobalt_pcm_trigger(struct snd_pcm_substream *substream, int cmd) in snd_cobalt_pcm_trigger()
263 snd_pcm_uframes_t snd_cobalt_pcm_pointer(struct snd_pcm_substream *substream) in snd_cobalt_pcm_pointer()
301 struct snd_pcm_substream *substream; in cobalt_alsa_pb_pcm_data() local
367 static int snd_cobalt_pcm_playback_open(struct snd_pcm_substream *substream) in snd_cobalt_pcm_playback_open()
391 static int snd_cobalt_pcm_playback_close(struct snd_pcm_substream *substream) in snd_cobalt_pcm_playback_close()
402 static int snd_cobalt_pcm_pb_prepare(struct snd_pcm_substream *substream) in snd_cobalt_pcm_pb_prepare()
[all …]
/drivers/media/usb/go7007/
Dsnd-go7007.c38 struct snd_pcm_substream *substream; member
98 static int go7007_snd_hw_params(struct snd_pcm_substream *substream, in go7007_snd_hw_params()
107 static int go7007_snd_hw_free(struct snd_pcm_substream *substream) in go7007_snd_hw_free()
115 static int go7007_snd_capture_open(struct snd_pcm_substream *substream) in go7007_snd_capture_open()
133 static int go7007_snd_capture_close(struct snd_pcm_substream *substream) in go7007_snd_capture_close()
142 static int go7007_snd_pcm_prepare(struct snd_pcm_substream *substream) in go7007_snd_pcm_prepare()
147 static int go7007_snd_pcm_trigger(struct snd_pcm_substream *substream, int cmd) in go7007_snd_pcm_trigger()
167 static snd_pcm_uframes_t go7007_snd_pcm_pointer(struct snd_pcm_substream *substream) in go7007_snd_pcm_pointer()
/drivers/media/pci/ivtv/
Divtv-alsa-pcm.c58 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()
/drivers/media/pci/cx18/
Dcx18-alsa-pcm.c61 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()
/drivers/media/pci/cx23885/
Dcx23885-alsa.c311 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()
/drivers/media/usb/usbtv/
Dusbtv-audio.c65 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()
/drivers/media/usb/em28xx/
Dem28xx-audio.c75 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
/drivers/media/usb/cx231xx/
Dcx231xx-audio.c88 struct snd_pcm_substream *substream; in cx231xx_audio_isocirq() local
179 struct snd_pcm_substream *substream; in cx231xx_audio_bulkirq() local
395 static int snd_cx231xx_capture_open(struct snd_pcm_substream *substream) in snd_cx231xx_capture_open()
441 static int snd_cx231xx_pcm_close(struct snd_pcm_substream *substream) in snd_cx231xx_pcm_close()
479 static int snd_cx231xx_prepare(struct snd_pcm_substream *substream) in snd_cx231xx_prepare()
507 static int snd_cx231xx_capture_trigger(struct snd_pcm_substream *substream, in snd_cx231xx_capture_trigger()
535 static snd_pcm_uframes_t snd_cx231xx_capture_pointer(struct snd_pcm_substream in snd_cx231xx_capture_pointer()
/drivers/staging/media/deprecated/tm6000/
Dtm6000-alsa.c127 static int snd_tm6000_pcm_open(struct snd_pcm_substream *substream) in snd_tm6000_pcm_open()
152 static int snd_tm6000_close(struct snd_pcm_substream *substream) in snd_tm6000_close()
168 struct snd_pcm_substream *substream = chip->substream; in tm6000_fillbuf() local
238 static int snd_tm6000_prepare(struct snd_pcm_substream *substream) in snd_tm6000_prepare()
267 static int snd_tm6000_card_trigger(struct snd_pcm_substream *substream, int cmd) in snd_tm6000_card_trigger()
295 static snd_pcm_uframes_t snd_tm6000_pointer(struct snd_pcm_substream *substream) in snd_tm6000_pointer()
/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi-ahb-audio.c121 struct snd_pcm_substream *substream; member
272 struct snd_pcm_substream *substream; in snd_dw_hdmi_irq() local
318 static int dw_hdmi_open(struct snd_pcm_substream *substream) in dw_hdmi_open()
376 static int dw_hdmi_close(struct snd_pcm_substream *substream) in dw_hdmi_close()
389 static int dw_hdmi_hw_free(struct snd_pcm_substream *substream) in dw_hdmi_hw_free()
394 static int dw_hdmi_hw_params(struct snd_pcm_substream *substream, in dw_hdmi_hw_params()
402 static int dw_hdmi_prepare(struct snd_pcm_substream *substream) in dw_hdmi_prepare()
464 static int dw_hdmi_trigger(struct snd_pcm_substream *substream, int cmd) in dw_hdmi_trigger()
497 static snd_pcm_uframes_t dw_hdmi_pointer(struct snd_pcm_substream *substream) in dw_hdmi_pointer()
/drivers/media/pci/cx25821/
Dcx25821-alsa.c82 struct snd_pcm_substream *substream; member
445 static int snd_cx25821_pcm_open(struct snd_pcm_substream *substream) in snd_cx25821_pcm_open()
488 static int snd_cx25821_close(struct snd_pcm_substream *substream) in snd_cx25821_close()
496 static int snd_cx25821_hw_params(struct snd_pcm_substream *substream, in snd_cx25821_hw_params()
561 static int snd_cx25821_hw_free(struct snd_pcm_substream *substream) in snd_cx25821_hw_free()
576 static int snd_cx25821_prepare(struct snd_pcm_substream *substream) in snd_cx25821_prepare()
584 static int snd_cx25821_card_trigger(struct snd_pcm_substream *substream, in snd_cx25821_card_trigger()
613 static snd_pcm_uframes_t snd_cx25821_pointer(struct snd_pcm_substream in snd_cx25821_pointer()
628 static struct page *snd_cx25821_page(struct snd_pcm_substream *substream, in snd_cx25821_page()
/drivers/media/pci/cx88/
Dcx88-alsa.c74 struct snd_pcm_substream *substream; member
403 static int snd_cx88_pcm_open(struct snd_pcm_substream *substream) in snd_cx88_pcm_open()
440 static int snd_cx88_close(struct snd_pcm_substream *substream) in snd_cx88_close()
448 static int snd_cx88_hw_params(struct snd_pcm_substream *substream, in snd_cx88_hw_params()
506 static int snd_cx88_hw_free(struct snd_pcm_substream *substream) in snd_cx88_hw_free()
521 static int snd_cx88_prepare(struct snd_pcm_substream *substream) in snd_cx88_prepare()
529 static int snd_cx88_card_trigger(struct snd_pcm_substream *substream, int cmd) in snd_cx88_card_trigger()
557 static snd_pcm_uframes_t snd_cx88_pointer(struct snd_pcm_substream *substream) in snd_cx88_pointer()
574 static struct page *snd_cx88_page(struct snd_pcm_substream *substream, in snd_cx88_page()
/drivers/media/pci/saa7134/
Dsaa7134-alsa.c74 struct snd_pcm_substream *substream; member
232 static int snd_card_saa7134_capture_trigger(struct snd_pcm_substream * substream, in snd_card_saa7134_capture_trigger()
497 static int snd_card_saa7134_capture_prepare(struct snd_pcm_substream * substream) in snd_card_saa7134_capture_prepare()
591 snd_card_saa7134_capture_pointer(struct snd_pcm_substream * substream) in snd_card_saa7134_capture_pointer()
661 static int snd_card_saa7134_hw_params(struct snd_pcm_substream * substream, in snd_card_saa7134_hw_params()
746 static int snd_card_saa7134_hw_free(struct snd_pcm_substream * substream) in snd_card_saa7134_hw_free()
772 static int snd_card_saa7134_capture_close(struct snd_pcm_substream * substream) in snd_card_saa7134_capture_close()
794 static int snd_card_saa7134_capture_open(struct snd_pcm_substream * substream) in snd_card_saa7134_capture_open()
855 static struct page *snd_card_saa7134_page(struct snd_pcm_substream *substream, in snd_card_saa7134_page()
/drivers/usb/gadget/function/
Df_midi.c72 struct snd_rawmidi_substream *substream; member
244 struct snd_rawmidi_substream *substream = midi->out_substream[cable]; in f_midi_read_data() local
330 struct snd_rawmidi_substream *substream = port->substream; in f_midi_drop_out_substreams() local
634 struct snd_rawmidi_substream *substream = port->substream; in f_midi_do_transmit() local
709 static int f_midi_in_open(struct snd_rawmidi_substream *substream) in f_midi_in_open()
724 static int f_midi_in_close(struct snd_rawmidi_substream *substream) in f_midi_in_close()
732 static void f_midi_in_trigger(struct snd_rawmidi_substream *substream, int up) in f_midi_in_trigger()
745 static int f_midi_out_open(struct snd_rawmidi_substream *substream) in f_midi_out_open()
757 static int f_midi_out_close(struct snd_rawmidi_substream *substream) in f_midi_out_close()
765 static void f_midi_out_trigger(struct snd_rawmidi_substream *substream, int up) in f_midi_out_trigger()
Df_audio_source.c251 struct snd_pcm_substream *substream; member
735 static int audio_pcm_open(struct snd_pcm_substream *substream) in audio_pcm_open()
753 static int audio_pcm_close(struct snd_pcm_substream *substream) in audio_pcm_close()
769 static int audio_pcm_hw_params(struct snd_pcm_substream *substream, in audio_pcm_hw_params()
784 static int audio_pcm_hw_free(struct snd_pcm_substream *substream) in audio_pcm_hw_free()
789 static int audio_pcm_prepare(struct snd_pcm_substream *substream) in audio_pcm_prepare()
804 static snd_pcm_uframes_t audio_pcm_pointer(struct snd_pcm_substream *substream) in audio_pcm_pointer()
814 static int audio_pcm_playback_trigger(struct snd_pcm_substream *substream, in audio_pcm_playback_trigger()
Du_uac1_legacy.c94 struct snd_pcm_substream *substream = snd->substream; in playback_default_hw_params() local
155 struct snd_pcm_substream *substream = snd->substream; in u_audio_playback() local
Du_audio.c154 struct snd_pcm_substream *substream; in u_audio_iso_complete() local
314 static int uac_pcm_trigger(struct snd_pcm_substream *substream, int cmd) in uac_pcm_trigger()
353 static snd_pcm_uframes_t uac_pcm_pointer(struct snd_pcm_substream *substream) in uac_pcm_pointer()
385 static int uac_pcm_open(struct snd_pcm_substream *substream) in uac_pcm_open()
427 static int uac_pcm_null(struct snd_pcm_substream *substream) in uac_pcm_null()
Du_uac1_legacy.h37 struct snd_pcm_substream *substream; member
/drivers/most/
Dmost_snd.c43 struct snd_pcm_substream *substream; member
263 static int pcm_open(struct snd_pcm_substream *substream) in pcm_open()
303 static int pcm_close(struct snd_pcm_substream *substream) in pcm_close()
322 static int pcm_prepare(struct snd_pcm_substream *substream) in pcm_prepare()
368 static int pcm_trigger(struct snd_pcm_substream *substream, int cmd) in pcm_trigger()
396 static snd_pcm_uframes_t pcm_pointer(struct snd_pcm_substream *substream) in pcm_pointer()
/drivers/staging/greybus/
Daudio_codec.c342 static int gbcodec_startup(struct snd_pcm_substream *substream, in gbcodec_startup()
370 static void gbcodec_shutdown(struct snd_pcm_substream *substream, in gbcodec_shutdown()
392 static int gbcodec_hw_params(struct snd_pcm_substream *substream, in gbcodec_hw_params()
496 static int gbcodec_prepare(struct snd_pcm_substream *substream, in gbcodec_prepare()
/drivers/soundwire/
Dintel.c805 static int intel_startup(struct snd_pcm_substream *substream, in intel_startup()
821 static int intel_hw_params(struct snd_pcm_substream *substream, in intel_hw_params()
895 static int intel_prepare(struct snd_pcm_substream *substream, in intel_prepare()
949 intel_hw_free(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) in intel_hw_free()
984 static void intel_shutdown(struct snd_pcm_substream *substream, in intel_shutdown()
1015 static int intel_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) in intel_trigger()
Dstream.c1716 static int set_stream(struct snd_pcm_substream *substream, in set_stream()
1771 struct snd_pcm_substream *substream = sdw_substream; in sdw_startup_stream() local
1815 struct snd_pcm_substream *substream = sdw_substream; in sdw_shutdown_stream() local
Dqcom.c1031 static int qcom_swrm_hw_params(struct snd_pcm_substream *substream, in qcom_swrm_hw_params()
1047 static int qcom_swrm_hw_free(struct snd_pcm_substream *substream, in qcom_swrm_hw_free()
1076 static int qcom_swrm_startup(struct snd_pcm_substream *substream, in qcom_swrm_startup()
1122 static void qcom_swrm_shutdown(struct snd_pcm_substream *substream, in qcom_swrm_shutdown()
/drivers/hid/
Dhid-prodikeys.c571 static int pcmidi_in_open(struct snd_rawmidi_substream *substream) in pcmidi_in_open()
580 static int pcmidi_in_close(struct snd_rawmidi_substream *substream) in pcmidi_in_close()
586 static void pcmidi_in_trigger(struct snd_rawmidi_substream *substream, int up) in pcmidi_in_trigger()

12