Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/iio/
Dindustrialio-core.c800 int iio_str_to_fixpoint(const char *str, int fract_mult, in iio_str_to_fixpoint() argument
806 if (fract_mult == 0) { in iio_str_to_fixpoint()
824 f += fract_mult * (*str - '0'); in iio_str_to_fixpoint()
825 fract_mult /= 10; in iio_str_to_fixpoint()
861 int ret, fract_mult = 100000; in iio_write_channel_info() local
872 fract_mult = 0; in iio_write_channel_info()
875 fract_mult = 100000; in iio_write_channel_info()
878 fract_mult = 100000000; in iio_write_channel_info()
884 ret = iio_str_to_fixpoint(buf, fract_mult, &integer, &fract); in iio_write_channel_info()
/linux-4.19.296/include/linux/iio/
Diio.h730 int iio_str_to_fixpoint(const char *str, int fract_mult, int *integer,