Lines Matching refs:private_value
504 u16 bit = ctl->private_value & 0xffff; in wm8776_bit_switch_get()
505 unsigned int reg_index = (ctl->private_value >> 16) & 0xff; in wm8776_bit_switch_get()
506 bool invert = (ctl->private_value >> 24) & 1; in wm8776_bit_switch_get()
518 u16 bit = ctl->private_value & 0xffff; in wm8776_bit_switch_put()
520 unsigned int reg_index = (ctl->private_value >> 16) & 0xff; in wm8776_bit_switch_put()
521 bool invert = (ctl->private_value >> 24) & 1; in wm8776_bit_switch_put()
571 max = (ctl->private_value >> 12) & 0xf; in wm8776_field_enum_info()
572 switch ((ctl->private_value >> 24) & 0x1f) { in wm8776_field_enum_info()
577 if (((ctl->private_value >> 20) & 0xf) == 0) { in wm8776_field_enum_info()
578 if (ctl->private_value & LC_CONTROL_LIMITER) in wm8776_field_enum_info()
583 if (ctl->private_value & LC_CONTROL_LIMITER) in wm8776_field_enum_info()
603 info->value.integer.min = (ctl->private_value >> 8) & 0xf; in wm8776_field_volume_info()
604 info->value.integer.max = (ctl->private_value >> 12) & 0xf; in wm8776_field_volume_info()
622 if (!(ctl->private_value & mode)) in wm8776_field_set_from_ctl()
625 value = ctl->private_value & 0xf; in wm8776_field_set_from_ctl()
626 min = (ctl->private_value >> 8) & 0xf; in wm8776_field_set_from_ctl()
627 max = (ctl->private_value >> 12) & 0xf; in wm8776_field_set_from_ctl()
628 mask = (ctl->private_value >> 16) & 0xf; in wm8776_field_set_from_ctl()
629 shift = (ctl->private_value >> 20) & 0xf; in wm8776_field_set_from_ctl()
630 reg_index = (ctl->private_value >> 24) & 0x1f; in wm8776_field_set_from_ctl()
631 invert = (ctl->private_value >> 29) & 0x1; in wm8776_field_set_from_ctl()
647 min = (ctl->private_value >> 8) & 0xf; in wm8776_field_set()
648 max = (ctl->private_value >> 12) & 0xf; in wm8776_field_set()
652 changed = value != (ctl->private_value & 0xf); in wm8776_field_set()
654 ctl->private_value = (ctl->private_value & ~0xf) | value; in wm8776_field_set()
664 value->value.enumerated.item[0] = ctl->private_value & 0xf; in wm8776_field_enum_get()
671 value->value.integer.value[0] = ctl->private_value & 0xf; in wm8776_field_volume_get()
756 unsigned int mux_bit = ctl->private_value; in wm8776_input_mux_get()
769 unsigned int mux_bit = ctl->private_value; in wm8776_input_mux_put()
877 if (ctl->private_value & mode) in activate_control()
899 changed = value->value.enumerated.item[0] != ctl->private_value; in wm8776_level_control_put()
901 ctl->private_value = value->value.enumerated.item[0]; in wm8776_level_control_put()
976 .private_value = ((reg) << 16) | (bit) | ((invert) << 24) | (flags), \
981 .private_value = (initval) | ((min) << 8) | ((max) << 12) | \
1037 .private_value = 1 << 0,
1045 .private_value = 1 << 1,
1064 .private_value = 0,
1074 .private_value = GPIO_SLIM_HDMI_DISABLE | XONAR_GPIO_BIT_INVERT,
1111 .private_value = 0,