Searched refs:bl_period (Results 1 – 1 of 1) sorted by relevance
87 uint32_t pwm_period_cntl, bl_period, bl_int_count; in calculate_16_bit_backlight_from_pwm() local92 REG_GET(BL_PWM_PERIOD_CNTL, BL_PWM_PERIOD, &bl_period); in calculate_16_bit_backlight_from_pwm()103 bl_period &= bl_period_mask; in calculate_16_bit_backlight_from_pwm()114 if (bl_period == 0) in calculate_16_bit_backlight_from_pwm()115 bl_period = 0xFFFF; in calculate_16_bit_backlight_from_pwm()117 current_backlight = div_u64(current_backlight, bl_period); in calculate_16_bit_backlight_from_pwm()120 current_backlight = (uint64_t)(current_backlight) * bl_period; in calculate_16_bit_backlight_from_pwm()