Home
last modified time | relevance | path

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

123

/openbmc/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
23 -----------
35 available through debugfs are the serial number, firmware version and power-on
37 temperature curves directly from the pump. If it's not connected, the fan-related
63 filled with coolant. Pump RPM and flow can be set to enhance on-device calculations,
80 -----------
86 -------------
89 temp[1-20]_input Physical/virtual temperature sensors (in millidegrees Celsius)
90 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 Dmax31827.rst1 .. SPDX-License-Identifier: GPL-2.0
12 Addresses scanned: I2C 0x40 - 0x5f
20 Addresses scanned: I2C 0x40 - 0x5f
28 Addresses scanned: I2C 0x40 - 0x5f
34 - Daniel Matyas <daniel.matyas@analog.com>
37 -----------
40 between them is found in the default power-on behaviour of the chips. While the
52 hysteresis value: -40 and -30 degrees for under temperature alarm and +100 and
69 The conversions can be manual with the one-shot functionality and automatic with
76 requested, one-shot is triggered, the device waits for 140 (conversion time) + 1
[all …]
/openbmc/linux/drivers/iio/imu/
H A Dadis16480.c1 // SPDX-License-Identifier: GPL-2.0-only
117 ADIS16480_REG((page) + 1, (x) - 60 + 8))
194 struct adis16480 *adis16480 = file->private_data; in adis16480_show_firmware_revision()
200 ret = adis_read_reg_16(&adis16480->adis, ADIS16480_REG_FIRM_REV, &rev); in adis16480_show_firmware_revision()
219 struct adis16480 *adis16480 = file->private_data; in adis16480_show_firmware_date()
225 ret = adis_read_reg_16(&adis16480->adis, ADIS16480_REG_FIRM_Y, &year); in adis16480_show_firmware_date()
229 ret = adis_read_reg_16(&adis16480->adis, ADIS16480_REG_FIRM_DM, &md); in adis16480_show_firmware_date()
233 len = snprintf(buf, sizeof(buf), "%.2x-%.2x-%.4x\n", in adis16480_show_firmware_date()
252 ret = adis_read_reg_16(&adis16480->adis, ADIS16480_REG_SERIAL_NUM, in adis16480_show_serial_number()
270 ret = adis_read_reg_16(&adis16480->adis, ADIS16480_REG_PROD_ID, in adis16480_show_product_id()
[all …]
/openbmc/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
253 Only makes sense if the chip supports closed-loop fan speed
263 this fan channel is being used for, and user-space doesn't.
264 In all other cases, the label is provided by user-space.
272 When disabled the sensor read will return -ENODATA.
[all …]
/openbmc/linux/include/linux/
H A Dunits.h1 /* SPDX-License-Identifier: GPL-2.0 */
17 #define MILLI 1000UL macro
34 #define ABSOLUTE_ZERO_MILLICELSIUS -273150
43 return t - ABSOLUTE_ZERO_MILLICELSIUS; in millicelsius_to_milli_kelvin()
76 * deci_kelvin_to_millicelsius_with_offset - convert Kelvin to Celsius
78 * @offset: difference between Kelvin and Celsius in millidegrees
80 * Return: temperature value in millidegrees Celsius
84 return t * MILLIDEGREE_PER_DECIDEGREE - offset; in deci_kelvin_to_millicelsius_with_offset()
107 return t - DIV_ROUND_CLOSEST(ABSOLUTE_ZERO_MILLICELSIUS, in celsius_to_kelvin()
/openbmc/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 …]
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/
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 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 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]
/openbmc/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 -----------
/openbmc/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]
/openbmc/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 …]
/openbmc/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 */
/openbmc/dbus-sensors/src/hwmon-temp/
H A DHwmonTempSensor.cpp8 // http://www.apache.org/licenses/LICENSE-2.0
29 #include <phosphor-logging/lg2.hpp>
43 // Temperatures are read in milli degrees Celsius, we need degrees Celsius.
44 // Pressures are read in kilopascal, we need Pascals. On D-Bus for Open BMC
47 // https://www.kernel.org/doc/Documentation/hwmon/sysfs-interface
48 // https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-bus-iio
151 self->handleRespons in setupRead()
[all...]
H A DHwmonTempMain.cpp8 // http://www.apache.org/licenses/LICENSE-2.0
29 #include <phosphor-logging/lg2.hpp>
30 #include <phosphor-logging/lg2/flags.hpp>
63 static constexpr double minValueTemperature = -128; // DegreesC
104 // https://lore.kernel.org/linux-iio/5c79425f-6e88-36b6-cdfe-4080738d039f@metafoo.de/ in getSensorParameters()
118 // units that have yet to be scaled for D-Bu in getSensorParameters()
[all...]
/openbmc/u-boot/drivers/thermal/
H A Dti-bandgap.c4 * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/
15 * Taken from Linux v4.9 (drivers/thermal/ti-soc-thermal/ti-bandgap.c)
29 int temperature; /* in mili degree celsius */
33 * DRA752 : Temperature values in milli degree celsius
37 /* Index 540 - 549 */
38 -40000, -40000, -40000, -40000, -39800, -39400, -39000, -38600, -38200,
39 -37800,
40 /* Index 550 - 559 */
41 -37400, -37000, -36600, -36200, -35800, -35300, -34700, -34200, -33800,
42 -33400,
[all …]
/openbmc/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 …]

123