Home
last modified time | relevance | path

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

/drivers/iio/adc/
Drtq6056.c411 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()
Dina2xx-adc.c603 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/
Dbma400_core.c294 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()