Home
last modified time | relevance | path

Searched refs:current_ratio (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/video/backlight/
Dktd253-backlight.c42 u16 current_ratio = ktd253->ratio; in ktd253_backlight_update_status() local
49 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()
/Linux-v5.10/drivers/thermal/intel/
Dintel_powerclamp.c63 static unsigned int current_ratio; variable
313 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()