Lines Matching refs:private_value
465 struct ac97_enum *e = (struct ac97_enum *)kcontrol->private_value; in snd_ac97_info_enum_double()
475 struct ac97_enum *e = (struct ac97_enum *)kcontrol->private_value; in snd_ac97_get_enum_double()
492 struct ac97_enum *e = (struct ac97_enum *)kcontrol->private_value; in snd_ac97_put_enum_double()
515 if ((kcontrol->private_value & (1<<25)) && in snd_ac97_page_save()
518 unsigned short page = (kcontrol->private_value >> 26) & 0x0f; in snd_ac97_page_save()
538 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_ac97_info_volsw()
539 int shift = (kcontrol->private_value >> 8) & 0x0f; in snd_ac97_info_volsw()
540 int rshift = (kcontrol->private_value >> 12) & 0x0f; in snd_ac97_info_volsw()
553 int reg = kcontrol->private_value & 0xff; in snd_ac97_get_volsw()
554 int shift = (kcontrol->private_value >> 8) & 0x0f; in snd_ac97_get_volsw()
555 int rshift = (kcontrol->private_value >> 12) & 0x0f; in snd_ac97_get_volsw()
556 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_ac97_get_volsw()
557 int invert = (kcontrol->private_value >> 24) & 0x01; in snd_ac97_get_volsw()
577 int reg = kcontrol->private_value & 0xff; in snd_ac97_put_volsw()
578 int shift = (kcontrol->private_value >> 8) & 0x0f; in snd_ac97_put_volsw()
579 int rshift = (kcontrol->private_value >> 12) & 0x0f; in snd_ac97_put_volsw()
580 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_ac97_put_volsw()
581 int invert = (kcontrol->private_value >> 24) & 0x01; in snd_ac97_put_volsw()
603 (kcontrol->private_value & (1<<30))) { in snd_ac97_put_volsw()
702 kctl->private_value = AC97_SINGLE_VALUE(AC97_POWERDOWN, 15, 1, 0); in set_inv_eapd()
826 int reg = kcontrol->private_value & 0xff; in snd_ac97_put_spsa()
827 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_ac97_put_spsa()
828 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_ac97_put_spsa()
883 .private_value = AC97_SINGLE_VALUE(AC97_EXTENDED_STATUS, 4, 3, 0)
890 .private_value = (codec) | ((lshift) << 8) | ((rshift) << 12) | ((mask) << 16) }
895 int mask = (kcontrol->private_value >> 16) & 0x0f; in snd_ac97_ad18xx_pcm_info_bits()
896 int lshift = (kcontrol->private_value >> 8) & 0x0f; in snd_ac97_ad18xx_pcm_info_bits()
897 int rshift = (kcontrol->private_value >> 12) & 0x0f; in snd_ac97_ad18xx_pcm_info_bits()
912 int codec = kcontrol->private_value & 3; in snd_ac97_ad18xx_pcm_get_bits()
913 int lshift = (kcontrol->private_value >> 8) & 0x0f; in snd_ac97_ad18xx_pcm_get_bits()
914 int rshift = (kcontrol->private_value >> 12) & 0x0f; in snd_ac97_ad18xx_pcm_get_bits()
915 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_ac97_ad18xx_pcm_get_bits()
926 int codec = kcontrol->private_value & 3; in snd_ac97_ad18xx_pcm_put_bits()
927 int lshift = (kcontrol->private_value >> 8) & 0x0f; in snd_ac97_ad18xx_pcm_put_bits()
928 int rshift = (kcontrol->private_value >> 12) & 0x0f; in snd_ac97_ad18xx_pcm_put_bits()
929 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_ac97_ad18xx_pcm_put_bits()
944 .private_value = codec }
958 int codec = kcontrol->private_value & 3; in snd_ac97_ad18xx_pcm_get_volume()
970 int codec = kcontrol->private_value & 3; in snd_ac97_ad18xx_pcm_put_volume()
1210 tmp.private_value |= (1 << 30); in snd_ac97_cmute_new_stereo()
1216 tmp.private_value |= (1 << 30); in snd_ac97_cmute_new_stereo()
1361 kctl->private_value &= ~(0xff << 16); in snd_ac97_mixer_build()
1362 kctl->private_value |= (int)max << 16; in snd_ac97_mixer_build()
1375 kctl->private_value &= ~(0xff << 16); in snd_ac97_mixer_build()
1376 kctl->private_value |= (int)max << 16; in snd_ac97_mixer_build()
1413 kctl->private_value &= ~(0xff << 16); in snd_ac97_mixer_build()
1414 kctl->private_value |= 7 << 16; in snd_ac97_mixer_build()
1618 kctl->private_value = AC97_3D_CONTROL | (9 << 8) | (7 << 16); in snd_ac97_mixer_build()
1622 kctl->private_value = AC97_3D_CONTROL | (1 << 8) | (7 << 16); in snd_ac97_mixer_build()
2677 unsigned long priv_saved = kcontrol->private_value; in bind_hp_volsw_put()
2678 kcontrol->private_value = (kcontrol->private_value & ~0xff) | AC97_HEADPHONE; in bind_hp_volsw_put()
2680 kcontrol->private_value = priv_saved; in bind_hp_volsw_put()
2778 int shift = (kcontrol->private_value >> 8) & 0x0f; in master_mute_sw_put()
2779 int rshift = (kcontrol->private_value >> 12) & 0x0f; in master_mute_sw_put()
2814 int shift = (kcontrol->private_value >> 8) & 0x0f; in hp_master_mute_sw_put()
2815 int rshift = (kcontrol->private_value >> 12) & 0x0f; in hp_master_mute_sw_put()