Lines Matching refs:max
577 u8 max; in wm8776_field_enum_info() local
580 max = (ctl->private_value >> 12) & 0xf; in wm8776_field_enum_info()
604 return snd_ctl_enum_info(info, 1, max + 1, names); in wm8776_field_enum_info()
613 info->value.integer.max = (ctl->private_value >> 12) & 0xf; in wm8776_field_volume_info()
622 u8 min, max, shift; in wm8776_field_set_from_ctl() local
636 max = (ctl->private_value >> 12) & 0xf; in wm8776_field_set_from_ctl()
643 value = max - (value - min); in wm8776_field_set_from_ctl()
653 u8 min, max; in wm8776_field_set() local
657 max = (ctl->private_value >> 12) & 0xf; in wm8776_field_set()
658 if (value < min || value > max) in wm8776_field_set()
702 info->value.integer.max = 0x7f; in wm8776_hp_vol_info()
816 info->value.integer.max = 0xff; in wm8776_input_vol_info()
987 #define _WM8776_FIELD_CTL(xname, reg, shift, initval, min, max, mask, flags) \ argument
990 .private_value = (initval) | ((min) << 8) | ((max) << 12) | \
992 #define WM8776_FIELD_CTL_ENUM(xname, reg, shift, init, min, max, mask, flags) {\ argument
994 reg, shift, init, min, max, mask, flags), \