Searched refs:fract_mult (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/drivers/iio/ |
D | industrialio-core.c | 866 static int __iio_str_to_fixpoint(const char *str, int fract_mult, in __iio_str_to_fixpoint() argument 872 if (fract_mult == 0) { in __iio_str_to_fixpoint() 890 f += fract_mult * (*str - '0'); in __iio_str_to_fixpoint() 891 fract_mult /= 10; in __iio_str_to_fixpoint() 936 int iio_str_to_fixpoint(const char *str, int fract_mult, in iio_str_to_fixpoint() argument 939 return __iio_str_to_fixpoint(str, fract_mult, integer, fract, false); in iio_str_to_fixpoint() 950 int ret, fract_mult = 100000; in iio_write_channel_info() local 963 fract_mult = 0; in iio_write_channel_info() 969 fract_mult = 100000; in iio_write_channel_info() 972 fract_mult = 100000000; in iio_write_channel_info() [all …]
|
/linux-6.6.21/include/linux/iio/ |
D | iio.h | 761 int iio_str_to_fixpoint(const char *str, int fract_mult, int *integer,
|