Home
last modified time | relevance | path

Searched refs:current_backlight (Results 1 – 5 of 5) sorted by relevance

/drivers/gpu/drm/amd/display/dc/dcn301/
Ddcn301_panel_cntl.c50 uint64_t current_backlight; in dcn301_get_16_bit_backlight_from_pwm() local
76 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 …]
/drivers/gpu/drm/amd/display/dc/dce/
Ddce_panel_cntl.c51 uint64_t current_backlight; in dce_get_16_bit_backlight_from_pwm() local
78 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() local
142 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()
/drivers/gpu/drm/amd/display/dc/dcn31/
Ddcn31_panel_cntl.c65 return cmd.panel_cntl.data.current_backlight; in dcn31_get_16_bit_backlight_from_pwm()
96 return cmd.panel_cntl.data.current_backlight; in dcn31_panel_cntl_hw_init()
/drivers/gpu/drm/amd/display/dmub/inc/
Ddmub_cmd.h2147 uint32_t current_backlight; /* in/out */ member
/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_debugfs.c2737 DEFINE_SHOW_ATTRIBUTE(current_backlight);