Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn301/
A 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 …]
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dce/
A 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()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn31/
A Ddcn31_panel_cntl.c65 return cmd.panel_cntl.data.current_backlight; in dcn31_get_16_bit_backlight_from_pwm()
99 return cmd.panel_cntl.data.current_backlight; in dcn31_panel_cntl_hw_init()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dmub/inc/
A Ddmub_cmd.h3121 uint32_t current_backlight; /* in/out */ member
/linux-6.3-rc2/drivers/gpu/drm/amd/display/amdgpu_dm/
A Damdgpu_dm_debugfs.c2839 DEFINE_SHOW_ATTRIBUTE(current_backlight);

Completed in 24 milliseconds