Searched refs:fract_mult (Results 1 – 2 of 2) sorted by relevance
/linux-5.19.10/drivers/iio/ |
D | industrialio-core.c | 895 static int __iio_str_to_fixpoint(const char *str, int fract_mult, in __iio_str_to_fixpoint() argument 901 if (fract_mult == 0) { in __iio_str_to_fixpoint() 919 f += fract_mult * (*str - '0'); in __iio_str_to_fixpoint() 920 fract_mult /= 10; in __iio_str_to_fixpoint() 965 int iio_str_to_fixpoint(const char *str, int fract_mult, in iio_str_to_fixpoint() argument 968 return __iio_str_to_fixpoint(str, fract_mult, integer, fract, false); in iio_str_to_fixpoint() 979 int ret, fract_mult = 100000; in iio_write_channel_info() local 992 fract_mult = 0; in iio_write_channel_info() 998 fract_mult = 100000; in iio_write_channel_info() 1001 fract_mult = 100000000; in iio_write_channel_info() [all …]
|
/linux-5.19.10/include/linux/iio/ |
D | iio.h | 749 int iio_str_to_fixpoint(const char *str, int fract_mult, int *integer,
|