Home
last modified time | relevance | path

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

/drivers/media/pci/cobalt/
Dcobalt-alsa-pcm.c114 struct snd_pcm_substream *substream; in cobalt_alsa_announce_pcm_data() local
219 static int snd_cobalt_pcm_capture_open(struct snd_pcm_substream *substream) in snd_cobalt_pcm_capture_open()
242 static int snd_cobalt_pcm_capture_close(struct snd_pcm_substream *substream) in snd_cobalt_pcm_capture_close()
253 static int snd_cobalt_pcm_ioctl(struct snd_pcm_substream *substream, in snd_cobalt_pcm_ioctl()
281 static int snd_cobalt_pcm_hw_params(struct snd_pcm_substream *substream, in snd_cobalt_pcm_hw_params()
290 static int snd_cobalt_pcm_hw_free(struct snd_pcm_substream *substream) in snd_cobalt_pcm_hw_free()
301 static int snd_cobalt_pcm_prepare(struct snd_pcm_substream *substream) in snd_cobalt_pcm_prepare()
311 static int snd_cobalt_pcm_trigger(struct snd_pcm_substream *substream, int cmd) in snd_cobalt_pcm_trigger()
324 snd_pcm_uframes_t snd_cobalt_pcm_pointer(struct snd_pcm_substream *substream) in snd_cobalt_pcm_pointer()
362 struct snd_pcm_substream *substream; in cobalt_alsa_pb_pcm_data() local
[all …]
/drivers/media/pci/ivtv/
Divtv-alsa-pcm.c77 struct snd_pcm_substream *substream; in ivtv_alsa_announce_pcm_data() local
150 static int snd_ivtv_pcm_capture_open(struct snd_pcm_substream *substream) in snd_ivtv_pcm_capture_open()
204 static int snd_ivtv_pcm_capture_close(struct snd_pcm_substream *substream) in snd_ivtv_pcm_capture_close()
225 static int snd_ivtv_pcm_ioctl(struct snd_pcm_substream *substream, in snd_ivtv_pcm_ioctl()
259 static int snd_ivtv_pcm_hw_params(struct snd_pcm_substream *substream, in snd_ivtv_pcm_hw_params()
268 static int snd_ivtv_pcm_hw_free(struct snd_pcm_substream *substream) in snd_ivtv_pcm_hw_free()
284 static int snd_ivtv_pcm_prepare(struct snd_pcm_substream *substream) in snd_ivtv_pcm_prepare()
294 static int snd_ivtv_pcm_trigger(struct snd_pcm_substream *substream, int cmd) in snd_ivtv_pcm_trigger()
300 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.c76 struct snd_pcm_substream *substream; in cx18_alsa_announce_pcm_data() local
149 static int snd_cx18_pcm_capture_open(struct snd_pcm_substream *substream) in snd_cx18_pcm_capture_open()
197 static int snd_cx18_pcm_capture_close(struct snd_pcm_substream *substream) in snd_cx18_pcm_capture_close()
218 static int snd_cx18_pcm_ioctl(struct snd_pcm_substream *substream, in snd_cx18_pcm_ioctl()
252 static int snd_cx18_pcm_hw_params(struct snd_pcm_substream *substream, in snd_cx18_pcm_hw_params()
261 static int snd_cx18_pcm_hw_free(struct snd_pcm_substream *substream) in snd_cx18_pcm_hw_free()
277 static int snd_cx18_pcm_prepare(struct snd_pcm_substream *substream) in snd_cx18_pcm_prepare()
287 static int snd_cx18_pcm_trigger(struct snd_pcm_substream *substream, int cmd) in snd_cx18_pcm_trigger()
293 snd_pcm_uframes_t snd_cx18_pcm_pointer(struct snd_pcm_substream *substream) in snd_cx18_pcm_pointer()
/drivers/media/usb/go7007/
Dsnd-go7007.c47 struct snd_pcm_substream *substream; member
106 static int go7007_snd_hw_params(struct snd_pcm_substream *substream, in go7007_snd_hw_params()
124 static int go7007_snd_hw_free(struct snd_pcm_substream *substream) in go7007_snd_hw_free()
135 static int go7007_snd_capture_open(struct snd_pcm_substream *substream) in go7007_snd_capture_open()
153 static int go7007_snd_capture_close(struct snd_pcm_substream *substream) in go7007_snd_capture_close()
162 static int go7007_snd_pcm_prepare(struct snd_pcm_substream *substream) in go7007_snd_pcm_prepare()
167 static int go7007_snd_pcm_trigger(struct snd_pcm_substream *substream, int cmd) in go7007_snd_pcm_trigger()
187 static snd_pcm_uframes_t go7007_snd_pcm_pointer(struct snd_pcm_substream *substream) in go7007_snd_pcm_pointer()
195 static struct page *go7007_snd_pcm_page(struct snd_pcm_substream *substream, in go7007_snd_pcm_page()
/drivers/media/usb/tm6000/
Dtm6000-alsa.c105 static void dsp_buffer_free(struct snd_pcm_substream *substream) in dsp_buffer_free()
116 static int dsp_buffer_alloc(struct snd_pcm_substream *substream, int size) in dsp_buffer_alloc()
171 static int snd_tm6000_pcm_open(struct snd_pcm_substream *substream) in snd_tm6000_pcm_open()
196 static int snd_tm6000_close(struct snd_pcm_substream *substream) in snd_tm6000_close()
212 struct snd_pcm_substream *substream = chip->substream; in tm6000_fillbuf() local
282 static int snd_tm6000_hw_params(struct snd_pcm_substream *substream, in snd_tm6000_hw_params()
299 static int snd_tm6000_hw_free(struct snd_pcm_substream *substream) in snd_tm6000_hw_free()
316 static int snd_tm6000_prepare(struct snd_pcm_substream *substream) in snd_tm6000_prepare()
345 static int snd_tm6000_card_trigger(struct snd_pcm_substream *substream, int cmd) in snd_tm6000_card_trigger()
373 static snd_pcm_uframes_t snd_tm6000_pointer(struct snd_pcm_substream *substream) in snd_tm6000_pointer()
Dtm6000.h158 struct snd_pcm_substream *substream; member
/drivers/media/usb/usbtv/
Dusbtv-audio.c51 static int snd_usbtv_pcm_open(struct snd_pcm_substream *substream) in snd_usbtv_pcm_open()
62 static int snd_usbtv_pcm_close(struct snd_pcm_substream *substream) in snd_usbtv_pcm_close()
74 static int snd_usbtv_hw_params(struct snd_pcm_substream *substream, in snd_usbtv_hw_params()
92 static int snd_usbtv_hw_free(struct snd_pcm_substream *substream) in snd_usbtv_hw_free()
98 static int snd_usbtv_prepare(struct snd_pcm_substream *substream) in snd_usbtv_prepare()
111 struct snd_pcm_substream *substream = chip->snd_substream; in usbtv_audio_urb_received() local
290 static int snd_usbtv_card_trigger(struct snd_pcm_substream *substream, int cmd) in snd_usbtv_card_trigger()
314 static snd_pcm_uframes_t snd_usbtv_pointer(struct snd_pcm_substream *substream) in snd_usbtv_pointer()
/drivers/media/usb/em28xx/
Dem28xx-audio.c90 struct snd_pcm_substream *substream; in em28xx_audio_isocirq() local
250 static int snd_em28xx_capture_open(struct snd_pcm_substream *substream) in snd_em28xx_capture_open()
325 static int snd_em28xx_pcm_close(struct snd_pcm_substream *substream) in snd_em28xx_pcm_close()
351 static int snd_em28xx_hw_capture_params(struct snd_pcm_substream *substream, in snd_em28xx_hw_capture_params()
380 static int snd_em28xx_hw_capture_free(struct snd_pcm_substream *substream) in snd_em28xx_hw_capture_free()
395 static int snd_em28xx_prepare(struct snd_pcm_substream *substream) in snd_em28xx_prepare()
423 static int snd_em28xx_capture_trigger(struct snd_pcm_substream *substream, in snd_em28xx_capture_trigger()
450 static snd_pcm_uframes_t snd_em28xx_capture_pointer(struct snd_pcm_substream in snd_em28xx_capture_pointer()
499 struct snd_pcm_substream *substream = dev->adev.capture_pcm_substream; in em28xx_vol_put() local
539 struct snd_pcm_substream *substream = dev->adev.capture_pcm_substream; in em28xx_vol_get() local
[all …]
/drivers/media/usb/cx231xx/
Dcx231xx-audio.c104 struct snd_pcm_substream *substream; in cx231xx_audio_isocirq() local
194 struct snd_pcm_substream *substream; in cx231xx_audio_bulkirq() local
433 static int snd_cx231xx_capture_open(struct snd_pcm_substream *substream) in snd_cx231xx_capture_open()
479 static int snd_cx231xx_pcm_close(struct snd_pcm_substream *substream) in snd_cx231xx_pcm_close()
517 static int snd_cx231xx_hw_capture_params(struct snd_pcm_substream *substream, in snd_cx231xx_hw_capture_params()
541 static int snd_cx231xx_hw_capture_free(struct snd_pcm_substream *substream) in snd_cx231xx_hw_capture_free()
555 static int snd_cx231xx_prepare(struct snd_pcm_substream *substream) in snd_cx231xx_prepare()
583 static int snd_cx231xx_capture_trigger(struct snd_pcm_substream *substream, in snd_cx231xx_capture_trigger()
611 static snd_pcm_uframes_t snd_cx231xx_capture_pointer(struct snd_pcm_substream in snd_cx231xx_capture_pointer()
/drivers/media/pci/cx23885/
Dcx23885-alsa.c323 static int snd_cx23885_pcm_open(struct snd_pcm_substream *substream) in snd_cx23885_pcm_open()
362 static int snd_cx23885_close(struct snd_pcm_substream *substream) in snd_cx23885_close()
371 static int snd_cx23885_hw_params(struct snd_pcm_substream *substream, in snd_cx23885_hw_params()
431 static int snd_cx23885_hw_free(struct snd_pcm_substream *substream) in snd_cx23885_hw_free()
447 static int snd_cx23885_prepare(struct snd_pcm_substream *substream) in snd_cx23885_prepare()
455 static int snd_cx23885_card_trigger(struct snd_pcm_substream *substream, in snd_cx23885_card_trigger()
485 struct snd_pcm_substream *substream) in snd_cx23885_pointer()
499 static struct page *snd_cx23885_page(struct snd_pcm_substream *substream, in snd_cx23885_page()
Dcx23885.h349 struct snd_pcm_substream *substream; member
/drivers/media/pci/cx25821/
Dcx25821-alsa.c95 struct snd_pcm_substream *substream; member
458 static int snd_cx25821_pcm_open(struct snd_pcm_substream *substream) in snd_cx25821_pcm_open()
501 static int snd_cx25821_close(struct snd_pcm_substream *substream) in snd_cx25821_close()
509 static int snd_cx25821_hw_params(struct snd_pcm_substream *substream, in snd_cx25821_hw_params()
574 static int snd_cx25821_hw_free(struct snd_pcm_substream *substream) in snd_cx25821_hw_free()
589 static int snd_cx25821_prepare(struct snd_pcm_substream *substream) in snd_cx25821_prepare()
597 static int snd_cx25821_card_trigger(struct snd_pcm_substream *substream, in snd_cx25821_card_trigger()
626 static snd_pcm_uframes_t snd_cx25821_pointer(struct snd_pcm_substream in snd_cx25821_pointer()
641 static struct page *snd_cx25821_page(struct snd_pcm_substream *substream, in snd_cx25821_page()
/drivers/gpu/drm/bridge/
Ddw_hdmi-ahb-audio.c128 struct snd_pcm_substream *substream; member
279 struct snd_pcm_substream *substream; in snd_dw_hdmi_irq() local
325 static int dw_hdmi_open(struct snd_pcm_substream *substream) in dw_hdmi_open()
379 static int dw_hdmi_close(struct snd_pcm_substream *substream) in dw_hdmi_close()
392 static int dw_hdmi_hw_free(struct snd_pcm_substream *substream) in dw_hdmi_hw_free()
397 static int dw_hdmi_hw_params(struct snd_pcm_substream *substream, in dw_hdmi_hw_params()
405 static int dw_hdmi_prepare(struct snd_pcm_substream *substream) in dw_hdmi_prepare()
475 static int dw_hdmi_trigger(struct snd_pcm_substream *substream, int cmd) in dw_hdmi_trigger()
508 static snd_pcm_uframes_t dw_hdmi_pointer(struct snd_pcm_substream *substream) in dw_hdmi_pointer()
/drivers/staging/most/aim-sound/
Dsound.c48 struct snd_pcm_substream *substream; member
275 static int pcm_open(struct snd_pcm_substream *substream) in pcm_open()
313 static int pcm_close(struct snd_pcm_substream *substream) in pcm_close()
336 static int pcm_hw_params(struct snd_pcm_substream *substream, in pcm_hw_params()
359 static int pcm_hw_free(struct snd_pcm_substream *substream) in pcm_hw_free()
373 static int pcm_prepare(struct snd_pcm_substream *substream) in pcm_prepare()
423 static int pcm_trigger(struct snd_pcm_substream *substream, int cmd) in pcm_trigger()
452 static snd_pcm_uframes_t pcm_pointer(struct snd_pcm_substream *substream) in pcm_pointer()
/drivers/media/pci/saa7134/
Dsaa7134-alsa.c87 struct snd_pcm_substream *substream; member
245 static int snd_card_saa7134_capture_trigger(struct snd_pcm_substream * substream, in snd_card_saa7134_capture_trigger()
510 static int snd_card_saa7134_capture_prepare(struct snd_pcm_substream * substream) in snd_card_saa7134_capture_prepare()
604 snd_card_saa7134_capture_pointer(struct snd_pcm_substream * substream) in snd_card_saa7134_capture_pointer()
674 static int snd_card_saa7134_hw_params(struct snd_pcm_substream * substream, in snd_card_saa7134_hw_params()
759 static int snd_card_saa7134_hw_free(struct snd_pcm_substream * substream) in snd_card_saa7134_hw_free()
785 static int snd_card_saa7134_capture_close(struct snd_pcm_substream * substream) in snd_card_saa7134_capture_close()
807 static int snd_card_saa7134_capture_open(struct snd_pcm_substream * substream) in snd_card_saa7134_capture_open()
869 static struct page *snd_card_saa7134_page(struct snd_pcm_substream *substream, in snd_card_saa7134_page()
Dsaa7134.h515 struct snd_pcm_substream *substream; member
/drivers/media/pci/cx88/
Dcx88-alsa.c92 struct snd_pcm_substream *substream; member
421 static int snd_cx88_pcm_open(struct snd_pcm_substream *substream) in snd_cx88_pcm_open()
457 static int snd_cx88_close(struct snd_pcm_substream *substream) in snd_cx88_close()
465 static int snd_cx88_hw_params(struct snd_pcm_substream * substream, in snd_cx88_hw_params()
523 static int snd_cx88_hw_free(struct snd_pcm_substream * substream) in snd_cx88_hw_free()
539 static int snd_cx88_prepare(struct snd_pcm_substream *substream) in snd_cx88_prepare()
547 static int snd_cx88_card_trigger(struct snd_pcm_substream *substream, int cmd) in snd_cx88_card_trigger()
575 static snd_pcm_uframes_t snd_cx88_pointer(struct snd_pcm_substream *substream) in snd_cx88_pointer()
592 static struct page *snd_cx88_page(struct snd_pcm_substream *substream, in snd_cx88_page()
/drivers/usb/gadget/function/
Df_midi.c215 struct snd_rawmidi_substream *substream = midi->out_substream[cable]; in f_midi_read_data() local
532 struct snd_rawmidi_substream *substream = midi->in_substream[i]; in f_midi_transmit() local
565 static int f_midi_in_open(struct snd_rawmidi_substream *substream) in f_midi_in_open()
578 static int f_midi_in_close(struct snd_rawmidi_substream *substream) in f_midi_in_close()
586 static void f_midi_in_trigger(struct snd_rawmidi_substream *substream, int up) in f_midi_in_trigger()
599 static int f_midi_out_open(struct snd_rawmidi_substream *substream) in f_midi_out_open()
611 static int f_midi_out_close(struct snd_rawmidi_substream *substream) in f_midi_out_close()
619 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.c97 struct snd_pcm_substream *substream = snd->substream; in playback_default_hw_params() local
158 struct snd_pcm_substream *substream = snd->substream; in u_audio_playback() local
Df_uac2.c179 struct snd_pcm_substream *substream; in agdev_iso_complete() local
269 uac2_pcm_trigger(struct snd_pcm_substream *substream, int cmd) in uac2_pcm_trigger()
308 static snd_pcm_uframes_t uac2_pcm_pointer(struct snd_pcm_substream *substream) in uac2_pcm_pointer()
321 static int uac2_pcm_hw_params(struct snd_pcm_substream *substream, in uac2_pcm_hw_params()
344 static int uac2_pcm_hw_free(struct snd_pcm_substream *substream) in uac2_pcm_hw_free()
361 static int uac2_pcm_open(struct snd_pcm_substream *substream) in uac2_pcm_open()
428 static int uac2_pcm_null(struct snd_pcm_substream *substream) in uac2_pcm_null()
Du_uac1.h40 struct snd_pcm_substream *substream; member
/drivers/hid/
Dhid-prodikeys.c576 static int pcmidi_in_open(struct snd_rawmidi_substream *substream) in pcmidi_in_open()
585 static int pcmidi_in_close(struct snd_rawmidi_substream *substream) in pcmidi_in_close()
591 static void pcmidi_in_trigger(struct snd_rawmidi_substream *substream, int up) in pcmidi_in_trigger()
/drivers/media/pci/ngene/
Dngene.h589 struct snd_pcm_substream *substream; member