Home
last modified time | relevance | path

Searched refs:AFMT_CHANNEL (Results 1 – 25 of 33) sorted by relevance

12

/freebsd/sys/dev/sound/pcm/
H A Dfeeder_format.c65 AFMT_CHANNEL(f->desc.in) != AFMT_CHANNEL(f->desc.out)) in feed_format_init()
72 info->channels = AFMT_CHANNEL(f->desc.in); in feed_format_init()
H A Dfeeder_matrix.c184 AFMT_CHANNEL(info->in) != m_in->channels || in feed_matrix_setup()
185 AFMT_CHANNEL(info->out) != m_out->channels || in feed_matrix_setup()
464 ch = AFMT_CHANNEL(format); in feeder_matrix_default_format()
491 ch = AFMT_CHANNEL(format); in feeder_matrix_format_id()
512 ch = AFMT_CHANNEL(format); in feeder_matrix_format_map()
H A Ddsp.c877 AFMT_CHANNEL(wrch->format), in dsp_ioctl()
893 AFMT_CHANNEL(rdch->format), in dsp_ioctl()
1139 tmp = (AFMT_CHANNEL(wrch->format) > 1)? 1 : 0; in dsp_ioctl()
1147 tmp = (AFMT_CHANNEL(rdch->format) > 1)? 1 : 0; in dsp_ioctl()
1187 tmp = AFMT_CHANNEL(wrch->format); in dsp_ioctl()
1195 tmp = AFMT_CHANNEL(rdch->format); in dsp_ioctl()
1203 *arg_i = AFMT_CHANNEL(chn->format); in dsp_ioctl()
1212 *arg_i = AFMT_CHANNEL(chn->format); in dsp_ioctl()
1239 AFMT_CHANNEL(wrch->format), in dsp_ioctl()
1247 AFMT_CHANNEL(rdch->format), in dsp_ioctl()
[all …]
H A Dsound.h356 #define AFMT_CHANNEL(v) (((v) & AFMT_CHANNEL_MASK) >> \ macro
365 #define AFMT_ALIGN(v) (AFMT_BPS(v) * AFMT_CHANNEL(v))
H A Dfeeder.c198 ret |= (AFMT_CHANNEL(fmt) & 0x3f) << 2; in snd_fmtscore()
286 if (AFMT_CHANNEL(fmt) > 1) in snd_fmtbest()
H A Dfeeder_volume.c143 AFMT_CHANNEL(f->desc.in) > SND_CHN_MAX) in feed_volume_init()
155 info->channels = AFMT_CHANNEL(f->desc.in); in feed_volume_init()
H A Dchannel.c1043 ch = AFMT_CHANNEL(afmt); in snd_afmt2str()
2099 if ((format & AFMT_PASSTHROUGH) && AFMT_CHANNEL(format) < 2) { in chn_setformat()
2425 if (AFMT_CHANNEL(besthwformat) > in chn_notify()
2426 AFMT_CHANNEL(bestformat)) in chn_notify()
2428 else if (AFMT_CHANNEL(besthwformat) == in chn_notify()
2429 AFMT_CHANNEL(bestformat) && in chn_notify()
H A Dfeeder_mixer.c86 info->channels = AFMT_CHANNEL(f->desc.in); in feed_mixer_init()
H A Dfeeder_chain.c556 m->channels = AFMT_CHANNEL(fmt); in feeder_default_matrix()
648 if (softmatrix->channels != AFMT_CHANNEL(softfmt) || in feeder_chain()
H A Dfeeder_eq.c272 info->channels = AFMT_CHANNEL(f->desc.in); in feed_eq_init()
/freebsd/sys/dev/sound/pci/
H A Dfm801.c351 (AFMT_CHANNEL(format) > 1)?"stereo":"mono", in fm801ch_setformat()
358 (AFMT_CHANNEL(format) > 1)? FM_PLAY_STEREO : 0; in fm801ch_setformat()
364 fm801->rec_fmt = (AFMT_CHANNEL(format) > 1)? FM_REC_STEREO:0; in fm801ch_setformat()
H A Dhdspe-pcm.c552 n = AFMT_CHANNEL(ch->format); /* n channels */ in buffer_copy()
800 pos *= AFMT_CHANNEL(ch->format); /* Hardbuf with multiple channels. */ in hdspechan_getptr()
957 (HDSPE_CHANBUF_SIZE * AFMT_CHANNEL(ch->format)) / (sc->period * 4), in hdspechan_setblocksize()
H A Dhdsp-pcm.c563 channels = AFMT_CHANNEL(ch->format); /* Number of PCM channels. */ in buffer_copy()
817 pos *= AFMT_CHANNEL(ch->format); /* Hardbuf with multiple channels. */ in hdspchan_getptr()
962 (sc->period * AFMT_CHANNEL(ch->format) * sizeof(uint32_t))); in hdspchan_setblocksize()
H A Dneomagic.c341 if (AFMT_CHANNEL(ch->fmt) > 1) x |= NM_RATE_STEREO; in nm_setch()
417 if (AFMT_CHANNEL(ch->fmt) > 1) in nmchan_trigger()
H A Dmaestro3.c551 (AFMT_CHANNEL(format) > 1) ? "STEREO":"MONO")); in m3_pchan_setformat()
554 data = (AFMT_CHANNEL(format) > 1)? 0 : 1; in m3_pchan_setformat()
925 (AFMT_CHANNEL(format) > 1) ? "STEREO":"MONO")); in m3_rchan_setformat()
928 data = (AFMT_CHANNEL(format) > 1) ? 0 : 1; in m3_rchan_setformat()
H A Dcsapcm.c494 if (AFMT_CHANNEL(ch->fmt) < 2) in csa_setupchan()
503 if (AFMT_CHANNEL(ch->fmt) > 1) in csa_setupchan()
H A Dcs4281.c238 if (AFMT_CHANNEL(format) < 2) dmr |= CS4281PCI_DMR_MONO; in cs4281_format_to_dmr()
248 ((AFMT_CHANNEL(format) > 1) ? 2 : 1); in cs4281_format_to_bps()
H A Dvia8233.c410 if (AFMT_CHANNEL(format) > 1) in via8233wr_setformat()
433 if (AFMT_CHANNEL(format) > 1) in via8233dxs_setformat()
452 if (AFMT_CHANNEL(format) > 1) { in via8233msgd_setformat()
H A Des137x.c545 if (AFMT_CHANNEL(format) > 1) in eschan_setformat()
551 if (AFMT_CHANNEL(format) > 1) in eschan_setformat()
558 if (AFMT_CHANNEL(format) > 1) in eschan_setformat()
768 if (AFMT_CHANNEL(ch->fmt) > 1) in eschan_trigger()
H A Dvia82c686.c287 if (AFMT_CHANNEL(format) > 1) in viachan_setformat()
H A Demu10k1.c625 v->stereo = (AFMT_CHANNEL(ch->fmt) > 1) ? 1 : 0; in emu_vsetup()
1080 if (AFMT_CHANNEL(ch->fmt) > 1) in emurchan_trigger()
1085 if (AFMT_CHANNEL(ch->fmt) > 1) in emurchan_trigger()
H A Demu10kx-pcm.c793 if (AFMT_CHANNEL(ch->fmt) > 1) in emupchan_trigger()
979 if (AFMT_CHANNEL(ch->fmt) > 1) in emurchan_trigger()
/freebsd/sys/dev/sound/
H A Dsndstat.c341 *minchn = min(AFMT_CHANNEL(caps->fmtlist[i]), *minchn); in sndstat_get_caps()
342 *maxchn = max(AFMT_CHANNEL(caps->fmtlist[i]), *maxchn); in sndstat_get_caps()
543 AFMT_CHANNEL(f->desc.in) - in sndstat_build_sound4_nvlist()
546 AFMT_CHANNEL(f->desc.out) - in sndstat_build_sound4_nvlist()
1330 AFMT_CHANNEL(f->desc.in) - in sndstat_prepare_pcm()
1333 AFMT_CHANNEL(f->desc.out) - in sndstat_prepare_pcm()
/freebsd/sys/arm/allwinner/
H A Da10_codec.c744 (AFMT_CHANNEL(ch->format) == 1 ? DAC_FIFOC_MONO_EN : 0) | in a10codec_start()
772 (AFMT_CHANNEL(ch->format) == 1 ? ADC_FIFOC_MONO_EN : 0) | in a10codec_start()
/freebsd/sys/arm/broadcom/bcm2835/
H A Dbcm2835_audio.c474 m.u.config.channels = AFMT_CHANNEL(fmt); in bcm2835_audio_update_params()

12