Lines Matching refs:priv_idx
1264 int priv_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id) + in snd_ice1712_pro_mixer_switch_get() local
1269 !((ice->pro_volumes[priv_idx] >> 15) & 1); in snd_ice1712_pro_mixer_switch_get()
1271 !((ice->pro_volumes[priv_idx] >> 31) & 1); in snd_ice1712_pro_mixer_switch_get()
1279 int priv_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id) + in snd_ice1712_pro_mixer_switch_put() local
1286 nval |= ice->pro_volumes[priv_idx] & ~0x80008000; in snd_ice1712_pro_mixer_switch_put()
1287 change = nval != ice->pro_volumes[priv_idx]; in snd_ice1712_pro_mixer_switch_put()
1288 ice->pro_volumes[priv_idx] = nval; in snd_ice1712_pro_mixer_switch_put()
1289 snd_ice1712_update_volume(ice, priv_idx); in snd_ice1712_pro_mixer_switch_put()
1306 int priv_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id) + in snd_ice1712_pro_mixer_volume_get() local
1311 (ice->pro_volumes[priv_idx] >> 0) & 127; in snd_ice1712_pro_mixer_volume_get()
1313 (ice->pro_volumes[priv_idx] >> 16) & 127; in snd_ice1712_pro_mixer_volume_get()
1321 int priv_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id) + in snd_ice1712_pro_mixer_volume_put() local
1328 nval |= ice->pro_volumes[priv_idx] & ~0x007f007f; in snd_ice1712_pro_mixer_volume_put()
1329 change = nval != ice->pro_volumes[priv_idx]; in snd_ice1712_pro_mixer_volume_put()
1330 ice->pro_volumes[priv_idx] = nval; in snd_ice1712_pro_mixer_volume_put()
1331 snd_ice1712_update_volume(ice, priv_idx); in snd_ice1712_pro_mixer_volume_put()