Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/power/supply/
Dingenic-battery.c86 u64 scale_mV = (max_raw * scale_raw[i]) >> scale_raw[i + 1]; in ingenic_battery_set_scale() local
88 if (scale_mV < max_mV) in ingenic_battery_set_scale()
91 if (best_idx >= 0 && scale_mV > best_mV) in ingenic_battery_set_scale()
94 best_mV = scale_mV; in ingenic_battery_set_scale()