Searched refs:BL_PWM_CNTL (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_panel_cntl.c | 61 REG_READ(BL_PWM_CNTL); in dce_get_16_bit_backlight_from_pwm() 99 REG_GET(BL_PWM_CNTL, BL_ACTIVE_INT_FRAC_CNT, &value); in dce_panel_cntl_hw_init() 102 REG_WRITE(BL_PWM_CNTL, in dce_panel_cntl_hw_init() 103 panel_cntl->stored_backlight_registers.BL_PWM_CNTL); in dce_panel_cntl_hw_init() 112 panel_cntl->stored_backlight_registers.BL_PWM_CNTL = in dce_panel_cntl_hw_init() 113 REG_READ(BL_PWM_CNTL); in dce_panel_cntl_hw_init() 125 REG_WRITE(BL_PWM_CNTL, 0x8000FA00); in dce_panel_cntl_hw_init() 136 REG_UPDATE(BL_PWM_CNTL, BL_PWM_EN, 1); in dce_panel_cntl_hw_init() 177 panel_cntl->stored_backlight_registers.BL_PWM_CNTL = in dce_store_backlight_level() 178 REG_READ(BL_PWM_CNTL); in dce_store_backlight_level() [all …]
|
H A D | dce_panel_cntl.h | 39 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
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn301/ |
H A D | dcn301_panel_cntl.c | 60 REG_GET(BL_PWM_CNTL, BL_ACTIVE_INT_FRAC_CNT, &bl_pwm); in dcn301_get_16_bit_backlight_from_pwm() 106 REG_GET(BL_PWM_CNTL, BL_ACTIVE_INT_FRAC_CNT, &value); in dcn301_panel_cntl_hw_init() 109 if (panel_cntl->stored_backlight_registers.BL_PWM_CNTL != 0) { in dcn301_panel_cntl_hw_init() 110 REG_WRITE(BL_PWM_CNTL, in dcn301_panel_cntl_hw_init() 111 panel_cntl->stored_backlight_registers.BL_PWM_CNTL); in dcn301_panel_cntl_hw_init() 123 REG_WRITE(BL_PWM_CNTL, 0xC000FA00); in dcn301_panel_cntl_hw_init() 127 panel_cntl->stored_backlight_registers.BL_PWM_CNTL = in dcn301_panel_cntl_hw_init() 128 REG_READ(BL_PWM_CNTL); in dcn301_panel_cntl_hw_init() 139 REG_UPDATE(BL_PWM_CNTL, BL_PWM_EN, 1); in dcn301_panel_cntl_hw_init() 184 panel_cntl->stored_backlight_registers.BL_PWM_CNTL = in dcn301_store_backlight_level() [all …]
|
H A D | dcn301_panel_cntl.h | 37 SRIR(BL_PWM_CNTL, CNTL, BL_PWM, id), \
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn31/ |
H A D | dcn31_panel_cntl.c | 82 cmd.panel_cntl.data.bl_pwm_cntl = panel_cntl->stored_backlight_registers.BL_PWM_CNTL; in dcn31_panel_cntl_hw_init() 91 panel_cntl->stored_backlight_registers.BL_PWM_CNTL = cmd.panel_cntl.data.bl_pwm_cntl; in dcn31_panel_cntl_hw_init() 137 panel_cntl->stored_backlight_registers.BL_PWM_CNTL = cmd.panel_cntl.data.bl_pwm_cntl; in dcn31_store_backlight_level()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/inc/hw/ |
H A D | panel_cntl.h | 38 unsigned int BL_PWM_CNTL; member
|