Home
last modified time | relevance | path

Searched refs:SNDRV_PCM_STREAM_CAPTURE (Results 1 – 179 of 179) sorted by relevance

/linux-4.4.14/sound/usb/usx2y/
Dusx2yhwdeppcm.c249 capsubs = usX2Y->subs[SNDRV_PCM_STREAM_CAPTURE]; in i_usX2Y_usbpcm_urb_complete()
250 capsubs2 = usX2Y->subs[SNDRV_PCM_STREAM_CAPTURE + 2]; in i_usX2Y_usbpcm_urb_complete()
297 if (prepare_subs == usX2Y->subs[SNDRV_PCM_STREAM_CAPTURE]) { in i_usX2Y_usbpcm_subs_startup()
298 struct snd_usX2Y_substream *cap_subs2 = usX2Y->subs[SNDRV_PCM_STREAM_CAPTURE + 2]; in i_usX2Y_usbpcm_subs_startup()
360 *cap_subs2 = subs->usX2Y->subs[SNDRV_PCM_STREAM_CAPTURE + 2]; in snd_usX2Y_usbpcm_hw_free()
365 struct snd_usX2Y_substream *cap_subs = subs->usX2Y->subs[SNDRV_PCM_STREAM_CAPTURE]; in snd_usX2Y_usbpcm_hw_free()
409 if (SNDRV_PCM_STREAM_CAPTURE == stream) { in usX2Y_usbpcm_urbs_start()
486 struct snd_usX2Y_substream *capsubs = subs->usX2Y->subs[SNDRV_PCM_STREAM_CAPTURE]; in snd_usX2Y_usbpcm_prepare()
734 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_usX2Y_usbpcm_ops); in usX2Y_hwdep_pcm_new()
744 0 > (err = snd_pcm_lib_preallocate_pages(pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream, in usX2Y_hwdep_pcm_new()
Dusbusx2yaudio.c317 struct snd_usX2Y_substream *capsubs = usX2Y->subs[SNDRV_PCM_STREAM_CAPTURE], in i_usX2Y_urb_complete()
539 atomic_read(&subs->usX2Y->subs[SNDRV_PCM_STREAM_CAPTURE]->state) >= state_PREPARED) { in snd_usX2Y_pcm_trigger()
801 struct snd_usX2Y_substream *cap_subs = subs->usX2Y->subs[SNDRV_PCM_STREAM_CAPTURE]; in snd_usX2Y_pcm_hw_free()
831 struct snd_usX2Y_substream *capsubs = subs->usX2Y->subs[SNDRV_PCM_STREAM_CAPTURE]; in snd_usX2Y_pcm_prepare()
931 kfree(usX2Y_substream[SNDRV_PCM_STREAM_CAPTURE]); in usX2Y_audio_stream_free()
932 usX2Y_substream[SNDRV_PCM_STREAM_CAPTURE] = NULL; in usX2Y_audio_stream_free()
949 for (i = playback_endpoint ? SNDRV_PCM_STREAM_PLAYBACK : SNDRV_PCM_STREAM_CAPTURE; in usX2Y_audio_stream_new()
950 i <= SNDRV_PCM_STREAM_CAPTURE; ++i) { in usX2Y_audio_stream_new()
961 usX2Y_substream[SNDRV_PCM_STREAM_CAPTURE]->endpoint = capture_endpoint; in usX2Y_audio_stream_new()
973 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_usX2Y_pcm_ops); in usX2Y_audio_stream_new()
[all …]
/linux-4.4.14/sound/soc/fsl/
Dmpc5200_dma.c140 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in psc_dma_trigger()
163 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in psc_dma_trigger()
221 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in psc_dma_open()
247 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in psc_dma_close()
271 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in psc_dma_pointer()
323 if (pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream) { in psc_dma_new()
325 size, &pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream->dma_buffer); in psc_dma_new()
Dimx-pcm-fiq.c276 if (pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream) { in imx_pcm_new()
278 SNDRV_PCM_STREAM_CAPTURE); in imx_pcm_new()
305 substream = pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream; in imx_pcm_fiq_new()
Dmpc5200_dma.h79 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in to_psc_dma_stream()
Dfsl_dma.c309 if (pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream) { in fsl_dma_new()
312 &pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream->dma_buffer); in fsl_dma_new()
Dmpc5200_psc_ac97.c159 if (substream->pstr->stream != SNDRV_PCM_STREAM_CAPTURE) in psc_ac97_hw_analog_params()
/linux-4.4.14/sound/soc/pxa/
Dpxa2xx-pcm.c77 if (pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream) { in pxa2xx_soc_pcm_new()
79 SNDRV_PCM_STREAM_CAPTURE); in pxa2xx_soc_pcm_new()
Dmmp-pcm.c230 mmp_pcm_hardware[SNDRV_PCM_STREAM_CAPTURE].buffer_bytes_max = in mmp_pcm_probe()
232 mmp_pcm_hardware[SNDRV_PCM_STREAM_CAPTURE].period_bytes_max = in mmp_pcm_probe()
/linux-4.4.14/sound/usb/
Dproc.c161 if (stream->substream[SNDRV_PCM_STREAM_CAPTURE].num_formats) { in proc_pcm_format_read()
163 proc_dump_substream_status(&stream->substream[SNDRV_PCM_STREAM_CAPTURE], buffer); in proc_pcm_format_read()
164 proc_dump_substream_formats(&stream->substream[SNDRV_PCM_STREAM_CAPTURE], buffer); in proc_pcm_format_read()
Dquirks.c169 ? SNDRV_PCM_STREAM_CAPTURE : SNDRV_PCM_STREAM_PLAYBACK; in create_fixed_stream_quirk()
494 ? SNDRV_PCM_STREAM_CAPTURE : SNDRV_PCM_STREAM_PLAYBACK; in create_uaxx_quirk()
1087 if (subs->stream->substream[SNDRV_PCM_STREAM_CAPTURE].interface != -1) in set_format_emu_quirk()
Dpcm.c133 subs->direction == SNDRV_PCM_STREAM_CAPTURE)) in find_format()
138 subs->direction == SNDRV_PCM_STREAM_CAPTURE)) { in find_format()
1614 return snd_usb_pcm_open(substream, SNDRV_PCM_STREAM_CAPTURE); in snd_usb_capture_open()
1619 return snd_usb_pcm_close(substream, SNDRV_PCM_STREAM_CAPTURE); in snd_usb_capture_close()
Dstream.c527 SNDRV_PCM_STREAM_CAPTURE : SNDRV_PCM_STREAM_PLAYBACK; in snd_usb_parse_audio_interface()
/linux-4.4.14/sound/soc/bcm/
Dbcm2835-i2s.c582 else if (substream->stream == SNDRV_PCM_STREAM_CAPTURE in bcm2835_i2s_prepare()
595 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in bcm2835_i2s_stop()
620 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in bcm2835_i2s_trigger()
704 &dev->dma_data[SNDRV_PCM_STREAM_CAPTURE]); in bcm2835_i2s_dai_probe()
823 dev->dma_data[SNDRV_PCM_STREAM_CAPTURE].addr = in bcm2835_i2s_probe()
830 dev->dma_data[SNDRV_PCM_STREAM_CAPTURE].addr_width = in bcm2835_i2s_probe()
835 dev->dma_data[SNDRV_PCM_STREAM_CAPTURE].maxburst = 2; in bcm2835_i2s_probe()
/linux-4.4.14/sound/soc/davinci/
Ddavinci-vcif.c179 dai->capture_dma_data = &dev->dma_data[SNDRV_PCM_STREAM_CAPTURE]; in davinci_vcif_dai_probe()
227 davinci_vcif_dev->dma_data[SNDRV_PCM_STREAM_CAPTURE].filter_data = in davinci_vcif_probe()
229 davinci_vcif_dev->dma_data[SNDRV_PCM_STREAM_CAPTURE].addr = in davinci_vcif_probe()
Ddavinci-mcasp.c204 mcasp->irq_request[SNDRV_PCM_STREAM_CAPTURE]); in mcasp_start_rx()
254 mcasp->irq_request[SNDRV_PCM_STREAM_CAPTURE]); in mcasp_stop_rx()
347 u32 irq_mask = mcasp->irq_request[SNDRV_PCM_STREAM_CAPTURE]; in davinci_mcasp_rx_irq_handler()
356 substream = mcasp->substreams[SNDRV_PCM_STREAM_CAPTURE]; in davinci_mcasp_rx_irq_handler()
386 if (mcasp->substreams[SNDRV_PCM_STREAM_CAPTURE]) in davinci_mcasp_common_irq_handler()
651 ret = davinci_mcasp_ch_constraint(mcasp, SNDRV_PCM_STREAM_CAPTURE, in davinci_mcasp_set_ch_constraints()
685 mcasp->tdm_mask[SNDRV_PCM_STREAM_CAPTURE] = rx_mask; in davinci_mcasp_set_tdm_slot()
906 } else if (stream == SNDRV_PCM_STREAM_CAPTURE) { in mcasp_i2s_hw_param()
1333 dai->capture_dma_data = &mcasp->dma_data[SNDRV_PCM_STREAM_CAPTURE]; in davinci_mcasp_dai_probe()
1786 mcasp->irq_request[SNDRV_PCM_STREAM_CAPTURE] = ROVRN; in davinci_mcasp_probe()
[all …]
Ddavinci-i2s.c433 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) { in davinci_i2s_hw_params()
626 dai->capture_dma_data = &dev->dma_data[SNDRV_PCM_STREAM_CAPTURE]; in davinci_i2s_dai_probe()
679 dev->dma_data[SNDRV_PCM_STREAM_CAPTURE].addr = in davinci_i2s_probe()
699 dma = &dev->dma_request[SNDRV_PCM_STREAM_CAPTURE]; in davinci_i2s_probe()
701 dev->dma_data[SNDRV_PCM_STREAM_CAPTURE].filter_data = dma; in davinci_i2s_probe()
/linux-4.4.14/sound/soc/codecs/
Dadau17x1.c246 SNDRV_PCM_STREAM_CAPTURE, adau17x1_capture_mux_text);
609 adau->tdm_slot[SNDRV_PCM_STREAM_CAPTURE] = 0; in adau17x1_set_dai_tdm_slot()
613 adau->tdm_slot[SNDRV_PCM_STREAM_CAPTURE] = 1; in adau17x1_set_dai_tdm_slot()
617 adau->tdm_slot[SNDRV_PCM_STREAM_CAPTURE] = 2; in adau17x1_set_dai_tdm_slot()
621 adau->tdm_slot[SNDRV_PCM_STREAM_CAPTURE] = 3; in adau17x1_set_dai_tdm_slot()
665 if (adau->dsp_bypass[SNDRV_PCM_STREAM_CAPTURE]) { in adau17x1_set_dai_tdm_slot()
667 (adau->tdm_slot[SNDRV_PCM_STREAM_CAPTURE] * 2) + 1); in adau17x1_set_dai_tdm_slot()
Dwl1273.c322 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) { in wl1273_startup()
367 substream->stream == SNDRV_PCM_STREAM_CAPTURE) { in wl1273_hw_params()
Dml26124.c394 case SNDRV_PCM_STREAM_CAPTURE: in ml26124_mute()
Dcs4265.c414 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE && in cs4265_pcm_hw_params()
Dwm8770.c444 case SNDRV_PCM_STREAM_CAPTURE: in wm8770_hw_params()
Dcs4271.c363 (substream->stream == SNDRV_PCM_STREAM_CAPTURE && in cs4271_hw_params()
Dwm8940.c405 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE in wm8940_i2s_hw_params()
Dwm8961.c542 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE && target < 256) { in wm8961_hw_params()
/linux-4.4.14/sound/pci/nm256/
Dnm256.c362 u32 poffset = (stream == SNDRV_PCM_STREAM_CAPTURE ? in snd_nm256_load_coefficient()
366 addr += (stream == SNDRV_PCM_STREAM_CAPTURE ? in snd_nm256_load_coefficient()
377 if (stream == SNDRV_PCM_STREAM_CAPTURE) in snd_nm256_load_coefficient()
455 case SNDRV_PCM_STREAM_CAPTURE: in snd_nm256_set_format()
773 s = &chip->streams[SNDRV_PCM_STREAM_CAPTURE]; in snd_nm256_capture_update()
875 snd_nm256_setup_stream(chip, &chip->streams[SNDRV_PCM_STREAM_CAPTURE], in snd_nm256_capture_open()
952 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_nm256_capture_ops); in snd_nm256_pcm()
995 if (chip->streams[SNDRV_PCM_STREAM_CAPTURE].running) in snd_nm256_intr_check()
1443 if (chip->streams[SNDRV_PCM_STREAM_CAPTURE].running) in snd_nm256_free()
1497 chip->streams[SNDRV_PCM_STREAM_CAPTURE].bufsize = capture_bufsize * 1024; in snd_nm256_create()
[all …]
/linux-4.4.14/sound/soc/cirrus/
Dep93xx-i2s.c77 [SNDRV_PCM_STREAM_CAPTURE] = {
153 &ep93xx_i2s_dma_data[SNDRV_PCM_STREAM_CAPTURE]; in ep93xx_i2s_dai_probe()
325 ep93xx_i2s_disable(info, SNDRV_PCM_STREAM_CAPTURE); in ep93xx_i2s_suspend()
338 ep93xx_i2s_enable(info, SNDRV_PCM_STREAM_CAPTURE); in ep93xx_i2s_resume()
/linux-4.4.14/sound/soc/omap/
Domap-mcpdm.c192 mcpdm->config[SNDRV_PCM_STREAM_CAPTURE].threshold); in omap_mcpdm_open_streams()
305 if (stream == SNDRV_PCM_STREAM_CAPTURE) in omap_mcpdm_dai_hw_params()
310 if (stream == SNDRV_PCM_STREAM_CAPTURE) in omap_mcpdm_dai_hw_params()
405 mcpdm->config[SNDRV_PCM_STREAM_CAPTURE].threshold = in omap_mcpdm_probe()
410 &mcpdm->dma_data[SNDRV_PCM_STREAM_CAPTURE]); in omap_mcpdm_probe()
Domap-pcm.c233 if (pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream) { in omap_pcm_new()
235 SNDRV_PCM_STREAM_CAPTURE); in omap_pcm_new()
Domap-mcbsp.c573 &mcbsp->dma_data[SNDRV_PCM_STREAM_CAPTURE]); in omap_mcbsp_probe()
/linux-4.4.14/sound/soc/
Dsoc-compress.c81 stream = SNDRV_PCM_STREAM_CAPTURE; in soc_compr_open_fe()
192 stream = SNDRV_PCM_STREAM_CAPTURE; in soc_compr_free()
225 SNDRV_PCM_STREAM_CAPTURE, in soc_compr_free()
245 stream = SNDRV_PCM_STREAM_CAPTURE; in soc_compr_free_fe()
328 stream = SNDRV_PCM_STREAM_CAPTURE; in soc_compr_trigger_fe()
395 snd_soc_dapm_stream_event(rtd, SNDRV_PCM_STREAM_CAPTURE, in soc_compr_set_params()
422 stream = SNDRV_PCM_STREAM_CAPTURE; in soc_compr_set_params_fe()
699 be_pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream->private_data = rtd; in snd_soc_new_compress()
Dsoc-generic-dmaengine-pcm.c271 for (i = SNDRV_PCM_STREAM_PLAYBACK; i <= SNDRV_PCM_STREAM_CAPTURE; i++) { in dmaengine_pcm_new()
341 [SNDRV_PCM_STREAM_CAPTURE] = "rx",
368 for (i = SNDRV_PCM_STREAM_PLAYBACK; i <= SNDRV_PCM_STREAM_CAPTURE; in dmaengine_pcm_request_chan_of()
398 for (i = SNDRV_PCM_STREAM_PLAYBACK; i <= SNDRV_PCM_STREAM_CAPTURE; in dmaengine_pcm_release_chan()
Dsoc-pcm.c703 snd_soc_dapm_stream_event(rtd, SNDRV_PCM_STREAM_CAPTURE, in soc_pcm_close()
1353 if (stream != SNDRV_PCM_STREAM_CAPTURE) in dpcm_add_paths()
2412 paths = dpcm_path_get(fe, SNDRV_PCM_STREAM_CAPTURE, &list); in soc_dpcm_runtime_update()
2421 new = dpcm_process_paths(fe, SNDRV_PCM_STREAM_CAPTURE, &list, 1); in soc_dpcm_runtime_update()
2423 dpcm_run_new_update(fe, SNDRV_PCM_STREAM_CAPTURE); in soc_dpcm_runtime_update()
2424 dpcm_clear_pending_state(fe, SNDRV_PCM_STREAM_CAPTURE); in soc_dpcm_runtime_update()
2425 dpcm_be_disconnect(fe, SNDRV_PCM_STREAM_CAPTURE); in soc_dpcm_runtime_update()
2429 old = dpcm_process_paths(fe, SNDRV_PCM_STREAM_CAPTURE, &list, 0); in soc_dpcm_runtime_update()
2431 dpcm_run_old_update(fe, SNDRV_PCM_STREAM_CAPTURE); in soc_dpcm_runtime_update()
2432 dpcm_clear_pending_state(fe, SNDRV_PCM_STREAM_CAPTURE); in soc_dpcm_runtime_update()
[all …]
Dsoc-core.c647 SNDRV_PCM_STREAM_CAPTURE, in snd_soc_suspend()
764 SNDRV_PCM_STREAM_CAPTURE, in soc_resume_deferred()
1208 INIT_LIST_HEAD(&rtd->dpcm[SNDRV_PCM_STREAM_CAPTURE].be_clients); in soc_post_component_init()
1210 INIT_LIST_HEAD(&rtd->dpcm[SNDRV_PCM_STREAM_CAPTURE].fe_clients); in soc_post_component_init()
Dsoc-dapm.c3506 substream.stream = SNDRV_PCM_STREAM_CAPTURE; in snd_soc_dai_link_event()
3552 substream.stream = SNDRV_PCM_STREAM_CAPTURE; in snd_soc_dai_link_event()
/linux-4.4.14/sound/soc/spear/
Dspdif_in.c71 if (substream->stream != SNDRV_PCM_STREAM_CAPTURE) in spdif_in_shutdown()
101 if (substream->stream != SNDRV_PCM_STREAM_CAPTURE) in spdif_in_hw_params()
117 if (substream->stream != SNDRV_PCM_STREAM_CAPTURE) in spdif_in_trigger()
/linux-4.4.14/sound/isa/
Dcmi8330.c416 #define CMI_AD_STREAM SNDRV_PCM_STREAM_CAPTURE
418 #define CMI_SB_STREAM SNDRV_PCM_STREAM_CAPTURE
436 substream->private_data = chip->streams[SNDRV_PCM_STREAM_CAPTURE].private_data; in snd_cmi8330_capture_open()
437 return chip->streams[SNDRV_PCM_STREAM_CAPTURE].open(substream); in snd_cmi8330_capture_open()
470 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &chip->streams[SNDRV_PCM_STREAM_CAPTURE].ops); in snd_cmi8330_pcm()
Des18xx.c1706 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_es18xx_capture_ops); in snd_es18xx_pcm()
/linux-4.4.14/sound/pci/lx6464es/
Dlx6464es.c111 int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); in lx_hardware_open()
137 int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); in lx_hardware_start()
168 int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); in lx_hardware_stop()
199 int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); in lx_hardware_close()
282 int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); in lx_pcm_stream_pointer()
301 const int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); in lx_pcm_prepare()
389 int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); in lx_pcm_hw_free()
536 const int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); in lx_pcm_trigger()
851 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &lx_ops_capture); in lx_pcm_create()
/linux-4.4.14/sound/firewire/dice/
Ddice-pcm.c27 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in dice_rate_constraint()
62 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in dice_channels_constraint()
135 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) { in init_hw_info()
424 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &capture_ops); in snd_dice_create_pcm()
/linux-4.4.14/sound/drivers/
Daloop.c195 #define CABLE_VALID_CAPTURE (1 << SNDRV_PCM_STREAM_CAPTURE)
212 cruntime = cable->streams[SNDRV_PCM_STREAM_CAPTURE]-> in loopback_check_format()
219 if (stream == SNDRV_PCM_STREAM_CAPTURE) { in loopback_check_format()
222 snd_pcm_stop(cable->streams[SNDRV_PCM_STREAM_CAPTURE]-> in loopback_check_format()
334 params_change_substream(cable->streams[SNDRV_PCM_STREAM_CAPTURE], in params_change()
353 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) { in loopback_prepare()
484 cable->streams[SNDRV_PCM_STREAM_CAPTURE]; in loopback_pos_update()
494 if (running & (1 << SNDRV_PCM_STREAM_CAPTURE)) { in loopback_pos_update()
790 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &loopback_capture_ops); in loopback_pcm_new()
1015 pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream_count; in loopback_mixer_new()
Dml403-ac97cr.c1251 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE,
Ddummy.c707 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, ops); in snd_card_dummy_pcm()
/linux-4.4.14/sound/pci/oxygen/
Doxygen_pcm.c718 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, in oxygen_pcm_init()
721 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, in oxygen_pcm_init()
732 snd_pcm_lib_preallocate_pages(pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream, in oxygen_pcm_init()
749 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, in oxygen_pcm_init()
779 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, in oxygen_pcm_init()
794 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, in oxygen_pcm_init()
/linux-4.4.14/drivers/media/pci/solo6x10/
Dsolo6x10-g723.c88 &solo_dev->snd_pcm->streams[SNDRV_PCM_STREAM_CAPTURE]; in solo_g723_isr()
327 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, in solo_snd_pcm_init()
334 for (i = 0, ss = pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream; in solo_snd_pcm_init()
/linux-4.4.14/sound/pcmcia/pdaudiocf/
Dpdaudiocf_pcm.c295 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &pdacf_pcm_capture_ops); in snd_pdacf_pcm_new()
303 err = snd_ak4117_build(chip->ak4117, pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream); in snd_pdacf_pcm_new()
/linux-4.4.14/sound/soc/adi/
Daxi-i2s.c61 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in axi_i2s_trigger()
111 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in axi_i2s_startup()
/linux-4.4.14/sound/usb/line6/
Dcapture.c91 get_substream(line6pcm, SNDRV_PCM_STREAM_CAPTURE); in line6_capture_copy()
133 get_substream(line6pcm, SNDRV_PCM_STREAM_CAPTURE); in line6_capture_check_period()
Dpcm.c215 if (direction == SNDRV_PCM_STREAM_CAPTURE) { in line6_stream_stop()
473 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_line6_capture_ops); in snd_line6_new_pcm()
/linux-4.4.14/sound/pci/hda/
Dpatch_si3054.c207 info->stream[SNDRV_PCM_STREAM_CAPTURE] = si3054_pcm; in si3054_build_pcms()
209 info->stream[SNDRV_PCM_STREAM_CAPTURE].nid = codec->core.mfg; in si3054_build_pcms()
Dhda_controller.c81 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in azx_adjust_codec_delay()
471 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) { in azx_pcm_open()
544 cpcm->stream[SNDRV_PCM_STREAM_CAPTURE].substreams, in snd_hda_attach_pcm_stream()
1148 return SNDRV_PCM_STREAM_CAPTURE; in stream_direction()
Dpatch_ca0132.c4073 info->stream[SNDRV_PCM_STREAM_CAPTURE] = ca0132_pcm_analog_capture; in ca0132_build_pcms()
4074 info->stream[SNDRV_PCM_STREAM_CAPTURE].substreams = 1; in ca0132_build_pcms()
4075 info->stream[SNDRV_PCM_STREAM_CAPTURE].nid = spec->adcs[0]; in ca0132_build_pcms()
4080 info->stream[SNDRV_PCM_STREAM_CAPTURE] = ca0132_pcm_analog_capture; in ca0132_build_pcms()
4081 info->stream[SNDRV_PCM_STREAM_CAPTURE].substreams = 1; in ca0132_build_pcms()
4082 info->stream[SNDRV_PCM_STREAM_CAPTURE].nid = spec->adcs[1]; in ca0132_build_pcms()
4087 info->stream[SNDRV_PCM_STREAM_CAPTURE] = ca0132_pcm_analog_capture; in ca0132_build_pcms()
4088 info->stream[SNDRV_PCM_STREAM_CAPTURE].substreams = 1; in ca0132_build_pcms()
4089 info->stream[SNDRV_PCM_STREAM_CAPTURE].nid = spec->adcs[2]; in ca0132_build_pcms()
4104 info->stream[SNDRV_PCM_STREAM_CAPTURE] = in ca0132_build_pcms()
[all …]
Dhda_generic.c5560 setup_pcm_stream(&info->stream[SNDRV_PCM_STREAM_CAPTURE], in snd_hda_gen_build_pcms()
5589 setup_pcm_stream(&info->stream[SNDRV_PCM_STREAM_CAPTURE], in snd_hda_gen_build_pcms()
5622 setup_pcm_stream(&info->stream[SNDRV_PCM_STREAM_CAPTURE], in snd_hda_gen_build_pcms()
5626 info->stream[SNDRV_PCM_STREAM_CAPTURE].substreams = in snd_hda_gen_build_pcms()
5629 setup_pcm_stream(&info->stream[SNDRV_PCM_STREAM_CAPTURE], in snd_hda_gen_build_pcms()
/linux-4.4.14/sound/soc/rockchip/
Drockchip_i2s.c268 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in rockchip_i2s_hw_params()
302 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in rockchip_i2s_trigger()
310 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in rockchip_i2s_trigger()
/linux-4.4.14/sound/firewire/oxfw/
Doxfw-pcm.c136 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) { in init_hw_params()
173 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in limit_to_current_params()
430 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &capture_ops); in snd_oxfw_create_pcm()
/linux-4.4.14/sound/soc/au1x/
Ddbdma2.c163 if (stype == SNDRV_PCM_STREAM_CAPTURE) in au1x_pcm_dbdma_realloc()
249 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) { in au1xpsc_pcm_prepare()
Di2sc.c263 ctx->dmaids[SNDRV_PCM_STREAM_CAPTURE] = dmares->start; in au1xi2s_drvprobe()
Dac97c.c263 ctx->dmaids[SNDRV_PCM_STREAM_CAPTURE] = dmares->start; in au1xac97c_drvprobe()
Dpsc-i2s.c319 wd->dmaids[SNDRV_PCM_STREAM_CAPTURE] = dmares->start; in au1xpsc_i2s_drvprobe()
Dpsc-ac97.c394 wd->dmaids[SNDRV_PCM_STREAM_CAPTURE] = dmares->start; in au1xpsc_ac97_drvprobe()
/linux-4.4.14/sound/firewire/tascam/
Dtascam-pcm.c46 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) { in pcm_init_hw_params()
309 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &pcm_capture_ops); in snd_tscm_create_pcm_devices()
/linux-4.4.14/sound/arm/
Dpxa2xx-pcm.c110 int stream = SNDRV_PCM_STREAM_CAPTURE; in pxa2xx_pcm_new()
Daaci.c943 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &aaci_capture_ops); in aaci_init_pcm()
/linux-4.4.14/sound/soc/kirkwood/
Dkirkwood-dma.c291 if (pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream) { in kirkwood_dma_new()
293 SNDRV_PCM_STREAM_CAPTURE); in kirkwood_dma_new()
/linux-4.4.14/sound/firewire/digi00x/
Ddigi00x-pcm.c87 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) { in pcm_init_hw_params()
370 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &pcm_capture_ops); in snd_dg00x_create_pcm_devices()
/linux-4.4.14/sound/core/oss/
Dpcm_plugin.c217 } else if (stream == SNDRV_PCM_STREAM_CAPTURE) { in snd_pcm_plug_client_size()
253 } else if (stream == SNDRV_PCM_STREAM_CAPTURE) { in snd_pcm_plug_slave_size()
387 case SNDRV_PCM_STREAM_CAPTURE: in snd_pcm_plug_format_plugins()
578 v->wanted = (stream == SNDRV_PCM_STREAM_CAPTURE); in snd_pcm_plug_client_channels_buf()
Dpcm_oss.c1002 substream->stream == SNDRV_PCM_STREAM_CAPTURE) in snd_pcm_oss_change_params()
1688 substream = pcm_oss_file->streams[SNDRV_PCM_STREAM_CAPTURE]; in snd_pcm_oss_sync()
1989 csubstream = pcm_oss_file->streams[SNDRV_PCM_STREAM_CAPTURE]; in snd_pcm_oss_set_trigger()
2053 csubstream = pcm_oss_file->streams[SNDRV_PCM_STREAM_CAPTURE]; in snd_pcm_oss_get_trigger()
2417 snd_pcm_oss_look_for_setup(pcm, SNDRV_PCM_STREAM_CAPTURE, in snd_pcm_oss_open()
2478 substream = pcm_oss_file->streams[SNDRV_PCM_STREAM_CAPTURE]; in snd_pcm_oss_release()
2600 SNDRV_PCM_STREAM_CAPTURE : SNDRV_PCM_STREAM_PLAYBACK, in snd_pcm_oss_ioctl()
2622 SNDRV_PCM_STREAM_CAPTURE : SNDRV_PCM_STREAM_PLAYBACK, in snd_pcm_oss_ioctl()
2628 SNDRV_PCM_STREAM_CAPTURE : SNDRV_PCM_STREAM_PLAYBACK, in snd_pcm_oss_ioctl()
2666 substream = pcm_oss_file->streams[SNDRV_PCM_STREAM_CAPTURE]; in snd_pcm_oss_read()
[all …]
/linux-4.4.14/sound/core/
Dpcm.c786 if ((err = snd_pcm_new_stream(pcm, SNDRV_PCM_STREAM_CAPTURE, capture_count)) < 0) { in _snd_pcm_new()
892 snd_pcm_free_stream(&pcm->streams[SNDRV_PCM_STREAM_CAPTURE]); in snd_pcm_free()
917 stream != SNDRV_PCM_STREAM_CAPTURE)) in snd_pcm_attach_substream()
1084 case SNDRV_PCM_STREAM_CAPTURE: in snd_pcm_dev_register()
1198 if (pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream) in snd_pcm_proc_read()
1200 pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream_count); in snd_pcm_proc_read()
Dpcm_timer.c124 substream->stream == SNDRV_PCM_STREAM_CAPTURE ? in snd_pcm_timer_init()
Dpcm_compat.c716 return snd_pcm_ioctl_xferi_compat(substream, SNDRV_PCM_STREAM_CAPTURE, argp); in snd_pcm_ioctl_compat()
720 return snd_pcm_ioctl_xfern_compat(substream, SNDRV_PCM_STREAM_CAPTURE, argp); in snd_pcm_ioctl_compat()
Dpcm_native.c2346 err = snd_pcm_open(file, pcm, SNDRV_PCM_STREAM_CAPTURE); in snd_pcm_capture_open()
2632 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in snd_pcm_hwsync()
2665 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in snd_pcm_delay()
2905 if (snd_BUG_ON(substream->stream != SNDRV_PCM_STREAM_CAPTURE)) in snd_pcm_capture_ioctl1()
3019 case SNDRV_PCM_STREAM_CAPTURE: in snd_pcm_kernel_ioctl()
/linux-4.4.14/sound/soc/samsung/
Dac97.c214 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in s3c_ac97_trigger()
223 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in s3c_ac97_trigger()
Ds3c24xx-i2s.c270 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in s3c24xx_i2s_trigger()
279 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in s3c24xx_i2s_trigger()
Dpcm.c231 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in s3c_pcm_trigger()
244 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in s3c_pcm_trigger()
Ds3c-i2s-v2.c390 int capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); in s3c2412_i2s_trigger()
Di2s.c872 int capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); in i2s_trigger()
948 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in i2s_delay()
/linux-4.4.14/sound/firewire/fireworks/
Dfireworks_pcm.c161 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) { in pcm_init_hw_params()
411 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &pcm_capture_ops); in snd_efw_create_pcm_devices()
/linux-4.4.14/sound/firewire/bebob/
Dbebob_pcm.c124 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) { in pcm_init_hw_params()
387 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &pcm_capture_ops); in snd_bebob_create_pcm_devices()
/linux-4.4.14/sound/soc/atmel/
Datmel-pcm-pdc.c98 if (pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream) { in atmel_pcm_new()
101 SNDRV_PCM_STREAM_CAPTURE); in atmel_pcm_new()
/linux-4.4.14/sound/soc/blackfin/
Dbf5xx-ac97-pcm.c435 if (pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream) { in bf5xx_pcm_ac97_new()
437 SNDRV_PCM_STREAM_CAPTURE); in bf5xx_pcm_ac97_new()
/linux-4.4.14/sound/usb/6fire/
Dpcm.c128 else if (alsa_sub->stream == SNDRV_PCM_STREAM_CAPTURE) in usb6fire_pcm_get_substream()
407 } else if (alsa_sub->stream == SNDRV_PCM_STREAM_CAPTURE) { in usb6fire_pcm_open()
664 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &pcm_ops); in usb6fire_pcm_init()
/linux-4.4.14/sound/soc/intel/haswell/
Dsst-haswell-pcm.c742 || (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in hsw_notify_pointer()
953 pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream) { in hsw_pcm_new()
967 if (pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream) in hsw_pcm_new()
968 priv_data->pcm[rtd->cpu_dai->id][SNDRV_PCM_STREAM_CAPTURE].hsw_pcm = pcm; in hsw_pcm_new()
1088 mutex_init(&priv_data->pcm[i][SNDRV_PCM_STREAM_CAPTURE].mutex); in hsw_pcm_probe()
/linux-4.4.14/sound/pci/ca0106/
Dca0106_main.c1381 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_ca0106_capture_0_ops); in snd_ca0106_pcm()
1386 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_ca0106_capture_1_ops); in snd_ca0106_pcm()
1391 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_ca0106_capture_2_ops); in snd_ca0106_pcm()
1396 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_ca0106_capture_3_ops); in snd_ca0106_pcm()
1414 for (substream = pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream; in snd_ca0106_pcm()
/linux-4.4.14/sound/ppc/
Dpmac.c121 SNDRV_PCM_STREAM_CAPTURE : SNDRV_PCM_STREAM_PLAYBACK; in another_stream()
150 case SNDRV_PCM_STREAM_CAPTURE: in snd_pmac_get_stream()
721 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_pmac_capture_ops); in snd_pmac_pcm_new()
1199 chip->capture.stream = SNDRV_PCM_STREAM_CAPTURE; in snd_pmac_new()
/linux-4.4.14/sound/usb/caiaq/
Daudio.c770 urbs[i]->complete = (dir == SNDRV_PCM_STREAM_CAPTURE) ? in alloc_urbs()
860 snd_pcm_set_ops(cdev->pcm, SNDRV_PCM_STREAM_CAPTURE, in snd_usb_caiaq_audio_init()
878 cdev->data_urbs_in = alloc_urbs(cdev, SNDRV_PCM_STREAM_CAPTURE, &ret); in snd_usb_caiaq_audio_init()
/linux-4.4.14/sound/pci/
Drme32.c1157 if (rme32->running & (1 << SNDRV_PCM_STREAM_CAPTURE)) in snd_rme32_playback_fd_ack()
1377 snd_pcm_set_ops(rme32->spdif_pcm, SNDRV_PCM_STREAM_CAPTURE, in snd_rme32_create()
1386 snd_pcm_set_ops(rme32->spdif_pcm, SNDRV_PCM_STREAM_CAPTURE, in snd_rme32_create()
1409 snd_pcm_set_ops(rme32->adat_pcm, SNDRV_PCM_STREAM_CAPTURE, in snd_rme32_create()
1418 snd_pcm_set_ops(rme32->adat_pcm, SNDRV_PCM_STREAM_CAPTURE, in snd_rme32_create()
Dvia82xx.c1463 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_via8233_capture_ops); in snd_via8233_pcm_new()
1488 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_via8233_capture_ops); in snd_via8233_pcm_new()
1531 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_via8233_capture_ops); in snd_via8233a_pcm_new()
1589 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_via686_capture_ops); in snd_via686_pcm_new()
Dmaestro3.c1076 case SNDRV_PCM_STREAM_CAPTURE: in snd_m3_pcm_start()
1103 case SNDRV_PCM_STREAM_CAPTURE: in snd_m3_pcm_stop()
1871 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_m3_capture_ops); in snd_m3_pcm()
Dals300.c603 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, in snd_als300_new_pcm()
Dals4000.c708 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_als4000_capture_ops); in snd_als4000_pcm()
Dad1889.c636 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, in snd_ad1889_pcm_init()
Dbt87x.c716 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_bt87x_pcm_ops); in snd_bt87x_pcm()
Dvia82xx_modem.c858 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_via686_capture_ops); in snd_via686_pcm_new()
Datiixp_modem.c1005 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_atiixp_capture_ops); in snd_atiixp_pcm_new()
Drme96.c1646 snd_pcm_set_ops(rme96->spdif_pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_rme96_capture_spdif_ops); in snd_rme96_create()
1664 snd_pcm_set_ops(rme96->adat_pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_rme96_capture_adat_ops); in snd_rme96_create()
Dintel8x0m.c740 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, rec->capture_ops); in snd_intel8x0m_pcm1()
Dsis7019.c914 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &sis_capture_ops); in sis_pcm_create()
Dfm801.c710 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_fm801_capture_ops); in snd_fm801_pcm()
Datiixp.c1288 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_atiixp_capture_ops); in snd_atiixp_pcm_new()
Dsonicvibes.c893 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_sonicvibes_capture_ops); in snd_sonicvibes_pcm()
Dcmipci.c1910 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_cmipci_capture_ops); in snd_cmipci_pcm_new()
1955 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_cmipci_capture_spdif_ops); in snd_cmipci_pcm_spdif_new()
Dcs4281.c986 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_cs4281_capture_ops); in snd_cs4281_pcm()
Des1938.c1026 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_es1938_capture_ops); in snd_es1938_new_pcm()
Dazt3328.c2141 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, in snd_azf3328_pcm()
Des1968.c1834 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_es1968_capture_ops); in snd_es1968_pcm()
Dens1370.c1285 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_ensoniq_capture_ops); in snd_ensoniq_pcm()
Dintel8x0.c1537 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, rec->capture_ops); in snd_intel8x0_pcm1()
/linux-4.4.14/include/uapi/sound/
Dasound.h171 SNDRV_PCM_STREAM_CAPTURE, enumerator
172 SNDRV_PCM_STREAM_LAST = SNDRV_PCM_STREAM_CAPTURE,
/linux-4.4.14/sound/pci/au88x0/
Dau88x0_pcm.c644 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, in snd_vortex_new_pcm()
661 err = snd_pcm_add_chmap_ctls(pcm, SNDRV_PCM_STREAM_CAPTURE, in snd_vortex_new_pcm()
/linux-4.4.14/sound/aoa/soundbus/i2sbus/
Dpcm.c1002 err = snd_pcm_new_stream(dev->pcm, SNDRV_PCM_STREAM_CAPTURE, 1); in i2sbus_attach_codec()
1005 snd_pcm_set_ops(dev->pcm, SNDRV_PCM_STREAM_CAPTURE, in i2sbus_attach_codec()
1007 dev->pcm->streams[SNDRV_PCM_STREAM_CAPTURE].dev.parent = in i2sbus_attach_codec()
/linux-4.4.14/drivers/media/pci/cx18/
Dcx18-alsa-pcm.c347 snd_pcm_set_ops(sp, SNDRV_PCM_STREAM_CAPTURE, in snd_cx18_pcm_create()
/linux-4.4.14/sound/soc/nuc900/
Dnuc900-pcm.c229 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in nuc900_dma_pointer()
/linux-4.4.14/drivers/media/pci/ivtv/
Divtv-alsa-pcm.c354 snd_pcm_set_ops(sp, SNDRV_PCM_STREAM_CAPTURE, in snd_ivtv_pcm_create()
/linux-4.4.14/drivers/media/usb/go7007/
Dsnd-go7007.c268 snd_pcm_set_ops(gosnd->pcm, SNDRV_PCM_STREAM_CAPTURE, in go7007_snd_init()
/linux-4.4.14/sound/soc/dwc/
Ddesignware_i2s.c199 (substream->stream == SNDRV_PCM_STREAM_CAPTURE)) in dw_i2s_startup()
208 else if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in dw_i2s_startup()
/linux-4.4.14/drivers/media/usb/usbtv/
Dusbtv-audio.c361 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_usbtv_pcm_ops); in usbtv_audio_init()
/linux-4.4.14/sound/soc/zte/
Dzx296702-i2s.c290 int capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); in zx_i2s_trigger()
/linux-4.4.14/sound/pci/emu10k1/
Dp16v.c657 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_p16v_capture_ops); in snd_p16v_pcm()
678 for (substream = pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream; in snd_p16v_pcm()
Demupcm.c1415 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_emu10k1_capture_ops); in snd_emu10k1_pcm()
1426 …for (substream = pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream; substream; substream = substrea… in snd_emu10k1_pcm()
1479 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_emu10k1_capture_mic_ops); in snd_emu10k1_pcm_mic()
1818 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_emu10k1_capture_efx_ops); in snd_emu10k1_pcm_efx()
Demu10k1x.c868 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_emu10k1x_capture_ops); in snd_emu10k1x_pcm()
/linux-4.4.14/sound/pci/mixart/
Dmixart.c645 if( subs->stream == SNDRV_PCM_STREAM_CAPTURE ) { in snd_mixart_hw_params()
986 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_mixart_capture_ops); in snd_mixart_pcm_analog()
1019 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_mixart_capture_ops); in snd_mixart_pcm_digital()
/linux-4.4.14/sound/pci/rme9652/
Drme9652.c1848 snd_pcm_period_elapsed(rme9652->pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream); in snd_rme9652_interrupt()
1877 if (stream == SNDRV_PCM_STREAM_CAPTURE) { in rme9652_channel_buffer_location()
2113 substream->stream == SNDRV_PCM_STREAM_CAPTURE) in snd_rme9652_trigger()
2121 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in snd_rme9652_trigger()
2411 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_rme9652_capture_ops); in snd_rme9652_create_pcm()
Dhdsp.c3858 snd_pcm_period_elapsed(hdsp->pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream); in snd_hdsp_interrupt()
3910 if (stream == SNDRV_PCM_STREAM_CAPTURE) in hdsp_channel_buffer_location()
4142 substream->stream == SNDRV_PCM_STREAM_CAPTURE) in snd_hdsp_trigger()
4150 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in snd_hdsp_trigger()
4918 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_hdsp_capture_ops); in snd_hdsp_create_pcm()
Dhdspm.c5797 SNDRV_PCM_STREAM_CAPTURE) in snd_hdspm_trigger()
5805 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in snd_hdspm_trigger()
6461 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, in snd_hdspm_create_pcm()
/linux-4.4.14/drivers/media/usb/tm6000/
Dtm6000-alsa.c469 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_tm6000_pcm_ops); in tm6000_audio_init()
/linux-4.4.14/sound/pci/lola/
Dlola.h315 #define CAPT SNDRV_PCM_STREAM_CAPTURE
Dlola_pcm.c616 chip->pcm[SNDRV_PCM_STREAM_CAPTURE].num_streams, in lola_create_pcm()
/linux-4.4.14/sound/isa/sb/
Dsb16_main.c343 snd_sb16_setup_rate(chip, runtime->rate, SNDRV_PCM_STREAM_CAPTURE); in snd_sb16_capture_prepare()
877 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_sb16_capture_ops); in snd_sb16dsp_pcm()
Dsb8_main.c611 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_sb8_capture_ops); in snd_sb8dsp_pcm()
/linux-4.4.14/sound/mips/
Dsgio2audio.c635 case SNDRV_PCM_STREAM_CAPTURE: in snd_sgio2audio_pcm_prepare()
738 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, in snd_sgio2audio_new_pcm()
Dau1x00.c459 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, in snd_au1000_pcm_new()
Dhal2.c752 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, in hal2_pcm_create()
/linux-4.4.14/sound/soc/intel/skylake/
Dskl-pcm.c133 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) { in skl_pcm_open()
834 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in skl_adjust_codec_delay()
Dskl.c422 (ebus, 0, cp_streams, SNDRV_PCM_STREAM_CAPTURE); in skl_first_init()
/linux-4.4.14/sound/pci/ctxfi/
Dctpcm.c454 SNDRV_PCM_STREAM_CAPTURE, &ct_pcm_capture_ops); in ct_alsa_pcm_create()
/linux-4.4.14/sound/pci/cs5535audio/
Dcs5535audio_pcm.c440 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, in snd_cs5535audio_pcm()
/linux-4.4.14/sound/soc/txx9/
Dtxx9aclc.c300 dev->dmadata[1].stream = SNDRV_PCM_STREAM_CAPTURE; in txx9aclc_pcm_new()
/linux-4.4.14/sound/soc/intel/baytrail/
Dsst-baytrail-pcm.c332 pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream) { in sst_byt_pcm_new()
/linux-4.4.14/sound/isa/ad1816a/
Dad1816a_lib.c217 SNDRV_PCM_STREAM_CAPTURE, cmd, 1); in snd_ad1816a_capture_trigger()
687 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_ad1816a_capture_ops); in snd_ad1816a_pcm()
/linux-4.4.14/sound/pci/echoaudio/
Dechoaudio.c923 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &analog_capture_ops); in snd_echo_new_pcm()
935 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &digital_capture_ops); in snd_echo_new_pcm()
956 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &analog_capture_ops); in snd_echo_new_pcm()
970 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &digital_capture_ops); in snd_echo_new_pcm()
/linux-4.4.14/drivers/media/pci/cx23885/
Dcx23885-alsa.c535 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_cx23885_pcm_ops); in snd_cx23885_pcm()
/linux-4.4.14/sound/pci/ice1712/
Drevo.c613 ice->pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream); in revo_add_controls()
Djuli.c479 ice->pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream); in juli_add_controls()
Dprodigy192.c683 ice->pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream); in prodigy192_add_controls()
Dquartet.c832 ice->pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream); in qtet_add_controls()
Dice1724.c1154 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, in snd_vt1724_pcm_profi()
1352 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, in snd_vt1724_pcm_spdif()
Dice1712.c893 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_ice1712_capture_ops); in snd_ice1712_pcm()
1263 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_ice1712_capture_pro_ops); in snd_ice1712_pcm_profi()
/linux-4.4.14/drivers/media/pci/cobalt/
Dcobalt-alsa-pcm.c568 snd_pcm_set_ops(sp, SNDRV_PCM_STREAM_CAPTURE, in snd_cobalt_pcm_create()
/linux-4.4.14/sound/isa/gus/
Dgus_pcm.c882 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_gf1_pcm_capture_ops); in snd_gf1_pcm_new()
885 snd_pcm_lib_preallocate_pages(pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream, in snd_gf1_pcm_new()
/linux-4.4.14/drivers/staging/most/aim-sound/
Dsound.c593 direction = SNDRV_PCM_STREAM_CAPTURE; in audio_probe_channel()
/linux-4.4.14/sound/pci/aw2/
Daw2-alsa.c690 snd_pcm_set_ops(pcm_capture, SNDRV_PCM_STREAM_CAPTURE, in snd_aw2_new_pcm()
/linux-4.4.14/sound/pci/asihpi/
Dasihpi.c474 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) { in snd_card_asihpi_pcm_hw_params()
657 if ((substream->stream == SNDRV_PCM_STREAM_CAPTURE) || in snd_card_asihpi_trigger()
882 (s->stream == SNDRV_PCM_STREAM_CAPTURE))) in snd_card_asihpi_timer_function()
1338 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, in snd_card_asihpi_pcm_new()
/linux-4.4.14/sound/soc/sh/
Dsiu_pcm.c228 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) { in siu_io_tasklet()
/linux-4.4.14/sound/isa/msnd/
Dmsnd.c693 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_msnd_capture_ops); in snd_msnd_pcm()
/linux-4.4.14/drivers/media/pci/cx25821/
Dcx25821-alsa.c682 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_cx25821_pcm_ops); in snd_cx25821_pcm()
/linux-4.4.14/sound/pci/trident/
Dtrident_main.c2189 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, in snd_trident_pcm()
2205 snd_pcm_lib_preallocate_pages(pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream, in snd_trident_pcm()
2241 snd_pcm_set_ops(foldback, SNDRV_PCM_STREAM_CAPTURE, &snd_trident_nx_foldback_ops); in snd_trident_foldback_pcm()
2243 snd_pcm_set_ops(foldback, SNDRV_PCM_STREAM_CAPTURE, &snd_trident_foldback_ops); in snd_trident_foldback_pcm()
2246 substream = foldback->streams[SNDRV_PCM_STREAM_CAPTURE].substream; in snd_trident_foldback_pcm()
/linux-4.4.14/sound/firewire/
Disight.c467 isight->pcm = pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream; in isight_create_pcm()
/linux-4.4.14/drivers/media/usb/cx231xx/
Dcx231xx-audio.c679 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, in cx231xx_audio_init()
/linux-4.4.14/sound/pci/pcxhr/
Dpcxhr.c643 is_capture = (subs->stream == SNDRV_PCM_STREAM_CAPTURE); in pcxhr_update_r_buffer()
1180 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &pcxhr_ops); in pcxhr_create_pcm()
/linux-4.4.14/sound/soc/intel/atom/
Dsst-mfld-platform-pcm.c100 {MERR_DPCM_AUDIO, 0, SNDRV_PCM_STREAM_CAPTURE, PIPE_PCM1_OUT, SST_TASK_ID_MEDIA, 0},
/linux-4.4.14/sound/sparc/
Damd7930.c771 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_amd7930_capture_ops); in snd_amd7930_pcm()
Dcs4231.c1240 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, in snd_cs4231_pcm()
Ddbri.c2233 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_dbri_ops); in snd_dbri_pcm()
/linux-4.4.14/drivers/media/usb/em28xx/
Dem28xx-audio.c924 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_em28xx_pcm_capture); in em28xx_audio_init()
/linux-4.4.14/drivers/media/pci/cx88/
Dcx88-alsa.c627 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_cx88_pcm_ops); in snd_cx88_pcm()
/linux-4.4.14/sound/parisc/
Dharmony.c638 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, in snd_harmony_pcm_init()
/linux-4.4.14/sound/drivers/vx/
Dvx_pcm.c1250 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &vx_pcm_capture_ops); in snd_vx_pcm_new()
/linux-4.4.14/drivers/media/pci/saa7134/
Dsaa7134-alsa.c907 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_card_saa7134_capture_ops); in snd_card_saa7134_pcm()
/linux-4.4.14/sound/isa/es1688/
Des1688_lib.c741 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_es1688_capture_ops); in snd_es1688_pcm()
/linux-4.4.14/sound/soc/mediatek/
Dmtk-afe-pcm.c559 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) { in mtk_afe_dais_startup()
/linux-4.4.14/sound/atmel/
Dac97c.c784 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, in atmel_ac97c_pcm_new()
/linux-4.4.14/sound/pci/ymfpci/
Dymfpci_main.c1158 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_ymfpci_capture_rec_ops); in snd_ymfpci_pcm()
1192 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_ymfpci_capture_ac97_ops); in snd_ymfpci_pcm2()
/linux-4.4.14/sound/usb/misc/
Dua101.c1310 snd_pcm_set_ops(ua->pcm, SNDRV_PCM_STREAM_CAPTURE, &capture_pcm_ops); in ua101_probe()
/linux-4.4.14/drivers/usb/gadget/function/
Df_uac2.c481 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &uac2_pcm_ops); in snd_uac2_probe()
/linux-4.4.14/sound/pci/ali5451/
Dali5451.c1686 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, in snd_ali_pcm()
/linux-4.4.14/sound/pci/korg1212/
Dkorg1212.c2395 snd_pcm_set_ops(korg1212->pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_korg1212_capture_ops); in snd_korg1212_create()
/linux-4.4.14/sound/isa/wss/
Dwss_lib.c1936 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_wss_capture_ops); in snd_wss_pcm()
/linux-4.4.14/sound/pci/riptide/
Driptide.c1706 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, in snd_riptide_pcm()
/linux-4.4.14/sound/pci/cs46xx/
Dcs46xx_lib.c1791 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_cs46xx_capture_ops); in snd_cs46xx_pcm()