Searched refs:bl_period (Results 1 – 2 of 2) sorted by relevance
52 uint32_t bl_period, bl_int_count; in dcn301_get_16_bit_backlight_from_pwm() local57 REG_GET(BL_PWM_PERIOD_CNTL, BL_PWM_PERIOD, &bl_period); in dcn301_get_16_bit_backlight_from_pwm()67 bl_period &= bl_period_mask; in dcn301_get_16_bit_backlight_from_pwm()78 if (bl_period == 0) in dcn301_get_16_bit_backlight_from_pwm()79 bl_period = 0xFFFF; 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()84 current_backlight = (uint64_t)(current_backlight) * bl_period; in dcn301_get_16_bit_backlight_from_pwm()
52 uint32_t bl_period, bl_int_count; in dce_get_16_bit_backlight_from_pwm() local58 REG_GET(BL_PWM_PERIOD_CNTL, BL_PWM_PERIOD, &bl_period); in dce_get_16_bit_backlight_from_pwm()69 bl_period &= bl_period_mask; in dce_get_16_bit_backlight_from_pwm()80 if (bl_period == 0) in dce_get_16_bit_backlight_from_pwm()81 bl_period = 0xFFFF; 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()