Searched refs:priv_idx (Results 1 – 2 of 2) sorted by relevance
/linux-3.4.99/sound/pci/ice1712/ ! |
D | ice1712.c | 1322 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/ ! |
D | oxygen_mixer.c | 537 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()
|