Home
last modified time | relevance | path

Searched +full:regulator +full:- +full:temp +full:- +full:error +full:- +full:kelvin (Results 1 – 3 of 3) 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
21 #include <linux/regulator/consumer.h>
60 (((chan - 1) * 4) + LTC2983_CHAN_ASSIGN_START_REG)
62 (((chan - 1) * 4) + LTC2983_TEMP_RES_START_REG)
237 __be32 temp __aligned(IIO_DMA_MINALIGN);
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()
[all …]
/linux/drivers/iio/adc/
H A Dad7173.c1 // SPDX-License-Identifier: GPL-2.0+
7 * AD7172-2/AD7172-4/AD7173-8/AD7175-2
8 * AD7175-8/AD7176-2/AD7177-2
18 #include <linux/clk-provider.h>
31 #include <linux/regulator/consumer.h>
149 (pin2) < st->info->num_voltage_in && \
150 (pin2) >= st->info->num_voltage_in_div)
156 #define AD7173_MODE_CAL_INT_ZERO 0x4 /* Internal Zero-Scale Calibration */
157 #define AD7173_MODE_CAL_INT_FULL 0x5 /* Internal Full-Scale Calibration */
158 #define AD7173_MODE_CAL_SYS_ZERO 0x6 /* System Zero-Scale Calibration */
[all …]
H A Dad7192.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright 2011-2015 Analog Devices Inc.
12 #include <linux/clk-provider.h>
18 #include <linux/regulator/consumer.h>
36 #define AD7192_REG_COMM 0 /* Communications Register (WO, 8-bit) */
37 #define AD7192_REG_STAT 0 /* Status Register (RO, 8-bit) */
38 #define AD7192_REG_MODE 1 /* Mode Register (RW, 24-bit */
39 #define AD7192_REG_CONF 2 /* Configuration Register (RW, 24-bit) */
40 #define AD7192_REG_DATA 3 /* Data Register (RO, 24/32-bit) */
41 #define AD7192_REG_ID 4 /* ID Register (RO, 8-bit) */
[all …]