Home
last modified time | relevance | path

Searched refs:BL_PWM_PERIOD_CNTL (Results 1 – 6 of 6) sorted by relevance

/linux-5.19.10/drivers/gpu/drm/amd/display/dc/dce/
Ddce_panel_cntl.c57 REG_READ(BL_PWM_PERIOD_CNTL); in dce_get_16_bit_backlight_from_pwm()
58 REG_GET(BL_PWM_PERIOD_CNTL, BL_PWM_PERIOD, &bl_period); in dce_get_16_bit_backlight_from_pwm()
59 REG_GET(BL_PWM_PERIOD_CNTL, BL_PWM_PERIOD_BITCNT, &bl_int_count); in dce_get_16_bit_backlight_from_pwm()
106 REG_WRITE(BL_PWM_PERIOD_CNTL, in dce_panel_cntl_hw_init()
107 panel_cntl->stored_backlight_registers.BL_PWM_PERIOD_CNTL); in dce_panel_cntl_hw_init()
116 panel_cntl->stored_backlight_registers.BL_PWM_PERIOD_CNTL = in dce_panel_cntl_hw_init()
117 REG_READ(BL_PWM_PERIOD_CNTL); in dce_panel_cntl_hw_init()
126 REG_WRITE(BL_PWM_PERIOD_CNTL, 0x000C0FA0); in dce_panel_cntl_hw_init()
181 panel_cntl->stored_backlight_registers.BL_PWM_PERIOD_CNTL = in dce_store_backlight_level()
182 REG_READ(BL_PWM_PERIOD_CNTL); in dce_store_backlight_level()
[all …]
Ddce_panel_cntl.h41 SR(BL_PWM_PERIOD_CNTL), \
55 SR(BL_PWM_PERIOD_CNTL), \
70 DCE_PANEL_CNTL_SF(BL_PWM_PERIOD_CNTL, BL_PWM_PERIOD, mask_sh), \
71 DCE_PANEL_CNTL_SF(BL_PWM_PERIOD_CNTL, BL_PWM_PERIOD_BITCNT, mask_sh), \
109 uint32_t BL_PWM_PERIOD_CNTL; member
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/dcn301/
Ddcn301_panel_cntl.c57 REG_GET(BL_PWM_PERIOD_CNTL, BL_PWM_PERIOD, &bl_period); in dcn301_get_16_bit_backlight_from_pwm()
58 REG_GET(BL_PWM_PERIOD_CNTL, BL_PWM_PERIOD_BITCNT, &bl_int_count); in dcn301_get_16_bit_backlight_from_pwm()
114 REG_WRITE(BL_PWM_PERIOD_CNTL, in dcn301_panel_cntl_hw_init()
115 panel_cntl->stored_backlight_registers.BL_PWM_PERIOD_CNTL); in dcn301_panel_cntl_hw_init()
124 REG_WRITE(BL_PWM_PERIOD_CNTL, 0x000C0FA0); in dcn301_panel_cntl_hw_init()
131 panel_cntl->stored_backlight_registers.BL_PWM_PERIOD_CNTL = in dcn301_panel_cntl_hw_init()
132 REG_READ(BL_PWM_PERIOD_CNTL); in dcn301_panel_cntl_hw_init()
188 panel_cntl->stored_backlight_registers.BL_PWM_PERIOD_CNTL = in dcn301_store_backlight_level()
189 REG_READ(BL_PWM_PERIOD_CNTL); in dcn301_store_backlight_level()
Ddcn301_panel_cntl.h39 SRIR(BL_PWM_PERIOD_CNTL, PERIOD_CNTL, BL_PWM, id), \
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/dcn31/
Ddcn31_panel_cntl.c83 cmd.panel_cntl.data.bl_pwm_period_cntl = panel_cntl->stored_backlight_registers.BL_PWM_PERIOD_CNTL; in dcn31_panel_cntl_hw_init()
93 panel_cntl->stored_backlight_registers.BL_PWM_PERIOD_CNTL = cmd.panel_cntl.data.bl_pwm_period_cntl; in dcn31_panel_cntl_hw_init()
139 panel_cntl->stored_backlight_registers.BL_PWM_PERIOD_CNTL = cmd.panel_cntl.data.bl_pwm_period_cntl; in dcn31_store_backlight_level()
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/inc/hw/
Dpanel_cntl.h40 unsigned int BL_PWM_PERIOD_CNTL; member