Home
last modified time | relevance | path

Searched refs:BL_PWM_CNTL (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce/
Ddce_panel_cntl.c62 bl_pwm_cntl = REG_READ(BL_PWM_CNTL); in dce_get_16_bit_backlight_from_pwm()
63 REG_GET(BL_PWM_CNTL, BL_ACTIVE_INT_FRAC_CNT, (uint32_t *)(&bl_pwm)); in dce_get_16_bit_backlight_from_pwm()
64 REG_GET(BL_PWM_CNTL, BL_PWM_FRACTIONAL_EN, &fractional_duty_cycle_en); in dce_get_16_bit_backlight_from_pwm()
109 REG_GET(BL_PWM_CNTL, BL_ACTIVE_INT_FRAC_CNT, &value); in dce_panel_cntl_hw_init()
112 if (panel_cntl->stored_backlight_registers.BL_PWM_CNTL != 0) { in dce_panel_cntl_hw_init()
113 REG_WRITE(BL_PWM_CNTL, in dce_panel_cntl_hw_init()
114 panel_cntl->stored_backlight_registers.BL_PWM_CNTL); in dce_panel_cntl_hw_init()
126 REG_WRITE(BL_PWM_CNTL, 0xC000FA00); in dce_panel_cntl_hw_init()
130 panel_cntl->stored_backlight_registers.BL_PWM_CNTL = in dce_panel_cntl_hw_init()
131 REG_READ(BL_PWM_CNTL); in dce_panel_cntl_hw_init()
[all …]
Ddce_panel_cntl.h39 SR(BL_PWM_CNTL), \
53 SR(BL_PWM_CNTL), \
72 DCE_PANEL_CNTL_SF(BL_PWM_CNTL, BL_ACTIVE_INT_FRAC_CNT, mask_sh), \
73 DCE_PANEL_CNTL_SF(BL_PWM_CNTL, BL_PWM_FRACTIONAL_EN, mask_sh), \
74 DCE_PANEL_CNTL_SF(BL_PWM_CNTL, BL_PWM_EN, mask_sh), \
107 uint32_t BL_PWM_CNTL; member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/hw/
Dpanel_cntl.h38 unsigned int BL_PWM_CNTL; member