Lines Matching refs:private_value
513 u16 bit = ctl->private_value & 0xffff; in wm8776_bit_switch_get()
514 unsigned int reg_index = (ctl->private_value >> 16) & 0xff; in wm8776_bit_switch_get()
515 bool invert = (ctl->private_value >> 24) & 1; in wm8776_bit_switch_get()
527 u16 bit = ctl->private_value & 0xffff; in wm8776_bit_switch_put()
529 unsigned int reg_index = (ctl->private_value >> 16) & 0xff; in wm8776_bit_switch_put()
530 bool invert = (ctl->private_value >> 24) & 1; in wm8776_bit_switch_put()
580 max = (ctl->private_value >> 12) & 0xf; in wm8776_field_enum_info()
581 switch ((ctl->private_value >> 24) & 0x1f) { in wm8776_field_enum_info()
586 if (((ctl->private_value >> 20) & 0xf) == 0) { in wm8776_field_enum_info()
587 if (ctl->private_value & LC_CONTROL_LIMITER) in wm8776_field_enum_info()
592 if (ctl->private_value & LC_CONTROL_LIMITER) in wm8776_field_enum_info()
612 info->value.integer.min = (ctl->private_value >> 8) & 0xf; in wm8776_field_volume_info()
613 info->value.integer.max = (ctl->private_value >> 12) & 0xf; in wm8776_field_volume_info()
631 if (!(ctl->private_value & mode)) in wm8776_field_set_from_ctl()
634 value = ctl->private_value & 0xf; in wm8776_field_set_from_ctl()
635 min = (ctl->private_value >> 8) & 0xf; in wm8776_field_set_from_ctl()
636 max = (ctl->private_value >> 12) & 0xf; in wm8776_field_set_from_ctl()
637 mask = (ctl->private_value >> 16) & 0xf; in wm8776_field_set_from_ctl()
638 shift = (ctl->private_value >> 20) & 0xf; in wm8776_field_set_from_ctl()
639 reg_index = (ctl->private_value >> 24) & 0x1f; in wm8776_field_set_from_ctl()
640 invert = (ctl->private_value >> 29) & 0x1; in wm8776_field_set_from_ctl()
656 min = (ctl->private_value >> 8) & 0xf; in wm8776_field_set()
657 max = (ctl->private_value >> 12) & 0xf; in wm8776_field_set()
661 changed = value != (ctl->private_value & 0xf); in wm8776_field_set()
663 ctl->private_value = (ctl->private_value & ~0xf) | value; in wm8776_field_set()
673 value->value.enumerated.item[0] = ctl->private_value & 0xf; in wm8776_field_enum_get()
680 value->value.integer.value[0] = ctl->private_value & 0xf; in wm8776_field_volume_get()
765 unsigned int mux_bit = ctl->private_value; in wm8776_input_mux_get()
778 unsigned int mux_bit = ctl->private_value; in wm8776_input_mux_put()
886 if (ctl->private_value & mode) in activate_control()
908 changed = value->value.enumerated.item[0] != ctl->private_value; in wm8776_level_control_put()
910 ctl->private_value = value->value.enumerated.item[0]; in wm8776_level_control_put()
985 .private_value = ((reg) << 16) | (bit) | ((invert) << 24) | (flags), \
990 .private_value = (initval) | ((min) << 8) | ((max) << 12) | \
1046 .private_value = 1 << 0,
1054 .private_value = 1 << 1,
1073 .private_value = 0,
1083 .private_value = GPIO_SLIM_HDMI_DISABLE | XONAR_GPIO_BIT_INVERT,
1120 .private_value = 0,