Home
last modified time | relevance | path

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

/openbmc/linux/sound/pci/ice1712/
H A Dice1712.c1263 !((ice->pro_volumes[priv_idx] >> 15) & 1); in snd_ice1712_pro_mixer_switch_get()
1265 !((ice->pro_volumes[priv_idx] >> 31) & 1); in snd_ice1712_pro_mixer_switch_get()
1280 nval |= ice->pro_volumes[priv_idx] & ~0x80008000; in snd_ice1712_pro_mixer_switch_put()
1281 change = nval != ice->pro_volumes[priv_idx]; in snd_ice1712_pro_mixer_switch_put()
1282 ice->pro_volumes[priv_idx] = nval; in snd_ice1712_pro_mixer_switch_put()
1283 snd_ice1712_update_volume(ice, priv_idx); in snd_ice1712_pro_mixer_switch_put()
1305 (ice->pro_volumes[priv_idx] >> 0) & 127; in snd_ice1712_pro_mixer_volume_get()
1307 (ice->pro_volumes[priv_idx] >> 16) & 127; in snd_ice1712_pro_mixer_volume_get()
1323 change = nval != ice->pro_volumes[priv_idx]; in snd_ice1712_pro_mixer_volume_put()
1324 ice->pro_volumes[priv_idx] = nval; in snd_ice1712_pro_mixer_volume_put()
[all …]
/openbmc/linux/sound/pci/oxygen/
H A Doxygen_mixer.c526 unsigned int priv_idx; in mute_ac97_ctl() local
531 priv_idx = chip->controls[control]->private_value & 0xff; in mute_ac97_ctl()
532 value = oxygen_read_ac97(chip, 0, priv_idx); in mute_ac97_ctl()
534 oxygen_write_ac97(chip, 0, priv_idx, value | 0x8000); in mute_ac97_ctl()
536 chip->model.ac97_switch(chip, priv_idx, 0x8000); in mute_ac97_ctl()