Lines Matching refs:index
520 unsigned int index = ctl->private_value & 0xff; in ac97_switch_get() local
526 reg = oxygen_read_ac97(chip, codec, index); in ac97_switch_get()
558 unsigned int index = ctl->private_value & 0xff; in ac97_switch_put() local
565 oldreg = oxygen_read_ac97(chip, codec, index); in ac97_switch_put()
573 oxygen_write_ac97(chip, codec, index, newreg); in ac97_switch_put()
575 chip->model.ac97_switch(chip, index, newreg & 0x8000); in ac97_switch_put()
576 if (index == AC97_LINE) { in ac97_switch_put()
585 } else if ((index == AC97_MIC || index == AC97_CD || in ac97_switch_put()
586 index == AC97_VIDEO || index == AC97_AUX) && in ac97_switch_put()
615 unsigned int index = ctl->private_value & 0xff; in ac97_volume_get() local
619 reg = oxygen_read_ac97(chip, codec, index); in ac97_volume_get()
636 unsigned int index = ctl->private_value & 0xff; in ac97_volume_put() local
641 oldreg = oxygen_read_ac97(chip, codec, index); in ac97_volume_put()
652 oxygen_write_ac97(chip, codec, index, newreg); in ac97_volume_put()
740 #define AC97_SWITCH(xname, codec, index, bitnr, invert) { \ argument
747 ((bitnr) << 8) | (index), \
749 #define AC97_VOLUME(xname, codec, index, stereo) { \ argument
758 .private_value = ((codec) << 24) | ((stereo) << 16) | (index), \
918 .index = 1,
927 .index = 1,