Searched refs:val_fract (Results 1 – 3 of 3) sorted by relevance
/drivers/iio/adc/ |
D | rtq6056.c | 411 int val, val_fract, ret; in shunt_resistor_store() local 417 ret = iio_str_to_fixpoint(buf, 100000, &val, &val_fract); in shunt_resistor_store() 421 ret = rtq6056_set_shunt_resistor(priv, val * 1000000 + val_fract); in shunt_resistor_store()
|
D | ina2xx-adc.c | 603 int val, val_fract, ret; in ina2xx_shunt_resistor_store() local 605 ret = iio_str_to_fixpoint(buf, 100000, &val, &val_fract); in ina2xx_shunt_resistor_store() 609 ret = set_shunt_resistor(chip, val * 1000000 + val_fract); in ina2xx_shunt_resistor_store()
|
/drivers/iio/accel/ |
D | bma400_core.c | 294 int ret, val_int, val_fract, raw; in in_accel_gesture_tap_maxtomin_time_store() local 296 ret = iio_str_to_fixpoint(buf, 100000, &val_int, &val_fract); in in_accel_gesture_tap_maxtomin_time_store() 300 raw = usec_to_tapreg_raw(val_fract, tap_max2min_time); in in_accel_gesture_tap_maxtomin_time_store()
|