Home
last modified time | relevance | path

Searched +full:milli +full:- +full:celsius (Results 1 – 25 of 42) sorted by relevance

12

/linux/Documentation/ABI/testing/
H A Dsysfs-class-hwmon16 The contents of the label are free-form.
135 this voltage channel is being used for, and user-space
137 user-space.
145 When disabled the sensor read will return -ENODATA.
147 - 1: Enable
148 - 0: Disable
156 - 1: Failed
157 - 0: Ok
262 Only makes sense if the chip supports closed-loop fan speed
272 this fan channel is being used for, and user-space doesn't.
[all …]
/linux/drivers/iio/imu/
H A Dadis16480.c1 // SPDX-License-Identifier: GPL-2.0-only
116 ADIS16480_REG((page) + 1, (x) - 60 + 8))
199 struct adis16480 *adis16480 = file->private_data; in adis16480_show_firmware_revision()
205 ret = adis_read_reg_16(&adis16480->adis, ADIS16480_REG_FIRM_REV, &rev); in adis16480_show_firmware_revision()
224 struct adis16480 *adis16480 = file->private_data; in adis16480_show_firmware_date()
230 ret = adis_read_reg_16(&adis16480->adis, ADIS16480_REG_FIRM_Y, &year); in adis16480_show_firmware_date()
234 ret = adis_read_reg_16(&adis16480->adis, ADIS16480_REG_FIRM_DM, &md); in adis16480_show_firmware_date()
238 len = snprintf(buf, sizeof(buf), "%.2x-%.2x-%.4x\n", in adis16480_show_firmware_date()
257 ret = adis_read_reg_16(&adis16480->adis, ADIS16480_REG_SERIAL_NUM, in adis16480_show_serial_number()
275 ret = adis_read_reg_16(&adis16480->adis, ADIS16480_REG_PROD_ID, in adis16480_show_product_id()
[all …]
H A Dadis16460.c1 // SPDX-License-Identifier: GPL-2.0+
78 ret = adis_read_reg_16(&adis16460->adis, ADIS16460_REG_SERIAL_NUM, in adis16460_show_serial_number()
96 ret = adis_read_reg_16(&adis16460->adis, ADIS16460_REG_PROD_ID, in adis16460_show_product_id()
114 ret = adis_read_reg_32(&adis16460->adis, ADIS16460_REG_FLASH_CNT, in adis16460_show_flash_count()
149 return -EINVAL; in adis16460_set_freq()
156 t--; in adis16460_set_freq()
158 return adis_write_reg_16(&st->adis, ADIS16460_REG_DEC_RATE, t); in adis16460_set_freq()
168 ret = adis_read_reg_16(&st->adis, ADIS16460_REG_DEC_RATE, &t); in adis16460_get_freq()
188 switch (chan->type) { in adis16460_read_raw()
190 *val = st->chip_info->gyro_max_scale; in adis16460_read_raw()
[all …]
/linux/Documentation/hwmon/
H A Dda9052.rst6 * Dialog Semiconductors DA9052-BC and DA9053-AA/Bx PMICs
15 -----------
26 Channel 0 VDDOUT - measurement of the system voltage
27 Channel 1 ICH - internal battery charger current measurement
28 Channel 2 TBAT - output from the battery NTC
29 Channel 3 VBAT - measurement of the battery voltage
30 Channel 4 ADC_IN4 - high impedance input (0 - 2.5V)
31 Channel 5 ADC_IN5 - high impedance input (0 - 2.5V)
32 Channel 6 ADC_IN6 - high impedance input (0 - 2.5V)
33 Channel 7 XY - TSI interface to measure the X and Y voltage of the touch
[all …]
H A Dda9055.rst14 -----------
24 - Channel 0: VDDOUT - measurement of the system voltage
25 - Channel 1: ADC_IN1 - high impedance input (0 - 2.5V)
26 - Channel 2: ADC_IN2 - high impedance input (0 - 2.5V)
27 - Channel 3: ADC_IN3 - high impedance input (0 - 2.5V)
28 - Channel 4: Internal Tjunc. - sense (internal temp. sensor)
34 ------------------
41 Milli volt = ((ADC value * 1000) / 85) + 2500
45 Milli volt = (ADC value * 1000) / 102
48 ----------------------
[all …]
H A Daquacomputer_d5next.rst1 .. SPDX-License-Identifier: GPL-2.0-or-later
3 Kernel driver aquacomputer-d5next
25 -----------
37 available through debugfs are the serial number, firmware version and power-on
39 temperature curves directly from the pump. If it's not connected, the fan-related
65 filled with coolant. Pump RPM and flow can be set to enhance on-device calculations,
87 -----------
93 -------------
96 temp[1-20]_input Physical/virtual temperature sensors (in millidegrees Celsius)
97 temp[1-8]_offset Temperature sensor correction offset (in millidegrees Celsius)
[all …]
H A Dsfctemp.rst1 .. SPDX-License-Identifier: GPL-2.0
7 - StarFive JH7100
8 - StarFive JH7110
11 - Emil Renner Berthing <kernel@esmil.dk>
14 -----------
16 This driver adds support for reading the built-in temperature sensor on the
17 JH7100 and JH7110 RISC-V SoCs by StarFive Technology Co. Ltd.
20 -------------------
32 temp1_input RO Temperature reading in milli-degrees Celsius.
H A Ddrivetemp.rst1 .. SPDX-License-Identifier: GPL-2.0
8 ----------
10 ANS T13/1699-D
11 Information technology - AT Attachment 8 - ATA/ATAPI Command Set (ATA8-ACS)
14 Information technology - SCSI Primary Commands - 4 (SPC-4)
17 Information technology - SCSI / ATA Translation - 5 (SAT-5)
21 -----------
34 ----------
47 intervals larger than twice the spin-down time. Otherwise affected drives
52 -------------
[all …]
H A Dchipcap2.rst1 .. SPDX-License-Identifier: GPL-2.0-or-later
12 Addresses scanned: -
14 …Datasheet: https://www.amphenol-sensors.com/en/telaire/humidity/527-humidity-sensors/3095-chipcap-2
18 - Javier Carrasco <javier.carrasco.cruz@gmail.com>
21 -----------
24 temperature chip family. Temperature is measured in milli degrees celsius,
28 - Relative humidity: 0 to 100000 pcm (14-bit resolution)
29 - Temperature: -40000 to +125000 m°C (14-bit resolution)
39 might be truncated to match the 14-bit device resolution (6.1 pcm/LSB)
42 ------------
[all …]
/linux/include/linux/
H A Dunits.h1 /* SPDX-License-Identifier: GPL-2.0 */
18 #define MILLI 1000UL macro
42 #define ABSOLUTE_ZERO_MILLICELSIUS -273150
51 return t - ABSOLUTE_ZERO_MILLICELSIUS; in millicelsius_to_milli_kelvin()
84 * deci_kelvin_to_millicelsius_with_offset - convert Kelvin to Celsius
86 * @offset: difference between Kelvin and Celsius in millidegrees
88 * Return: temperature value in millidegrees Celsius
92 return t * MILLIDEGREE_PER_DECIDEGREE - offset; in deci_kelvin_to_millicelsius_with_offset()
115 return t - DIV_ROUND_CLOSEST(ABSOLUTE_ZERO_MILLICELSIUS, in celsius_to_kelvin()
/linux/drivers/thermal/ti-soc-thermal/
H A Domap3-thermal-data.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2011-2012 Texas Instruments Inc.
21 #include "ti-thermal.h"
22 #include "ti-bandgap.h"
46 * Temperature values in milli degree celsius
50 -40000, -40000, -40000, -40000, -40000, -39000, -38000, -36000,
51 -34000, -32000, -31000, -29000, -28000, -26000, -25000, -24000,
52 -22000, -21000, -19000, -18000, -17000, -15000, -14000, -12000,
53 -11000, -9000, -8000, -7000, -5000, -4000, -2000, -1000, 0000,
114 * Temperature values in milli degree celsius
[all …]
H A Domap4-thermal-data.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2011-2012 Texas Instruments Inc.
10 #include "ti-thermal.h"
11 #include "ti-bandgap.h"
12 #include "omap4xxx-bandgap.h"
39 * Temperature values in milli degree celsius
44 omap4430_adc_to_temp[OMAP4430_ADC_END_VALUE - OMAP4430_ADC_START_VALUE + 1] = {
45 -40000, -38000, -35000, -34000, -32000, -30000, -28000, -26000, -24000,
46 -22000, -20000, -18500, -17000, -15000, -13500, -12000, -10000, -8000,
47 -6500, -5000, -3500, -1500, 0, 2000, 3500, 5000, 6500, 8500, 10000,
[all …]
/linux/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/
H A Dsmu13_driver_if_yellow_carp.h120 //Voltage in milli volts with 2 fractional bits
176 uint16_t CoreTemperature[8]; //[centi-Celsius]
178 uint16_t L3Temperature; //[centi-Celsius]
180 uint16_t GfxTemperature; //[centi-Celsius]
181 uint16_t SocTemperature; //[centi-Celsius]
H A Dsmu12_driver_if.h186 uint16_t FanPwm; //[milli]
191 uint16_t CoreTemperature[8]; //[centi-Celsius]
193 uint16_t L3Temperature[2]; //[centi-Celsius]
195 uint16_t GfxTemperature; //[centi-Celsius]
196 uint16_t SocTemperature; //[centi-Celsius]
H A Dsmu11_driver_if_vangogh.h125 //Voltage in milli volts with 2 fractional bits
186 uint16_t CoreTemperature[8]; //[centi-Celsius]
188 uint16_t L3Temperature[2]; //[centi-Celsius]
190 uint16_t GfxTemperature; //[centi-Celsius]
191 uint16_t SocTemperature; //[centi-Celsius]
216 uint16_t CoreTemperature[4]; //[centi-Celsius]
218 uint16_t L3Temperature[1]; //[centi-Celsius]
220 uint16_t GfxTemperature; //[centi-Celsius]
221 uint16_t SocTemperature; //[centi-Celsius]
H A Dsmu13_driver_if_v13_0_5.h100 uint16_t GfxTemperature; //[centi-Celsius]
102 uint16_t SocTemperature; //[centi-Celsius]
109 //Voltage in milli volts with 2 fractional bits
H A Dsmu13_driver_if_v13_0_4.h121 //Voltage in milli volts with 2 fractional bits
176 uint16_t CoreTemperature[8]; //[centi-Celsius]
178 uint16_t L3Temperature; //[centi-Celsius]
180 uint16_t GfxTemperature; //[centi-Celsius]
181 uint16_t SocTemperature; //[centi-Celsius]
200 uint16_t CurTemp; //[centi-Celsius]
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/
H A Ddcn31_smu.h129 //Voltage in milli volts with 2 fractional bits
185 uint16_t CoreTemperature[8]; //[centi-Celsius]
187 uint16_t L3Temperature; //[centi-Celsius]
189 uint16_t GfxTemperature; //[centi-Celsius]
190 uint16_t SocTemperature; //[centi-Celsius]
/linux/Documentation/driver-api/thermal/
H A Dx86_pkg_temperature_thermal.rst14 ---------
16 Intel® 64 and IA-32 Architectures Software Developer’s Manual (Jan, 2013):
20 -----------
30 --------------------
39 - trip_point_0_temp
40 - trip_point_1_temp
42 User can set any temperature between 0 to TJ-Max temperature. Temperature units
43 are in milli-degree Celsius. Refer to "Documentation/driver-api/thermal/sysfs-api.rst" for
44 thermal sys-fs details.
50 To get kobject-uevent notifications, set the thermal zone
[all …]
H A Dnouveau_thermal.rst12 -----------
17 Currently, due to the absence of in-kernel API to access HWMON drivers, Nouveau
24 ----------------------
26 Temperature is exposed under as a read-only HWMON attribute temp1_input.
52 NOTE: Remember that the values are stored as milli degrees Celsius. Don't forget
56 --------------
85 When operating in manual mode outside the vbios-defined
90 -----------
/linux/drivers/hwmon/
H A Dlochnagar-hwmon.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2016-2019 Cirrus Logic, Inc. and
13 #include <linux/hwmon-sysfs.h>
57 * float_to_long - Convert ieee754 reading from hardware to an integer
60 * @precision: Units to multiply up to eg. 1000 = milli, 1000000 = micro
65 * floating point value in either volts, amps or celsius. This function
66 * will convert that into an integer in a smaller unit such as micro-amps
67 * or milli-celsius. The hardware does not return NaN, so consideration of
73 int exp = ((data & 0x7F800000) >> 23) - 127 - 23; in float_to_long()
79 if (fls64(man) + exp > (int)sizeof(long) * 8 - 1) in float_to_long()
[all …]
/linux/include/linux/power/
H A Dmax17042_battery.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
191 /* External current sense resistor value in milli-ohms */
255 * R_sns in micro-ohms.
262 int temp_min; /* in tenths of degree Celsius */
263 int temp_max; /* in tenths of degree Celsius */
/linux/drivers/iio/pressure/
H A Dst_pressure_core.c1 // SPDX-License-Identifier: GPL-2.0-only
24 * ------------------------------------------
45 * ---------------------------------------------------------
49 * temp[Celsius] = offset[Celsius] + (raw / sensitivity)
52 * offset a constant specified by the datasheet in degree Celsius
54 * sensitivity a scaling factor specified by the datasheet in LSB/Celsius
56 * IIO ABI expects temperature to be expressed as milli degree Celsius such as
58 * temp[mCelsius] = temp[Celsius] * 10^3
59 * = (offset[Celsius] + (raw / sensitivity)) * 10^3
60 * = ((offset[Celsius] * sensitivity) + raw) *
[all …]
/linux/Documentation/devicetree/bindings/hwmon/
H A Dmoortec,mr75203.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Rahul Tanwar <rtanwar@maxlinear.com>
19 *) Temperature Sensor (TS) - used to monitor core temperature (e.g. mr74137).
20 *) Voltage Monitor (VM) - used to monitor voltage levels (e.g. mr74138).
21 *) Process Detector (PD) - used to assess silicon speed (e.g. mr74139).
22 *) Delay Chain - ring oscillator connected to the PD, used to measure IO
25 *) Pre Scaler - provides divide-by-X scaling of input voltage, which can then
26 be presented for VM for measurement within its range (e.g. mr76006 -
[all …]
/linux/drivers/net/ethernet/sfc/siena/
H A Dmcdi_mon.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright 2011-2013 Solarflare Communications Inc.
42 SENSOR(CONTROLLER_TEMP, "Controller board temp.", TEMP, -1),
43 SENSOR(PHY_COMMON_TEMP, "PHY temp.", TEMP, -1),
44 SENSOR(CONTROLLER_COOLING, "Controller heat sink", COOL, -1),
49 SENSOR(IN_1V0, "1.0V supply", IN, -1),
50 SENSOR(IN_1V2, "1.2V supply", IN, -1),
51 SENSOR(IN_1V8, "1.8V supply", IN, -1),
52 SENSOR(IN_2V5, "2.5V supply", IN, -1),
53 SENSOR(IN_3V3, "3.3V supply", IN, -1),
[all …]

12