Home
last modified time | relevance | path

Searched refs:fractional (Results 1 – 5 of 5) sorted by relevance

/drivers/iio/common/ssp_sensors/
A Dssp_iio_sensor.h48 int *fractional) in ssp_convert_to_freq() argument
51 *fractional = 0; in ssp_convert_to_freq()
57 *fractional = *integer_part % SSP_INVERTED_SCALING_FACTOR; in ssp_convert_to_freq()
62 static inline int ssp_convert_to_time(int integer_part, int fractional) in ssp_convert_to_time() argument
66 value = (u64)integer_part * SSP_INVERTED_SCALING_FACTOR + fractional; in ssp_convert_to_time()
/drivers/iio/light/
A Dmax44009.c299 static int max44009_threshold_byte_from_fraction(int integral, int fractional) in max44009_threshold_byte_from_fraction() argument
303 if ((integral <= 0 && fractional <= 0) || in max44009_threshold_byte_from_fraction()
305 (integral == MAX44009_MAXIMUM_THRESHOLD && fractional != 0)) in max44009_threshold_byte_from_fraction()
313 mantissa += fractional / MAX44009_FRACT_MULT * in max44009_threshold_byte_from_fraction()
/drivers/hwmon/
A Demc2103.c88 u8 degrees, fractional; in read_temp_from_i2c() local
93 if (read_u8_from_i2c(client, i2c_reg + 1, &fractional) < 0) in read_temp_from_i2c()
97 temp->fraction = (fractional & 0xe0) >> 5; in read_temp_from_i2c()
/drivers/clk/
A DMakefile33 obj-$(CONFIG_COMMON_CLK) += clk-fractional-divider.o
34 obj-$(CONFIG_CLK_FD_KUNIT_TEST) += clk-fractional-divider_test.o
A DKconfig450 and jitter attenuator ICs with fractional and integer dividers.
569 tristate "Basic fractional divider type Kunit test" if !KUNIT_ALL_TESTS
573 Kunit test for the clk-fractional-divider type.

Completed in 14 milliseconds