Symbol: PCMDIR_REC
sys/arm/allwinner/a10_codec.c
1171
pcm_addchan(dev, PCMDIR_REC, &a10codec_chan_class, sc);
sys/arm/allwinner/a10_codec.c
829
(dir == PCMDIR_REC ? AC_ADC_RXDATA(sc) : AC_DAC_TXDATA(sc));
sys/arm/allwinner/a64/sun50i_a64_acodec.c
401
if ((pcm_dir != PCMDIR_PLAY) && (pcm_dir != PCMDIR_REC))
sys/arm/allwinner/a64/sun50i_a64_acodec.c
412
else if (pcm_dir == PCMDIR_REC) {
sys/arm/allwinner/a64/sun50i_a64_acodec.c
427
else if (pcm_dir == PCMDIR_REC) {
sys/arm/allwinner/aw_i2s.c
594
if ((pcm_dir != PCMDIR_PLAY) && (pcm_dir != PCMDIR_REC))
sys/arm/allwinner/aw_i2s.c
617
if (pcm_dir == PCMDIR_REC) {
sys/arm/broadcom/bcm2835/bcm2835_audio.c
753
if (dir == PCMDIR_REC)
sys/arm64/rockchip/rk3328_codec.c
533
if (pcm_dir != PCMDIR_PLAY && pcm_dir != PCMDIR_REC)
sys/arm64/rockchip/rk_i2s.c
467
if ((pcm_dir != PCMDIR_PLAY) && (pcm_dir != PCMDIR_REC))
sys/arm64/rockchip/rk_i2s.c
475
else if (pcm_dir == PCMDIR_REC)
sys/arm64/rockchip/rk_i2s.c
488
else if (pcm_dir == PCMDIR_REC)
sys/arm64/rockchip/rk_i2s.c
500
else if (pcm_dir == PCMDIR_REC)
sys/dev/firewire/fwisound_pcm.c
199
err = pcm_addchan(dev, PCMDIR_REC, &fwisound_chan_class, sc);
sys/dev/firewire/fwisound_pcm.c
36
if (dir != PCMDIR_REC)
sys/dev/sound/dummy.c
115
if (ch->dir == PCMDIR_REC)
sys/dev/sound/dummy.c
382
pcm_addchan(dev, PCMDIR_REC, &dummy_chan_class, sc);
sys/dev/sound/fdt/audio_soc.c
405
pcm_addchan(sc->dev, PCMDIR_REC, &audio_soc_chan_class, &sc->rec_channel);
sys/dev/sound/fdt/simple_amplifier.c
127
if ((pcm_dir != PCMDIR_PLAY) && (pcm_dir != PCMDIR_REC))
sys/dev/sound/pci/als4000.c
843
pcm_addchan(dev, PCMDIR_REC, &alsrchan_class, sc);
sys/dev/sound/pci/atiixp.c
1090
pcm_addchan(sc->dev, PCMDIR_REC, &atiixp_chan_class, sc);
sys/dev/sound/pci/atiixp.c
493
if (ch->dir == PCMDIR_REC) {
sys/dev/sound/pci/cmi.c
991
pcm_addchan(dev, PCMDIR_REC, &cmichan_class, sc);
sys/dev/sound/pci/cs4281.c
845
pcm_addchan(dev, PCMDIR_REC, &cs4281chan_class, sc);
sys/dev/sound/pci/csapcm.c
513
} else if (ch->dir == PCMDIR_REC) {
sys/dev/sound/pci/csapcm.c
836
pcm_addchan(dev, PCMDIR_REC, &csachan_class, csa);
sys/dev/sound/pci/emu10k1.c
2138
pcm_addchan(dev, PCMDIR_REC, &emurchan_class, sc);
sys/dev/sound/pci/emu10k1.c
949
KASSERT(dir == PCMDIR_REC, ("emurchan_init: bad direction"));
sys/dev/sound/pci/emu10kx-pcm.c
1044
KASSERT(dir == PCMDIR_REC, ("emurchan_init: bad direction"));
sys/dev/sound/pci/emu10kx-pcm.c
1472
pcm_addchan(dev, PCMDIR_REC, &emurchan_class, sc);
sys/dev/sound/pci/emu10kx-pcm.c
1475
pcm_addchan(dev, PCMDIR_REC, &emufxrchan_class, sc);
sys/dev/sound/pci/emu10kx-pcm.c
863
KASSERT(dir == PCMDIR_REC, ("emurchan_init: bad direction"));
sys/dev/sound/pci/envy24.c
1571
if ((sc->chnum > ENVY24_CHAN_PLAY_SPDIF && dir != PCMDIR_REC) ||
sys/dev/sound/pci/envy24.c
2094
if (envy24_checkintr(sc, PCMDIR_REC)) {
sys/dev/sound/pci/envy24.c
2111
envy24_updintr(sc, PCMDIR_REC);
sys/dev/sound/pci/envy24.c
2431
sc->adc[i] = sc->cfg->codec->create(sc->dev, sc, PCMDIR_REC, i);
sys/dev/sound/pci/envy24.c
2584
pcm_addchan(dev, PCMDIR_REC, &envy24chan_class, sc);
sys/dev/sound/pci/envy24.c
942
if (dir == PCMDIR_REC && sc->adc[num] != NULL)
sys/dev/sound/pci/envy24ht.c
1481
if ((sc->chnum > ENVY24HT_CHAN_PLAY_SPDIF && dir != PCMDIR_REC) ||
sys/dev/sound/pci/envy24ht.c
2008
if (envy24ht_checkintr(sc, PCMDIR_REC)) {
sys/dev/sound/pci/envy24ht.c
2025
envy24ht_updintr(sc, PCMDIR_REC);
sys/dev/sound/pci/envy24ht.c
2345
sc->adc[i] = sc->cfg->codec->create(sc->dev, sc, PCMDIR_REC, i);
sys/dev/sound/pci/envy24ht.c
2488
pcm_addchan(dev, PCMDIR_REC, &envy24htchan_class, sc);
sys/dev/sound/pci/envy24ht.c
927
if (dir == PCMDIR_REC && sc->adc[num] != NULL)
sys/dev/sound/pci/es137x.c
1864
pcm_addchan(dev, PCMDIR_REC, ct, es);
sys/dev/sound/pci/fm801.c
363
if(ch->dir == PCMDIR_REC ) {
sys/dev/sound/pci/fm801.c
405
if(ch->dir == PCMDIR_REC ) {
sys/dev/sound/pci/fm801.c
430
if(ch->dir == PCMDIR_REC)
sys/dev/sound/pci/fm801.c
469
} else if(ch->dir == PCMDIR_REC) {
sys/dev/sound/pci/fm801.c
506
if (ch->dir == PCMDIR_REC) {
sys/dev/sound/pci/fm801.c
647
pcm_addchan(dev, PCMDIR_REC, &fm801ch_class, fm801);
sys/dev/sound/pci/hda/hdaa.c
4183
(as[j].dir == HDAA_CTL_IN) ? PCMDIR_REC : PCMDIR_PLAY;
sys/dev/sound/pci/hda/hdaa.c
6851
if (ch->dir == ((dir == 1) ? PCMDIR_PLAY : PCMDIR_REC) &&
sys/dev/sound/pci/hda/hdaa.c
7145
pcm_addchan(dev, PCMDIR_REC, &hdaa_channel_class,
sys/dev/sound/pci/hdsp-pcm.c
1084
pcm_addchan(dev, PCMDIR_REC, &hdspchan_class, scp);
sys/dev/sound/pci/hdsp-pcm.c
350
(dev == SOUND_MIXER_RECLEV && ch->dir == PCMDIR_REC)) {
sys/dev/sound/pci/hdspe-pcm.c
1075
pcm_addchan(dev, PCMDIR_REC, &hdspechan_class, scp);
sys/dev/sound/pci/hdspe-pcm.c
334
(dev == SOUND_MIXER_RECLEV && ch->dir == PCMDIR_REC)) {
sys/dev/sound/pci/ich.c
1073
pcm_addchan(dev, PCMDIR_REC, &ichchan_class, sc); /* record */
sys/dev/sound/pci/ich.c
1075
pcm_addchan(dev, PCMDIR_REC, &ichchan_class, sc); /* record mic */
sys/dev/sound/pci/ich.c
397
KASSERT(dir == PCMDIR_REC, ("wrong direction"));
sys/dev/sound/pci/ich.c
404
KASSERT(dir == PCMDIR_REC, ("wrong direction"));
sys/dev/sound/pci/maestro3.c
1434
if (pcm_addchan(dev, PCMDIR_REC, &m3_rch_class, sc)) {
sys/dev/sound/pci/maestro3.c
791
if (dir != PCMDIR_REC) {
sys/dev/sound/pci/neomagic.c
307
if (dir == PCMDIR_REC)
sys/dev/sound/pci/neomagic.c
711
pcm_addchan(dev, PCMDIR_REC, &nmchan_class, sc);
sys/dev/sound/pci/solo.c
1029
pcm_addchan(dev, PCMDIR_REC, &esschan_class, sc);
sys/dev/sound/pci/solo.c
319
if (sc->simplex_dir == PCMDIR_REC)
sys/dev/sound/pci/solo.c
426
sc->simplex_dir = play ? PCMDIR_PLAY : PCMDIR_REC ;
sys/dev/sound/pci/solo.c
429
KASSERT((dir == PCMDIR_PLAY) || (dir == PCMDIR_REC), ("ess_setupch: dir1 bad"));
sys/dev/sound/pci/spicds.c
314
if (dir == PCMDIR_REC && codec->type == SPICDS_TYPE_AK4524) {
sys/dev/sound/pci/t4dwave.c
614
KASSERT(dir == PCMDIR_REC, ("trrchan_init: bad direction"));
sys/dev/sound/pci/t4dwave.c
926
pcm_addchan(dev, PCMDIR_REC, &trrchan_class, tr);
sys/dev/sound/pci/via8233.c
1359
pcm_addchan(dev, PCMDIR_REC, &via8233wr_class, via);
sys/dev/sound/pci/via82c686.c
389
if (ch->dir == PCMDIR_REC) {
sys/dev/sound/pci/via82c686.c
590
pcm_addchan(dev, PCMDIR_REC, &viachan_class, via);
sys/dev/sound/pci/vibes.c
871
pcm_addchan(dev, PCMDIR_REC, &svrchan_class, sc);
sys/dev/sound/pcm/channel.c
1108
case PCMDIR_REC:
sys/dev/sound/pcm/channel.c
1133
case PCMDIR_REC:
sys/dev/sound/pcm/channel.c
1172
case PCMDIR_REC:
sys/dev/sound/pcm/channel.c
1178
direction = PCMDIR_REC;
sys/dev/sound/pcm/channel.c
1308
case PCMDIR_REC:
sys/dev/sound/pcm/channel.c
1797
!(dir == PCMDIR_PLAY || dir == PCMDIR_REC)) {
sys/dev/sound/pcm/channel.c
1846
!(c->direction == PCMDIR_PLAY || c->direction == PCMDIR_REC))
sys/dev/sound/pcm/channel.c
239
case PCMDIR_REC:
sys/dev/sound/pcm/channel.c
618
if (c->direction == PCMDIR_REC) {
sys/dev/sound/pcm/dsp.c
177
(direction == PCMDIR_PLAY || direction == PCMDIR_REC),
sys/dev/sound/pcm/dsp.c
186
(direction == PCMDIR_REC && d->flags & SD_F_RVCHANS);
sys/dev/sound/pcm/dsp.c
403
else if (ch->direction == PCMDIR_REC)
sys/dev/sound/pcm/dsp.c
412
dir = DSP_F_READ(flags) ? PCMDIR_REC : PCMDIR_PLAY;
sys/dev/sound/pcm/dsp.c
443
error = dsp_chn_alloc(d, &priv->rdch, PCMDIR_REC, flags, td);
sys/dev/sound/pcm/dsp.c
576
if (ch->direction == PCMDIR_REC) {
sys/dev/sound/pcm/dsp.c
592
if (ch->direction != PCMDIR_REC)
sys/dev/sound/pcm/dsp.c
612
if (ch->direction == PCMDIR_REC) {
sys/dev/sound/pcm/dsp.c
627
if (ch->direction != PCMDIR_REC)
sys/dev/sound/pcm/dsp.c
637
if (ch->direction == PCMDIR_REC)
sys/dev/sound/pcm/feeder.c
320
if (ch->direction == PCMDIR_REC) {
sys/dev/sound/pcm/feeder_chain.c
763
if (!(c->flags & CHN_F_HAS_VCHAN) || c->direction == PCMDIR_REC)
sys/dev/sound/pcm/feeder_chain.c
834
if (c->direction == PCMDIR_REC && (c->flags & CHN_F_HAS_VCHAN))
sys/dev/sound/pcm/feeder_mixer.c
232
if (c->direction == PCMDIR_REC)
sys/dev/sound/pcm/vchan.c
342
direction = PCMDIR_REC;
sys/dev/sound/pcm/vchan.c
436
direction = PCMDIR_REC;
sys/dev/sound/pcm/vchan.c
532
direction = PCMDIR_REC;
sys/dev/sound/pcm/vchan.c
620
parent->direction == PCMDIR_REC))
sys/dev/sound/pcm/vchan.c
67
KASSERT(dir == PCMDIR_PLAY || dir == PCMDIR_REC,
sys/dev/sound/sndstat.c
1279
if (c->direction == PCMDIR_REC) {
sys/dev/sound/sndstat.c
1311
sbuf_printf(s, "\t{%s}", (c->direction == PCMDIR_REC) ?
sys/dev/sound/sndstat.c
1314
sbuf_printf(s, "\t{%s}", (c->direction == PCMDIR_REC) ?
sys/dev/sound/sndstat.c
1350
sbuf_printf(s, "{%s}", (c->direction == PCMDIR_REC) ?
sys/dev/sound/sndstat.c
1353
sbuf_printf(s, "{%s}", (c->direction == PCMDIR_REC) ?
sys/dev/sound/sndstat.c
423
sndstat_get_caps(d, PCMDIR_REC, &minrate, &maxrate, &fmts,
sys/dev/sound/sndstat.c
522
sbuf_printf(&sb, "[%s", (c->direction == PCMDIR_REC) ?
sys/dev/sound/sndstat.c
525
sbuf_printf(&sb, "[%s", (c->direction == PCMDIR_REC) ?
sys/dev/sound/sndstat.c
560
sbuf_printf(&sb, "%s]", (c->direction == PCMDIR_REC) ?
sys/dev/sound/sndstat.c
563
sbuf_printf(&sb, "%s]", (c->direction == PCMDIR_REC) ?
sys/dev/sound/usb/uaudio.c
1224
pcm_addchan(dev, PCMDIR_REC, chan_class,
sys/dev/sound/usb/uaudio.c
1625
uaudio_configure_msg_sub(sc, &sc->sc_rec_chan[i], PCMDIR_REC);