Searched refs:scale_type (Results 1 – 3 of 3) sorted by relevance
/drivers/iio/afe/ |
D | iio-rescale.c | 23 int rescale_process_scale(struct rescale *rescale, int scale_type, in rescale_process_scale() argument 28 switch (scale_type) { in rescale_process_scale() 32 return scale_type; in rescale_process_scale() 36 return scale_type; in rescale_process_scale() 45 return scale_type; in rescale_process_scale() 51 int rescale_process_offset(struct rescale *rescale, int scale_type, in rescale_process_offset() argument 57 switch (scale_type) { in rescale_process_offset()
|
/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 | 585 int scale_type, scale_val, scale_val2; in iio_convert_raw_to_processed_unlocked() local 615 scale_type = iio_channel_read(chan, &scale_val, &scale_val2, in iio_convert_raw_to_processed_unlocked() 617 if (scale_type < 0) { in iio_convert_raw_to_processed_unlocked() 626 switch (scale_type) { in iio_convert_raw_to_processed_unlocked()
|