Searched refs:current_ratio (Results 1 – 2 of 2) sorted by relevance
42 u16 current_ratio = ktd253->ratio; in ktd253_backlight_update_status() local49 if (target_ratio == current_ratio) in ktd253_backlight_update_status()64 if (current_ratio == 0) { in ktd253_backlight_update_status()68 current_ratio = KTD253_MAX_RATIO; in ktd253_backlight_update_status()79 while (current_ratio != target_ratio) { in ktd253_backlight_update_status()90 if (current_ratio == KTD253_MIN_RATIO) in ktd253_backlight_update_status()91 current_ratio = KTD253_MAX_RATIO; in ktd253_backlight_update_status()93 current_ratio--; in ktd253_backlight_update_status()96 ktd253->ratio = current_ratio; in ktd253_backlight_update_status()
63 static unsigned int current_ratio; variable313 delta = set_target_ratio - current_ratio; in adjust_compensation()338 current_ratio = 1; in powerclamp_adjust_controls()342 current_ratio = val64; in powerclamp_adjust_controls()359 return set_target_ratio + guard <= current_ratio; in powerclamp_adjust_controls()