Searched refs:current_backlight (Results 1 – 5 of 5) sorted by relevance
50 uint64_t current_backlight; in dcn301_get_16_bit_backlight_from_pwm() local76 current_backlight = (uint64_t)bl_pwm << (1 + bl_int_count); in dcn301_get_16_bit_backlight_from_pwm()81 current_backlight = div_u64(current_backlight, bl_period); in dcn301_get_16_bit_backlight_from_pwm()82 current_backlight = (current_backlight + 1) >> 1; in dcn301_get_16_bit_backlight_from_pwm()84 current_backlight = (uint64_t)(current_backlight) * bl_period; in dcn301_get_16_bit_backlight_from_pwm()86 round_result = (uint32_t)(current_backlight & 0xFFFFFFFF); in dcn301_get_16_bit_backlight_from_pwm()90 current_backlight >>= bl_int_count; in dcn301_get_16_bit_backlight_from_pwm()91 current_backlight += round_result; in dcn301_get_16_bit_backlight_from_pwm()93 return (uint32_t)(current_backlight); in dcn301_get_16_bit_backlight_from_pwm()100 uint32_t current_backlight; in dcn301_panel_cntl_hw_init() local[all …]
51 uint64_t current_backlight; in dce_get_16_bit_backlight_from_pwm() local78 current_backlight = (uint64_t)bl_pwm << (1 + bl_int_count); in dce_get_16_bit_backlight_from_pwm()83 current_backlight = div_u64(current_backlight, bl_period); in dce_get_16_bit_backlight_from_pwm()84 current_backlight = (current_backlight + 1) >> 1; in dce_get_16_bit_backlight_from_pwm()86 return (uint32_t)(current_backlight); in dce_get_16_bit_backlight_from_pwm()93 uint32_t current_backlight; in dce_panel_cntl_hw_init() local142 current_backlight = dce_get_16_bit_backlight_from_pwm(panel_cntl); in dce_panel_cntl_hw_init()144 return current_backlight; in dce_panel_cntl_hw_init()
65 return cmd.panel_cntl.data.current_backlight; in dcn31_get_16_bit_backlight_from_pwm()113 return cmd.panel_cntl.data.current_backlight; in dcn31_panel_cntl_hw_init()
4991 uint32_t current_backlight; /* in/out */ member
3253 DEFINE_SHOW_ATTRIBUTE(current_backlight);