Searched refs:current_backlight (Results 1 – 1 of 1) sorted by relevance
59 uint64_t current_backlight; in get_current_backlight_16_bit() local86 current_backlight = bl_pwm << (1 + bl_int_count); in get_current_backlight_16_bit()91 current_backlight = div_u64(current_backlight, bl_period); in get_current_backlight_16_bit()92 current_backlight = (current_backlight + 1) >> 1; in get_current_backlight_16_bit()94 current_backlight = (uint64_t)(current_backlight) * bl_period; in get_current_backlight_16_bit()96 round_result = (uint32_t)(current_backlight & 0xFFFFFFFF); in get_current_backlight_16_bit()100 current_backlight >>= bl_int_count; in get_current_backlight_16_bit()101 current_backlight += round_result; in get_current_backlight_16_bit()103 return (uint32_t)(current_backlight); in get_current_backlight_16_bit()