Lines Matching refs:private_value
297 ucontrol->value.integer.value[0] = kcontrol->private_value >> 8; in snd_audigy2nx_led_get()
336 int index = kcontrol->private_value & 0xff; in snd_audigy2nx_led_put()
338 int old_value = kcontrol->private_value >> 8; in snd_audigy2nx_led_put()
345 kcontrol->private_value = (value << 8) | index; in snd_audigy2nx_led_put()
352 int priv_value = list->kctl->private_value; in snd_audigy2nx_led_resume()
394 knew.private_value = (1 << 8) | i; /* LED on as default */ in snd_audigy2nx_controls_create()
466 ucontrol->value.enumerated.item[0] = kcontrol->private_value; in snd_emu0204_ch_switch_get()
502 if (value == kcontrol->private_value) in snd_emu0204_ch_switch_put()
505 kcontrol->private_value = value; in snd_emu0204_ch_switch_put()
513 list->kctl->private_value); in snd_emu0204_ch_switch_resume()
522 .private_value = 0,
537 ucontrol->value.integer.value[0] = !!(kcontrol->private_value & 0x02); in snd_xonar_u1_switch_get()
565 old_status = kcontrol->private_value; in snd_xonar_u1_switch_put()
573 kcontrol->private_value = new_status; in snd_xonar_u1_switch_put()
581 list->kctl->private_value); in snd_xonar_u1_switch_resume()
590 .private_value = 0x05,
694 kctl->private_value = err; in snd_mbox1_clk_switch_get()
696 ucontrol->value.enumerated.item[0] = kctl->private_value; in snd_mbox1_clk_switch_get()
738 cur_val = kctl->private_value; in snd_mbox1_clk_switch_put()
743 kctl->private_value = new_val; in snd_mbox1_clk_switch_put()
761 return snd_mbox1_clk_switch_update(list->mixer, list->kctl->private_value); in snd_mbox1_clk_switch_resume()
769 ucontrol->value.enumerated.item[0] = kctl->private_value; in snd_mbox1_src_switch_get()
808 cur_val = kctl->private_value; in snd_mbox1_src_switch_put()
813 kctl->private_value = new_val; in snd_mbox1_src_switch_put()
831 return snd_mbox1_src_switch_update(list->mixer, list->kctl->private_value); in snd_mbox1_src_switch_resume()
842 .private_value = 0
853 .private_value = 0
878 unsigned int pval = kctl->private_value; in snd_ni_control_init_val()
892 kctl->private_value |= ((unsigned int)value << 24); in snd_ni_control_init_val()
899 ucontrol->value.integer.value[0] = kcontrol->private_value >> 24; in snd_nativeinstruments_control_get()
906 unsigned int pval = list->kctl->private_value; in snd_ni_update_cur_val()
924 u8 oldval = (kcontrol->private_value >> 24) & 0xff; in snd_nativeinstruments_control_put()
931 kcontrol->private_value &= ~(0xff << 24); in snd_nativeinstruments_control_put()
932 kcontrol->private_value |= (unsigned int)newval << 24; in snd_nativeinstruments_control_put()
940 .private_value = _MAKE_NI_CONTROL(0x01, 0x03),
944 .private_value = _MAKE_NI_CONTROL(0x01, 0x05),
948 .private_value = _MAKE_NI_CONTROL(0x02, 0x03),
952 .private_value = _MAKE_NI_CONTROL(0x02, 0x05),
959 .private_value = _MAKE_NI_CONTROL(0x01, 0x03),
963 .private_value = _MAKE_NI_CONTROL(0x01, 0x05),
967 .private_value = _MAKE_NI_CONTROL(0x01, 0x07),
971 .private_value = _MAKE_NI_CONTROL(0x01, 0x09),
975 .private_value = _MAKE_NI_CONTROL(0x02, 0x03),
979 .private_value = _MAKE_NI_CONTROL(0x02, 0x05),
983 .private_value = _MAKE_NI_CONTROL(0x02, 0x07),
987 .private_value = _MAKE_NI_CONTROL(0x02, 0x09),
1008 template.private_value = kc[i].private_value; in snd_nativeinstruments_create_mixer()
1038 unsigned int pval = kctl->private_value; in snd_ftu_eff_switch_init()
1053 kctl->private_value |= (unsigned int)value[0] << 24; in snd_ftu_eff_switch_init()
1060 ucontrol->value.enumerated.item[0] = kctl->private_value >> 24; in snd_ftu_eff_switch_get()
1067 unsigned int pval = list->kctl->private_value; in snd_ftu_eff_switch_update()
1092 unsigned int pval = list->kctl->private_value; in snd_ftu_eff_switch_put()
1100 kctl->private_value &= ~(0xff << 24); in snd_ftu_eff_switch_put()
1101 kctl->private_value |= new_val << 24; in snd_ftu_eff_switch_put()
1126 list->kctl->private_value = (validx << 8) | bUnitID; in snd_ftu_create_effect_switch()
1652 ucontrol->value.iec958.status[0] = kcontrol->private_value & 0xff; in snd_microii_spdif_default_get()
1653 ucontrol->value.iec958.status[1] = (kcontrol->private_value >> 8) & 0xff; in snd_microii_spdif_default_get()
1693 unsigned int pval = list->kctl->private_value; in snd_microii_spdif_default_update()
1738 pval = pval_old = kcontrol->private_value; in snd_microii_spdif_default_put()
1753 kcontrol->private_value = pval; in snd_microii_spdif_default_put()
1772 ucontrol->value.integer.value[0] = !(kcontrol->private_value & 0x02); in snd_microii_spdif_switch_get()
1780 u8 reg = list->kctl->private_value; in snd_microii_spdif_switch_update()
1808 if (reg != list->kctl->private_value) in snd_microii_spdif_switch_put()
1811 kcontrol->private_value = reg; in snd_microii_spdif_switch_put()
1823 .private_value = 0x00000100UL,/* reset value */
1838 .private_value = 0x00000028UL,/* reset value */
1868 ucontrol->value.integer.value[0] = kcontrol->private_value; in snd_soundblaster_e1_switch_get()
1900 if (kcontrol->private_value == value) in snd_soundblaster_e1_switch_put()
1902 kcontrol->private_value = value; in snd_soundblaster_e1_switch_put()
1910 list->kctl->private_value); in snd_soundblaster_e1_switch_resume()
1929 .private_value = 0,
2005 u32 pv = kcontrol->private_value; in realtek_ctl_connector_get()
2082 kctl->private_value = val; in realtek_add_jack()
2244 switch (kcontrol->private_value) { in snd_rme_rate_get()
2277 switch (kcontrol->private_value) { in snd_rme_sync_state_get()
2370 switch (kcontrol->private_value) { in snd_rme_rate_info()
2436 .private_value = SND_RME_DOMAIN_AES
2444 .private_value = SND_RME_DOMAIN_AES
2452 .private_value = SND_RME_DOMAIN_SPDIF
2460 .private_value = SND_RME_DOMAIN_SPDIF
2489 .private_value = SND_RME_DOMAIN_SYSTEM
2607 pv = kcontrol->private_value; in snd_bbfpro_ctl_get()
2610 val = kcontrol->private_value >> SND_BBFPRO_CTL_VAL_SHIFT; in snd_bbfpro_ctl_get()
2630 pv = kcontrol->private_value; in snd_bbfpro_ctl_info()
2668 pv = kcontrol->private_value; in snd_bbfpro_ctl_put()
2689 kcontrol->private_value = reg in snd_bbfpro_ctl_put()
2702 pv = list->kctl->private_value; in snd_bbfpro_ctl_resume()
2741 int value = kcontrol->private_value & SND_BBFPRO_GAIN_VAL_MASK; in snd_bbfpro_gain_get()
2752 pv = kcontrol->private_value; in snd_bbfpro_gain_info()
2776 pv = kcontrol->private_value; in snd_bbfpro_gain_put()
2800 kcontrol->private_value = in snd_bbfpro_gain_put()
2810 pv = kctl->private_value; in snd_bbfpro_gain_resume()
2852 kcontrol->private_value >> SND_BBFPRO_MIXER_VAL_SHIFT; in snd_bbfpro_vol_get()
2876 idx = kcontrol->private_value & SND_BBFPRO_MIXER_IDX_MASK; in snd_bbfpro_vol_put()
2877 old_value = kcontrol->private_value >> SND_BBFPRO_MIXER_VAL_SHIFT; in snd_bbfpro_vol_put()
2887 kcontrol->private_value = idx in snd_bbfpro_vol_put()
2896 int pv = list->kctl->private_value; in snd_bbfpro_vol_resume()
2937 knew.private_value = (reg & SND_BBFPRO_CTL_REG_MASK) in snd_bbfpro_ctl_add()
2951 knew.private_value = channel << SND_BBFPRO_GAIN_CHANNEL_SHIFT; in snd_bbfpro_gain_add()
2963 knew.private_value = index & SND_BBFPRO_MIXER_IDX_MASK; in snd_bbfpro_vol_add()
3163 bool invert = kcontrol->private_value & RME_DIGIFACE_INVERT; in snd_rme_digiface_get_status_val()
3164 u8 reg = (kcontrol->private_value >> 16) & 0xff; in snd_rme_digiface_get_status_val()
3165 u16 mask = kcontrol->private_value & 0xffff; in snd_rme_digiface_get_status_val()
3226 bool invert = kcontrol->private_value & RME_DIGIFACE_INVERT; in snd_rme_digiface_enum_put()
3227 u8 reg = (kcontrol->private_value >> 16) & 0xff; in snd_rme_digiface_enum_put()
3228 u16 mask = kcontrol->private_value & 0xffff; in snd_rme_digiface_enum_put()
3260 valid = status[0] & BIT(kcontrol->private_value); in snd_rme_digiface_sync_state_get()
3261 sync = status[0] & BIT(5 + kcontrol->private_value); in snd_rme_digiface_sync_state_get()
3314 .private_value = 0,
3322 .private_value = RME_DIGIFACE_REGISTER(RME_DIGIFACE_STATUS_REG0H, BIT(0)) |
3331 .private_value = RME_DIGIFACE_REGISTER(RME_DIGIFACE_STATUS_REG1L, GENMASK(3, 0)),
3339 .private_value = 1,
3347 .private_value = RME_DIGIFACE_REGISTER(RME_DIGIFACE_STATUS_REG0L, BIT(13)) |
3356 .private_value = RME_DIGIFACE_REGISTER(RME_DIGIFACE_STATUS_REG1L, GENMASK(7, 4)),
3364 .private_value = 2,
3372 .private_value = RME_DIGIFACE_REGISTER(RME_DIGIFACE_STATUS_REG0L, BIT(14)) |
3381 .private_value = RME_DIGIFACE_REGISTER(RME_DIGIFACE_STATUS_REG1L, GENMASK(11, 8)),
3389 .private_value = 3,
3397 .private_value = RME_DIGIFACE_REGISTER(RME_DIGIFACE_STATUS_REG0L, GENMASK(15, 12)) |
3406 .private_value = RME_DIGIFACE_REGISTER(RME_DIGIFACE_STATUS_REG1L, GENMASK(3, 0)),
3415 .private_value = RME_DIGIFACE_REGISTER(RME_DIGIFACE_CTL_REG2, BIT(0)),
3424 .private_value = RME_DIGIFACE_REGISTER(RME_DIGIFACE_CTL_REG2, BIT(1)),
3433 .private_value = RME_DIGIFACE_REGISTER(RME_DIGIFACE_CTL_REG2, BIT(3)),
3442 .private_value = RME_DIGIFACE_REGISTER(RME_DIGIFACE_CTL_REG2, BIT(4)),
3451 .private_value = RME_DIGIFACE_REGISTER(RME_DIGIFACE_CTL_REG1, GENMASK(2, 0)),
3459 .private_value = RME_DIGIFACE_REGISTER(RME_DIGIFACE_STATUS_REG0L, GENMASK(12, 10)),
3473 .private_value = RME_DIGIFACE_REGISTER(RME_DIGIFACE_CTL_REG1, GENMASK(6, 3)),
3481 .private_value = RME_DIGIFACE_REGISTER(RME_DIGIFACE_STATUS_REG1H, GENMASK(7, 4)),
3870 unsigned long private_value = kctl->private_value; in snd_djm_controls_info() local
3871 u8 device_idx = (private_value & SND_DJM_DEVICE_MASK) >> SND_DJM_DEVICE_SHIFT; in snd_djm_controls_info()
3872 u8 ctl_idx = (private_value & SND_DJM_GROUP_MASK) >> SND_DJM_GROUP_SHIFT; in snd_djm_controls_info()
3927 elem->value.enumerated.item[0] = kctl->private_value & SND_DJM_VALUE_MASK; in snd_djm_controls_get()
3935 unsigned long private_value = kctl->private_value; in snd_djm_controls_put() local
3937 u8 device = (private_value & SND_DJM_DEVICE_MASK) >> SND_DJM_DEVICE_SHIFT; in snd_djm_controls_put()
3938 u8 group = (private_value & SND_DJM_GROUP_MASK) >> SND_DJM_GROUP_SHIFT; in snd_djm_controls_put()
3941 kctl->private_value = (((unsigned long)device << SND_DJM_DEVICE_SHIFT) | in snd_djm_controls_put()
3950 unsigned long private_value = list->kctl->private_value; in snd_djm_controls_resume() local
3951 u8 device = (private_value & SND_DJM_DEVICE_MASK) >> SND_DJM_DEVICE_SHIFT; in snd_djm_controls_resume()
3952 u8 group = (private_value & SND_DJM_GROUP_MASK) >> SND_DJM_GROUP_SHIFT; in snd_djm_controls_resume()
3953 u16 value = (private_value & SND_DJM_VALUE_MASK); in snd_djm_controls_resume()
3978 knew.private_value = ( in snd_djm_controls_create()