sys/arm/allwinner/a10_codec.c
1170
pcm_addchan(dev, PCMDIR_PLAY, &a10codec_chan_class, sc);
sys/arm/allwinner/a10_codec.c
319
if (dir == PCMDIR_PLAY) {
sys/arm/allwinner/a10_codec.c
579
if (dir == PCMDIR_PLAY) {
sys/arm/allwinner/a10_codec.c
637
if (ch->dir == PCMDIR_PLAY) {
sys/arm/allwinner/a10_codec.c
664
if (ch->dir == PCMDIR_PLAY) {
sys/arm/allwinner/a10_codec.c
728
if (ch->dir == PCMDIR_PLAY) {
sys/arm/allwinner/a10_codec.c
796
if (ch->dir == PCMDIR_PLAY) {
sys/arm/allwinner/a10_codec.c
810
struct a10codec_chinfo *ch = dir == PCMDIR_PLAY ? &sc->play : &sc->rec;
sys/arm/allwinner/a10_codec.c
816
"dmas", "#dma-cells", dir == PCMDIR_PLAY ? 1 : 0,
sys/arm/allwinner/a10_codec.c
910
if (ch->dir == PCMDIR_PLAY) {
sys/arm/allwinner/a10_codec.c
985
if (ch->dir == PCMDIR_PLAY) {
sys/arm/allwinner/a64/sun50i_a64_acodec.c
415
if ((pcm_dir != PCMDIR_PLAY) && (pcm_dir != PCMDIR_REC))
sys/arm/allwinner/a64/sun50i_a64_acodec.c
420
if (pcm_dir == PCMDIR_PLAY) {
sys/arm/allwinner/a64/sun50i_a64_acodec.c
435
if (pcm_dir == PCMDIR_PLAY) {
sys/arm/allwinner/aw_i2s.c
594
if ((pcm_dir != PCMDIR_PLAY) && (pcm_dir != PCMDIR_REC))
sys/arm/allwinner/aw_i2s.c
599
if (pcm_dir == PCMDIR_PLAY) {
sys/arm/allwinner/aw_i2s.c
641
if (pcm_dir == PCMDIR_PLAY) {
sys/arm/allwinner/aw_i2s.c
679
if (pcm_dir == PCMDIR_PLAY)
sys/arm/broadcom/bcm2835/bcm2835_audio.c
1038
pcm_addchan(sc->dev, PCMDIR_PLAY, &bcmchan_class, sc);
sys/arm/freescale/imx/imx6_ssi.c
812
pcm_addchan(dev, PCMDIR_PLAY, &ssichan_class, scp);
sys/arm/freescale/vybrid/vf_sai.c
764
pcm_addchan(dev, PCMDIR_PLAY, &saichan_class, scp);
sys/arm64/rockchip/rk3328_codec.c
547
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
473
if (pcm_dir == PCMDIR_PLAY)
sys/arm64/rockchip/rk_i2s.c
486
if (pcm_dir == PCMDIR_PLAY)
sys/arm64/rockchip/rk_i2s.c
498
if (pcm_dir == PCMDIR_PLAY)
sys/arm64/rockchip/rk_i2s.c
514
if (pcm_dir == PCMDIR_PLAY)
sys/arm64/rockchip/rk_i2s.c
534
if (pcm_dir == PCMDIR_PLAY)
sys/dev/sound/dummy.c
115
if (ch->dir == PCMDIR_PLAY) {
sys/dev/sound/dummy.c
381
pcm_addchan(dev, PCMDIR_PLAY, &dummy_chan_class, sc);
sys/dev/sound/fdt/audio_soc.c
404
pcm_addchan(sc->dev, PCMDIR_PLAY, &audio_soc_chan_class, &sc->play_channel);
sys/dev/sound/fdt/simple_amplifier.c
127
if ((pcm_dir != PCMDIR_PLAY) && (pcm_dir != PCMDIR_REC))
sys/dev/sound/macio/aoa.c
228
KASSERT(dir == PCMDIR_PLAY, ("bad dir"));
sys/dev/sound/macio/aoa.c
381
pcm_addchan(self, PCMDIR_PLAY, &aoa_chan_class, sc);
sys/dev/sound/pci/als4000.c
212
if (dir == PCMDIR_PLAY) {
sys/dev/sound/pci/als4000.c
249
other = (ch->dir == PCMDIR_PLAY) ? &sc->rch : &sc->pch;
sys/dev/sound/pci/als4000.c
300
other = (ch->dir == PCMDIR_PLAY) ? &sc->rch : &sc->pch;
sys/dev/sound/pci/als4000.c
842
pcm_addchan(dev, PCMDIR_PLAY, &alspchan_class, sc);
sys/dev/sound/pci/atiixp.c
1088
pcm_addchan(sc->dev, PCMDIR_PLAY, &atiixp_chan_class, sc);
sys/dev/sound/pci/atiixp.c
444
if (dir == PCMDIR_PLAY) {
sys/dev/sound/pci/atiixp.c
638
(ch->dir == PCMDIR_PLAY) ?
sys/dev/sound/pci/atiixp.c
655
(ch->dir == PCMDIR_PLAY) ? "PLAY" : "REC", ptr);
sys/dev/sound/pci/cmi.c
349
struct sc_chinfo *ch = (dir == PCMDIR_PLAY) ? &sc->pch : &sc->rch;
sys/dev/sound/pci/cmi.c
365
if (ch->dir == PCMDIR_PLAY) {
sys/dev/sound/pci/cmi.c
398
if (ch->dir == PCMDIR_PLAY) {
sys/dev/sound/pci/cmi.c
426
if (ch->dir == PCMDIR_PLAY) {
sys/dev/sound/pci/cmi.c
457
(ch->dir == PCMDIR_PLAY) ? "play" : "rec",
sys/dev/sound/pci/cmi.c
488
if (ch->dir == PCMDIR_PLAY) {
sys/dev/sound/pci/cmi.c
521
if (ch->dir == PCMDIR_PLAY) {
sys/dev/sound/pci/cmi.c
990
pcm_addchan(dev, PCMDIR_PLAY, &cmichan_class, sc);
sys/dev/sound/pci/cs4281.c
319
struct sc_chinfo *ch = (dir == PCMDIR_PLAY) ? &sc->pch : &sc->rch;
sys/dev/sound/pci/cs4281.c
333
ch->dma_chan = (dir == PCMDIR_PLAY) ? CS4281_DMA_PLAY : CS4281_DMA_REC;
sys/dev/sound/pci/cs4281.c
844
pcm_addchan(dev, PCMDIR_PLAY, &cs4281chan_class, sc);
sys/dev/sound/pci/csapcm.c
484
if (ch->dir == PCMDIR_PLAY) {
sys/dev/sound/pci/csapcm.c
533
struct csa_chinfo *ch = (dir == PCMDIR_PLAY)? &csa->pch : &csa->rch;
sys/dev/sound/pci/csapcm.c
580
if (ch->dir == PCMDIR_PLAY)
sys/dev/sound/pci/csapcm.c
585
if (ch->dir == PCMDIR_PLAY)
sys/dev/sound/pci/csapcm.c
604
if (ch->dir == PCMDIR_PLAY) {
sys/dev/sound/pci/csapcm.c
621
return (ch->dir == PCMDIR_PLAY)? &csa_playcaps : &csa_reccaps;
sys/dev/sound/pci/csapcm.c
837
pcm_addchan(dev, PCMDIR_PLAY, &csachan_class, csa);
sys/dev/sound/pci/emu10k1.c
2136
pcm_addchan(dev, PCMDIR_PLAY, &emupchan_class, sc);
sys/dev/sound/pci/emu10k1.c
815
KASSERT(dir == PCMDIR_PLAY, ("emupchan_init: bad direction"));
sys/dev/sound/pci/emu10kx-pcm.c
1468
pcm_addchan(dev, PCMDIR_PLAY, &emupchan_class, sc);
sys/dev/sound/pci/emu10kx-pcm.c
1471
pcm_addchan(dev, PCMDIR_PLAY, &emupchan_class, sc);
sys/dev/sound/pci/emu10kx-pcm.c
712
KASSERT(dir == PCMDIR_PLAY, ("emupchan_init: bad direction"));
sys/dev/sound/pci/envy24.c
1179
if (dir == PCMDIR_PLAY) {
sys/dev/sound/pci/envy24.c
1211
if (dir == PCMDIR_PLAY) {
sys/dev/sound/pci/envy24.c
1249
if (dir == PCMDIR_PLAY)
sys/dev/sound/pci/envy24.c
1269
if (dir == PCMDIR_PLAY) {
sys/dev/sound/pci/envy24.c
1295
if (dir == PCMDIR_PLAY)
sys/dev/sound/pci/envy24.c
1319
if (dir == PCMDIR_PLAY)
sys/dev/sound/pci/envy24.c
1572
(sc->chnum < ENVY24_CHAN_REC_ADC1 && dir != PCMDIR_PLAY)) {
sys/dev/sound/pci/envy24.c
1635
if (ch->dir == PCMDIR_PLAY)
sys/dev/sound/pci/envy24.c
1663
if (ch->dir == PCMDIR_PLAY)
sys/dev/sound/pci/envy24.c
1733
if (ch->dir == PCMDIR_PLAY)
sys/dev/sound/pci/envy24.c
1739
if (ch->dir == PCMDIR_PLAY)
sys/dev/sound/pci/envy24.c
1769
if (ch->dir == PCMDIR_PLAY)
sys/dev/sound/pci/envy24.c
1804
if (ch->dir == PCMDIR_PLAY) {
sys/dev/sound/pci/envy24.c
1840
if (ch->dir == PCMDIR_PLAY)
sys/dev/sound/pci/envy24.c
1900
if (ch->dir == PCMDIR_PLAY) {
sys/dev/sound/pci/envy24.c
2007
sc->cfg->codec->setvolume(sc->dac[i], PCMDIR_PLAY, left, right);
sys/dev/sound/pci/envy24.c
2065
if (envy24_checkintr(sc, PCMDIR_PLAY)) {
sys/dev/sound/pci/envy24.c
2092
envy24_updintr(sc, PCMDIR_PLAY);
sys/dev/sound/pci/envy24.c
2435
sc->dac[i] = sc->cfg->codec->create(sc->dev, sc, PCMDIR_PLAY, i);
sys/dev/sound/pci/envy24.c
2580
pcm_addchan(dev, PCMDIR_PLAY, &envy24chan_class, sc);
sys/dev/sound/pci/envy24.c
944
else if (dir == PCMDIR_PLAY && sc->dac[num] != NULL)
sys/dev/sound/pci/envy24.c
970
if (ptr->dir == PCMDIR_PLAY) {
sys/dev/sound/pci/envy24ht.c
1133
if (dir == PCMDIR_PLAY) {
sys/dev/sound/pci/envy24ht.c
1165
if (dir == PCMDIR_PLAY) {
sys/dev/sound/pci/envy24ht.c
1203
if (dir == PCMDIR_PLAY)
sys/dev/sound/pci/envy24ht.c
1223
if (dir == PCMDIR_PLAY) {
sys/dev/sound/pci/envy24ht.c
1255
if (dir == PCMDIR_PLAY)
sys/dev/sound/pci/envy24ht.c
1279
if (dir == PCMDIR_PLAY)
sys/dev/sound/pci/envy24ht.c
1482
(sc->chnum < ENVY24HT_CHAN_REC_ADC1 && dir != PCMDIR_PLAY)) {
sys/dev/sound/pci/envy24ht.c
1546
if (ch->dir == PCMDIR_PLAY)
sys/dev/sound/pci/envy24ht.c
1574
if (ch->dir == PCMDIR_PLAY)
sys/dev/sound/pci/envy24ht.c
1644
if (ch->dir == PCMDIR_PLAY)
sys/dev/sound/pci/envy24ht.c
1650
if (ch->dir == PCMDIR_PLAY)
sys/dev/sound/pci/envy24ht.c
1680
if (ch->dir == PCMDIR_PLAY)
sys/dev/sound/pci/envy24ht.c
1715
if (ch->dir == PCMDIR_PLAY) {
sys/dev/sound/pci/envy24ht.c
1751
if (ch->dir == PCMDIR_PLAY)
sys/dev/sound/pci/envy24ht.c
1809
if (ch->dir == PCMDIR_PLAY) {
sys/dev/sound/pci/envy24ht.c
1921
sc->cfg->codec->setvolume(sc->dac[i], PCMDIR_PLAY, left, right);
sys/dev/sound/pci/envy24ht.c
1979
if (envy24ht_checkintr(sc, PCMDIR_PLAY)) {
sys/dev/sound/pci/envy24ht.c
2006
envy24ht_updintr(sc, PCMDIR_PLAY);
sys/dev/sound/pci/envy24ht.c
2349
sc->dac[i] = sc->cfg->codec->create(sc->dev, sc, PCMDIR_PLAY, i);
sys/dev/sound/pci/envy24ht.c
2484
pcm_addchan(dev, PCMDIR_PLAY, &envy24htchan_class, sc);
sys/dev/sound/pci/envy24ht.c
929
else if (dir == PCMDIR_PLAY && sc->dac[num] != NULL)
sys/dev/sound/pci/envy24ht.c
955
if (ptr->dir == PCMDIR_PLAY) {
sys/dev/sound/pci/es137x.c
1863
pcm_addchan(dev, PCMDIR_PLAY, ct, es);
sys/dev/sound/pci/es137x.c
451
if (dir == PCMDIR_PLAY) {
sys/dev/sound/pci/es137x.c
506
if (dir == PCMDIR_PLAY) {
sys/dev/sound/pci/es137x.c
540
if (ch->dir == PCMDIR_PLAY) {
sys/dev/sound/pci/es137x.c
621
if (ch->dir == PCMDIR_PLAY)
sys/dev/sound/pci/es137x.c
697
if (ch->dir == PCMDIR_PLAY) {
sys/dev/sound/pci/es137x.c
770
if (ch->dir == PCMDIR_PLAY) {
sys/dev/sound/pci/es137x.c
863
if (ch->dir == PCMDIR_PLAY) {
sys/dev/sound/pci/fm801.c
332
struct fm801_chinfo *ch = (dir == PCMDIR_PLAY)? &fm801->pch : &fm801->rch;
sys/dev/sound/pci/fm801.c
356
if(ch->dir == PCMDIR_PLAY) {
sys/dev/sound/pci/fm801.c
399
if(ch->dir == PCMDIR_PLAY) {
sys/dev/sound/pci/fm801.c
427
if(ch->dir == PCMDIR_PLAY)
sys/dev/sound/pci/fm801.c
451
if (ch->dir == PCMDIR_PLAY) {
sys/dev/sound/pci/fm801.c
500
if (ch->dir == PCMDIR_PLAY) {
sys/dev/sound/pci/fm801.c
646
pcm_addchan(dev, PCMDIR_PLAY, &fm801ch_class, fm801);
sys/dev/sound/pci/hda/hdaa.c
1900
(ch->dir == PCMDIR_PLAY) ? "PLAY" : "REC",
sys/dev/sound/pci/hda/hdaa.c
1908
convmapid = (ch->dir == PCMDIR_PLAY);
sys/dev/sound/pci/hda/hdaa.c
1958
(ch->dir == PCMDIR_PLAY) ? "PLAY" : "REC",
sys/dev/sound/pci/hda/hdaa.c
2137
ch->dir == PCMDIR_PLAY ? 1 : 0, ch->sid);
sys/dev/sound/pci/hda/hdaa.c
2151
ch->dir == PCMDIR_PLAY ? 1 : 0, ch->sid);
sys/dev/sound/pci/hda/hdaa.c
2164
ch->dir == PCMDIR_PLAY ? 1 : 0, fmt, ch->stripectl, &ch->dmapos);
sys/dev/sound/pci/hda/hdaa.c
2169
ch->dir == PCMDIR_PLAY ? 1 : 0, ch->sid);
sys/dev/sound/pci/hda/hdaa.c
2171
ch->dir == PCMDIR_PLAY ? 1 : 0, ch->sid,
sys/dev/sound/pci/hda/hdaa.c
2216
ch->dir == PCMDIR_PLAY ? 1 : 0, ch->sid);
sys/dev/sound/pci/hda/hdaa.c
4142
(as[j].dir == HDAA_CTL_IN) ? PCMDIR_REC : PCMDIR_PLAY;
sys/dev/sound/pci/hda/hdaa.c
6810
if (ch->dir == ((dir == 1) ? PCMDIR_PLAY : PCMDIR_REC) &&
sys/dev/sound/pci/hda/hdaa.c
7093
pcm_addchan(dev, PCMDIR_PLAY, &hdaa_channel_class,
sys/dev/sound/pci/hdsp-pcm.c
1079
pcm_addchan(dev, PCMDIR_PLAY, &hdspchan_class, scp);
sys/dev/sound/pci/hdsp-pcm.c
227
if (ch->dir != PCMDIR_PLAY)
sys/dev/sound/pci/hdsp-pcm.c
349
if ((dev == SOUND_MIXER_VOLUME && ch->dir == PCMDIR_PLAY) ||
sys/dev/sound/pci/hdsp-pcm.c
380
if (ch->dir == PCMDIR_PLAY)
sys/dev/sound/pci/hdsp-pcm.c
569
if (ch->dir == PCMDIR_PLAY) {
sys/dev/sound/pci/hdsp-pcm.c
611
if (ch->dir == PCMDIR_PLAY) {
sys/dev/sound/pci/hdsp-pcm.c
643
if (ch->dir == PCMDIR_PLAY)
sys/dev/sound/pci/hdsp-pcm.c
706
if (dir == PCMDIR_PLAY)
sys/dev/sound/pci/hdspe-pcm.c
1070
pcm_addchan(dev, PCMDIR_PLAY, &hdspechan_class, scp);
sys/dev/sound/pci/hdspe-pcm.c
243
if (ch->dir == PCMDIR_PLAY)
sys/dev/sound/pci/hdspe-pcm.c
333
if ((dev == SOUND_MIXER_VOLUME && ch->dir == PCMDIR_PLAY) ||
sys/dev/sound/pci/hdspe-pcm.c
364
if (ch->dir == PCMDIR_PLAY)
sys/dev/sound/pci/hdspe-pcm.c
564
if (ch->dir == PCMDIR_PLAY) {
sys/dev/sound/pci/hdspe-pcm.c
601
if (ch->dir == PCMDIR_PLAY)
sys/dev/sound/pci/hdspe-pcm.c
631
if (ch->dir == PCMDIR_PLAY)
sys/dev/sound/pci/hdspe-pcm.c
697
if (dir == PCMDIR_PLAY)
sys/dev/sound/pci/ich.c
1072
pcm_addchan(dev, PCMDIR_PLAY, &ichchan_class, sc); /* play */
sys/dev/sound/pci/ich.c
390
KASSERT(dir == PCMDIR_PLAY, ("wrong direction"));
sys/dev/sound/pci/maestro3.c
1428
if (pcm_addchan(dev, PCMDIR_PLAY, &m3_pch_class, sc)) {
sys/dev/sound/pci/maestro3.c
411
if (dir != PCMDIR_PLAY) {
sys/dev/sound/pci/neomagic.c
306
addr = (dir == PCMDIR_PLAY)? 0x01c : 0x21c;
sys/dev/sound/pci/neomagic.c
316
if (dir == PCMDIR_PLAY)
sys/dev/sound/pci/neomagic.c
343
base = (ch->dir == PCMDIR_PLAY)? NM_PLAYBACK_REG_OFFSET : NM_RECORD_REG_OFFSET;
sys/dev/sound/pci/neomagic.c
356
chnbuf = (dir == PCMDIR_PLAY)? sc->pbuf : sc->rbuf;
sys/dev/sound/pci/neomagic.c
357
ch = (dir == PCMDIR_PLAY)? &sc->pch : &sc->rch;
sys/dev/sound/pci/neomagic.c
364
device_printf(sc->dev, "%s buf %p\n", (dir == PCMDIR_PLAY)?
sys/dev/sound/pci/neomagic.c
420
if (ch->dir == PCMDIR_PLAY) {
sys/dev/sound/pci/neomagic.c
460
if (ch->dir == PCMDIR_PLAY)
sys/dev/sound/pci/neomagic.c
712
pcm_addchan(dev, PCMDIR_PLAY, &nmchan_class, sc);
sys/dev/sound/pci/solo.c
1030
pcm_addchan(dev, PCMDIR_PLAY, &esschan_class, sc);
sys/dev/sound/pci/solo.c
317
if (sc->simplex_dir == PCMDIR_PLAY)
sys/dev/sound/pci/solo.c
417
int play = (dir == PCMDIR_PLAY)? 1 : 0;
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/solo.c
463
KASSERT(dir == PCMDIR_PLAY, ("ess_setupch: dir2 bad"));
sys/dev/sound/pci/solo.c
494
if (ch->dir == PCMDIR_PLAY) {
sys/dev/sound/pci/solo.c
526
struct ess_chinfo *ch = (dir == PCMDIR_PLAY)? &sc->pch : &sc->rch;
sys/dev/sound/pci/solo.c
536
if ((dir == PCMDIR_PLAY) && (sc->duplex))
sys/dev/sound/pci/solo.c
621
return (ch->dir == PCMDIR_PLAY)? &ess_playcaps : &ess_reccaps;
sys/dev/sound/pci/solo.c
765
port_wr(sc->vc, 0xb, dir == PCMDIR_PLAY? 0x58 : 0x54, 1); /* mode */
sys/dev/sound/pci/spicds.c
321
if (dir == PCMDIR_PLAY && codec->type == SPICDS_TYPE_AK4524) {
sys/dev/sound/pci/spicds.c
328
if (dir == PCMDIR_PLAY && codec->type == SPICDS_TYPE_AK4528) {
sys/dev/sound/pci/spicds.c
335
if (dir == PCMDIR_PLAY && codec->type == SPICDS_TYPE_WM8770) {
sys/dev/sound/pci/spicds.c
342
if (dir == PCMDIR_PLAY && codec->type == SPICDS_TYPE_AK4358) {
sys/dev/sound/pci/spicds.c
349
if (dir == PCMDIR_PLAY && codec->type == SPICDS_TYPE_AK4381) {
sys/dev/sound/pci/spicds.c
357
if (dir == PCMDIR_PLAY && codec->type == SPICDS_TYPE_AK4396) {
sys/dev/sound/pci/t4dwave.c
505
KASSERT(dir == PCMDIR_PLAY, ("trpchan_init: bad direction"));
sys/dev/sound/pci/t4dwave.c
928
pcm_addchan(dev, PCMDIR_PLAY, &trpchan_class, tr);
sys/dev/sound/pci/via8233.c
1355
pcm_addchan(dev, PCMDIR_PLAY, &via8233dxs_class, via);
sys/dev/sound/pci/via8233.c
1357
pcm_addchan(dev, PCMDIR_PLAY, &via8233msgd_class, via);
sys/dev/sound/pci/via82c686.c
249
if (dir == PCMDIR_PLAY) {
sys/dev/sound/pci/via82c686.c
320
reg = (ch->dir == PCMDIR_PLAY)? AC97_REGEXT_FDACRATE : AC97_REGEXT_LADCRATE;
sys/dev/sound/pci/via82c686.c
589
pcm_addchan(dev, PCMDIR_PLAY, &viachan_class, via);
sys/dev/sound/pci/vibes.c
195
ch = (dir == PCMDIR_PLAY) ? &sc->pch : &sc->rch;
sys/dev/sound/pci/vibes.c
870
pcm_addchan(dev, PCMDIR_PLAY, &svpchan_class, sc);
sys/dev/sound/pcm/channel.c
1100
case PCMDIR_PLAY:
sys/dev/sound/pcm/channel.c
1123
case PCMDIR_PLAY:
sys/dev/sound/pcm/channel.c
1158
case PCMDIR_PLAY:
sys/dev/sound/pcm/channel.c
1164
direction = PCMDIR_PLAY;
sys/dev/sound/pcm/channel.c
1256
if (c->direction == PCMDIR_PLAY) {
sys/dev/sound/pcm/channel.c
1302
case PCMDIR_PLAY:
sys/dev/sound/pcm/channel.c
1782
!(dir == PCMDIR_PLAY || dir == PCMDIR_REC)) {
sys/dev/sound/pcm/channel.c
1795
if (dir == PCMDIR_PLAY) {
sys/dev/sound/pcm/channel.c
1828
!(c->direction == PCMDIR_PLAY || c->direction == PCMDIR_REC))
sys/dev/sound/pcm/channel.c
1885
if (c->direction == PCMDIR_PLAY) {
sys/dev/sound/pcm/channel.c
1927
if (c->direction == PCMDIR_PLAY) {
sys/dev/sound/pcm/channel.c
2142
if (c->direction == PCMDIR_PLAY &&
sys/dev/sound/pcm/channel.c
230
case PCMDIR_PLAY:
sys/dev/sound/pcm/channel.c
2372
if (c->direction == PCMDIR_PLAY) {
sys/dev/sound/pcm/channel.c
290
if (c->direction == PCMDIR_PLAY)
sys/dev/sound/pcm/channel.c
367
if (c->direction == PCMDIR_PLAY) {
sys/dev/sound/pcm/channel.c
588
if (c->direction == PCMDIR_PLAY)
sys/dev/sound/pcm/channel.c
647
if (c->direction == PCMDIR_PLAY)
sys/dev/sound/pcm/channel.c
696
if (c->direction != PCMDIR_PLAY)
sys/dev/sound/pcm/channel.c
889
KASSERT(c->direction == PCMDIR_PLAY, ("chn_flush on bad channel"));
sys/dev/sound/pcm/channel.h
424
#define CHN_DIRSTR(c) (((c)->direction == PCMDIR_PLAY) ? \
sys/dev/sound/pcm/dsp.c
178
(direction == PCMDIR_PLAY || direction == PCMDIR_REC),
sys/dev/sound/pcm/dsp.c
186
vdir_enabled = (direction == PCMDIR_PLAY && d->flags & SD_F_PVCHANS) ||
sys/dev/sound/pcm/dsp.c
2183
ai->busy |= (ch->direction == PCMDIR_PLAY) ?
sys/dev/sound/pcm/dsp.c
2189
((ch->direction == PCMDIR_PLAY) ? PCM_CAP_OUTPUT :
sys/dev/sound/pcm/dsp.c
2203
if (ch->direction == PCMDIR_PLAY)
sys/dev/sound/pcm/dsp.c
2338
ai->busy = (ch->direction == PCMDIR_PLAY) ? OPEN_WRITE : OPEN_READ;
sys/dev/sound/pcm/dsp.c
2354
((ch->direction == PCMDIR_PLAY) ? PCM_CAP_OUTPUT : PCM_CAP_INPUT);
sys/dev/sound/pcm/dsp.c
2369
if (ch->direction == PCMDIR_PLAY)
sys/dev/sound/pcm/dsp.c
402
if (ch->direction == PCMDIR_PLAY)
sys/dev/sound/pcm/dsp.c
413
dir = DSP_F_READ(flags) ? PCMDIR_REC : PCMDIR_PLAY;
sys/dev/sound/pcm/dsp.c
433
error = dsp_chn_alloc(d, &priv->wrch, PCMDIR_PLAY, flags, td);
sys/dev/sound/pcm/dsp.c
584
if (ch->direction != PCMDIR_PLAY)
sys/dev/sound/pcm/dsp.c
620
if (ch->direction != PCMDIR_PLAY)
sys/dev/sound/pcm/feeder_chain.c
670
if (c->direction == PCMDIR_PLAY) {
sys/dev/sound/pcm/feeder_chain.c
694
if (c->direction == PCMDIR_PLAY)
sys/dev/sound/pcm/feeder_chain.c
728
c->direction == PCMDIR_PLAY && (d->flags & SD_F_EQ) &&
sys/dev/sound/pcm/feeder_chain.c
767
else if (c->direction == PCMDIR_PLAY && (c->flags & CHN_F_HAS_VCHAN))
sys/dev/sound/pcm/mixer.c
1104
} else if (wrch == NULL && c->direction == PCMDIR_PLAY) {
sys/dev/sound/pcm/mixer.c
168
if (c->direction == PCMDIR_PLAY &&
sys/dev/sound/pcm/sound.c
156
if (ch->direction == PCMDIR_PLAY)
sys/dev/sound/pcm/vchan.c
334
direction = PCMDIR_PLAY;
sys/dev/sound/pcm/vchan.c
428
direction = PCMDIR_PLAY;
sys/dev/sound/pcm/vchan.c
524
direction = PCMDIR_PLAY;
sys/dev/sound/pcm/vchan.c
619
if (!(parent->direction == PCMDIR_PLAY ||
sys/dev/sound/pcm/vchan.c
626
if (parent->direction == PCMDIR_PLAY) {
sys/dev/sound/pcm/vchan.c
67
KASSERT(dir == PCMDIR_PLAY || dir == PCMDIR_REC,
sys/dev/sound/sndstat.c
411
sndstat_get_caps(d, PCMDIR_PLAY, &minrate, &maxrate, &fmts,
sys/dev/sound/sndstat.c
470
((c->direction == PCMDIR_PLAY) ? PCM_CAP_OUTPUT : PCM_CAP_INPUT);
sys/dev/sound/usb/uaudio.c
1209
pcm_addchan(dev, PCMDIR_PLAY, chan_class,
sys/dev/sound/usb/uaudio.c
1437
if (dir == PCMDIR_PLAY) {
sys/dev/sound/usb/uaudio.c
1546
uaudio_configure_msg_sub(sc, &sc->sc_play_chan[i], PCMDIR_PLAY);