Home
last modified time | relevance | path

Searched +full:temp +full:- +full:sensor (Results 1 – 25 of 212) sorted by relevance

123456789

/freebsd/sys/powerpc/powermac/
H A Dpowermac_thermal.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2009-2011 Nathan Whitehorn
72 struct pmac_therm *sensor; member
98 struct pmac_sens_le *sensor; in pmac_therm_manage_fans() local
103 int temp; in pmac_therm_manage_fans() local
109 SLIST_FOREACH(sensor, &sensors, entries) { in pmac_therm_manage_fans()
110 temp = sensor->sensor->read(sensor->sensor); in pmac_therm_manage_fans()
111 if (temp > 0) /* Use the previous temp in case of error */ in pmac_therm_manage_fans()
112 sensor->last_val = temp; in pmac_therm_manage_fans()
[all …]
/freebsd/share/man/man4/
H A Daibs.423 .Nd "ASUSTeK AI Booster ACPI ATK0110 voltage, temperature and fan sensor"
28 .Bd -ragged -offset indent
35 .Bd -literal -offset indent
51 as well as the description of each sensor,
55 provides descriptions regarding what each sensor is used for,
57 the supposed range specifications of each sensor's input
62 .Bl -bullet
74 Sensor readings and the range specifications are made available through the
79 For example, on an ASUS V3-P5G965 barebone:
80 .Bd -literal -offset indent
[all …]
/freebsd/sys/dev/amdtemp/
H A Damdtemp.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
6 * Copyright (c) 2009-2012 Jung-uk Kim <jkim@FreeBSD.org>
8 * Copyright (c) 2017-2020 Conrad Meyer <cem@FreeBSD.org>. All rights reserved.
33 * Driver for the AMD CPU on-die thermal sensors.
77 NUM_CCDS = CCD_MAX - CCD_BASE + 1,
85 #define AMDTEMP_FLAG_CT_10BIT 0x02 /* CurTmp is 10-bit wide. */
86 #define AMDTEMP_FLAG_ALT_OFFSET 0x04 /* CurTmp starts at -28C. */
128 * 0xFC register is only valid on the D18F3 PCI device; SMN temp
157 * Reported Temperature Control Register, family 0Fh-15h (some models), 16h.
[all …]
/freebsd/sys/contrib/device-tree/Bindings/hwmon/
H A Dibmpowernv.txt2 ----------------------------
5 - compatible: must be one of
6 "ibm,opal-sensor-cooling-fan"
7 "ibm,opal-sensor-amb-temp"
8 "ibm,opal-sensor-power-supply"
9 "ibm,opal-sensor-power"
10 - sensor-id: an opaque id provided by the firmware to the kernel, identifies a
11 given sensor and its attribute data
15 cooling-fan#8-data {
16 sensor-id = <0x7052107>;
[all …]
H A Dstarfive,jh71x0-temp.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/hwmon/starfive,jh71x0-tem
[all...]
H A Dmicrochip,sparx5-temp.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/hwmon/microchip,sparx5-temp.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Lars Povlsen <lars.povlsen@microchip.com>
18 - microchip,sparx5-temp
25 - description: System reference clock
27 '#thermal-sensor-cells':
31 - compatible
32 - reg
[all …]
H A Djc42.txt1 Properties for Jedec JC-42.4 compatible temperature sensors
4 - compatible: May include a device-specific string consisting of the
7 Must include "jedec,jc-42.4-temp" for any Jedec JC-42.4
8 compatible temperature sensor.
35 - reg: I2C address
38 - smbus-timeout-disable: When set, the smbus timeout function will be disabled.
43 temp-sensor@1a {
44 compatible = "jedec,jc-42.4-temp";
H A Dbaikal,bt1-pvt.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/hwmon/baikal,bt1-pvt.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Baikal-T1 PVT Sensor
11 - Serge Semin <fancer.lancer@gmail.com>
14 Baikal-T1 SoC provides an embedded process, voltage and temperature
15 sensor to monitor an internal SoC environment (chip temperature, supply
17 which may cause the system instability and even damages. The IP-block
18 is based on the Analog Bits PVT sensor, but is equipped with a dedicated
[all …]
/freebsd/usr.sbin/bsnmpd/modules/snmp_lm75/
H A Dsnmp_lm75.c1 /*-
58 * Structure that describes single sensor.
64 int32_t temp; member
126 struct lm75_snmp_sensor *sensor; in free_sensors() local
128 while ((sensor = TAILQ_FIRST(&sensors)) != NULL) { in free_sensors()
129 TAILQ_REMOVE(&sensors, sensor, link); in free_sensors()
130 free(sensor); in free_sensors()
139 if (nlen > (int)(sizeof(mib) / sizeof(int) - 2)) in sysctlname()
140 return (-1); in sysctlname()
146 if (sysctl(mib, nlen + 2, name, &len, 0, 0) == -1) in sysctlname()
[all …]
/freebsd/sys/arm64/rockchip/
H A Drk_tsadc.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
100 #define WR4(_sc, _r, _v) bus_write_4((_sc)->mem_res, (_r), (_v))
101 #define RD4(_sc, _r) bus_read_4((_sc)->mem_res, (_r))
113 int temp; member
153 {3800, -40000},
154 {3792, -35000},
155 {3783, -30000},
156 {3774, -25000},
157 {3765, -20000},
[all …]
/freebsd/sys/dev/iicbus/sensor/
H A Dmax6690.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
52 /* Inlet, Backside, U3 Heatsink sensor: MAX6690. */
100 static MALLOC_DEFINE(M_MAX6690, "max6690", "Temp-Monitor MAX6690");
136 return (-1); in max6690_read()
154 if (strcmp(name, "temp-monitor") != 0 || in max6690_probe()
159 sc->sc_dev = dev; in max6690_probe()
160 sc->sc_addr = iicbus_get_addr(dev); in max6690_probe()
162 device_set_desc(dev, "Temp-Monitor MAX6690"); in max6690_probe()
169 * and we have allocated memory for sc->sc_sensors, we fill in the properties.
[all …]
H A Dds1775.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
52 /* Drivebay sensor: LM75/DS1775. */
110 return (-1); in ds1775_read_2()
128 if (strcmp(name, "temp-monitor") != 0 || in ds1775_probe()
134 sc->sc_dev = dev; in ds1775_probe()
135 sc->sc_addr = iicbus_get_addr(dev); in ds1775_probe()
137 device_set_desc(dev, "Temp-Monitor DS1775"); in ds1775_probe()
149 sc->enum_hook.ich_func = ds1775_start; in ds1775_attach()
150 sc->enum_hook.ich_arg = dev; in ds1775_attach()
[all …]
H A Dds1631.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
52 /* Sensor: Maxim DS1631 */
136 return (-1); in ds1631_write()
164 return (-1); in ds1631_read_1()
192 return (-1); in ds1631_read_2()
210 if (strcmp(name, "temp-monitor") != 0 || in ds1631_probe()
215 sc->sc_dev = dev; in ds1631_probe()
216 sc->sc_addr = iicbus_get_addr(dev); in ds1631_probe()
218 device_set_desc(dev, "Temp-Monitor DS1631"); in ds1631_probe()
[all …]
/freebsd/sys/contrib/device-tree/src/arm64/qcom/
H A Dx1e80100-pmics.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/input/linux-event-codes.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include <dt-bindings/spmi/spmi.h>
12 thermal-zones {
13 pm8550-thermal {
14 polling-delay-passive = <100>;
16 thermal-sensors = <&pm8550_temp_alarm>;
33 pm8550ve-2-thermal {
[all …]
H A Dpm8550vs.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
6 #include <dt-bindings/interrupt-controller/irq.h>
7 #include <dt-bindings/spmi/spmi.h>
10 thermal-zones {
11 pm8550vs-c-thermal {
12 polling-delay-passive = <100>;
14 thermal-sensors = <&pm8550vs_c_temp_alarm>;
31 pm8550vs-d-thermal {
32 polling-delay-passive = <100>;
34 thermal-sensors = <&pm8550vs_d_temp_alarm>;
[all …]
H A Dsa8775p-pmics.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/spmi/spmi.h>
10 thermal-zones {
11 pmm8654au_0_thermal: pm8775-0-thermal {
12 polling-delay-passive = <100>;
14 thermal-sensors = <&pmm8654au_0_temp_alarm>;
31 pmm8654au_1_thermal: pm8775-1-thermal {
32 polling-delay-passive = <100>;
34 thermal-sensors = <&pmm8654au_1_temp_alarm>;
[all …]
H A Dpm8010.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
6 #include <dt-bindings/interrupt-controller/irq.h>
7 #include <dt-bindings/spmi/spmi.h>
10 thermal-zones {
11 pm8010-m-thermal {
12 polling-delay-passive = <100>;
14 thermal-sensors = <&pm8010_m_temp_alarm>;
31 pm8010-n-thermal {
32 polling-delay-passive = <100>;
34 thermal-sensors = <&pm8010_n_temp_alarm>;
[all …]
/freebsd/sys/dev/iicbus/adc/
H A Dad7417.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
52 /* CPU A/B sensors, temp and adc: AD7417. */
121 static MALLOC_DEFINE(M_AD7417, "ad7417", "Supply-Monitor AD7417");
145 return (-1); in ad7417_write()
173 return (-1); in ad7417_read_1()
201 return (-1); in ad7417_read_2()
217 { addr, IIC_M_WR | IIC_M_NOSTOP, 1, &in->reg }, in ad7417_write_read()
231 in->val = *((uint16_t*)buf); in ad7417_write_read()
236 return (-1); in ad7417_write_read()
[all …]
/freebsd/sys/dev/intel/
H A Dpchtherm.c96 PCI_DESCR("CannonLake-LP Thermal Subsystem")},
98 PCI_DESCR("CannonLake-H Thermal Subsystem")},
100 PCI_DESCR("CometLake-LP Thermal Subsystem")},
102 PCI_DESCR("CometLake-H Thermal Subsystem")},
116 device_set_desc(dev, tbl->descr); in pchtherm_probe()
123 struct pchtherm_softc *sc = oidp->oid_arg1; in pchtherm_tltemp_sysctl()
124 int regshift = oidp->oid_arg2; in pchtherm_tltemp_sysctl()
125 int temp; in pchtherm_tltemp_sysctl() local
127 temp = bus_read_4(sc->tbar, PCHTHERM_REG_TL); in pchtherm_tltemp_sysctl()
128 temp >>= regshift; in pchtherm_tltemp_sysctl()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/thermal/
H A Dqcom,spmi-temp-alarm.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/thermal/qcom,spmi-temp-alarm.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Bjorn Andersson <bjorn.andersson@linaro.org>
18 - $ref: thermal-sensor.yaml#
22 const: qcom,spmi-temp-alarm
30 io-channels:
32 - description: ADC channel, which reports chip die temperature
34 io-channel-names:
[all …]
H A Dqcom-spmi-temp-alarm.txt8 - compatible: Should contain "qcom,spmi-temp-alarm".
9 - reg: Specifies the SPMI address.
10 - interrupts: PMIC temperature alarm interrupt.
11 - #thermal-sensor-cells: Should be 0. See Documentation/devicetree/bindings/thermal/thermal-sensor.…
14 - io-channels: Should contain IIO channel specifier for the ADC channel,
16 - io-channel-names: Should contain "thermal".
20 pm8941_temp: thermal-alarm@2400 {
21 compatible = "qcom,spmi-temp-alarm";
24 #thermal-sensor-cells = <0>;
26 io-channels = <&pm8941_vadc VADC_DIE_TEMP>;
[all …]
/freebsd/sys/contrib/device-tree/Bindings/iio/temperature/
H A Dadi,ltc2983.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Analog Devices LTC2983, LTC2986, LTM2985 Multi-sensor Temperature system
10 - Nuno Sá <nuno.sa@analog.com>
13 Analog Devices LTC2983, LTC2984, LTC2986, LTM2985 Multi-Sensor Digital
16 https://www.analog.com/media/en/technical-documentation/data-sheets/2983fc.pdf
17 https://www.analog.com/media/en/technical-documentation/data-sheets/2984fb.pdf
18 https://www.analog.com/media/en/technical-documentation/data-sheets/29861fa.pdf
19 https://www.analog.com/media/en/technical-documentation/data-sheets/ltm2985.pdf
[all …]
/freebsd/sys/contrib/dev/iwlwifi/fw/api/
H A Dphy.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2012-2014, 2019-2022, 2024-2025 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
16 * enum iwl_phy_ops_subcmd_ids - PHY group commands
76 * struct iwl_dts_measurement_cmd - request DTS temp and/or voltage measurements
86 * enum iwl_dts_control_measurement_mode - DTS measurement type
93 * @DTS_OVER_WRITE: over-write the DTS temperatures in the SW until next read
105 * enum iwl_dts_used - DTS to use or used for measurement in the DTS request
121 * enum iwl_dts_bit_mode - bit-mode to use in DTS request read mode
[all …]
/freebsd/sys/arm/allwinner/
H A Daw_thermal.c1 /*-
27 * Allwinner thermal sensor controller
173 a83t_to_temp(uint32_t val, int sensor) in a83t_to_temp() argument
175 return ((A83T_TEMP_BASE - (val * A83T_TEMP_MUL)) / A83T_TEMP_DIV); in a83t_to_temp()
205 a64_to_temp(uint32_t val, int sensor) in a64_to_temp() argument
207 return ((A64_TEMP_BASE - (val * A64_TEMP_MUL)) / A64_TEMP_DIV); in a64_to_temp()
237 h3_to_temp(uint32_t val, int sensor) in h3_to_temp() argument
239 return (H3_TEMP_BASE - ((val * H3_TEMP_MUL) / H3_TEMP_DIV)); in h3_to_temp()
243 h3_to_reg(int val, int sensor) in h3_to_reg() argument
245 return ((H3_TEMP_MINUS - (val * H3_TEMP_DIV)) / H3_TEMP_MUL); in h3_to_reg()
[all …]
/freebsd/sys/arm/mv/
H A Dmv_thermal.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
49 #define CONTROL0 0 /* Offset in config->regs[] array */
61 #define CONTROL1 1 /* Offset in config->regs[] array */
66 #define STATUS 2 /* Offset in config->regs[] array */
99 .calib_add = -150000,
116 {"marvell,armada-ap806-thermal", (uintptr_t) &mv_ap806_config},
117 {"marvell,armada-cp110-thermal", (uintptr_t) &mv_cp110_config},
122 SYSCON_READ_4((sc)->syscon, sc->config->regs[reg])
124 SYSCON_WRITE_4((sc)->syscon, sc->config->regs[reg], (val))
[all …]

123456789