| /freebsd/sys/dev/sound/pcm/ |
| H A D | feeder_format.c | 65 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 D | feeder_matrix.c | 184 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 D | dsp.c | 877 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 D | sound.h | 356 #define AFMT_CHANNEL(v) (((v) & AFMT_CHANNEL_MASK) >> \ macro 365 #define AFMT_ALIGN(v) (AFMT_BPS(v) * AFMT_CHANNEL(v))
|
| H A D | feeder.c | 198 ret |= (AFMT_CHANNEL(fmt) & 0x3f) << 2; in snd_fmtscore() 286 if (AFMT_CHANNEL(fmt) > 1) in snd_fmtbest()
|
| H A D | feeder_volume.c | 143 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 D | channel.c | 1043 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 D | feeder_mixer.c | 86 info->channels = AFMT_CHANNEL(f->desc.in); in feed_mixer_init()
|
| H A D | feeder_chain.c | 556 m->channels = AFMT_CHANNEL(fmt); in feeder_default_matrix() 648 if (softmatrix->channels != AFMT_CHANNEL(softfmt) || in feeder_chain()
|
| H A D | feeder_eq.c | 272 info->channels = AFMT_CHANNEL(f->desc.in); in feed_eq_init()
|
| /freebsd/sys/dev/sound/pci/ |
| H A D | fm801.c | 351 (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 D | hdspe-pcm.c | 552 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 D | hdsp-pcm.c | 563 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 D | neomagic.c | 341 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 D | maestro3.c | 551 (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 D | csapcm.c | 494 if (AFMT_CHANNEL(ch->fmt) < 2) in csa_setupchan() 503 if (AFMT_CHANNEL(ch->fmt) > 1) in csa_setupchan()
|
| H A D | cs4281.c | 238 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 D | via8233.c | 410 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 D | es137x.c | 545 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 D | via82c686.c | 287 if (AFMT_CHANNEL(format) > 1) in viachan_setformat()
|
| H A D | emu10k1.c | 625 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 D | emu10kx-pcm.c | 793 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 D | sndstat.c | 341 *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 D | a10_codec.c | 744 (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 D | bcm2835_audio.c | 474 m.u.config.channels = AFMT_CHANNEL(fmt); in bcm2835_audio_update_params()
|