Searched +full:rsense +full:- +full:handle (Results 1 – 2 of 2) sorted by relevance
1 // SPDX-License-Identifier: GPL-2.03 * Analog Devices LTC2983 Multi-Sensor Digital Temperature Measurement System60 (((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.326 s64 __res = -(s32)val; in __convert_to_raw_sign()330 return (u32)-__res; in __convert_to_raw_sign()337 const struct device *dev = &st->spi->dev; in __ltc2983_fault_handler()341 return -EIO; in __ltc2983_fault_handler()[all …]
1 // SPDX-License-Identifier: GPL-2.010 #include <linux/clk-provider.h>15 #include <linux/hwmon-sysfs.h>115 #define LTC4282_CLKIN_RANGE (LTC4282_CLKIN_MAX - LTC4282_CLKIN_MIN + 1)146 u32 rsense; member168 return regmap_update_bits(st->map, LTC4282_CLK_DIV, LTC4282_CLKOUT_MASK, in ltc4282_set_rate()183 int idx = find_closest(req->rate, ltc4282_out_rates, in ltc4282_determine_rate()186 req->rate = ltc4282_out_rates[idx]; in ltc4282_determine_rate()199 ret = regmap_read(st->map, LTC4282_CLK_DIV, &clkdiv); in ltc4282_recalc_rate()217 regmap_clear_bits(st->map, LTC4282_CLK_DIV, LTC4282_CLKOUT_MASK); in ltc4282_disable()[all …]