Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/power/supply/
Dingenic-battery.c63 const int *scale_raw; in ingenic_battery_set_scale() local
73 ret = iio_read_avail_channel_attribute(bat->channel, &scale_raw, in ingenic_battery_set_scale()
86 u64 scale_mV = (max_raw * scale_raw[i]) >> scale_raw[i + 1]; in ingenic_battery_set_scale()
106 scale_raw[best_idx], in ingenic_battery_set_scale()
107 scale_raw[best_idx + 1], in ingenic_battery_set_scale()