Searched refs:priv_idx (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/sound/pci/ice1712/ |
D | ice1712.c | 1258 int priv_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id) + in snd_ice1712_pro_mixer_switch_get() local 1263 !((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() 1273 int priv_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id) + in snd_ice1712_pro_mixer_switch_put() local 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() 1300 int priv_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id) + in snd_ice1712_pro_mixer_volume_get() local 1305 (ice->pro_volumes[priv_idx] >> 0) & 127; in snd_ice1712_pro_mixer_volume_get() [all …]
|
/linux-6.6.21/sound/pci/oxygen/ |
D | oxygen_mixer.c | 526 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()
|