Home
last modified time | relevance | path

Searched +full:rsense +full:- +full:val +full:- +full:milli +full:- +full:ohms (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/iio/temperature/
H A Dltc2983.c1 // SPDX-License-Identifier: GPL-2.0
3 * Analog Devices LTC2983 Multi-Sensor Digital Temperature Measurement System
60 (((chan - 1) * 4) + LTC2983_CHAN_ASSIGN_START_REG)
62 (((chan - 1) * 4) + LTC2983_TEMP_RES_START_REG)
130 /* cold junction for thermocouples and rsense for rtd's and thermistor's */
312 * instance a resolution of 2^-10 means we have 10 fractional bits.
314 static u32 __convert_to_raw(const u64 val, const u32 resolution) in __convert_to_raw() argument
316 u64 __res = val * resolution; in __convert_to_raw()
324 static u32 __convert_to_raw_sign(const u64 val, const u32 resolution) in __convert_to_raw_sign() argument
326 s64 __res = -(s32)val; in __convert_to_raw_sign()
[all …]