| /drivers/staging/vc04_services/bcm2835-audio/ |
| A D | bcm2835-pcm.c | 55 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/ |
| A D | cobalt-alsa-pcm.c | 101 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/ |
| A D | snd-go7007.c | 38 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/cx23885/ |
| 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()
|
| /drivers/media/pci/ivtv/ |
| 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()
|
| /drivers/media/pci/cx18/ |
| 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()
|
| /drivers/media/usb/em28xx/ |
| 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
|
| /drivers/media/usb/usbtv/ |
| 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()
|
| /drivers/media/usb/cx231xx/ |
| A D | cx231xx-audio.c | 88 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/gpu/drm/bridge/synopsys/ |
| A D | dw-hdmi-ahb-audio.c | 122 struct snd_pcm_substream *substream; member 273 struct snd_pcm_substream *substream; in snd_dw_hdmi_irq() local 319 static int dw_hdmi_open(struct snd_pcm_substream *substream) in dw_hdmi_open() 377 static int dw_hdmi_close(struct snd_pcm_substream *substream) in dw_hdmi_close() 390 static int dw_hdmi_hw_free(struct snd_pcm_substream *substream) in dw_hdmi_hw_free() 399 static int dw_hdmi_hw_params(struct snd_pcm_substream *substream, in dw_hdmi_hw_params() 418 static struct page *dw_hdmi_get_page(struct snd_pcm_substream *substream, in dw_hdmi_get_page() 424 static int dw_hdmi_prepare(struct snd_pcm_substream *substream) in dw_hdmi_prepare() 486 static int dw_hdmi_trigger(struct snd_pcm_substream *substream, int cmd) in dw_hdmi_trigger() 519 static snd_pcm_uframes_t dw_hdmi_pointer(struct snd_pcm_substream *substream) in dw_hdmi_pointer()
|
| /drivers/media/pci/cx25821/ |
| A D | cx25821-alsa.c | 82 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/ |
| A D | cx88-alsa.c | 74 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/usb/gadget/function/ |
| A D | f_midi.c | 73 struct snd_rawmidi_substream *substream; member 245 struct snd_rawmidi_substream *substream = midi->out_substream[cable]; in f_midi_read_data() local 331 struct snd_rawmidi_substream *substream = port->substream; in f_midi_drop_out_substreams() local 635 struct snd_rawmidi_substream *substream = port->substream; in f_midi_do_transmit() local 710 static int f_midi_in_open(struct snd_rawmidi_substream *substream) in f_midi_in_open() 725 static int f_midi_in_close(struct snd_rawmidi_substream *substream) in f_midi_in_close() 733 static void f_midi_in_trigger(struct snd_rawmidi_substream *substream, int up) in f_midi_in_trigger() 746 static int f_midi_out_open(struct snd_rawmidi_substream *substream) in f_midi_out_open() 758 static int f_midi_out_close(struct snd_rawmidi_substream *substream) in f_midi_out_close() 766 static void f_midi_out_trigger(struct snd_rawmidi_substream *substream, int up) in f_midi_out_trigger()
|
| A D | u_uac1_legacy.c | 94 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
|
| A D | u_audio.c | 154 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()
|
| A D | u_uac1_legacy.h | 37 struct snd_pcm_substream *substream; member
|
| /drivers/media/pci/saa7134/ |
| A D | saa7134-alsa.c | 74 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/most/ |
| A D | most_snd.c | 45 struct snd_pcm_substream *substream; member 265 static int pcm_open(struct snd_pcm_substream *substream) in pcm_open() 305 static int pcm_close(struct snd_pcm_substream *substream) in pcm_close() 324 static int pcm_prepare(struct snd_pcm_substream *substream) in pcm_prepare() 370 static int pcm_trigger(struct snd_pcm_substream *substream, int cmd) in pcm_trigger() 398 static snd_pcm_uframes_t pcm_pointer(struct snd_pcm_substream *substream) in pcm_pointer()
|
| /drivers/soundwire/ |
| A D | intel_ace2x.c | 578 struct snd_pcm_substream *substream, in intel_params_stream() 599 struct snd_pcm_substream *substream, in intel_free_stream() 621 static int intel_hw_params(struct snd_pcm_substream *substream, in intel_hw_params() 692 static int intel_prepare(struct snd_pcm_substream *substream, in intel_prepare() 739 intel_hw_free(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) in intel_hw_free() 793 static int intel_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) in intel_trigger()
|
| A D | intel.c | 678 struct snd_pcm_substream *substream, in intel_params_stream() 703 struct snd_pcm_substream *substream, in intel_free_stream() 720 static int intel_hw_params(struct snd_pcm_substream *substream, in intel_hw_params() 788 static int intel_prepare(struct snd_pcm_substream *substream, in intel_prepare() 842 intel_hw_free(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) in intel_hw_free() 896 static int intel_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) in intel_trigger()
|
| A D | stream.c | 1844 static int set_stream(struct snd_pcm_substream *substream, in set_stream() 1901 struct snd_pcm_substream *substream = sdw_substream; in sdw_startup_stream() local 1945 struct snd_pcm_substream *substream = sdw_substream; in sdw_shutdown_stream() local
|
| A D | qcom.c | 1228 static int qcom_swrm_hw_params(struct snd_pcm_substream *substream, in qcom_swrm_hw_params() 1244 static int qcom_swrm_hw_free(struct snd_pcm_substream *substream, in qcom_swrm_hw_free() 1273 static int qcom_swrm_startup(struct snd_pcm_substream *substream, in qcom_swrm_startup() 1291 static void qcom_swrm_shutdown(struct snd_pcm_substream *substream, in qcom_swrm_shutdown()
|
| /drivers/gpu/drm/xlnx/ |
| A D | zynqmp_dp_audio.c | 80 static int zynqmp_dp_startup(struct snd_pcm_substream *substream) in zynqmp_dp_startup() 100 static int dp_dai_hw_params(struct snd_pcm_substream *substream, in dp_dai_hw_params() 193 static int dp_dai_hw_free(struct snd_pcm_substream *substream, in dp_dai_hw_free()
|
| /drivers/staging/greybus/ |
| A D | audio_codec.c | 342 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/hid/ |
| A D | hid-prodikeys.c | 561 static int pcmidi_in_open(struct snd_rawmidi_substream *substream) in pcmidi_in_open() 570 static int pcmidi_in_close(struct snd_rawmidi_substream *substream) in pcmidi_in_close() 576 static void pcmidi_in_trigger(struct snd_rawmidi_substream *substream, int up) in pcmidi_in_trigger()
|