Lines Matching refs:stereo
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)
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;
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, b16, ch->spd, addr, sz);
448 ds_initpbank(ch->rslot + 1, 2, stereo, b16, ch->spd, addr, sz);
455 int stereo, b16, i, sz, pri;
459 stereo = (AFMT_CHANNEL(ch->fmt) > 1)? 1 : 0;
471 x = (b16? 0x00 : 0x01) | (stereo? 0x02 : 0x00);
550 int stereo;
554 stereo = (AFMT_CHANNEL(ch->fmt) > 1)? 1 : 0;
559 ds_enapslot(sc, ch->rsnum, stereo);