Searched refs:current_ratio (Results 1 – 2 of 2) sorted by relevance
80 u16 current_ratio = ktd253->ratio; in ktd253_backlight_update_status() local87 if (target_ratio == current_ratio) in ktd253_backlight_update_status()102 if (current_ratio == 0) { in ktd253_backlight_update_status()104 current_ratio = KTD253_MAX_RATIO; in ktd253_backlight_update_status()107 while (current_ratio != target_ratio) { in ktd253_backlight_update_status()123 current_ratio = KTD253_MAX_RATIO; in ktd253_backlight_update_status()124 } else if (current_ratio == KTD253_MIN_RATIO) { in ktd253_backlight_update_status()126 current_ratio = KTD253_MAX_RATIO; in ktd253_backlight_update_status()128 current_ratio--; in ktd253_backlight_update_status()131 ktd253->ratio = current_ratio; in ktd253_backlight_update_status()
57 static unsigned int current_ratio; variable447 delta = powerclamp_data.target_ratio - current_ratio; in adjust_compensation()472 current_ratio = 1; in powerclamp_adjust_controls()476 current_ratio = val64; in powerclamp_adjust_controls()486 return powerclamp_data.target_ratio + guard <= current_ratio; in powerclamp_adjust_controls()