Lines Matching refs:private_value
502 u16 bit = ctl->private_value & 0xffff; in wm8776_bit_switch_get()
503 unsigned int reg_index = (ctl->private_value >> 16) & 0xff; in wm8776_bit_switch_get()
504 bool invert = (ctl->private_value >> 24) & 1; in wm8776_bit_switch_get()
516 u16 bit = ctl->private_value & 0xffff; in wm8776_bit_switch_put()
518 unsigned int reg_index = (ctl->private_value >> 16) & 0xff; in wm8776_bit_switch_put()
519 bool invert = (ctl->private_value >> 24) & 1; in wm8776_bit_switch_put()
569 max = (ctl->private_value >> 12) & 0xf; in wm8776_field_enum_info()
570 switch ((ctl->private_value >> 24) & 0x1f) { in wm8776_field_enum_info()
575 if (((ctl->private_value >> 20) & 0xf) == 0) { in wm8776_field_enum_info()
576 if (ctl->private_value & LC_CONTROL_LIMITER) in wm8776_field_enum_info()
581 if (ctl->private_value & LC_CONTROL_LIMITER) in wm8776_field_enum_info()
601 info->value.integer.min = (ctl->private_value >> 8) & 0xf; in wm8776_field_volume_info()
602 info->value.integer.max = (ctl->private_value >> 12) & 0xf; in wm8776_field_volume_info()
620 if (!(ctl->private_value & mode)) in wm8776_field_set_from_ctl()
623 value = ctl->private_value & 0xf; in wm8776_field_set_from_ctl()
624 min = (ctl->private_value >> 8) & 0xf; in wm8776_field_set_from_ctl()
625 max = (ctl->private_value >> 12) & 0xf; in wm8776_field_set_from_ctl()
626 mask = (ctl->private_value >> 16) & 0xf; in wm8776_field_set_from_ctl()
627 shift = (ctl->private_value >> 20) & 0xf; in wm8776_field_set_from_ctl()
628 reg_index = (ctl->private_value >> 24) & 0x1f; in wm8776_field_set_from_ctl()
629 invert = (ctl->private_value >> 29) & 0x1; in wm8776_field_set_from_ctl()
645 min = (ctl->private_value >> 8) & 0xf; in wm8776_field_set()
646 max = (ctl->private_value >> 12) & 0xf; in wm8776_field_set()
650 changed = value != (ctl->private_value & 0xf); in wm8776_field_set()
652 ctl->private_value = (ctl->private_value & ~0xf) | value; in wm8776_field_set()
662 value->value.enumerated.item[0] = ctl->private_value & 0xf; in wm8776_field_enum_get()
669 value->value.integer.value[0] = ctl->private_value & 0xf; in wm8776_field_volume_get()
754 unsigned int mux_bit = ctl->private_value; in wm8776_input_mux_get()
767 unsigned int mux_bit = ctl->private_value; in wm8776_input_mux_put()
875 if (ctl->private_value & mode) in activate_control()
897 changed = value->value.enumerated.item[0] != ctl->private_value; in wm8776_level_control_put()
899 ctl->private_value = value->value.enumerated.item[0]; in wm8776_level_control_put()
974 .private_value = ((reg) << 16) | (bit) | ((invert) << 24) | (flags), \
979 .private_value = (initval) | ((min) << 8) | ((max) << 12) | \
1035 .private_value = 1 << 0,
1043 .private_value = 1 << 1,
1062 .private_value = 0,
1072 .private_value = GPIO_SLIM_HDMI_DISABLE | XONAR_GPIO_BIT_INVERT,
1109 .private_value = 0,