Searched refs:bl_int_count (Results 1 – 2 of 2) sorted by relevance
52 uint32_t bl_period, bl_int_count; in dcn301_get_16_bit_backlight_from_pwm() local58 REG_GET(BL_PWM_PERIOD_CNTL, BL_PWM_PERIOD_BITCNT, &bl_int_count); in dcn301_get_16_bit_backlight_from_pwm()63 if (bl_int_count == 0) in dcn301_get_16_bit_backlight_from_pwm()64 bl_int_count = 16; in dcn301_get_16_bit_backlight_from_pwm()66 bl_period_mask = (1 << bl_int_count) - 1; in dcn301_get_16_bit_backlight_from_pwm()69 bl_pwm_mask = bl_period_mask << (16 - bl_int_count); 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()88 round_result = (round_result >> (bl_int_count-1)) & 1; in dcn301_get_16_bit_backlight_from_pwm()90 current_backlight >>= bl_int_count; in dcn301_get_16_bit_backlight_from_pwm()
52 uint32_t bl_period, bl_int_count; in dce_get_16_bit_backlight_from_pwm() local59 REG_GET(BL_PWM_PERIOD_CNTL, BL_PWM_PERIOD_BITCNT, &bl_int_count); in dce_get_16_bit_backlight_from_pwm()65 if (bl_int_count == 0) in dce_get_16_bit_backlight_from_pwm()66 bl_int_count = 16; in dce_get_16_bit_backlight_from_pwm()68 bl_period_mask = (1 << bl_int_count) - 1; in dce_get_16_bit_backlight_from_pwm()71 bl_pwm_mask = bl_period_mask << (16 - bl_int_count); 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()
Completed in 5 milliseconds