Searched refs:bl_int_count (Results 1 – 1 of 1) sorted by relevance
53 uint32_t pwm_period_cntl, bl_period, bl_int_count; in dce_get_16_bit_backlight_from_pwm() local60 REG_GET(BL_PWM_PERIOD_CNTL, BL_PWM_PERIOD_BITCNT, &bl_int_count); in dce_get_16_bit_backlight_from_pwm()66 if (bl_int_count == 0) in dce_get_16_bit_backlight_from_pwm()67 bl_int_count = 16; in dce_get_16_bit_backlight_from_pwm()69 bl_period_mask = (1 << bl_int_count) - 1; in dce_get_16_bit_backlight_from_pwm()72 bl_pwm_mask = bl_period_mask << (16 - bl_int_count); in dce_get_16_bit_backlight_from_pwm()79 current_backlight = (uint64_t)bl_pwm << (1 + bl_int_count); in dce_get_16_bit_backlight_from_pwm()91 round_result = (round_result >> (bl_int_count-1)) & 1; in dce_get_16_bit_backlight_from_pwm()93 current_backlight >>= bl_int_count; in dce_get_16_bit_backlight_from_pwm()