| /freebsd-14.2/sys/powerpc/powermac/ |
| H A D | powermac_thermal.c | 111 temp = sensor->sensor->read(sensor->sensor); in pmac_therm_manage_fans() 115 if (sensor->last_val > sensor->sensor->max_temp) { in pmac_therm_manage_fans() 120 sensor->sensor->name, in pmac_therm_manage_fans() 123 (sensor->sensor->max_temp - ZERO_C_TO_K) / 10, in pmac_therm_manage_fans() 124 (sensor->sensor->max_temp - ZERO_C_TO_K) % 10, in pmac_therm_manage_fans() 130 sensor->sensor->name, in pmac_therm_manage_fans() 146 sensor->sensor->max_temp); in pmac_therm_manage_fans() 148 sensor->sensor->target_temp)*100 / in pmac_therm_manage_fans() 149 (sensor->sensor->max_temp - temp + 1); in pmac_therm_manage_fans() 152 if (sensor->sensor->zone == fan->fan->zone) { in pmac_therm_manage_fans() [all …]
|
| /freebsd-14.2/usr.sbin/bsnmpd/modules/snmp_lm75/ |
| H A D | snmp_lm75.c | 131 free(sensor); in free_sensors() 199 len = sizeof(sensor->desc); in update_sensor() 205 len = sizeof(sensor->pnpinfo); in update_sensor() 208 len = sizeof(sensor->parent); in update_sensor() 228 sensor = calloc(1, sizeof(*sensor)); in add_sensor() 229 if (sensor == NULL) { in add_sensor() 231 sizeof(*sensor)); in add_sensor() 235 sensor->sysctlidx = idx; in add_sensor() 239 update_sensor(sensor, idx); in add_sensor() 381 if (sensor == NULL) in op_lm75SensorTable() [all …]
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/hwmon/ |
| H A D | ibmpowernv.txt | 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 16 sensor-id = <0x7052107>; 17 compatible = "ibm,opal-sensor-cooling-fan"; 21 sensor-id = <0x5096000>; 22 compatible = "ibm,opal-sensor-amb-temp";
|
| H A D | baikal,bt1-pvt.yaml | 15 sensor to monitor an internal SoC environment (chip temperature, supply 18 is based on the Analog Bits PVT sensor, but is equipped with a dedicated 20 sensor core functionality (APB3-bus based) and exposes an additional 27 | Temperature sensor |-+ +------| Sensors control | 29 | Voltage sensor |-|<--Mode--| +--->| Sampled data | 31 | Low-Vt sensor |-| | +--| Thresholds comparator | 33 | High-Vt sensor |-| | +->| Interrupts status | 35 | Standard-Vt sensor |-+ +---+--| Interrupts mask | 68 "#thermal-sensor-cells": 69 description: Baikal-T1 can be referenced as the CPU thermal-sensor [all …]
|
| H A D | nuvoton,nct7802.yaml | 51 sensor-type: 67 # For channels RTD1, RTD2 and RTD3, require sensor-type to be set. 80 - sensor-type 84 - sensor-type 86 # For channels RTD1 and RTD2 and if sensor-type is "temperature", require 88 # sensor-type settings), do not allow temperature-mode to be set 96 sensor-type: 131 sensor-type = "voltage"; 136 sensor-type = "temperature"; 142 sensor-type = "temperature";
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/thermal/ |
| H A D | thermal-sensor.yaml | 5 $id: http://devicetree.org/schemas/thermal/thermal-sensor.yaml# 8 title: Thermal sensor 14 Thermal management is achieved in devicetree by describing the sensor hardware 25 This binding describes the thermal-sensor. 32 "#thermal-sensor-cells": 35 0 on sensor nodes with only a single sensor and at least 1 on nodes 40 - "#thermal-sensor-cells" 55 tsens0: thermal-sensor@c263000 { 63 #thermal-sensor-cells = <1>; 66 tsens1: thermal-sensor@c265000 { [all …]
|
| H A D | generic-adc-thermal.yaml | 7 title: General Purpose Analog To Digital Converter (ADC) based thermal sensor 13 On some of platforms, thermal sensor like thermistors are connected to 14 one of ADC channel and sensor resistance is read via voltage across the 15 sensor resistor. The voltage read across the sensor is mapped to 22 '#thermal-sensor-cells': 29 const: sensor-channel 47 - '#thermal-sensor-cells' 57 thermal-sensor { 59 #thermal-sensor-cells = <0>; 61 io-channel-names = "sensor-channel";
|
| H A D | thermal-generic-adc.txt | 1 General Purpose Analog To Digital Converter (ADC) based thermal sensor. 3 On some of platforms, thermal sensor like thermistors are connected to 4 one of ADC channel and sensor resistance is read via voltage across the 5 sensor resistor. The voltage read across the sensor is mapped to 11 - #thermal-sensor-cells: Should be 1. See Documentation/devicetree/bindings/thermal/thermal-sen… 40 tboard_thermistor: thermal-sensor { 42 #thermal-sensor-cells = <0>; 44 io-channel-names = "sensor-channel";
|
| H A D | allwinner,sun8i-a83t-ths.yaml | 52 # See Documentation/devicetree/bindings/thermal/thermal-sensor.yaml for details 53 "#thermal-sensor-cells": 91 "#thermal-sensor-cells": 96 "#thermal-sensor-cells": 121 - '#thermal-sensor-cells' 127 thermal-sensor@1f04000 { 133 #thermal-sensor-cells = <1>; 137 thermal-sensor@1c25000 { 146 #thermal-sensor-cells = <0>; 150 thermal-sensor@5070400 { [all …]
|
| H A D | sprd-thermal.yaml | 7 title: Spreadtrum thermal sensor controller 38 "#thermal-sensor-cells": 48 "^([a-z]*-)?sensor(-section)?@[0-9]+$": 51 Represent one thermal sensor. 55 description: Specify the sensor id. 80 - "#thermal-sensor-cells" 93 #thermal-sensor-cells = <1>; 99 prometheus-sensor@0 { 105 ank-sensor@1 {
|
| H A D | nvidia,tegra186-bpmp-thermal.txt | 1 NVIDIA Tegra186 BPMP thermal sensor 5 and GPU temperatures. This binding describes the thermal sensor that is 11 This node represents a thermal sensor. See Documentation/devicetree/bindings/thermal/thermal-sensor… 20 - #thermal-sensor-cells: Cell for sensor index. 31 #thermal-sensor-cells = <1>;
|
| H A D | thermal.txt | 25 * Thermal sensor devices 33 - #thermal-sensor-cells: Used to provide sensor device specific information 137 - thermal-sensors: A list of thermal sensor phandles and sensor specifier 139 phandles + sensor 325 /* sensor ID */ 352 /* sensor ID */ 379 /* sensor ID */ 411 #thermal-sensor-cells property and using the first cell of the sensor 431 adc: sensor@49 { 500 adc_dummy: sensor@50 { [all …]
|
| H A D | nvidia,tegra186-bpmp-thermal.yaml | 7 title: NVIDIA Tegra186 (and later) BPMP thermal sensor 17 sensor that is exposed by BPMP. 23 This node represents a thermal sensor. See 25 Documentation/devicetree/bindings/thermal/thermal-sensor.yaml 35 '#thermal-sensor-cells': 38 identify a given sensor. Must be 1 and the single cell specifies 39 the sensor index.
|
| H A D | imx8mm-thermal.yaml | 16 for i.MX8MM which has ONLY 1 sensor, v2 is for i.MX8MP which has 42 "#thermal-sensor-cells": 45 sensors, 0 for ONLY one sensor and 1 for multiple sensors. 54 - '#thermal-sensor-cells' 62 thermal-sensor@30260000 { 66 #thermal-sensor-cells = <0>;
|
| H A D | fsl,scu-thermal.yaml | 16 - $ref: thermal-sensor.yaml# 24 '#thermal-sensor-cells': 29 - '#thermal-sensor-cells' 35 thermal-sensor { 37 #thermal-sensor-cells = <1>;
|
| H A D | hisilicon-thermal.txt | 6 - reg: physical base address of thermal sensor and length of memory mapped 12 - #thermal-sensor-cells: Should be 1. See Documentation/devicetree/bindings/thermal/thermal-sensor.… 23 #thermal-sensor-cells = <1>; 31 #thermal-sensor-cells = <1>;
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/iio/temperature/ |
| H A D | adi,ltc2983.yaml | 22 sensor-node: 34 adi,sensor-type: 40 - adi,sensor-type 96 adi,sensor-type: 141 adi,sensor-type: 154 adi,sensor-type: 202 adi,sensor-type: 297 adi,sensor-type: 399 adi,sensor-type: 414 adi,sensor-type: [all …]
|
| /freebsd-14.2/sys/dev/acpi_support/ |
| H A D | atk0110.c | 202 sensor->h += sensor->l; in aibs_add_sensor() 203 sensor->t = AIBS_SENS_TYPE(sensor->i); in aibs_add_sensor() 205 switch (sensor->t) { in aibs_add_sensor() 212 sensor->t); in aibs_add_sensor() 228 (uintmax_t)sensor->i, descr, (intmax_t)sensor->l, in aibs_sensor_added() 311 sensor->t); in aibs_attach_ggrp() 478 l = sensor->l; in aibs_sysctl() 479 h = sensor->h; in aibs_sysctl() 531 cmd[0] = sensor->i; in aibs_sysctl_ggrp() 562 l = sensor->l; in aibs_sysctl_ggrp() [all …]
|
| /freebsd-14.2/sys/arm/allwinner/ |
| H A D | aw_thermal.c | 206 a64_to_temp(uint32_t val, int sensor) in a64_to_temp() argument 238 h3_to_temp(uint32_t val, int sensor) in h3_to_temp() argument 244 h3_to_reg(int val, int sensor) in h3_to_reg() argument 270 h5_to_temp(uint32_t val, int sensor) in h5_to_temp() argument 281 if (sensor == 0) in h5_to_temp() 283 else if (sensor == 1) in h5_to_temp() 295 h5_to_reg(int val, int sensor) in h5_to_reg() argument 303 if (sensor == 0) { in h5_to_reg() 306 } else if (sensor == 1) { in h5_to_reg() 497 int sensor, val; in aw_thermal_sysctl() local [all …]
|
| /freebsd-14.2/sys/arm/nvidia/ |
| H A D | tegra_soctherm.c | 472 val = tegra_fuse_read_4(sensor->calib_fuse); in tsensor_calibration() 498 sensor->fuse_corr_beta, 1000000); in tsensor_calibration() 499 sensor->therm_a = (int16_t)temp_a; in tsensor_calibration() 500 sensor->therm_b = (int16_t)temp_b; in tsensor_calibration() 507 (uint16_t)sensor->therm_a, sensor->therm_a, in tsensor_calibration() 508 (uint16_t)sensor->therm_b, sensor->therm_b); in tsensor_calibration() 519 tsensor_calibration(sc, sensor); in soctherm_init_tsensor() 545 " sts:0x%08X, 0x%08X, 0x%08X\n", sensor->name, in soctherm_init_tsensor() 551 RD4(sc, sensor->sensor_base + TSENSOR_STATUS2) in soctherm_init_tsensor() 589 " sts:0x%08X, 0x%08X, 0x%08X\n", sensor->name, in soctherm_read_temp() [all …]
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/powerpc/opal/ |
| H A D | sensor-groups.txt | 4 Node: /ibm,opal/sensor-groups 6 Description: Contains sensor groups available in the Powernv P9 7 servers. Each child node indicates a sensor group. 9 - compatible : Should be "ibm,opal-sensor-group" 13 - type : String to indicate the type of sensor-group 15 - sensor-group-id: Abstract unique identifier provided by firmware of 16 type <u32> which is used for sensor-group 22 - sensors : Phandle array of child nodes of /ibm,opal/sensor/ 26 sensor groups like clearing min/max, enabling/disabling sensor
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/media/i2c/ |
| H A D | mt9v032.txt | 3 The Aptina MT9V032 is a 1/3-inch CMOS active pixel digital image sensor with 10 (a) "aptina,mt9v022" for MT9V022 color sensor 11 (b) "aptina,mt9v022m" for MT9V022 monochrome sensor 12 (c) "aptina,mt9v024" for MT9V024 color sensor 13 (d) "aptina,mt9v024m" for MT9V024 monochrome sensor 14 (e) "aptina,mt9v032" for MT9V032 color sensor 15 (f) "aptina,mt9v032m" for MT9V032 monochrome sensor 16 (g) "aptina,mt9v034" for MT9V034 color sensor 17 (h) "aptina,mt9v034m" for MT9V034 monochrome sensor
|
| H A D | nokia,smia.txt | 1 SMIA/SMIA++ sensor 3 SMIA (Standard Mobile Imaging Architecture) is an image sensor standard 19 - vana-supply: Analogue voltage supply (VANA), typically 2,8 volts (sensor 21 - clocks: External clock to the sensor 22 - clock-frequency: Frequency of the external clock to the sensor 33 - rotation: Integer property; valid values are 0 (sensor mounted upright) 34 and 180 (sensor mounted upside down). See 50 camera-sensor@10 {
|
| H A D | mipi-ccs.yaml | 15 CCS (Camera Command Set) is a raw Bayer camera sensor standard defined by the 19 SMIA (Standard Mobile Imaging Architecture) is an image sensor standard 41 description: Analogue voltage supply (VANA), sensor dependent. 44 description: Core voltage supply (VCore), sensor dependent. 47 description: I/O voltage supply (VIO), sensor dependent. 50 description: External clock to the sensor. 54 description: Frequency of the external clock to the sensor in Hz. 69 description: Rotation of the sensor. See ../video-interfaces.txt for 115 camera-sensor@10 {
|
| H A D | toshiba,et8ek8.txt | 1 Toshiba et8ek8 5MP sensor 3 Toshiba et8ek8 5MP sensor is an image sensor found in Nokia N900 device 15 - clocks: External clock to the sensor 16 - clock-frequency: Frequency of the external clock to the sensor. Camera 19 - reset-gpios: XSHUTDOWN GPIO. The XSHUTDOWN signal is active low. The sensor
|