/linux-4.4.14/sound/usb/usx2y/ |
D | usx2yhwdeppcm.c | 249 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()
|
D | usbusx2yaudio.c | 317 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/ |
D | mpc5200_dma.c | 140 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()
|
D | imx-pcm-fiq.c | 276 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()
|
D | mpc5200_dma.h | 79 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in to_psc_dma_stream()
|
D | fsl_dma.c | 309 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()
|
D | mpc5200_psc_ac97.c | 159 if (substream->pstr->stream != SNDRV_PCM_STREAM_CAPTURE) in psc_ac97_hw_analog_params()
|
/linux-4.4.14/sound/soc/pxa/ |
D | pxa2xx-pcm.c | 77 if (pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream) { in pxa2xx_soc_pcm_new() 79 SNDRV_PCM_STREAM_CAPTURE); in pxa2xx_soc_pcm_new()
|
D | mmp-pcm.c | 230 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/ |
D | proc.c | 161 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()
|
D | quirks.c | 169 ? 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()
|
D | pcm.c | 133 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()
|
D | stream.c | 527 SNDRV_PCM_STREAM_CAPTURE : SNDRV_PCM_STREAM_PLAYBACK; in snd_usb_parse_audio_interface()
|
/linux-4.4.14/sound/soc/bcm/ |
D | bcm2835-i2s.c | 582 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/ |
D | davinci-vcif.c | 179 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()
|
D | davinci-mcasp.c | 204 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 …]
|
D | davinci-i2s.c | 433 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/ |
D | adau17x1.c | 246 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()
|
D | wl1273.c | 322 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) { in wl1273_startup() 367 substream->stream == SNDRV_PCM_STREAM_CAPTURE) { in wl1273_hw_params()
|
D | ml26124.c | 394 case SNDRV_PCM_STREAM_CAPTURE: in ml26124_mute()
|
D | cs4265.c | 414 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE && in cs4265_pcm_hw_params()
|
D | wm8770.c | 444 case SNDRV_PCM_STREAM_CAPTURE: in wm8770_hw_params()
|
D | cs4271.c | 363 (substream->stream == SNDRV_PCM_STREAM_CAPTURE && in cs4271_hw_params()
|
D | wm8940.c | 405 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE in wm8940_i2s_hw_params()
|
D | wm8961.c | 542 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE && target < 256) { in wm8961_hw_params()
|
/linux-4.4.14/sound/pci/nm256/ |
D | nm256.c | 362 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/ |
D | ep93xx-i2s.c | 77 [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/ |
D | omap-mcpdm.c | 192 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()
|
D | omap-pcm.c | 233 if (pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream) { in omap_pcm_new() 235 SNDRV_PCM_STREAM_CAPTURE); in omap_pcm_new()
|
D | omap-mcbsp.c | 573 &mcbsp->dma_data[SNDRV_PCM_STREAM_CAPTURE]); in omap_mcbsp_probe()
|
/linux-4.4.14/sound/soc/ |
D | soc-compress.c | 81 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()
|
D | soc-generic-dmaengine-pcm.c | 271 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()
|
D | soc-pcm.c | 703 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 …]
|
D | soc-core.c | 647 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()
|
D | soc-dapm.c | 3506 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/ |
D | spdif_in.c | 71 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/ |
D | cmi8330.c | 416 #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()
|
D | es18xx.c | 1706 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_es18xx_capture_ops); in snd_es18xx_pcm()
|
/linux-4.4.14/sound/pci/lx6464es/ |
D | lx6464es.c | 111 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/ |
D | dice-pcm.c | 27 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/ |
D | aloop.c | 195 #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()
|
D | ml403-ac97cr.c | 1251 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE,
|
D | dummy.c | 707 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, ops); in snd_card_dummy_pcm()
|
/linux-4.4.14/sound/pci/oxygen/ |
D | oxygen_pcm.c | 718 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/ |
D | solo6x10-g723.c | 88 &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/ |
D | pdaudiocf_pcm.c | 295 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/ |
D | axi-i2s.c | 61 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/ |
D | capture.c | 91 get_substream(line6pcm, SNDRV_PCM_STREAM_CAPTURE); in line6_capture_copy() 133 get_substream(line6pcm, SNDRV_PCM_STREAM_CAPTURE); in line6_capture_check_period()
|
D | pcm.c | 215 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/ |
D | patch_si3054.c | 207 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()
|
D | hda_controller.c | 81 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()
|
D | patch_ca0132.c | 4073 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 …]
|
D | hda_generic.c | 5560 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/ |
D | rockchip_i2s.c | 268 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/ |
D | oxfw-pcm.c | 136 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/ |
D | dbdma2.c | 163 if (stype == SNDRV_PCM_STREAM_CAPTURE) in au1x_pcm_dbdma_realloc() 249 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) { in au1xpsc_pcm_prepare()
|
D | i2sc.c | 263 ctx->dmaids[SNDRV_PCM_STREAM_CAPTURE] = dmares->start; in au1xi2s_drvprobe()
|
D | ac97c.c | 263 ctx->dmaids[SNDRV_PCM_STREAM_CAPTURE] = dmares->start; in au1xac97c_drvprobe()
|
D | psc-i2s.c | 319 wd->dmaids[SNDRV_PCM_STREAM_CAPTURE] = dmares->start; in au1xpsc_i2s_drvprobe()
|
D | psc-ac97.c | 394 wd->dmaids[SNDRV_PCM_STREAM_CAPTURE] = dmares->start; in au1xpsc_ac97_drvprobe()
|
/linux-4.4.14/sound/firewire/tascam/ |
D | tascam-pcm.c | 46 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/ |
D | pxa2xx-pcm.c | 110 int stream = SNDRV_PCM_STREAM_CAPTURE; in pxa2xx_pcm_new()
|
D | aaci.c | 943 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &aaci_capture_ops); in aaci_init_pcm()
|
/linux-4.4.14/sound/soc/kirkwood/ |
D | kirkwood-dma.c | 291 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/ |
D | digi00x-pcm.c | 87 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/ |
D | pcm_plugin.c | 217 } 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()
|
D | pcm_oss.c | 1002 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/ |
D | pcm.c | 786 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()
|
D | pcm_timer.c | 124 substream->stream == SNDRV_PCM_STREAM_CAPTURE ? in snd_pcm_timer_init()
|
D | pcm_compat.c | 716 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()
|
D | pcm_native.c | 2346 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/ |
D | ac97.c | 214 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in s3c_ac97_trigger() 223 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in s3c_ac97_trigger()
|
D | s3c24xx-i2s.c | 270 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in s3c24xx_i2s_trigger() 279 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in s3c24xx_i2s_trigger()
|
D | pcm.c | 231 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in s3c_pcm_trigger() 244 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in s3c_pcm_trigger()
|
D | s3c-i2s-v2.c | 390 int capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); in s3c2412_i2s_trigger()
|
D | i2s.c | 872 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/ |
D | fireworks_pcm.c | 161 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/ |
D | bebob_pcm.c | 124 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/ |
D | atmel-pcm-pdc.c | 98 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/ |
D | bf5xx-ac97-pcm.c | 435 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/ |
D | pcm.c | 128 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/ |
D | sst-haswell-pcm.c | 742 || (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/ |
D | ca0106_main.c | 1381 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/ |
D | pmac.c | 121 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/ |
D | audio.c | 770 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/ |
D | rme32.c | 1157 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()
|
D | via82xx.c | 1463 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()
|
D | maestro3.c | 1076 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()
|
D | als300.c | 603 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, in snd_als300_new_pcm()
|
D | als4000.c | 708 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_als4000_capture_ops); in snd_als4000_pcm()
|
D | ad1889.c | 636 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, in snd_ad1889_pcm_init()
|
D | bt87x.c | 716 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_bt87x_pcm_ops); in snd_bt87x_pcm()
|
D | via82xx_modem.c | 858 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_via686_capture_ops); in snd_via686_pcm_new()
|
D | atiixp_modem.c | 1005 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_atiixp_capture_ops); in snd_atiixp_pcm_new()
|
D | rme96.c | 1646 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()
|
D | intel8x0m.c | 740 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, rec->capture_ops); in snd_intel8x0m_pcm1()
|
D | sis7019.c | 914 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &sis_capture_ops); in sis_pcm_create()
|
D | fm801.c | 710 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_fm801_capture_ops); in snd_fm801_pcm()
|
D | atiixp.c | 1288 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_atiixp_capture_ops); in snd_atiixp_pcm_new()
|
D | sonicvibes.c | 893 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_sonicvibes_capture_ops); in snd_sonicvibes_pcm()
|
D | cmipci.c | 1910 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()
|
D | cs4281.c | 986 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_cs4281_capture_ops); in snd_cs4281_pcm()
|
D | es1938.c | 1026 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_es1938_capture_ops); in snd_es1938_new_pcm()
|
D | azt3328.c | 2141 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, in snd_azf3328_pcm()
|
D | es1968.c | 1834 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_es1968_capture_ops); in snd_es1968_pcm()
|
D | ens1370.c | 1285 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_ensoniq_capture_ops); in snd_ensoniq_pcm()
|
D | intel8x0.c | 1537 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, rec->capture_ops); in snd_intel8x0_pcm1()
|
/linux-4.4.14/include/uapi/sound/ |
D | asound.h | 171 SNDRV_PCM_STREAM_CAPTURE, enumerator 172 SNDRV_PCM_STREAM_LAST = SNDRV_PCM_STREAM_CAPTURE,
|
/linux-4.4.14/sound/pci/au88x0/ |
D | au88x0_pcm.c | 644 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/ |
D | pcm.c | 1002 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/ |
D | cx18-alsa-pcm.c | 347 snd_pcm_set_ops(sp, SNDRV_PCM_STREAM_CAPTURE, in snd_cx18_pcm_create()
|
/linux-4.4.14/sound/soc/nuc900/ |
D | nuc900-pcm.c | 229 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in nuc900_dma_pointer()
|
/linux-4.4.14/drivers/media/pci/ivtv/ |
D | ivtv-alsa-pcm.c | 354 snd_pcm_set_ops(sp, SNDRV_PCM_STREAM_CAPTURE, in snd_ivtv_pcm_create()
|
/linux-4.4.14/drivers/media/usb/go7007/ |
D | snd-go7007.c | 268 snd_pcm_set_ops(gosnd->pcm, SNDRV_PCM_STREAM_CAPTURE, in go7007_snd_init()
|
/linux-4.4.14/sound/soc/dwc/ |
D | designware_i2s.c | 199 (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/ |
D | usbtv-audio.c | 361 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_usbtv_pcm_ops); in usbtv_audio_init()
|
/linux-4.4.14/sound/soc/zte/ |
D | zx296702-i2s.c | 290 int capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); in zx_i2s_trigger()
|
/linux-4.4.14/sound/pci/emu10k1/ |
D | p16v.c | 657 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()
|
D | emupcm.c | 1415 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()
|
D | emu10k1x.c | 868 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_emu10k1x_capture_ops); in snd_emu10k1x_pcm()
|
/linux-4.4.14/sound/pci/mixart/ |
D | mixart.c | 645 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/ |
D | rme9652.c | 1848 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()
|
D | hdsp.c | 3858 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()
|
D | hdspm.c | 5797 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/ |
D | tm6000-alsa.c | 469 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_tm6000_pcm_ops); in tm6000_audio_init()
|
/linux-4.4.14/sound/pci/lola/ |
D | lola.h | 315 #define CAPT SNDRV_PCM_STREAM_CAPTURE
|
D | lola_pcm.c | 616 chip->pcm[SNDRV_PCM_STREAM_CAPTURE].num_streams, in lola_create_pcm()
|
/linux-4.4.14/sound/isa/sb/ |
D | sb16_main.c | 343 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()
|
D | sb8_main.c | 611 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_sb8_capture_ops); in snd_sb8dsp_pcm()
|
/linux-4.4.14/sound/mips/ |
D | sgio2audio.c | 635 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()
|
D | au1x00.c | 459 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, in snd_au1000_pcm_new()
|
D | hal2.c | 752 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, in hal2_pcm_create()
|
/linux-4.4.14/sound/soc/intel/skylake/ |
D | skl-pcm.c | 133 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) { in skl_pcm_open() 834 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in skl_adjust_codec_delay()
|
D | skl.c | 422 (ebus, 0, cp_streams, SNDRV_PCM_STREAM_CAPTURE); in skl_first_init()
|
/linux-4.4.14/sound/pci/ctxfi/ |
D | ctpcm.c | 454 SNDRV_PCM_STREAM_CAPTURE, &ct_pcm_capture_ops); in ct_alsa_pcm_create()
|
/linux-4.4.14/sound/pci/cs5535audio/ |
D | cs5535audio_pcm.c | 440 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, in snd_cs5535audio_pcm()
|
/linux-4.4.14/sound/soc/txx9/ |
D | txx9aclc.c | 300 dev->dmadata[1].stream = SNDRV_PCM_STREAM_CAPTURE; in txx9aclc_pcm_new()
|
/linux-4.4.14/sound/soc/intel/baytrail/ |
D | sst-baytrail-pcm.c | 332 pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream) { in sst_byt_pcm_new()
|
/linux-4.4.14/sound/isa/ad1816a/ |
D | ad1816a_lib.c | 217 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/ |
D | echoaudio.c | 923 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/ |
D | cx23885-alsa.c | 535 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_cx23885_pcm_ops); in snd_cx23885_pcm()
|
/linux-4.4.14/sound/pci/ice1712/ |
D | revo.c | 613 ice->pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream); in revo_add_controls()
|
D | juli.c | 479 ice->pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream); in juli_add_controls()
|
D | prodigy192.c | 683 ice->pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream); in prodigy192_add_controls()
|
D | quartet.c | 832 ice->pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream); in qtet_add_controls()
|
D | ice1724.c | 1154 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()
|
D | ice1712.c | 893 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/ |
D | cobalt-alsa-pcm.c | 568 snd_pcm_set_ops(sp, SNDRV_PCM_STREAM_CAPTURE, in snd_cobalt_pcm_create()
|
/linux-4.4.14/sound/isa/gus/ |
D | gus_pcm.c | 882 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/ |
D | sound.c | 593 direction = SNDRV_PCM_STREAM_CAPTURE; in audio_probe_channel()
|
/linux-4.4.14/sound/pci/aw2/ |
D | aw2-alsa.c | 690 snd_pcm_set_ops(pcm_capture, SNDRV_PCM_STREAM_CAPTURE, in snd_aw2_new_pcm()
|
/linux-4.4.14/sound/pci/asihpi/ |
D | asihpi.c | 474 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/ |
D | siu_pcm.c | 228 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) { in siu_io_tasklet()
|
/linux-4.4.14/sound/isa/msnd/ |
D | msnd.c | 693 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/ |
D | cx25821-alsa.c | 682 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_cx25821_pcm_ops); in snd_cx25821_pcm()
|
/linux-4.4.14/sound/pci/trident/ |
D | trident_main.c | 2189 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/ |
D | isight.c | 467 isight->pcm = pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream; in isight_create_pcm()
|
/linux-4.4.14/drivers/media/usb/cx231xx/ |
D | cx231xx-audio.c | 679 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, in cx231xx_audio_init()
|
/linux-4.4.14/sound/pci/pcxhr/ |
D | pcxhr.c | 643 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/ |
D | sst-mfld-platform-pcm.c | 100 {MERR_DPCM_AUDIO, 0, SNDRV_PCM_STREAM_CAPTURE, PIPE_PCM1_OUT, SST_TASK_ID_MEDIA, 0},
|
/linux-4.4.14/sound/sparc/ |
D | amd7930.c | 771 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_amd7930_capture_ops); in snd_amd7930_pcm()
|
D | cs4231.c | 1240 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, in snd_cs4231_pcm()
|
D | dbri.c | 2233 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_dbri_ops); in snd_dbri_pcm()
|
/linux-4.4.14/drivers/media/usb/em28xx/ |
D | em28xx-audio.c | 924 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/ |
D | cx88-alsa.c | 627 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_cx88_pcm_ops); in snd_cx88_pcm()
|
/linux-4.4.14/sound/parisc/ |
D | harmony.c | 638 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, in snd_harmony_pcm_init()
|
/linux-4.4.14/sound/drivers/vx/ |
D | vx_pcm.c | 1250 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/ |
D | saa7134-alsa.c | 907 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/ |
D | es1688_lib.c | 741 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_es1688_capture_ops); in snd_es1688_pcm()
|
/linux-4.4.14/sound/soc/mediatek/ |
D | mtk-afe-pcm.c | 559 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) { in mtk_afe_dais_startup()
|
/linux-4.4.14/sound/atmel/ |
D | ac97c.c | 784 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, in atmel_ac97c_pcm_new()
|
/linux-4.4.14/sound/pci/ymfpci/ |
D | ymfpci_main.c | 1158 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/ |
D | ua101.c | 1310 snd_pcm_set_ops(ua->pcm, SNDRV_PCM_STREAM_CAPTURE, &capture_pcm_ops); in ua101_probe()
|
/linux-4.4.14/drivers/usb/gadget/function/ |
D | f_uac2.c | 481 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &uac2_pcm_ops); in snd_uac2_probe()
|
/linux-4.4.14/sound/pci/ali5451/ |
D | ali5451.c | 1686 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, in snd_ali_pcm()
|
/linux-4.4.14/sound/pci/korg1212/ |
D | korg1212.c | 2395 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/ |
D | wss_lib.c | 1936 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_wss_capture_ops); in snd_wss_pcm()
|
/linux-4.4.14/sound/pci/riptide/ |
D | riptide.c | 1706 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, in snd_riptide_pcm()
|
/linux-4.4.14/sound/pci/cs46xx/ |
D | cs46xx_lib.c | 1791 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_cs46xx_capture_ops); in snd_cs46xx_pcm()
|