Searched refs:AFMT_CHANNEL (Results 1 - 25 of 41) sorted by relevance

12

/freebsd-11.0-release/sys/dev/sound/pcm/
H A Dsndstat.h143 AFMT_CHANNEL(f->desc->in) - \
146 AFMT_CHANNEL(f->desc->out) - \
H A Dfeeder_format.c130 AFMT_CHANNEL(f->desc->in) != AFMT_CHANNEL(f->desc->out))
157 info->channels = AFMT_CHANNEL(f->desc->in);
H A Dfeeder_volume.c148 AFMT_CHANNEL(f->desc->in) > SND_CHN_MAX)
160 info->channels = AFMT_CHANNEL(f->desc->in);
H A Dfeeder_matrix.c300 AFMT_CHANNEL(info->in) != m_in->channels ||
301 AFMT_CHANNEL(info->out) != m_out->channels ||
595 ch = AFMT_CHANNEL(format);
622 ch = AFMT_CHANNEL(format);
643 ch = AFMT_CHANNEL(format);
H A Dfeeder.c331 ret |= (AFMT_CHANNEL(fmt) & 0x3f) << 2;
419 if (AFMT_CHANNEL(fmt) > 1)
H A Ddsp.c1228 AFMT_CHANNEL(wrch->format),
1244 AFMT_CHANNEL(rdch->format),
1458 tmp = (AFMT_CHANNEL(wrch->format) > 1)? 1 : 0;
1466 tmp = (AFMT_CHANNEL(rdch->format) > 1)? 1 : 0;
1499 tmp = AFMT_CHANNEL(wrch->format);
1507 tmp = AFMT_CHANNEL(rdch->format);
1515 *arg_i = AFMT_CHANNEL(chn->format);
1524 *arg_i = AFMT_CHANNEL(chn->format);
1551 AFMT_CHANNEL(wrch->format),
1559 AFMT_CHANNEL(rdc
[all...]
H A Dsound.h228 #define AFMT_CHANNEL(v) (((v) & AFMT_CHANNEL_MASK) >> \ macro
237 #define AFMT_ALIGN(v) (AFMT_BPS(v) * AFMT_CHANNEL(v))
H A Dchannel.c1105 ch = AFMT_CHANNEL(afmt);
1989 if ((format & AFMT_PASSTHROUGH) && AFMT_CHANNEL(format) < 2) {
2354 if (AFMT_CHANNEL(besthwformat) >
2355 AFMT_CHANNEL(bestformat))
2357 else if (AFMT_CHANNEL(besthwformat) ==
2358 AFMT_CHANNEL(bestformat) &&
H A Dfeeder_mixer.c151 FEEDMIXER_DATA(i, AFMT_CHANNEL(f->desc->in));
H A Dfeeder_chain.c572 m->channels = AFMT_CHANNEL(fmt);
669 if (softmatrix->channels != AFMT_CHANNEL(softfmt) ||
H A Dbuffer.c358 b->bps = AFMT_CHANNEL(b->fmt);
H A Dfeeder_eq.c361 info->channels = AFMT_CHANNEL(f->desc->in);
/freebsd-11.0-release/sys/dev/sound/pci/
H A Dfm801.c353 (AFMT_CHANNEL(format) > 1)?"stereo":"mono",
360 (AFMT_CHANNEL(format) > 1)? FM_PLAY_STEREO : 0;
366 fm801->rec_fmt = (AFMT_CHANNEL(format) > 1)? FM_REC_STEREO:0;
H A Dds1.c439 stereo = (AFMT_CHANNEL(ch->fmt) > 1)? 1 : 0;
459 stereo = (AFMT_CHANNEL(ch->fmt) > 1)? 1 : 0;
554 stereo = (AFMT_CHANNEL(ch->fmt) > 1)? 1 : 0;
582 ss = (AFMT_CHANNEL(ch->fmt) > 1)? 1 : 0;
H A Dvia8233.c411 if (AFMT_CHANNEL(format) > 1)
434 if (AFMT_CHANNEL(format) > 1)
453 if (AFMT_CHANNEL(format) > 1) {
H A Des137x.c545 if (AFMT_CHANNEL(format) > 1)
551 if (AFMT_CHANNEL(format) > 1)
558 if (AFMT_CHANNEL(format) > 1)
768 if (AFMT_CHANNEL(ch->fmt) > 1)
H A Dmaestro3.c551 (AFMT_CHANNEL(format) > 1) ? "STEREO":"MONO"));
554 data = (AFMT_CHANNEL(format) > 1)? 0 : 1;
925 (AFMT_CHANNEL(format) > 1) ? "STEREO":"MONO"));
928 data = (AFMT_CHANNEL(format) > 1) ? 0 : 1;
H A Dneomagic.c341 if (AFMT_CHANNEL(ch->fmt) > 1) x |= NM_RATE_STEREO;
417 if (AFMT_CHANNEL(ch->fmt) > 1)
H A Dcs4281.c238 if (AFMT_CHANNEL(format) < 2) dmr |= CS4281PCI_DMR_MONO;
248 ((AFMT_CHANNEL(format) > 1) ? 2 : 1);
H A Dcsapcm.c495 if (AFMT_CHANNEL(ch->fmt) < 2)
504 if (AFMT_CHANNEL(ch->fmt) > 1)
H A Dvia82c686.c291 if (AFMT_CHANNEL(format) > 1)
/freebsd-11.0-release/sys/dev/sound/isa/
H A Dsb8.c503 int stereo = (AFMT_CHANNEL(ch->fmt) > 1)? 1 : 0;
544 int stereo = (AFMT_CHANNEL(ch->fmt) > 1)? 1 : 0;
H A Dsb16.c638 v = (AFMT_CHANNEL(ch->fmt) > 1)? DSP_F16_STEREO : 0;
663 v = (AFMT_CHANNEL(ch->fmt) > 1)? DSP_F16_STEREO : 0;
H A Dad1816.c375 if (AFMT_CHANNEL(format) > 1) fmt |= AD1816_STEREO;
/freebsd-11.0-release/sys/arm/allwinner/
H A Da10_codec.c448 (AFMT_CHANNEL(ch->format) == 1 ? DAC_FIFOC_MONO_EN : 0) |
482 (AFMT_CHANNEL(ch->format) == 1 ? ADC_FIFOC_MONO_EN : 0) |

Completed in 144 milliseconds

12