Home
last modified time | relevance | path

Searched refs:iio_format_value (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/iio/test/
H A Diio-test-format.c25 ret = iio_format_value(buf, IIO_VAL_INT, 1, &val); in iio_test_iio_format_value_integer()
29 ret = iio_format_value(buf, IIO_VAL_INT, 1, &val); in iio_test_iio_format_value_integer()
33 ret = iio_format_value(buf, IIO_VAL_INT, 1, &val); in iio_test_iio_format_value_integer()
37 ret = iio_format_value(buf, IIO_VAL_INT, 1, &val); in iio_test_iio_format_value_integer()
41 ret = iio_format_value(buf, IIO_VAL_INT, 1, &val); in iio_test_iio_format_value_integer()
58 ret = iio_format_value(buf, IIO_VAL_INT_PLUS_MICRO, ARRAY_SIZE(values), values); in iio_test_iio_format_value_fixedpoint()
61 ret = iio_format_value(buf, IIO_VAL_INT_PLUS_MICRO_DB, ARRAY_SIZE(values), values); in iio_test_iio_format_value_fixedpoint()
64 ret = iio_format_value(buf, IIO_VAL_INT_PLUS_NANO, ARRAY_SIZE(values), values); in iio_test_iio_format_value_fixedpoint()
71 ret = iio_format_value(buf, IIO_VAL_INT_PLUS_MICRO, ARRAY_SIZE(values), values); in iio_test_iio_format_value_fixedpoint()
74 ret = iio_format_value(buf, IIO_VAL_INT_PLUS_MICRO_DB, ARRAY_SIZE(values), values); in iio_test_iio_format_value_fixedpoint()
[all …]
H A Diio-test-rescale.c666 ret = iio_format_value(buff, ret, 2, values); in iio_rescale_test_scale()
698 ret = iio_format_value(buff_off, ret, 2, values); in iio_rescale_test_offset()
/linux/drivers/iio/
H A Diio_core.h60 ssize_t iio_format_value(char *buf, unsigned int type, int size, int *vals);
H A Dindustrialio-core.c730 ssize_t iio_format_value(char *buf, unsigned int type, int size, int *vals) in iio_format_value() function
740 EXPORT_SYMBOL_GPL(iio_format_value);
787 return iio_format_value(buf, ret, val_len, vals); in iio_read_channel_info()
H A Dindustrialio-event.c341 return iio_format_value(buf, ret, 2, val_arr); in iio_ev_value_show()
/linux/drivers/iio/trigger/
H A Diio-trig-hrtimer.c44 return iio_format_value(buf, IIO_VAL_INT_PLUS_MICRO, in iio_hrtimer_show_sampling_frequency()
/linux/drivers/iio/potentiometer/
H A Dad5110.c165 return iio_format_value(buf, IIO_VAL_INT, 1, &val); in store_eeprom_show()
/linux/drivers/iio/dac/
H A Dadi-axi-dac.c262 return iio_format_value(buf, IIO_VAL_INT_PLUS_MICRO, ARRAY_SIZE(vals), in axi_dac_scale_get()
291 return iio_format_value(buf, IIO_VAL_INT_PLUS_MICRO, ARRAY_SIZE(vals), in axi_dac_phase_get()
/linux/include/linux/iio/
H A Diio.h1068 ssize_t iio_format_value(char *buf, unsigned int type, int size, int *vals);
/linux/drivers/iio/adc/
H A Drtq6056.c593 return iio_format_value(buf, IIO_VAL_FRACTIONAL, 1, vals); in shunt_resistor_show()
H A Dina2xx-adc.c609 return iio_format_value(buf, IIO_VAL_FRACTIONAL, 1, vals); in ina2xx_shunt_resistor_show()
H A Dpac1921.c786 return iio_format_value(buf, IIO_VAL_FRACTIONAL, 1, vals); in pac1921_read_shunt_resistor()
/linux/drivers/iio/imu/bmi323/
H A Dbmi323_core.c666 return iio_format_value(buf, IIO_VAL_INT_PLUS_MICRO, ARRAY_SIZE(val), in in_accel_gesture_tap_wait_dur_show()
720 return iio_format_value(buf, IIO_VAL_INT, 1, &raw); in in_accel_gesture_tap_wait_timeout_show()
/linux/drivers/iio/accel/
H A Dbma400_core.c321 return iio_format_value(buf, IIO_VAL_INT_PLUS_MICRO, 2, vals); in in_accel_gesture_tap_maxtomin_time_show()
H A Dadxl380.c1581 return iio_format_value(buf, IIO_VAL_FRACTIONAL, 2, vals); in in_accel_gesture_tap_maxtomin_time_show()