Home
last modified time | relevance | path

Searched refs:priv_idx (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/sound/pci/ice1712/ !
Dice1712.c1322 int priv_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id) + in snd_ice1712_pro_mixer_switch_get() local
1327 !((ice->pro_volumes[priv_idx] >> 15) & 1); in snd_ice1712_pro_mixer_switch_get()
1329 !((ice->pro_volumes[priv_idx] >> 31) & 1); in snd_ice1712_pro_mixer_switch_get()
1337 int priv_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id) + in snd_ice1712_pro_mixer_switch_put() local
1344 nval |= ice->pro_volumes[priv_idx] & ~0x80008000; in snd_ice1712_pro_mixer_switch_put()
1345 change = nval != ice->pro_volumes[priv_idx]; in snd_ice1712_pro_mixer_switch_put()
1346 ice->pro_volumes[priv_idx] = nval; in snd_ice1712_pro_mixer_switch_put()
1347 snd_ice1712_update_volume(ice, priv_idx); in snd_ice1712_pro_mixer_switch_put()
1364 int priv_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id) + in snd_ice1712_pro_mixer_volume_get() local
1369 (ice->pro_volumes[priv_idx] >> 0) & 127; in snd_ice1712_pro_mixer_volume_get()
[all …]
/linux-3.4.99/sound/pci/oxygen/ !
Doxygen_mixer.c537 unsigned int priv_idx; in mute_ac97_ctl() local
542 priv_idx = chip->controls[control]->private_value & 0xff; in mute_ac97_ctl()
543 value = oxygen_read_ac97(chip, 0, priv_idx); in mute_ac97_ctl()
545 oxygen_write_ac97(chip, 0, priv_idx, value | 0x8000); in mute_ac97_ctl()
547 chip->model.ac97_switch(chip, priv_idx, 0x8000); in mute_ac97_ctl()