Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/iio/test/
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 …]
Diio-test-rescale.c664 ret = iio_format_value(buff, ret, 2, values); in iio_rescale_test_scale()
694 ret = iio_format_value(buff_off, ret, 2, values); in iio_rescale_test_offset()
/linux-5.19.10/drivers/iio/
Diio_core.h59 ssize_t iio_format_value(char *buf, unsigned int type, int size, int *vals);
Dindustrialio-core.c741 ssize_t iio_format_value(char *buf, unsigned int type, int size, int *vals) in iio_format_value() function
751 EXPORT_SYMBOL_GPL(iio_format_value);
791 return iio_format_value(buf, ret, val_len, vals); in iio_read_channel_info()
Dindustrialio-event.c322 return iio_format_value(buf, ret, 2, val_arr); in iio_ev_value_show()
/linux-5.19.10/drivers/iio/trigger/
Diio-trig-hrtimer.c44 return iio_format_value(buf, IIO_VAL_INT_PLUS_MICRO, in iio_hrtimer_show_sampling_frequency()
/linux-5.19.10/drivers/iio/potentiometer/
Dad5110.c165 return iio_format_value(buf, IIO_VAL_INT, 1, &val); in store_eeprom_show()
/linux-5.19.10/include/linux/iio/
Diio.h747 ssize_t iio_format_value(char *buf, unsigned int type, int size, int *vals);
/linux-5.19.10/drivers/iio/health/
Dafe4403.c157 return iio_format_value(buf, IIO_VAL_INT_PLUS_MICRO, 2, vals); in afe440x_show_register()
Dafe4404.c188 return iio_format_value(buf, IIO_VAL_INT_PLUS_MICRO, 2, vals); in afe440x_show_register()
/linux-5.19.10/drivers/iio/adc/
Dina2xx-adc.c592 return iio_format_value(buf, IIO_VAL_FRACTIONAL, 1, vals); in ina2xx_shunt_resistor_show()