Searched refs:scale_type (Results 1 – 2 of 2) sorted by relevance
/drivers/power/supply/ |
D | ingenic-battery.c | 64 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()
|
/drivers/iio/ |
D | inkern.c | 566 int scale_type, scale_val, scale_val2; in iio_convert_raw_to_processed_unlocked() local 596 scale_type = iio_channel_read(chan, &scale_val, &scale_val2, in iio_convert_raw_to_processed_unlocked() 598 if (scale_type < 0) { in iio_convert_raw_to_processed_unlocked() 607 switch (scale_type) { in iio_convert_raw_to_processed_unlocked()
|