Searched refs:iio_format_value (Results 1 – 13 of 13) sorted by relevance
/linux-6.1.9/drivers/iio/test/ |
D | iio-test-format.c | 25 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 …]
|
D | iio-test-rescale.c | 664 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-6.1.9/drivers/iio/ |
D | iio_core.h | 59 ssize_t iio_format_value(char *buf, unsigned int type, int size, int *vals);
|
D | industrialio-core.c | 727 ssize_t iio_format_value(char *buf, unsigned int type, int size, int *vals) in iio_format_value() function 737 EXPORT_SYMBOL_GPL(iio_format_value); 777 return iio_format_value(buf, ret, val_len, vals); in iio_read_channel_info()
|
D | industrialio-event.c | 327 return iio_format_value(buf, ret, 2, val_arr); in iio_ev_value_show()
|
/linux-6.1.9/drivers/iio/trigger/ |
D | iio-trig-hrtimer.c | 44 return iio_format_value(buf, IIO_VAL_INT_PLUS_MICRO, in iio_hrtimer_show_sampling_frequency()
|
/linux-6.1.9/drivers/iio/potentiometer/ |
D | ad5110.c | 165 return iio_format_value(buf, IIO_VAL_INT, 1, &val); in store_eeprom_show()
|
/linux-6.1.9/include/linux/iio/ |
D | iio.h | 752 ssize_t iio_format_value(char *buf, unsigned int type, int size, int *vals);
|
/linux-6.1.9/drivers/iio/adc/ |
D | rtq6056.c | 402 return iio_format_value(buf, IIO_VAL_FRACTIONAL, 1, vals); in shunt_resistor_show()
|
D | ina2xx-adc.c | 592 return iio_format_value(buf, IIO_VAL_FRACTIONAL, 1, vals); in ina2xx_shunt_resistor_show()
|
/linux-6.1.9/drivers/iio/health/ |
D | afe4403.c | 157 return iio_format_value(buf, IIO_VAL_INT_PLUS_MICRO, 2, vals); in afe440x_show_register()
|
D | afe4404.c | 188 return iio_format_value(buf, IIO_VAL_INT_PLUS_MICRO, 2, vals); in afe440x_show_register()
|
/linux-6.1.9/drivers/iio/accel/ |
D | bma400_core.c | 286 return iio_format_value(buf, IIO_VAL_INT_PLUS_MICRO, 2, vals); in in_accel_gesture_tap_maxtomin_time_show()
|