Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/power/supply/
Dingenic-battery.c64 int scale_len, scale_type, best_idx = -1, best_mV, max_raw, i, ret; in ingenic_battery_set_scale() local
74 &scale_type, &scale_len, in ingenic_battery_set_scale()
80 if (ret != IIO_AVAIL_LIST || scale_type != IIO_VAL_FRACTIONAL_LOG2) in ingenic_battery_set_scale()
/Linux-v5.4/drivers/iio/
Dinkern.c591 int scale_type, scale_val, scale_val2, offset; in iio_convert_raw_to_processed_unlocked() local
599 scale_type = iio_channel_read(chan, &scale_val, &scale_val2, in iio_convert_raw_to_processed_unlocked()
601 if (scale_type < 0) { in iio_convert_raw_to_processed_unlocked()
610 switch (scale_type) { in iio_convert_raw_to_processed_unlocked()