/freebsd-11-stable/sys/dev/sound/isa/ |
H A D | sb.h | 80 #define DSP_CMD_DMAMODE(stereo, bit16) (0xA0 | (stereo ? 8:0) | (bit16 ? 4:0))
|
H A D | sb8.c | 503 int stereo = (AFMT_CHANNEL(ch->fmt) > 1)? 1 : 0; local 508 thresh = stereo? 11025 : 23000; 509 max = stereo? 22050 : 44100; 527 tmp = 65536 - (256000000 / (speed << stereo)); 532 speed = (256000000 / (65536 - tmp)) >> stereo; 544 int stereo = (AFMT_CHANNEL(ch->fmt) > 1)? 1 : 0; local 559 sb_setmixer(sb, 0x0e, stereo? 2 : 0);
|
H A D | ess.c | 465 int stereo = (AFMT_CHANNEL(fmt) > 1)? 1 : 0; local 481 /* mono/stereo */ 482 ess_write(sc, 0xa8, (ess_read(sc, 0xa8) & ~0x03) | (stereo? 0x01 : 0x02)); 497 (stereo? 0x08 : 0x40)); 510 fmtval = b16 | (stereo << 1) | (unsign << 2);
|
H A D | sb16.c | 294 int stereo; member in struct:sb16_mixent 360 if (e->stereo)
|
/freebsd-11-stable/sys/dev/bktr/ |
H A D | bktr_audio.c | 45 * controlling any MSP34xx stereo audio decoders. 104 /* enable stereo if appropriate on TDA audio chip */ 108 /* reset the MSP34xx stereo audio chip */ 302 i2cWrite(bktr, TDA9850_WADDR, CON3ADDR, 0x40); /* stereo mode */ 487 int stereo; 489 /* MSP3430G - countries with mono and DBX stereo */ 514 /* MSP3410/MSP3415 - countries with mono, stereo using 2 FM channels and NICAM */ 546 case 3: /* B/G Dual FM; German stereo */ 547 /* Read the stereo detection value from DSP reg 0x0018 */ 549 stereo [all...] |
H A D | msp34xx.c | 41 * should work. The stereo modes are backward compatible to FM-mono, 49 * switch to stereo -- untested) 118 int stereo; member in struct:msp3400c 225 /* Terrestrial FM-mono + FM-stereo */ 266 { MSP_CARRIER(5.7421875), "5.742 PAL B/G FM-stereo" }, 273 { MSP_CARRIER(6.2578125), "6.25 PAL D/K1 FM-stereo" }, 274 { MSP_CARRIER(6.7421875), "6.74 PAL D/K2 FM-stereo" }, 275 { MSP_CARRIER(7.02), "7.02 PAL SAT FM-stereo s/b" }, 276 { MSP_CARRIER(7.20), "7.20 PAL SAT FM-stereo s" }, 277 { MSP_CARRIER(7.38), "7.38 PAL SAT FM-stereo [all...] |
/freebsd-11-stable/sys/dev/sound/pci/ |
H A D | ds1.c | 368 ds_initpbank(volatile struct pbank *pb, int ch, int stereo, int b16, u_int32_t rate, bus_addr_t base, u_int32_t len) argument 393 ss += stereo? 1 : 0; 399 pb->Format = stereo? 0x00010000 : 0; 401 pb->Format |= (stereo && (ch == 2 || ch == 4))? 0x00000001 : 0; 436 int stereo, b16, c, sz; local 439 stereo = (AFMT_CHANNEL(ch->fmt) > 1)? 1 : 0; 441 c = stereo? 1 : 0; 445 ds_initpbank(ch->lslot, c, stereo, b16, ch->spd, addr, sz); 446 ds_initpbank(ch->lslot + 1, c, stereo, b16, ch->spd, addr, sz); 447 ds_initpbank(ch->rslot, 2, stereo, b1 455 int stereo, b16, i, sz, pri; local 550 int stereo; local [all...] |
H A D | maestro.c | 114 unsigned stereo : 1; member in struct:agg_chinfo 135 unsigned stereo : 1; member in struct:agg_rchinfo 137 int16_t *src; /* stereo peer buffer */ 858 if (ch->stereo) { 902 if (ch->stereo) { 964 if (ch->stereo) { 992 ch->buflen >> ch->stereo, 0, dv); 998 ch->buflen >> ch->stereo, 0, dv); 1061 * Feed from L/R channel of ADC to destination with stereo interleaving. 1065 * XXX - this function works in 16bit stereo forma [all...] |
H A D | aureal.c | 249 int i, stereo = (AFMT_CHANNEL(format) > 1)? 1 : 0; local 291 au_wr(au, 0, 0x0f800, stereo? 0x00030032 : 0x00030030, 4); 292 au_wr(au, 0, 0x0f804, stereo? 0x00030032 : 0x00030030, 4); 295 au_addroute(au, 0x11, stereo? 0 : 1, 0x59);
|
H A D | emu10k1.c | 179 unsigned int b16:1, stereo:1, busy:1, running:1, ismaster:1; member in struct:emu_voice 584 m->stereo = 0; 606 s->stereo = 0; 625 v->stereo = (AFMT_CHANNEL(ch->fmt) > 1) ? 1 : 0; 628 v->slave->stereo = v->stereo; 645 s = (v->stereo ? 1 : 0) + (v->b16 ? 1 : 0); 651 if (v->stereo) { 656 emu_wrptr(sc, v->vnum, EMU_CHAN_CPF, v->stereo ? EMU_CHAN_CPF_STEREO_MASK : 0); 657 val = v->stereo [all...] |
H A D | emu10kx.c | 256 unsigned int b16:1, stereo:1, busy:1, running:1, ismaster:1; member in struct:emu_voice 1317 m->stereo = 0; 1329 s->stereo = 0; 1345 v->stereo = (AFMT_CHANNEL(fmt) > 1) ? 1 : 0; 1348 v->slave->stereo = v->stereo; 1367 if ((v->stereo) && (v->ismaster == 0)) 1373 if ((v->stereo) && (v->slave != NULL)) 1383 s = (v->stereo ? 1 : 0) + (v->b16 ? 1 : 0); 1389 if (v->stereo) { [all...] |
H A D | solo.c | 431 int stereo = (AFMT_CHANNEL(fmt) > 1)? 1 : 0; local 449 /* mono/stereo */ 450 ess_write(sc, 0xa8, (ess_read(sc, 0xa8) & ~0x03) | (stereo? 0x01 : 0x02)); 469 (stereo? 0x08 : 0x40)); 484 fmtval = b16 | (stereo << 1) | ((!unsign) << 2);
|
H A D | cmi.c | 619 u_int8_t stereo:1; /* (no explanation needed, honest) */ member in struct:sb16props 696 if (cmt[dev].stereo) { 700 DEBMIX(printf("Mixer stereo write dev %d reg 0x%02x "\ 732 if (cmt[i].stereo) {
|
H A D | es137x.c | 260 unsigned stereo:1; member in struct:__anon11669 354 r = (mixtable[dev].stereo) ? right : l; 366 if (mixtable[dev].stereo) { 369 if (set_dac1 && mixtable[SOUND_MIXER_SYNTH].stereo)
|
H A D | vibes.c | 463 u_int8_t stereo:1; /* Supports 2 channels */ member in struct:sv_mix_props 506 if (mt[dev].stereo)
|
/freebsd-11-stable/sys/dev/sound/pcm/ |
H A D | ac97.c | 47 unsigned ofs:4; /* offset (only if stereo=0) */ 48 unsigned stereo:1; /* set for stereo controls */ member in struct:ac97mixtable_entry 282 "simulated stereo", 448 if (!e->stereo)
|