Searched refs:bl_pwm (Results 1 – 2 of 2) sorted by relevance
53 uint32_t bl_pwm, fractional_duty_cycle_en; in dcn301_get_16_bit_backlight_from_pwm() local60 REG_GET(BL_PWM_CNTL, BL_ACTIVE_INT_FRAC_CNT, &bl_pwm); in dcn301_get_16_bit_backlight_from_pwm()72 bl_pwm &= bl_pwm_mask; in dcn301_get_16_bit_backlight_from_pwm()74 bl_pwm &= 0xFFFF; in dcn301_get_16_bit_backlight_from_pwm()76 current_backlight = (uint64_t)bl_pwm << (1 + bl_int_count); in dcn301_get_16_bit_backlight_from_pwm()
53 uint32_t bl_pwm, fractional_duty_cycle_en; in dce_get_16_bit_backlight_from_pwm() local62 REG_GET(BL_PWM_CNTL, BL_ACTIVE_INT_FRAC_CNT, (uint32_t *)(&bl_pwm)); in dce_get_16_bit_backlight_from_pwm()74 bl_pwm &= bl_pwm_mask; in dce_get_16_bit_backlight_from_pwm()76 bl_pwm &= 0xFFFF; in dce_get_16_bit_backlight_from_pwm()78 current_backlight = (uint64_t)bl_pwm << (1 + bl_int_count); in dce_get_16_bit_backlight_from_pwm()