Searched refs:fract_mult (Results 1 – 2 of 2) sorted by relevance
800 int iio_str_to_fixpoint(const char *str, int fract_mult, in iio_str_to_fixpoint() argument806 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() local872 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()
730 int iio_str_to_fixpoint(const char *str, int fract_mult, int *integer,