Home
last modified time | relevance | path

Searched refs:fract_mult (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/iio/
H A Dindustrialio-core.c871 static int __iio_str_to_fixpoint(const char *str, int fract_mult, in __iio_str_to_fixpoint() argument
877 if (fract_mult == 0) { in __iio_str_to_fixpoint()
895 f += fract_mult * (*str - '0'); in __iio_str_to_fixpoint()
896 fract_mult /= 10; in __iio_str_to_fixpoint()
941 int iio_str_to_fixpoint(const char *str, int fract_mult, in iio_str_to_fixpoint() argument
944 return __iio_str_to_fixpoint(str, fract_mult, integer, fract, false); in iio_str_to_fixpoint()
955 int ret, fract_mult = 100000; in iio_write_channel_info() local
968 fract_mult = 0; in iio_write_channel_info()
974 fract_mult = 100000; in iio_write_channel_info()
977 fract_mult = 100000000; in iio_write_channel_info()
[all …]
/openbmc/linux/include/linux/iio/
H A Diio.h761 int iio_str_to_fixpoint(const char *str, int fract_mult, int *integer,