drivers/media/pci/cobalt/cobalt-alsa-pcm.c
491
snd_pcm_set_ops(sp, SNDRV_PCM_STREAM_CAPTURE,
drivers/media/pci/cx18/cx18-alsa-pcm.c
261
snd_pcm_set_ops(sp, SNDRV_PCM_STREAM_CAPTURE,
drivers/media/pci/cx23885/cx23885-alsa.c
523
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_cx23885_pcm_ops);
drivers/media/pci/cx25821/cx25821-alsa.c
669
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_cx25821_pcm_ops);
drivers/media/pci/cx88/cx88-alsa.c
612
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_cx88_pcm_ops);
drivers/media/pci/ivtv/ivtv-alsa-pcm.c
263
snd_pcm_set_ops(sp, SNDRV_PCM_STREAM_CAPTURE,
drivers/media/pci/saa7134/saa7134-alsa.c
892
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_card_saa7134_capture_ops);
drivers/media/pci/solo6x10/solo6x10-g723.c
303
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE,
drivers/media/pci/solo6x10/solo6x10-g723.c
310
for (i = 0, ss = pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream;
drivers/media/pci/solo6x10/solo6x10-g723.c
79
&solo_dev->snd_pcm->streams[SNDRV_PCM_STREAM_CAPTURE];
drivers/media/pci/tw686x/tw686x-audio.c
278
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &tw686x_pcm_ops);
drivers/media/pci/tw686x/tw686x-audio.c
283
for (i = 0, ss = pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream;
drivers/media/usb/cx231xx/cx231xx-audio.c
589
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE,
drivers/media/usb/em28xx/em28xx-audio.c
842
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_em28xx_pcm_capture);
drivers/media/usb/go7007/snd-go7007.c
236
snd_pcm_set_ops(gosnd->pcm, SNDRV_PCM_STREAM_CAPTURE,
drivers/media/usb/usbtv/usbtv-audio.c
352
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_usbtv_pcm_ops);
drivers/most/most_snd.c
575
direction = SNDRV_PCM_STREAM_CAPTURE;
drivers/soundwire/amd_manager.c
707
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
drivers/soundwire/intel.c
737
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
drivers/soundwire/intel.c
821
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
drivers/soundwire/intel_ace2x.c
712
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
drivers/soundwire/intel_ace2x.c
796
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
drivers/soundwire/qcom.c
1238
if (direction == SNDRV_PCM_STREAM_CAPTURE)
drivers/staging/greybus/audio_codec.c
187
module_state = data->state[SNDRV_PCM_STREAM_CAPTURE];
drivers/staging/greybus/audio_codec.c
189
params = find_dai_stream_params(codec, id, SNDRV_PCM_STREAM_CAPTURE);
drivers/staging/greybus/audio_codec.c
206
data->state[SNDRV_PCM_STREAM_CAPTURE] = GBAUDIO_CODEC_STARTUP;
drivers/staging/greybus/audio_codec.c
223
data->state[SNDRV_PCM_STREAM_CAPTURE] = GBAUDIO_CODEC_HWPARAMS;
drivers/staging/greybus/audio_codec.c
245
data->state[SNDRV_PCM_STREAM_CAPTURE] = GBAUDIO_CODEC_PREPARE;
drivers/staging/greybus/audio_codec.c
265
module_state = data->state[SNDRV_PCM_STREAM_CAPTURE];
drivers/staging/greybus/audio_codec.c
277
data->state[SNDRV_PCM_STREAM_CAPTURE] = GBAUDIO_CODEC_HWPARAMS;
drivers/staging/greybus/audio_codec.c
292
data->state[SNDRV_PCM_STREAM_CAPTURE] = GBAUDIO_CODEC_SHUTDOWN;
drivers/staging/greybus/audio_codec.c
546
case SNDRV_PCM_STREAM_CAPTURE:
drivers/usb/gadget/function/u_audio.c
1274
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &uac_pcm_ops);
include/sound/soc-dai.h
502
#define snd_soc_dai_get_widget_capture(dai) snd_soc_dai_get_widget(dai, SNDRV_PCM_STREAM_CAPTURE)
include/sound/soc-dai.h
510
#define snd_soc_dai_set_widget_capture(dai, widget) snd_soc_dai_set_widget(dai, SNDRV_PCM_STREAM_CAPTURE, widget)
include/sound/soc-dai.h
518
#define snd_soc_dai_dma_data_get_capture(dai) snd_soc_dai_dma_data_get(dai, SNDRV_PCM_STREAM_CAPTURE)
include/sound/soc-dai.h
526
#define snd_soc_dai_dma_data_set_capture(dai, data) snd_soc_dai_dma_data_set(dai, SNDRV_PCM_STREAM_CAPTURE, data)
include/uapi/sound/asound.h
169
SNDRV_PCM_STREAM_LAST = SNDRV_PCM_STREAM_CAPTURE,
sound/aoa/soundbus/i2sbus/pcm.c
976
err = snd_pcm_new_stream(dev->pcm, SNDRV_PCM_STREAM_CAPTURE, 1);
sound/aoa/soundbus/i2sbus/pcm.c
979
snd_pcm_set_ops(dev->pcm, SNDRV_PCM_STREAM_CAPTURE,
sound/aoa/soundbus/i2sbus/pcm.c
981
dev->pcm->streams[SNDRV_PCM_STREAM_CAPTURE].dev->parent =
sound/arm/aaci.c
900
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &aaci_capture_ops);
sound/atmel/ac97c.c
578
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &atmel_ac97_capture_ops);
sound/core/oss/pcm_oss.c
1008
substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/core/oss/pcm_oss.c
1737
substream = pcm_oss_file->streams[SNDRV_PCM_STREAM_CAPTURE];
sound/core/oss/pcm_oss.c
2079
csubstream = pcm_oss_file->streams[SNDRV_PCM_STREAM_CAPTURE];
sound/core/oss/pcm_oss.c
2157
csubstream = pcm_oss_file->streams[SNDRV_PCM_STREAM_CAPTURE];
sound/core/oss/pcm_oss.c
2518
snd_pcm_oss_look_for_setup(pcm, SNDRV_PCM_STREAM_CAPTURE,
sound/core/oss/pcm_oss.c
2579
substream = pcm_oss_file->streams[SNDRV_PCM_STREAM_CAPTURE];
sound/core/oss/pcm_oss.c
2703
SNDRV_PCM_STREAM_CAPTURE : SNDRV_PCM_STREAM_PLAYBACK,
sound/core/oss/pcm_oss.c
2725
SNDRV_PCM_STREAM_CAPTURE : SNDRV_PCM_STREAM_PLAYBACK,
sound/core/oss/pcm_oss.c
2731
SNDRV_PCM_STREAM_CAPTURE : SNDRV_PCM_STREAM_PLAYBACK,
sound/core/oss/pcm_oss.c
2777
substream = pcm_oss_file->streams[SNDRV_PCM_STREAM_CAPTURE];
sound/core/oss/pcm_oss.c
2844
csubstream = pcm_oss_file->streams[SNDRV_PCM_STREAM_CAPTURE];
sound/core/oss/pcm_oss.c
2870
ofile.streams[SNDRV_PCM_STREAM_CAPTURE] = pcm_oss_file->streams[SNDRV_PCM_STREAM_CAPTURE];
sound/core/oss/pcm_oss.c
2897
substream = pcm_oss_file->streams[SNDRV_PCM_STREAM_CAPTURE];
sound/core/oss/pcm_oss.c
3142
pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream_count &&
sound/core/oss/pcm_plugin.c
239
case SNDRV_PCM_STREAM_CAPTURE:
sound/core/oss/pcm_plugin.c
254
case SNDRV_PCM_STREAM_CAPTURE:
sound/core/oss/pcm_plugin.c
382
case SNDRV_PCM_STREAM_CAPTURE:
sound/core/oss/pcm_plugin.c
574
v->wanted = (stream == SNDRV_PCM_STREAM_CAPTURE);
sound/core/pcm.c
1066
case SNDRV_PCM_STREAM_CAPTURE:
sound/core/pcm.c
1177
if (pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream)
sound/core/pcm.c
1179
pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream_count);
sound/core/pcm.c
733
err = snd_pcm_new_stream(pcm, SNDRV_PCM_STREAM_CAPTURE, capture_count);
sound/core/pcm.c
864
snd_pcm_free_stream(&pcm->streams[SNDRV_PCM_STREAM_CAPTURE]);
sound/core/pcm.c
889
stream != SNDRV_PCM_STREAM_CAPTURE))
sound/core/pcm_compat.c
614
return snd_pcm_ioctl_xferi_compat(substream, SNDRV_PCM_STREAM_CAPTURE, argp);
sound/core/pcm_compat.c
618
return snd_pcm_ioctl_xfern_compat(substream, SNDRV_PCM_STREAM_CAPTURE, argp);
sound/core/pcm_native.c
2886
err = snd_pcm_open(file, pcm, SNDRV_PCM_STREAM_CAPTURE);
sound/core/pcm_native.c
2981
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/core/pcm_native.c
3534
if (substream->stream != SNDRV_PCM_STREAM_CAPTURE)
sound/core/pcm_native.c
3723
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/drivers/aloop.c
1370
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &loopback_pcm_ops);
sound/drivers/aloop.c
1634
pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream_count;
sound/drivers/aloop.c
348
dpcm_capt = cable->streams[SNDRV_PCM_STREAM_CAPTURE];
sound/drivers/aloop.c
351
if (stream == SNDRV_PCM_STREAM_CAPTURE || !dpcm_play)
sound/drivers/aloop.c
367
if (stream == SNDRV_PCM_STREAM_CAPTURE)
sound/drivers/aloop.c
511
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/drivers/aloop.c
63
#define CABLE_VALID_CAPTURE BIT(SNDRV_PCM_STREAM_CAPTURE)
sound/drivers/aloop.c
661
cable->streams[SNDRV_PCM_STREAM_CAPTURE];
sound/drivers/aloop.c
672
if (running & (1 << SNDRV_PCM_STREAM_CAPTURE)) {
sound/drivers/aloop.c
782
dpcm_capt = cable->streams[SNDRV_PCM_STREAM_CAPTURE];
sound/drivers/aloop.c
793
substream_capt = (running & (1 << SNDRV_PCM_STREAM_CAPTURE)) ?
sound/drivers/aloop.c
816
(running & (1 << SNDRV_PCM_STREAM_CAPTURE))) {
sound/drivers/aloop.c
822
} else if (running & (1 << SNDRV_PCM_STREAM_CAPTURE)) {
sound/drivers/dummy.c
681
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, ops);
sound/drivers/pcmtest.c
357
else if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/drivers/pcmtest.c
562
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_pcmtst_capture_ops);
sound/drivers/vx/vx_pcm.c
1220
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &vx_pcm_capture_ops);
sound/firewire/bebob/bebob_pcm.c
103
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/firewire/bebob/bebob_pcm.c
364
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &capture_ops);
sound/firewire/dice/dice-pcm.c
135
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/firewire/dice/dice-pcm.c
29
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/firewire/dice/dice-pcm.c
437
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE,
sound/firewire/dice/dice-pcm.c
67
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/firewire/digi00x/digi00x-pcm.c
342
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &capture_ops);
sound/firewire/digi00x/digi00x-pcm.c
66
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/firewire/fireface/ff-pcm.c
112
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/firewire/fireface/ff-pcm.c
383
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &pcm_capture_ops);
sound/firewire/fireworks/fireworks_pcm.c
140
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/firewire/fireworks/fireworks_pcm.c
392
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &capture_ops);
sound/firewire/isight.c
454
isight->pcm = pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream;
sound/firewire/motu/motu-pcm.c
104
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/firewire/motu/motu-pcm.c
360
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &capture_ops);
sound/firewire/oxfw/oxfw-pcm.c
117
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/firewire/oxfw/oxfw-pcm.c
153
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/firewire/oxfw/oxfw-pcm.c
431
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &capture_ops);
sound/firewire/tascam/tascam-pcm.c
18
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/firewire/tascam/tascam-pcm.c
271
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &capture_ops);
sound/hda/codecs/ca0132.c
7242
info->stream[SNDRV_PCM_STREAM_CAPTURE] = ca0132_pcm_analog_capture;
sound/hda/codecs/ca0132.c
7243
info->stream[SNDRV_PCM_STREAM_CAPTURE].substreams = 1;
sound/hda/codecs/ca0132.c
7244
info->stream[SNDRV_PCM_STREAM_CAPTURE].nid = spec->adcs[0];
sound/hda/codecs/ca0132.c
7251
info->stream[SNDRV_PCM_STREAM_CAPTURE] =
sound/hda/codecs/ca0132.c
7253
info->stream[SNDRV_PCM_STREAM_CAPTURE].substreams = 1;
sound/hda/codecs/ca0132.c
7254
info->stream[SNDRV_PCM_STREAM_CAPTURE].nid = spec->adcs[1];
sound/hda/codecs/ca0132.c
7260
info->stream[SNDRV_PCM_STREAM_CAPTURE] = ca0132_pcm_analog_capture;
sound/hda/codecs/ca0132.c
7261
info->stream[SNDRV_PCM_STREAM_CAPTURE].substreams = 1;
sound/hda/codecs/ca0132.c
7262
info->stream[SNDRV_PCM_STREAM_CAPTURE].nid = spec->adcs[2];
sound/hda/codecs/ca0132.c
7277
info->stream[SNDRV_PCM_STREAM_CAPTURE] =
sound/hda/codecs/ca0132.c
7279
info->stream[SNDRV_PCM_STREAM_CAPTURE].nid = spec->dig_in;
sound/hda/codecs/ca0132.c
7293
info->stream[SNDRV_PCM_STREAM_CAPTURE] = ca0132_pcm_analog_capture;
sound/hda/codecs/ca0132.c
7294
info->stream[SNDRV_PCM_STREAM_CAPTURE].substreams = 1;
sound/hda/codecs/ca0132.c
7295
info->stream[SNDRV_PCM_STREAM_CAPTURE].nid = spec->adcs[0];
sound/hda/codecs/ca0132.c
7311
info->stream[SNDRV_PCM_STREAM_CAPTURE] =
sound/hda/codecs/ca0132.c
7313
info->stream[SNDRV_PCM_STREAM_CAPTURE].nid = spec->dig_in;
sound/hda/codecs/generic.c
5764
setup_pcm_stream(&info->stream[SNDRV_PCM_STREAM_CAPTURE],
sound/hda/codecs/generic.c
5793
setup_pcm_stream(&info->stream[SNDRV_PCM_STREAM_CAPTURE],
sound/hda/codecs/generic.c
5826
setup_pcm_stream(&info->stream[SNDRV_PCM_STREAM_CAPTURE],
sound/hda/codecs/generic.c
5830
info->stream[SNDRV_PCM_STREAM_CAPTURE].substreams =
sound/hda/codecs/generic.c
5833
setup_pcm_stream(&info->stream[SNDRV_PCM_STREAM_CAPTURE],
sound/hda/codecs/si3054.c
193
info->stream[SNDRV_PCM_STREAM_CAPTURE] = si3054_pcm;
sound/hda/codecs/si3054.c
195
info->stream[SNDRV_PCM_STREAM_CAPTURE].nid = codec->core.mfg;
sound/hda/common/controller.c
1271
return SNDRV_PCM_STREAM_CAPTURE;
sound/hda/common/controller.c
652
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/hda/common/controller.c
713
cpcm->stream[SNDRV_PCM_STREAM_CAPTURE].substreams,
sound/hda/common/controller.c
81
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/hda/controllers/intel.c
882
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/isa/ad1816a/ad1816a_lib.c
198
SNDRV_PCM_STREAM_CAPTURE, cmd, 1);
sound/isa/ad1816a/ad1816a_lib.c
598
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_ad1816a_capture_ops);
sound/isa/cmi8330.c
402
#define CMI_AD_STREAM SNDRV_PCM_STREAM_CAPTURE
sound/isa/cmi8330.c
404
#define CMI_SB_STREAM SNDRV_PCM_STREAM_CAPTURE
sound/isa/cmi8330.c
422
substream->private_data = chip->streams[SNDRV_PCM_STREAM_CAPTURE].private_data;
sound/isa/cmi8330.c
423
return chip->streams[SNDRV_PCM_STREAM_CAPTURE].open(substream);
sound/isa/cmi8330.c
457
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &chip->streams[SNDRV_PCM_STREAM_CAPTURE].ops);
sound/isa/es1688/es1688_lib.c
695
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_es1688_capture_ops);
sound/isa/es18xx.c
1658
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_es18xx_capture_ops);
sound/isa/gus/gus_pcm.c
836
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_gf1_pcm_capture_ops);
sound/isa/gus/gus_pcm.c
839
snd_pcm_set_managed_buffer(pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream,
sound/isa/msnd/msnd.c
687
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_msnd_capture_ops);
sound/isa/sb/sb16_main.c
310
snd_sb16_setup_rate(chip, runtime->rate, SNDRV_PCM_STREAM_CAPTURE);
sound/isa/sb/sb16_main.c
830
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_sb16_capture_ops);
sound/isa/sb/sb8_main.c
566
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_sb8_capture_ops);
sound/isa/wss/wss_lib.c
1812
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_wss_capture_ops);
sound/mips/hal2.c
714
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE,
sound/mips/sgio2audio.c
597
case SNDRV_PCM_STREAM_CAPTURE:
sound/mips/sgio2audio.c
684
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE,
sound/parisc/harmony.c
586
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE,
sound/pci/ad1889.c
599
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE,
sound/pci/ali5451/ali5451.c
1628
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE,
sound/pci/als300.c
550
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE,
sound/pci/als4000.c
670
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_als4000_capture_ops);
sound/pci/asihpi/asihpi.c
1255
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE,
sound/pci/asihpi/asihpi.c
443
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/pci/asihpi/asihpi.c
611
if ((substream->stream == SNDRV_PCM_STREAM_CAPTURE) ||
sound/pci/asihpi/asihpi.c
834
(s->stream == SNDRV_PCM_STREAM_CAPTURE)))
sound/pci/atiixp.c
1260
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_atiixp_capture_ops);
sound/pci/atiixp_modem.c
972
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_atiixp_capture_ops);
sound/pci/au88x0/au88x0_pcm.c
625
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE,
sound/pci/au88x0/au88x0_pcm.c
641
err = snd_pcm_add_chmap_ctls(pcm, SNDRV_PCM_STREAM_CAPTURE,
sound/pci/aw2/aw2-alsa.c
575
snd_pcm_set_ops(pcm_capture, SNDRV_PCM_STREAM_CAPTURE,
sound/pci/azt3328.c
2085
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE,
sound/pci/bt87x.c
670
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_bt87x_pcm_ops);
sound/pci/ca0106/ca0106_main.c
1282
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_ca0106_capture_0_ops);
sound/pci/ca0106/ca0106_main.c
1287
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_ca0106_capture_1_ops);
sound/pci/ca0106/ca0106_main.c
1292
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_ca0106_capture_2_ops);
sound/pci/ca0106/ca0106_main.c
1297
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_ca0106_capture_3_ops);
sound/pci/ca0106/ca0106_main.c
1313
for (substream = pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream;
sound/pci/cmipci.c
1845
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_cmipci_capture_ops);
sound/pci/cmipci.c
1890
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_cmipci_capture_spdif_ops);
sound/pci/cs4281.c
945
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_cs4281_capture_ops);
sound/pci/cs46xx/cs46xx_lib.c
1731
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_cs46xx_capture_ops);
sound/pci/cs5535audio/cs5535audio_pcm.c
417
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE,
sound/pci/ctxfi/ctpcm.c
442
SNDRV_PCM_STREAM_CAPTURE, &ct_pcm_capture_ops);
sound/pci/echoaudio/echoaudio.c
909
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &analog_capture_ops);
sound/pci/echoaudio/echoaudio.c
921
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &digital_capture_ops);
sound/pci/echoaudio/echoaudio.c
942
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &analog_capture_ops);
sound/pci/echoaudio/echoaudio.c
956
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &digital_capture_ops);
sound/pci/emu10k1/emu10k1x.c
815
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_emu10k1x_capture_ops);
sound/pci/emu10k1/emupcm.c
1414
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_emu10k1_capture_ops);
sound/pci/emu10k1/emupcm.c
1427
for (substream = pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream; substream; substream = substream->next)
sound/pci/emu10k1/emupcm.c
1481
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_emu10k1_capture_mic_ops);
sound/pci/emu10k1/emupcm.c
1799
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_emu10k1_capture_efx_ops);
sound/pci/emu10k1/p16v.c
384
emu->pcm_p16v->streams[SNDRV_PCM_STREAM_CAPTURE].substream;
sound/pci/emu10k1/p16v.c
568
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_p16v_capture_ops);
sound/pci/emu10k1/p16v.c
589
for (substream = pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream;
sound/pci/ens1370.c
1230
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_ensoniq_capture_ops);
sound/pci/es1938.c
973
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_es1938_capture_ops);
sound/pci/es1968.c
1767
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_es1968_capture_ops);
sound/pci/fm801.c
715
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_fm801_capture_ops);
sound/pci/ice1712/ice1712.c
1199
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_ice1712_capture_pro_ops);
sound/pci/ice1712/ice1712.c
841
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_ice1712_capture_ops);
sound/pci/ice1712/ice1724.c
1112
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE,
sound/pci/ice1712/ice1724.c
1305
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE,
sound/pci/ice1712/juli.c
442
ice->pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream);
sound/pci/ice1712/prodigy192.c
660
ice->pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream);
sound/pci/ice1712/quartet.c
796
ice->pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream);
sound/pci/ice1712/revo.c
599
ice->pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream);
sound/pci/intel8x0.c
1445
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, rec->capture_ops);
sound/pci/intel8x0m.c
687
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, rec->capture_ops);
sound/pci/korg1212/korg1212.c
2198
snd_pcm_set_ops(korg1212->pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_korg1212_capture_ops);
sound/pci/lola/lola.h
302
#define CAPT SNDRV_PCM_STREAM_CAPTURE
sound/pci/lola/lola_pcm.c
593
chip->pcm[SNDRV_PCM_STREAM_CAPTURE].num_streams,
sound/pci/lx6464es/lx6464es.c
101
int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE);
sound/pci/lx6464es/lx6464es.c
127
int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE);
sound/pci/lx6464es/lx6464es.c
158
int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE);
sound/pci/lx6464es/lx6464es.c
189
int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE);
sound/pci/lx6464es/lx6464es.c
269
int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE);
sound/pci/lx6464es/lx6464es.c
287
const int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE);
sound/pci/lx6464es/lx6464es.c
367
int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE);
sound/pci/lx6464es/lx6464es.c
505
const int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE);
sound/pci/lx6464es/lx6464es.c
800
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &lx_ops_capture);
sound/pci/maestro3.c
1054
case SNDRV_PCM_STREAM_CAPTURE:
sound/pci/maestro3.c
1081
case SNDRV_PCM_STREAM_CAPTURE:
sound/pci/maestro3.c
1837
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_m3_capture_ops);
sound/pci/mixart/mixart.c
627
if( subs->stream == SNDRV_PCM_STREAM_CAPTURE ) {
sound/pci/mixart/mixart.c
951
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_mixart_capture_ops);
sound/pci/mixart/mixart.c
985
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_mixart_capture_ops);
sound/pci/nm256/nm256.c
1401
if (chip->streams[SNDRV_PCM_STREAM_CAPTURE].running)
sound/pci/nm256/nm256.c
1425
chip->streams[SNDRV_PCM_STREAM_CAPTURE].bufsize = capture_bufsize * 1024;
sound/pci/nm256/nm256.c
1483
chip->streams[SNDRV_PCM_STREAM_CAPTURE].bufsize;
sound/pci/nm256/nm256.c
1516
chip->streams[SNDRV_PCM_STREAM_CAPTURE].buf = addr;
sound/pci/nm256/nm256.c
1517
addr += chip->streams[SNDRV_PCM_STREAM_CAPTURE].bufsize;
sound/pci/nm256/nm256.c
1523
chip->coeff_buf[SNDRV_PCM_STREAM_CAPTURE] = addr;
sound/pci/nm256/nm256.c
344
u32 poffset = (stream == SNDRV_PCM_STREAM_CAPTURE ?
sound/pci/nm256/nm256.c
348
addr += (stream == SNDRV_PCM_STREAM_CAPTURE ?
sound/pci/nm256/nm256.c
359
if (stream == SNDRV_PCM_STREAM_CAPTURE)
sound/pci/nm256/nm256.c
437
case SNDRV_PCM_STREAM_CAPTURE:
sound/pci/nm256/nm256.c
738
s = &chip->streams[SNDRV_PCM_STREAM_CAPTURE];
sound/pci/nm256/nm256.c
840
snd_nm256_setup_stream(chip, &chip->streams[SNDRV_PCM_STREAM_CAPTURE],
sound/pci/nm256/nm256.c
915
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_nm256_capture_ops);
sound/pci/nm256/nm256.c
958
if (chip->streams[SNDRV_PCM_STREAM_CAPTURE].running)
sound/pci/oxygen/oxygen_pcm.c
683
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE,
sound/pci/oxygen/oxygen_pcm.c
686
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE,
sound/pci/oxygen/oxygen_pcm.c
697
snd_pcm_set_managed_buffer(pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream,
sound/pci/oxygen/oxygen_pcm.c
714
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE,
sound/pci/oxygen/oxygen_pcm.c
744
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE,
sound/pci/oxygen/oxygen_pcm.c
759
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE,
sound/pci/pcxhr/pcxhr.c
1129
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &pcxhr_ops);
sound/pci/pcxhr/pcxhr.c
629
is_capture = (subs->stream == SNDRV_PCM_STREAM_CAPTURE);
sound/pci/riptide/riptide.c
1688
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE,
sound/pci/rme32.c
1097
if (rme32->running & (1 << SNDRV_PCM_STREAM_CAPTURE))
sound/pci/rme32.c
1289
snd_pcm_set_ops(rme32->spdif_pcm, SNDRV_PCM_STREAM_CAPTURE,
sound/pci/rme32.c
1297
snd_pcm_set_ops(rme32->spdif_pcm, SNDRV_PCM_STREAM_CAPTURE,
sound/pci/rme32.c
1319
snd_pcm_set_ops(rme32->adat_pcm, SNDRV_PCM_STREAM_CAPTURE,
sound/pci/rme32.c
1328
snd_pcm_set_ops(rme32->adat_pcm, SNDRV_PCM_STREAM_CAPTURE,
sound/pci/rme96.c
1585
snd_pcm_set_ops(rme96->spdif_pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_rme96_capture_spdif_ops);
sound/pci/rme96.c
1602
snd_pcm_set_ops(rme96->adat_pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_rme96_capture_adat_ops);
sound/pci/rme9652/hdsp.c
3863
snd_pcm_period_elapsed(hdsp->pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream);
sound/pci/rme9652/hdsp.c
3916
if (stream == SNDRV_PCM_STREAM_CAPTURE)
sound/pci/rme9652/hdsp.c
4145
substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/pci/rme9652/hdsp.c
4153
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/pci/rme9652/hdsp.c
4908
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_hdsp_capture_ops);
sound/pci/rme9652/hdspm.c
5744
SNDRV_PCM_STREAM_CAPTURE)
sound/pci/rme9652/hdspm.c
5752
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/pci/rme9652/hdspm.c
6372
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE,
sound/pci/rme9652/rme9652.c
1779
snd_pcm_period_elapsed(rme9652->pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream);
sound/pci/rme9652/rme9652.c
1808
if (stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/pci/rme9652/rme9652.c
2044
substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/pci/rme9652/rme9652.c
2052
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/pci/rme9652/rme9652.c
2327
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_rme9652_capture_ops);
sound/pci/sis7019.c
864
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &sis_capture_ops);
sound/pci/sonicvibes.c
843
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_sonicvibes_capture_ops);
sound/pci/trident/trident_main.c
2114
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE,
sound/pci/trident/trident_main.c
2130
snd_pcm_set_managed_buffer(pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream,
sound/pci/trident/trident_main.c
2169
snd_pcm_set_ops(foldback, SNDRV_PCM_STREAM_CAPTURE, &snd_trident_nx_foldback_ops);
sound/pci/trident/trident_main.c
2171
snd_pcm_set_ops(foldback, SNDRV_PCM_STREAM_CAPTURE, &snd_trident_foldback_ops);
sound/pci/trident/trident_main.c
2174
substream = foldback->streams[SNDRV_PCM_STREAM_CAPTURE].substream;
sound/pci/via82xx.c
1430
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_via8233_capture_ops);
sound/pci/via82xx.c
1455
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_via8233_capture_ops);
sound/pci/via82xx.c
1498
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_via8233_capture_ops);
sound/pci/via82xx.c
1556
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_via686_capture_ops);
sound/pci/via82xx_modem.c
838
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_via686_capture_ops);
sound/pci/ymfpci/ymfpci_main.c
1109
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_ymfpci_capture_rec_ops);
sound/pci/ymfpci/ymfpci_main.c
1142
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_ymfpci_capture_ac97_ops);
sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c
258
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &pdacf_pcm_capture_ops);
sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c
268
err = snd_ak4117_build(chip->ak4117, pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream);
sound/ppc/pmac.c
107
SNDRV_PCM_STREAM_CAPTURE : SNDRV_PCM_STREAM_PLAYBACK;
sound/ppc/pmac.c
1155
chip->capture.stream = SNDRV_PCM_STREAM_CAPTURE;
sound/ppc/pmac.c
118
case SNDRV_PCM_STREAM_CAPTURE:
sound/ppc/pmac.c
678
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_pmac_capture_ops);
sound/soc/adi/axi-i2s.c
113
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/adi/axi-i2s.c
63
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/amd/acp-pcm-dma.c
1046
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/soc/amd/acp-pcm-dma.c
1128
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/soc/amd/acp/acp-i2s.c
168
else if (rx_mask && stream->dir == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/amd/acp/acp-i2s.c
179
else if (rx_mask && stream->dir == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/amd/acp/acp-sdw-legacy-mach.c
278
capture = (stream == SNDRV_PCM_STREAM_CAPTURE);
sound/soc/amd/acp/acp-sdw-sof-mach.c
194
capture = (stream == SNDRV_PCM_STREAM_CAPTURE);
sound/soc/amd/ps/ps-pdm-dma.c
196
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/amd/ps/ps-pdm-dma.c
209
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/amd/ps/ps-pdm-dma.c
419
acp63_config_dma(rtd, SNDRV_PCM_STREAM_CAPTURE);
sound/soc/amd/raven/acp3x-pcm-dma.c
459
config_acp3x_dma(rtd, SNDRV_PCM_STREAM_CAPTURE);
sound/soc/amd/renoir/acp3x-pdm-dma.c
218
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/amd/renoir/acp3x-pdm-dma.c
231
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/amd/renoir/acp3x-pdm-dma.c
459
config_acp_dma(rtd, SNDRV_PCM_STREAM_CAPTURE);
sound/soc/amd/vangogh/acp5x-pcm-dma.c
454
config_acp5x_dma(rtd, SNDRV_PCM_STREAM_CAPTURE);
sound/soc/amd/vangogh/acp5x-pcm-dma.c
464
config_acp5x_dma(rtd, SNDRV_PCM_STREAM_CAPTURE);
sound/soc/amd/yc/acp6x-pdm-dma.c
194
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/amd/yc/acp6x-pdm-dma.c
207
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/amd/yc/acp6x-pdm-dma.c
410
acp6x_config_dma(rtd, SNDRV_PCM_STREAM_CAPTURE);
sound/soc/atmel/mchp-pdmc.c
228
for (s = info->pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream; s; s = s->next)
sound/soc/atmel/mchp-pdmc.c
335
info->pcm->streams[SNDRV_PCM_STREAM_CAPTURE].chmap_kctl = NULL;
sound/soc/atmel/mchp-pdmc.c
707
if (WARN_ON(pcm->streams[SNDRV_PCM_STREAM_CAPTURE].chmap_kctl))
sound/soc/atmel/mchp-pdmc.c
717
knew.count = pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream_count;
sound/soc/atmel/mchp-pdmc.c
727
pcm->streams[SNDRV_PCM_STREAM_CAPTURE].chmap_kctl = info->kctl;
sound/soc/atmel/mchp-spdiftx.c
361
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/soc/au1x/ac97c.c
264
ctx->dmaids[SNDRV_PCM_STREAM_CAPTURE] = dmares->start;
sound/soc/au1x/dbdma2.c
161
if (stype == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/au1x/dbdma2.c
238
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/soc/au1x/i2sc.c
265
ctx->dmaids[SNDRV_PCM_STREAM_CAPTURE] = dmares->start;
sound/soc/au1x/psc-ac97.c
389
wd->dmaids[SNDRV_PCM_STREAM_CAPTURE] = dmares->start;
sound/soc/au1x/psc-i2s.c
316
wd->dmaids[SNDRV_PCM_STREAM_CAPTURE] = dmares->start;
sound/soc/bcm/bcm2835-i2s.c
634
else if (substream->stream == SNDRV_PCM_STREAM_CAPTURE
sound/soc/bcm/bcm2835-i2s.c
647
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/bcm/bcm2835-i2s.c
672
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/bcm/bcm2835-i2s.c
746
&dev->dma_data[SNDRV_PCM_STREAM_CAPTURE]);
sound/soc/bcm/bcm2835-i2s.c
869
dev->dma_data[SNDRV_PCM_STREAM_CAPTURE].addr =
sound/soc/bcm/bcm2835-i2s.c
875
dev->dma_data[SNDRV_PCM_STREAM_CAPTURE].addr_width =
sound/soc/bcm/bcm2835-i2s.c
880
dev->dma_data[SNDRV_PCM_STREAM_CAPTURE].maxburst = 2;
sound/soc/bcm/bcm2835-i2s.c
888
dev->dma_data[SNDRV_PCM_STREAM_CAPTURE].flags =
sound/soc/bcm/bcm63xx-pcm-whistler.c
372
if (pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream)
sound/soc/bcm/bcm63xx-pcm-whistler.c
374
pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream;
sound/soc/cirrus/ep93xx-i2s.c
380
ep93xx_i2s_disable(info, SNDRV_PCM_STREAM_CAPTURE);
sound/soc/cirrus/ep93xx-i2s.c
397
return ep93xx_i2s_enable(info, SNDRV_PCM_STREAM_CAPTURE);
sound/soc/codecs/adau17x1.c
277
SNDRV_PCM_STREAM_CAPTURE, adau17x1_capture_mux_text);
sound/soc/codecs/adau17x1.c
704
adau->tdm_slot[SNDRV_PCM_STREAM_CAPTURE] = 0;
sound/soc/codecs/adau17x1.c
708
adau->tdm_slot[SNDRV_PCM_STREAM_CAPTURE] = 1;
sound/soc/codecs/adau17x1.c
712
adau->tdm_slot[SNDRV_PCM_STREAM_CAPTURE] = 2;
sound/soc/codecs/adau17x1.c
716
adau->tdm_slot[SNDRV_PCM_STREAM_CAPTURE] = 3;
sound/soc/codecs/adau17x1.c
760
if (adau->dsp_bypass[SNDRV_PCM_STREAM_CAPTURE]) {
sound/soc/codecs/adau17x1.c
762
(adau->tdm_slot[SNDRV_PCM_STREAM_CAPTURE] * 2) + 1);
sound/soc/codecs/cpcap.c
1285
if (direction == SNDRV_PCM_STREAM_CAPTURE) {
sound/soc/codecs/cs4234.c
414
if (sub->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/codecs/cs4265.c
410
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE &&
sound/soc/codecs/cs4271.c
357
!snd_soc_dai_stream_active(dai, SNDRV_PCM_STREAM_CAPTURE)) ||
sound/soc/codecs/cs4271.c
358
(substream->stream == SNDRV_PCM_STREAM_CAPTURE &&
sound/soc/codecs/cs42l42.c
941
case SNDRV_PCM_STREAM_CAPTURE:
sound/soc/codecs/cs42l43.c
460
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/soc/codecs/cs42l84.c
542
case SNDRV_PCM_STREAM_CAPTURE:
sound/soc/codecs/framer-codec.c
195
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/soc/codecs/hda.c
59
dir = SNDRV_PCM_STREAM_CAPTURE;
sound/soc/codecs/lpass-wsa-macro.c
1290
case SNDRV_PCM_STREAM_CAPTURE:
sound/soc/codecs/ml26124.c
381
case SNDRV_PCM_STREAM_CAPTURE:
sound/soc/codecs/msm8916-wcd-digital.c
891
case SNDRV_PCM_STREAM_CAPTURE:
sound/soc/codecs/mt6351.c
275
else if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/codecs/mt6358.c
2263
else if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/codecs/mt6359.c
2656
else if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/codecs/mt6359.c
2671
else if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/codecs/mt6359.c
2686
else if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/codecs/sma1303.c
1190
if (stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/codecs/sma1307.c
1531
if (stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/codecs/wcd9335.c
1899
case SNDRV_PCM_STREAM_CAPTURE:
sound/soc/codecs/wcd934x.c
1800
case SNDRV_PCM_STREAM_CAPTURE:
sound/soc/codecs/wm8770.c
441
case SNDRV_PCM_STREAM_CAPTURE:
sound/soc/codecs/wm8940.c
411
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE
sound/soc/codecs/wm8961.c
539
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE && target < 256) {
sound/soc/dwc/dwc-i2s.c
111
i2s_clear_irqs(dev, SNDRV_PCM_STREAM_CAPTURE);
sound/soc/fsl/fsl_audmix.c
286
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/fsl/fsl_qmc_audio.c
472
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/soc/fsl/fsl_qmc_audio.c
525
frame_bits = (substream->stream == SNDRV_PCM_STREAM_CAPTURE) ?
sound/soc/fsl/fsl_qmc_audio.c
596
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/soc/fsl/fsl_rpmsg.c
247
rpmsg->buffer_size[SNDRV_PCM_STREAM_CAPTURE] = LPA_CAPTURE_BUFFER_SIZE;
sound/soc/fsl/fsl_rpmsg.c
250
rpmsg->buffer_size[SNDRV_PCM_STREAM_CAPTURE] = IMX_DEFAULT_DMABUF_SIZE;
sound/soc/fsl/fsl_sai.c
1876
if (sai->mclk_streams & BIT(SNDRV_PCM_STREAM_CAPTURE))
sound/soc/fsl/fsl_sai.c
1910
if (sai->mclk_streams & BIT(SNDRV_PCM_STREAM_CAPTURE)) {
sound/soc/fsl/fsl_sai.c
1938
if (sai->mclk_streams & BIT(SNDRV_PCM_STREAM_CAPTURE))
sound/soc/fsl/imx-pcm-fiq.c
249
substream = pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream;
sound/soc/fsl/imx-pcm-rpmsg.c
614
substream = pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream;
sound/soc/fsl/imx-pcm-rpmsg.c
617
rpmsg->buffer_size[SNDRV_PCM_STREAM_CAPTURE]);
sound/soc/fsl/imx-pcm-rpmsg.h
355
#define RX SNDRV_PCM_STREAM_CAPTURE
sound/soc/fsl/mpc5200_dma.c
140
if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/fsl/mpc5200_dma.c
163
if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/fsl/mpc5200_dma.c
222
if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/fsl/mpc5200_dma.c
249
if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/fsl/mpc5200_dma.c
274
if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/fsl/mpc5200_dma.h
80
if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/fsl/mpc5200_psc_ac97.c
154
if (substream->pstr->stream != SNDRV_PCM_STREAM_CAPTURE)
sound/soc/google/chv3-i2s.c
145
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/google/chv3-i2s.c
158
if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/google/chv3-i2s.c
181
substream = rtd->pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream;
sound/soc/google/chv3-i2s.c
211
if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/soc/google/chv3-i2s.c
240
if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/soc/google/chv3-i2s.c
262
if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/hisilicon/hi6210-i2s.c
481
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/hisilicon/hi6210-i2s.c
488
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/hisilicon/hi6210-i2s.c
506
&i2s->dma_data[SNDRV_PCM_STREAM_CAPTURE]);
sound/soc/intel/atom/sst-mfld-platform-pcm.c
92
{MERR_DPCM_AUDIO, 0, SNDRV_PCM_STREAM_CAPTURE, PIPE_PCM1_OUT, SST_TASK_ID_MEDIA, 0},
sound/soc/intel/avs/core.c
100
snd_hdac_ext_stream_init_all(bus, 0, cp_streams, SNDRV_PCM_STREAM_CAPTURE);
sound/soc/intel/avs/icl.c
153
substream.stream = SNDRV_PCM_STREAM_CAPTURE;
sound/soc/intel/avs/path.c
1296
ret = avs_condpaths_walk(adev, path, SNDRV_PCM_STREAM_CAPTURE);
sound/soc/intel/avs/path.c
301
dir = SNDRV_PCM_STREAM_CAPTURE;
sound/soc/intel/avs/path.c
309
dir = SNDRV_PCM_STREAM_CAPTURE;
sound/soc/intel/avs/pcm.c
1364
snd_pcm_set_managed_buffer(pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream,
sound/soc/intel/avs/pcm.c
1740
if (dir == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/intel/avs/pcm.c
51
if (direction == SNDRV_PCM_STREAM_CAPTURE) {
sound/soc/intel/avs/pcm.c
807
if (hdac_stream(host_stream)->direction == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/intel/avs/pcm.c
819
first_running->direction == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/intel/avs/pcm.c
845
if (hdac_stream(host_stream)->direction == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/intel/avs/pcm.c
855
first_running->direction == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/intel/boards/bdw-rt5650.c
153
if (substream->stream != SNDRV_PCM_STREAM_CAPTURE)
sound/soc/intel/boards/sof_maxim_common.c
199
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/intel/boards/sof_sdw.c
1072
int capture = ssp_info->dais[0].direction[SNDRV_PCM_STREAM_CAPTURE];
sound/soc/intel/boards/sof_sdw.c
997
capture = (stream == SNDRV_PCM_STREAM_CAPTURE);
sound/soc/intel/catpt/pcm.c
87
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/intel/catpt/pcm.c
91
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/intel/keembay/kmb_platform.c
308
kmb_i2s_clear_irqs(kmb_i2s, SNDRV_PCM_STREAM_CAPTURE);
sound/soc/intel/keembay/kmb_platform.c
907
kmb_i2s_disable_channels(kmb_i2s, SNDRV_PCM_STREAM_CAPTURE);
sound/soc/mediatek/common/mtk-afe-fe-dai.c
64
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/soc/mediatek/common/mtk-btcvsd.c
254
bt->rx->stream = SNDRV_PCM_STREAM_CAPTURE;
sound/soc/mediatek/common/mtk-dsp-sof-common.c
204
if (conn->stream_dir == SNDRV_PCM_STREAM_CAPTURE && widget) {
sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c
79
i2s_path->hop_ck[SNDRV_PCM_STREAM_CAPTURE] = i2s_ck;
sound/soc/mediatek/mt2701/mt2701-afe-pcm.c
1385
afe_priv->i2s_path[i].i2s_data[SNDRV_PCM_STREAM_CAPTURE] =
sound/soc/mediatek/mt2701/mt2701-afe-pcm.c
1386
&mt2701_i2s_data[i][SNDRV_PCM_STREAM_CAPTURE];
sound/soc/mediatek/mt2701/mt2701-afe-pcm.c
163
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/mediatek/mt2701/mt2701-afe-pcm.c
195
if (stream_dir == SNDRV_PCM_STREAM_CAPTURE) {
sound/soc/mediatek/mt2701/mt2701-afe-pcm.c
253
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/mediatek/mt7986/mt7986-dai-etdm.c
211
case SNDRV_PCM_STREAM_CAPTURE:
sound/soc/mediatek/mt7986/mt7986-dai-etdm.c
253
mtk_dai_etdm_config(afe, params, dai, SNDRV_PCM_STREAM_CAPTURE);
sound/soc/mediatek/mt8186/mt8186-afe-pcm.c
188
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE &&
sound/soc/mediatek/mt8186/mt8186-afe-pcm.c
223
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/soc/mediatek/mt8186/mt8186-mt6366.c
639
{ "Primary Codec", "AFE_SOF_UL1", SOF_DMA_UL1, SNDRV_PCM_STREAM_CAPTURE},
sound/soc/mediatek/mt8186/mt8186-mt6366.c
640
{ "I2S0", "AFE_SOF_UL2", SOF_DMA_UL2, SNDRV_PCM_STREAM_CAPTURE},
sound/soc/mediatek/mt8188/mt8188-afe-pcm.c
400
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/soc/mediatek/mt8188/mt8188-mt6359.c
234
.stream_dir = SNDRV_PCM_STREAM_CAPTURE
sound/soc/mediatek/mt8188/mt8188-mt6359.c
239
.stream_dir = SNDRV_PCM_STREAM_CAPTURE
sound/soc/mediatek/mt8189/mt8189-afe-pcm.c
263
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/mediatek/mt8189/mt8189-dai-pcm.c
232
snd_soc_dai_get_widget(dai, SNDRV_PCM_STREAM_CAPTURE);
sound/soc/mediatek/mt8195/mt8195-mt6359.c
916
{ "UL_SRC1_BE", "AFE_SOF_UL4", SOF_DMA_UL4, SNDRV_PCM_STREAM_CAPTURE},
sound/soc/mediatek/mt8195/mt8195-mt6359.c
917
{ "ETDM2_IN_BE", "AFE_SOF_UL5", SOF_DMA_UL5, SNDRV_PCM_STREAM_CAPTURE},
sound/soc/mediatek/mt8365/mt8365-dai-adda.c
145
} else if (stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/soc/mediatek/mt8365/mt8365-dai-adda.c
174
} else if (stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/soc/mediatek/mt8365/mt8365-dai-i2s.c
524
(substream->stream == SNDRV_PCM_STREAM_CAPTURE) &&
sound/soc/mediatek/mt8365/mt8365-dai-i2s.c
533
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE && !i2s_in_slave)
sound/soc/mediatek/mt8365/mt8365-dai-i2s.c
550
bool reset_i2s_in_change = (substream->stream == SNDRV_PCM_STREAM_CAPTURE);
sound/soc/mediatek/mt8365/mt8365-dai-i2s.c
552
(substream->stream == SNDRV_PCM_STREAM_CAPTURE) &&
sound/soc/mediatek/mt8365/mt8365-dai-i2s.c
572
be->prepared[SNDRV_PCM_STREAM_CAPTURE] = false;
sound/soc/mediatek/mt8365/mt8365-dai-i2s.c
597
bool apply_i2s_in_change = (substream->stream == SNDRV_PCM_STREAM_CAPTURE);
sound/soc/mediatek/mt8365/mt8365-dai-i2s.c
665
be->prepared[SNDRV_PCM_STREAM_CAPTURE] = true;
sound/soc/mediatek/mt8365/mt8365-dai-pcm.c
139
snd_soc_dai_stream_active(dai, SNDRV_PCM_STREAM_CAPTURE)) > 1) {
sound/soc/mediatek/mt8365/mt8365-dai-pcm.c
143
snd_soc_dai_stream_active(dai, SNDRV_PCM_STREAM_CAPTURE));
sound/soc/mediatek/mt8365/mt8365-mt6357.c
119
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/soc/mediatek/mt8365/mt8365-mt6357.c
88
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/soc/meson/axg-toddr.c
34
return axg_fifo_pcm_new(rtd, SNDRV_PCM_STREAM_CAPTURE);
sound/soc/qcom/lpass-platform.c
1137
substream = pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream;
sound/soc/qcom/lpass-platform.c
1248
} else if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/soc/qcom/qdsp6/q6apm-dai.c
269
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/soc/qcom/qdsp6/q6apm-dai.c
366
else if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/qcom/qdsp6/q6apm-dai.c
518
if (pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream) {
sound/soc/qcom/qdsp6/q6apm-dai.c
519
substream = pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream;
sound/soc/qcom/qdsp6/q6apm-dai.c
551
substream = pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream;
sound/soc/qcom/qdsp6/q6apm-lpass-dais.c
242
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/soc/qcom/qdsp6/q6apm.c
188
if (cfg->direction == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/qcom/qdsp6/q6asm-dai.c
253
} else if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/soc/qcom/qdsp6/q6asm-dai.c
277
} else if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/soc/qcom/qdsp6/q6asm-dai.c
401
else if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/qcom/qdsp6/q6asm.c
1417
port = &ac->port[SNDRV_PCM_STREAM_CAPTURE];
sound/soc/qcom/qdsp6/q6asm.c
1569
port = &ac->port[SNDRV_PCM_STREAM_CAPTURE];
sound/soc/qcom/qdsp6/q6asm.c
710
port = &ac->port[SNDRV_PCM_STREAM_CAPTURE];
sound/soc/qcom/qdsp6/q6usb.c
212
direction == SNDRV_PCM_STREAM_CAPTURE) {
sound/soc/qcom/sdm845.c
362
MI2S_BCLK_RATE, SNDRV_PCM_STREAM_CAPTURE);
sound/soc/qcom/sdm845.c
446
0, SNDRV_PCM_STREAM_CAPTURE);
sound/soc/renesas/rcar/core.c
1347
SNDRV_PCM_STREAM_CAPTURE);
sound/soc/renesas/rcar/msiof.c
545
substream = priv->substream[SNDRV_PCM_STREAM_CAPTURE];
sound/soc/renesas/rcar/msiof.c
549
priv->err_syc[SNDRV_PCM_STREAM_CAPTURE]++;
sound/soc/renesas/rcar/msiof.c
551
priv->err_ovf[SNDRV_PCM_STREAM_CAPTURE]++;
sound/soc/renesas/rcar/msiof.c
553
priv->err_udf[SNDRV_PCM_STREAM_CAPTURE]++;
sound/soc/renesas/siu_pcm.c
217
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/soc/rockchip/rockchip_i2s.c
416
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/rockchip/rockchip_i2s.c
474
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/rockchip/rockchip_i2s.c
485
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/soc/rockchip/rockchip_i2s_tdm.c
535
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/soc/rockchip/rockchip_i2s_tdm.c
557
&substream->pcm->streams[SNDRV_PCM_STREAM_CAPTURE];
sound/soc/rockchip/rockchip_i2s_tdm.c
766
else if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/rockchip/rockchip_i2s_tdm.c
776
else if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/rockchip/rockchip_pdm.c
354
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/rockchip/rockchip_pdm.c
360
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/rockchip/rockchip_sai.c
1237
ucontrol->value.integer.value[0] = sai->wait_time[SNDRV_PCM_STREAM_CAPTURE];
sound/soc/rockchip/rockchip_sai.c
1251
sai->wait_time[SNDRV_PCM_STREAM_CAPTURE] = ucontrol->value.integer.value[0];
sound/soc/rockchip/rockchip_sai.c
1361
substream = sai->substreams[SNDRV_PCM_STREAM_CAPTURE];
sound/soc/rockchip/rockchip_sai.c
380
bool capture = stream == SNDRV_PCM_STREAM_CAPTURE || stream < 0;
sound/soc/rockchip/rockchip_sai.c
512
rockchip_sai_xfer_stop(sai, SNDRV_PCM_STREAM_CAPTURE);
sound/soc/rockchip/rockchip_sai.c
82
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE &&
sound/soc/samsung/dmaengine.c
32
pcm_conf->chan_names[SNDRV_PCM_STREAM_CAPTURE] = rx;
sound/soc/samsung/i2s.c
1029
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/samsung/i2s.c
939
int capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE);
sound/soc/samsung/pcm.c
231
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/samsung/pcm.c
244
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/sdw_utils/soc_sdw_maxim.c
49
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/sdw_utils/soc_sdw_utils.c
1803
dai_info->direction[SNDRV_PCM_STREAM_CAPTURE] ? 'C' : '-',
sound/soc/soc-compress.c
560
BUILD_BUG_ON((int)SNDRV_PCM_STREAM_CAPTURE != (int)SND_COMPRESS_CAPTURE);
sound/soc/soc-compress.c
578
if (snd_soc_dai_stream_valid(codec_dai, SNDRV_PCM_STREAM_CAPTURE) &&
sound/soc/soc-compress.c
579
snd_soc_dai_stream_valid(cpu_dai, SNDRV_PCM_STREAM_CAPTURE))
sound/soc/soc-compress.c
636
be_pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream->private_data = rtd;
sound/soc/soc-core.c
3494
if (stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/soc-core.c
3497
return SNDRV_PCM_STREAM_CAPTURE;
sound/soc/soc-dapm.c
3995
substream->stream = SNDRV_PCM_STREAM_CAPTURE;
sound/soc/soc-dapm.c
4049
substream->stream = SNDRV_PCM_STREAM_CAPTURE;
sound/soc/soc-dapm.c
4128
substream->stream = SNDRV_PCM_STREAM_CAPTURE;
sound/soc/soc-dapm.c
4140
substream->stream = SNDRV_PCM_STREAM_CAPTURE;
sound/soc/soc-dapm.c
4658
snd_soc_dapm_stream_event(rtd, SNDRV_PCM_STREAM_CAPTURE,
sound/soc/soc-generic-dmaengine-pcm.c
354
[SNDRV_PCM_STREAM_CAPTURE] = "rx",
sound/soc/soc-pcm.c
1474
stream = SNDRV_PCM_STREAM_CAPTURE;
sound/soc/soc-pcm.c
1581
if (stream != SNDRV_PCM_STREAM_CAPTURE)
sound/soc/soc-pcm.c
2818
cpu_capture = snd_soc_get_stream_cpu(dai_link, SNDRV_PCM_STREAM_CAPTURE);
sound/soc/soc-pcm.c
2846
if (snd_soc_dai_stream_valid(codec_dai, SNDRV_PCM_STREAM_CAPTURE) &&
sound/soc/soc-pcm.c
2943
pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream->private_data = rtd;
sound/soc/soc-pcm.c
2987
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &rtd->ops);
sound/soc/sof/intel/hda-loader.c
292
SNDRV_PCM_STREAM_CAPTURE, true);
sound/soc/sof/intel/hda-pcm.c
248
if (hda_always_enable_dmi_l1 && direction == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/sof/intel/hda-sdw-bpt.c
289
num_channels_rx, SNDRV_PCM_STREAM_CAPTURE);
sound/soc/sof/intel/hda-sdw-bpt.c
317
SNDRV_PCM_STREAM_CAPTURE);
sound/soc/sof/intel/hda-sdw-bpt.c
415
SNDRV_PCM_STREAM_CAPTURE, false);
sound/soc/sof/intel/hda-sdw-bpt.c
426
SNDRV_PCM_STREAM_CAPTURE, false);
sound/soc/sof/intel/hda-sdw-bpt.c
70
if (direction == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/sof/intel/hda-stream.c
1002
hstream->direction = SNDRV_PCM_STREAM_CAPTURE;
sound/soc/sof/intel/hda-trace.c
45
hda->dtrace_stream = hda_dsp_stream_get(sdev, SNDRV_PCM_STREAM_CAPTURE,
sound/soc/sof/intel/hda-trace.c
63
hda_dsp_stream_put(sdev, SNDRV_PCM_STREAM_CAPTURE,
sound/soc/sof/intel/hda-trace.c
81
SNDRV_PCM_STREAM_CAPTURE,
sound/soc/sof/ipc3-pcm.c
408
for_each_dpcm_fe(rtd, SNDRV_PCM_STREAM_CAPTURE, dpcm) {
sound/soc/sof/ipc3-pcm.c
411
fe->dai_link->trigger[SNDRV_PCM_STREAM_CAPTURE] =
sound/soc/sof/ipc3-topology.c
1984
int stream = SNDRV_PCM_STREAM_CAPTURE;
sound/soc/sof/ipc3-topology.c
2596
link->trigger[SNDRV_PCM_STREAM_CAPTURE] = SND_SOC_DPCM_TRIGGER_POST;
sound/soc/sof/ipc4-pcm.c
386
if (direction == SNDRV_PCM_STREAM_CAPTURE) {
sound/soc/sof/ipc4-pcm.c
950
if (!support_info || stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/sof/ipc4-topology.c
3860
link->trigger[SNDRV_PCM_STREAM_CAPTURE] = SND_SOC_DPCM_TRIGGER_PRE;
sound/soc/sof/pcm.c
694
stream = SNDRV_PCM_STREAM_CAPTURE;
sound/soc/sof/sof-audio.c
692
if (dir == SNDRV_PCM_STREAM_CAPTURE && widget->id != snd_soc_dapm_dai_out &&
sound/soc/sof/sof-audio.c
900
spcm->stream[SNDRV_PCM_STREAM_CAPTURE].suspend_ignored)
sound/soc/sof/topology.c
1087
stream = SNDRV_PCM_STREAM_CAPTURE;
sound/soc/sof/topology.c
1154
stream = SNDRV_PCM_STREAM_CAPTURE;
sound/soc/sof/topology.c
1809
stream = SNDRV_PCM_STREAM_CAPTURE;
sound/soc/sof/topology.c
1856
snd_dma_free_pages(&spcm->stream[SNDRV_PCM_STREAM_CAPTURE].page_table);
sound/soc/spacemit/k1_i2s.c
126
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/spear/spdif_in.c
114
if (substream->stream != SNDRV_PCM_STREAM_CAPTURE)
sound/soc/spear/spdif_in.c
68
if (substream->stream != SNDRV_PCM_STREAM_CAPTURE)
sound/soc/spear/spdif_in.c
98
if (substream->stream != SNDRV_PCM_STREAM_CAPTURE)
sound/soc/sti/sti_uniperif.c
66
.stream = SNDRV_PCM_STREAM_CAPTURE,
sound/soc/sti/sti_uniperif.c
74
.stream = SNDRV_PCM_STREAM_CAPTURE,
sound/soc/stm/stm32_sai_sub.c
1543
sai->dir = SNDRV_PCM_STREAM_CAPTURE;
sound/soc/stm/stm32_sai_sub.c
1553
sai->dir == SNDRV_PCM_STREAM_CAPTURE) {
sound/soc/stm/stm32_sai_sub.c
42
#define STM_SAI_IS_CAPTURE(ip) ((ip)->dir == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/sunxi/sun50i-dmic.c
208
if (substream->stream != SNDRV_PCM_STREAM_CAPTURE)
sound/soc/sunxi/sun50i-dmic.c
93
if (substream->stream != SNDRV_PCM_STREAM_CAPTURE)
sound/soc/tegra/tegra210_admaif.c
405
case SNDRV_PCM_STREAM_CAPTURE:
sound/soc/tegra/tegra210_admaif.c
436
case SNDRV_PCM_STREAM_CAPTURE:
sound/soc/tegra/tegra210_i2s.c
161
stream = SNDRV_PCM_STREAM_CAPTURE;
sound/soc/ti/davinci-i2s.c
488
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/soc/ti/davinci-i2s.c
830
dma_data = &dev->dma_data[SNDRV_PCM_STREAM_CAPTURE];
sound/soc/ti/davinci-i2s.c
835
dma = &dev->dma_request[SNDRV_PCM_STREAM_CAPTURE];
sound/soc/ti/davinci-mcasp.c
1035
if (!mcasp->async_mode || stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/soc/ti/davinci-mcasp.c
1092
mcasp->active_serializers[SNDRV_PCM_STREAM_CAPTURE];
sound/soc/ti/davinci-mcasp.c
1248
} else if (stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/soc/ti/davinci-mcasp.c
1350
if (mcasp->async_mode && stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/soc/ti/davinci-mcasp.c
2627
mcasp->irq_request[SNDRV_PCM_STREAM_CAPTURE] = ROVRN;
sound/soc/ti/davinci-mcasp.c
2646
mcasp->irq_request[SNDRV_PCM_STREAM_CAPTURE] = ROVRN;
sound/soc/ti/davinci-mcasp.c
2689
dma_data = &mcasp->dma_data[SNDRV_PCM_STREAM_CAPTURE];
sound/soc/ti/davinci-mcasp.c
2719
mcasp->chconstr[SNDRV_PCM_STREAM_CAPTURE].list =
sound/soc/ti/davinci-mcasp.c
2726
!mcasp->chconstr[SNDRV_PCM_STREAM_CAPTURE].list) {
sound/soc/ti/davinci-mcasp.c
279
if (mcasp->async_mode && stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/ti/davinci-mcasp.c
310
mcasp_set_clk_pdir_stream(mcasp, SNDRV_PCM_STREAM_CAPTURE, true);
sound/soc/ti/davinci-mcasp.c
324
mcasp->irq_request[SNDRV_PCM_STREAM_CAPTURE]);
sound/soc/ti/davinci-mcasp.c
382
mcasp->irq_request[SNDRV_PCM_STREAM_CAPTURE]);
sound/soc/ti/davinci-mcasp.c
392
mcasp_set_clk_pdir_stream(mcasp, SNDRV_PCM_STREAM_CAPTURE, false);
sound/soc/ti/davinci-mcasp.c
489
u32 irq_mask = mcasp->irq_request[SNDRV_PCM_STREAM_CAPTURE];
sound/soc/ti/davinci-mcasp.c
498
substream = mcasp->substreams[SNDRV_PCM_STREAM_CAPTURE];
sound/soc/ti/davinci-mcasp.c
524
if (mcasp->substreams[SNDRV_PCM_STREAM_CAPTURE])
sound/soc/ti/davinci-mcasp.c
935
ret = davinci_mcasp_ch_constraint(mcasp, SNDRV_PCM_STREAM_CAPTURE,
sound/soc/ti/davinci-mcasp.c
987
mcasp->tdm_mask[SNDRV_PCM_STREAM_CAPTURE] = rx_mask;
sound/soc/ti/omap-mcbsp.c
1266
&mcbsp->dma_data[SNDRV_PCM_STREAM_CAPTURE]);
sound/soc/ti/omap-mcbsp.c
684
SNDRV_PCM_STREAM_CAPTURE);
sound/soc/ti/omap-mcbsp.c
820
int stream1 = tx ? SNDRV_PCM_STREAM_PLAYBACK : SNDRV_PCM_STREAM_CAPTURE;
sound/soc/ti/omap-mcbsp.c
821
int stream2 = tx ? SNDRV_PCM_STREAM_CAPTURE : SNDRV_PCM_STREAM_PLAYBACK;
sound/soc/ti/omap-mcbsp.c
843
int stream1 = tx ? SNDRV_PCM_STREAM_PLAYBACK : SNDRV_PCM_STREAM_CAPTURE;
sound/soc/ti/omap-mcbsp.c
844
int stream2 = tx ? SNDRV_PCM_STREAM_CAPTURE : SNDRV_PCM_STREAM_PLAYBACK;
sound/soc/ti/omap-mcpdm.c
187
mcpdm->config[SNDRV_PCM_STREAM_CAPTURE].threshold);
sound/soc/ti/omap-mcpdm.c
269
int stream1 = tx ? SNDRV_PCM_STREAM_PLAYBACK : SNDRV_PCM_STREAM_CAPTURE;
sound/soc/ti/omap-mcpdm.c
270
int stream2 = tx ? SNDRV_PCM_STREAM_CAPTURE : SNDRV_PCM_STREAM_PLAYBACK;
sound/soc/ti/omap-mcpdm.c
308
if (stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/ti/omap-mcpdm.c
314
if (stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/ti/omap-mcpdm.c
381
int stream1 = tx ? SNDRV_PCM_STREAM_PLAYBACK : SNDRV_PCM_STREAM_CAPTURE;
sound/soc/ti/omap-mcpdm.c
382
int stream2 = tx ? SNDRV_PCM_STREAM_CAPTURE : SNDRV_PCM_STREAM_PLAYBACK;
sound/soc/ti/omap-mcpdm.c
430
mcpdm->config[SNDRV_PCM_STREAM_CAPTURE].threshold =
sound/soc/ti/omap-mcpdm.c
435
&mcpdm->dma_data[SNDRV_PCM_STREAM_CAPTURE]);
sound/soc/uniphier/aio-cpu.c
72
if (dir == SNDRV_PCM_STREAM_CAPTURE &&
sound/soc/xilinx/xlnx_formatter_pcm.c
274
if (stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/xilinx/xlnx_formatter_pcm.c
340
else if (substream->stream == SNDRV_PCM_STREAM_CAPTURE &&
sound/soc/xilinx/xlnx_formatter_pcm.c
482
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE &&
sound/soc/xilinx/xlnx_formatter_pcm.c
656
SNDRV_PCM_STREAM_CAPTURE);
sound/soc/xilinx/xlnx_spdif.c
182
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/soc/xilinx/xlnx_spdif.c
87
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/sparc/amd7930.c
736
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_amd7930_capture_ops);
sound/sparc/cs4231.c
1181
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE,
sound/sparc/dbri.c
2225
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_dbri_ops);
sound/usb/6fire/pcm.c
124
else if (alsa_sub->stream == SNDRV_PCM_STREAM_CAPTURE)
sound/usb/6fire/pcm.c
405
} else if (alsa_sub->stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/usb/6fire/pcm.c
632
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &pcm_ops);
sound/usb/caiaq/audio.c
720
urbs[i]->complete = (dir == SNDRV_PCM_STREAM_CAPTURE) ?
sound/usb/caiaq/audio.c
810
snd_pcm_set_ops(cdev->pcm, SNDRV_PCM_STREAM_CAPTURE,
sound/usb/caiaq/audio.c
829
cdev->data_urbs_in = alloc_urbs(cdev, SNDRV_PCM_STREAM_CAPTURE, &ret);
sound/usb/line6/capture.c
131
get_substream(line6pcm, SNDRV_PCM_STREAM_CAPTURE);
sound/usb/line6/capture.c
87
get_substream(line6pcm, SNDRV_PCM_STREAM_CAPTURE);
sound/usb/line6/pcm.c
217
if (direction == SNDRV_PCM_STREAM_CAPTURE) {
sound/usb/line6/pcm.c
240
if (s->stream == SNDRV_PCM_STREAM_CAPTURE &&
sound/usb/line6/pcm.c
256
if (s->stream == SNDRV_PCM_STREAM_CAPTURE &&
sound/usb/line6/pcm.c
492
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_line6_capture_ops);
sound/usb/misc/ua101.c
1253
snd_pcm_set_ops(ua->pcm, SNDRV_PCM_STREAM_CAPTURE, &capture_pcm_ops);
sound/usb/pcm.c
131
subs->direction == SNDRV_PCM_STREAM_CAPTURE))
sound/usb/pcm.c
136
subs->direction == SNDRV_PCM_STREAM_CAPTURE)) {
sound/usb/pcm.c
652
if (subs->direction == SNDRV_PCM_STREAM_CAPTURE)
sound/usb/proc.c
221
if (stream->substream[SNDRV_PCM_STREAM_CAPTURE].num_formats) {
sound/usb/proc.c
223
proc_dump_substream_status(chip, &stream->substream[SNDRV_PCM_STREAM_CAPTURE], buffer);
sound/usb/proc.c
224
proc_dump_substream_formats(&stream->substream[SNDRV_PCM_STREAM_CAPTURE], buffer);
sound/usb/qcom/qc_audio_offload.c
227
if (direction > SNDRV_PCM_STREAM_CAPTURE)
sound/usb/quirks.c
124
SNDRV_PCM_STREAM_CAPTURE : SNDRV_PCM_STREAM_PLAYBACK;
sound/usb/quirks.c
1741
if (subs->stream->substream[SNDRV_PCM_STREAM_CAPTURE].cur_audiofmt)
sound/usb/quirks.c
2132
if (stream == SNDRV_PCM_STREAM_CAPTURE)
sound/usb/stream.c
1168
SNDRV_PCM_STREAM_CAPTURE : SNDRV_PCM_STREAM_PLAYBACK;
sound/usb/usx2y/us144mkii_pcm.c
363
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &tascam_capture_ops);
sound/usb/usx2y/usbusx2yaudio.c
297
capsubs = usx2y->subs[SNDRV_PCM_STREAM_CAPTURE];
sound/usb/usx2y/usbusx2yaudio.c
537
atomic_read(&subs->usx2y->subs[SNDRV_PCM_STREAM_CAPTURE]->state) >= STATE_PREPARED) {
sound/usb/usx2y/usbusx2yaudio.c
797
cap_subs = subs->usx2y->subs[SNDRV_PCM_STREAM_CAPTURE];
sound/usb/usx2y/usbusx2yaudio.c
826
struct snd_usx2y_substream *capsubs = subs->usx2y->subs[SNDRV_PCM_STREAM_CAPTURE];
sound/usb/usx2y/usbusx2yaudio.c
943
for (i = playback_endpoint ? SNDRV_PCM_STREAM_PLAYBACK : SNDRV_PCM_STREAM_CAPTURE;
sound/usb/usx2y/usbusx2yaudio.c
944
i <= SNDRV_PCM_STREAM_CAPTURE; ++i) {
sound/usb/usx2y/usbusx2yaudio.c
954
usx2y_substream[SNDRV_PCM_STREAM_CAPTURE]->endpoint = capture_endpoint;
sound/usb/usx2y/usbusx2yaudio.c
966
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_usx2y_pcm_ops);
sound/usb/usx2y/usbusx2yaudio.c
981
snd_pcm_set_managed_buffer(pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream,
sound/usb/usx2y/usx2yhwdeppcm.c
250
capsubs = usx2y->subs[SNDRV_PCM_STREAM_CAPTURE];
sound/usb/usx2y/usx2yhwdeppcm.c
251
capsubs2 = usx2y->subs[SNDRV_PCM_STREAM_CAPTURE + 2];
sound/usb/usx2y/usx2yhwdeppcm.c
300
if (prepare_subs == usx2y->subs[SNDRV_PCM_STREAM_CAPTURE]) {
sound/usb/usx2y/usx2yhwdeppcm.c
301
cap_subs2 = usx2y->subs[SNDRV_PCM_STREAM_CAPTURE + 2];
sound/usb/usx2y/usx2yhwdeppcm.c
371
cap_subs2 = subs->usx2y->subs[SNDRV_PCM_STREAM_CAPTURE + 2];
sound/usb/usx2y/usx2yhwdeppcm.c
373
cap_subs = subs->usx2y->subs[SNDRV_PCM_STREAM_CAPTURE];
sound/usb/usx2y/usx2yhwdeppcm.c
417
if (stream == SNDRV_PCM_STREAM_CAPTURE) {
sound/usb/usx2y/usx2yhwdeppcm.c
501
struct snd_usx2y_substream *capsubs = subs->usx2y->subs[SNDRV_PCM_STREAM_CAPTURE];
sound/usb/usx2y/usx2yhwdeppcm.c
747
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_usx2y_usbpcm_ops);
sound/usb/usx2y/usx2yhwdeppcm.c
757
snd_pcm_set_managed_buffer(pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream,
sound/virtio/virtio_chmap.c
182
vs = &vpcm->streams[SNDRV_PCM_STREAM_CAPTURE];
sound/virtio/virtio_chmap.c
97
vs = &vpcm->streams[SNDRV_PCM_STREAM_CAPTURE];
sound/virtio/virtio_pcm.c
387
vss->direction = SNDRV_PCM_STREAM_CAPTURE;
sound/virtio/virtio_pcm.c
423
vpcm->streams[SNDRV_PCM_STREAM_CAPTURE].nsubstreams;
sound/virtio/virtio_pcm_ops.c
339
if (vss->direction == SNDRV_PCM_STREAM_CAPTURE)
sound/xen/xen_snd_front_alsa.c
753
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE,
tools/perf/trace/beauty/include/uapi/sound/asound.h
169
SNDRV_PCM_STREAM_LAST = SNDRV_PCM_STREAM_CAPTURE,