Lines Matching refs:mix_devices
104 mixer_ents *mix_devices;
426 if (devc->mix_devices[i][j].nbits == 0) /* Inexistent channel */
434 set_rec_bit = ((mask & (1 << i)) != 0) ^ devc->mix_devices[i][j].recpol;
436 val = ad_read(devc, devc->mix_devices[i][j].recreg);
437 val &= ~(1 << devc->mix_devices[i][j].recpos);
438 val |= (set_rec_bit << devc->mix_devices[i][j].recpos);
439 ad_write(devc, devc->mix_devices[i][j].recreg, val);
470 set_mute_bit = (newval == 0) ^ devc->mix_devices[dev][chn].mutepol;
472 if (devc->mix_devices[dev][chn].polarity == 1) /* Reverse */
475 mask = (1 << devc->mix_devices[dev][chn].nbits) - 1;
476 shift = devc->mix_devices[dev][chn].bitpos;
478 if (devc->mix_devices[dev][chn].mutepos == 8)
485 mute = (set_mute_bit << devc->mix_devices[dev][chn].mutepos);
486 mutemask = ~(1 << devc->mix_devices[dev][chn].mutepos);
513 regoffs = devc->mix_devices[dev][channel].regno;
514 muteregoffs = devc->mix_devices[dev][channel].mutereg;
548 if (devc->mix_devices[dev][LEFT_CHN].nbits == 0)
556 if (devc->mix_devices[dev][RIGHT_CHN].nbits == 0) /* Mono control */
575 if (devc->mix_devices[dev][RIGHT_CHN].nbits == 0)
589 devc->mix_devices = &(ad1848_mix_devices[0]);
609 devc->mix_devices = &(c930_mix_devices[0]);
614 devc->mix_devices = &(iwave_mix_devices[0]);
619 devc->mix_devices = &(cs42xb_mix_devices[0]);
632 devc->mix_devices = &(spro_mix_devices[0]);