Home
last modified time | relevance | path

Searched refs:sensor (Results 1 – 25 of 466) sorted by relevance

12345678910>>...19

/freebsd-13.1/sys/powerpc/powermac/
H A Dpowermac_thermal.c113 temp = sensor->sensor->read(sensor->sensor); in pmac_therm_manage_fans()
117 if (sensor->last_val > sensor->sensor->max_temp) { in pmac_therm_manage_fans()
122 sensor->sensor->name, in pmac_therm_manage_fans()
125 (sensor->sensor->max_temp - ZERO_C_TO_K) / 10, in pmac_therm_manage_fans()
126 (sensor->sensor->max_temp - ZERO_C_TO_K) % 10, in pmac_therm_manage_fans()
132 sensor->sensor->name, in pmac_therm_manage_fans()
148 sensor->sensor->max_temp); in pmac_therm_manage_fans()
150 sensor->sensor->target_temp)*100 / in pmac_therm_manage_fans()
151 (sensor->sensor->max_temp - temp + 1); in pmac_therm_manage_fans()
154 if (sensor->sensor->zone == fan->fan->zone) { in pmac_therm_manage_fans()
[all …]
/freebsd-13.1/usr.sbin/bsnmpd/modules/snmp_lm75/
H A Dsnmp_lm75.c133 free(sensor); in free_sensors()
201 len = sizeof(sensor->desc); in update_sensor()
207 len = sizeof(sensor->pnpinfo); in update_sensor()
210 len = sizeof(sensor->parent); in update_sensor()
230 sensor = calloc(1, sizeof(*sensor)); in add_sensor()
231 if (sensor == NULL) { in add_sensor()
233 sizeof(*sensor)); in add_sensor()
237 sensor->sysctlidx = idx; in add_sensor()
241 update_sensor(sensor, idx); in add_sensor()
383 if (sensor == NULL) in op_lm75SensorTable()
[all …]
/freebsd-13.1/sys/contrib/device-tree/Bindings/hwmon/
H A Dibmpowernv.txt6 "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 Dbaikal,bt1-pvt.yaml15 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 Dlm90.txt37 - #thermal-sensor-cells: should be set to 1. See thermal/thermal-sensor.yaml
39 definition of the local, remote and 2nd remote sensor index
44 temp-sensor {
50 #thermal-sensor-cells = <1>;
/freebsd-13.1/sys/contrib/device-tree/Bindings/thermal/
H A Dthermal-sensor.yaml5 $id: http://devicetree.org/schemas/thermal/thermal-sensor.yaml#
8 title: Thermal sensor binding
14 Thermal management is achieved in devicetree by describing the sensor hardware
25 This binding describes the thermal-sensor.
27 Thermal sensor devices provide temperature sensing capabilities on thermal
32 "#thermal-sensor-cells":
35 0 on sensor nodes with only a single sensor and at least 1 on nodes
50 tsens0: thermal-sensor@c263000 {
58 #thermal-sensor-cells = <1>;
61 tsens1: thermal-sensor@c265000 {
[all …]
H A Dthermal-generic-adc.txt1 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 Dallwinner,sun8i-a83t-ths.yaml53 # See Documentation/devicetree/bindings/thermal/thermal-sensor.yaml for details
54 "#thermal-sensor-cells":
90 "#thermal-sensor-cells":
95 "#thermal-sensor-cells":
119 - '#thermal-sensor-cells'
125 thermal-sensor@1f04000 {
131 #thermal-sensor-cells = <1>;
135 thermal-sensor@1c25000 {
144 #thermal-sensor-cells = <0>;
148 thermal-sensor@5070400 {
[all …]
H A Dsprd-thermal.yaml7 title: Spreadtrum thermal sensor controller bindings
38 "#thermal-sensor-cells":
48 "^([a-z]*-)?sensor(-section)?@[0-9]+$":
51 Represent one thermal sensor.
55 description: Specify the sensor id.
78 - "#thermal-sensor-cells"
89 #thermal-sensor-cells = <1>;
95 prometheus-sensor@0 {
101 ank-sensor@1 {
H A Dnvidia,tegra186-bpmp-thermal.txt1 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 Dthermal.txt25 * 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 Dimx8mm-thermal.yaml16 for i.MX8MM which has ONLY 1 sensor, v2 is for i.MX8MP which has
31 "#thermal-sensor-cells":
34 sensors, 0 for ONLY one sensor and 1 for multiple sensors.
43 - '#thermal-sensor-cells'
51 thermal-sensor@30260000 {
55 #thermal-sensor-cells = <0>;
H A Dhisilicon-thermal.txt6 - 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>;
H A Dtango-thermal.txt3 The SMP8758 SoC includes 3 instances of this temperature sensor
7 - #thermal-sensor-cells: Should be 0 (see Documentation/devicetree/bindings/thermal/thermal-sensor.…
14 #thermal-sensor-cells = <0>;
/freebsd-13.1/sys/dev/acpi_support/
H A Datk0110.c206 sensor->h += sensor->l; in aibs_add_sensor()
207 sensor->t = AIBS_SENS_TYPE(sensor->i); in aibs_add_sensor()
209 switch (sensor->t) { in aibs_add_sensor()
216 sensor->t); in aibs_add_sensor()
232 (uintmax_t)sensor->i, descr, (intmax_t)sensor->l, in aibs_sensor_added()
315 sensor->t); in aibs_attach_ggrp()
482 l = sensor->l; in aibs_sysctl()
483 h = sensor->h; in aibs_sysctl()
535 cmd[0] = sensor->i; in aibs_sysctl_ggrp()
566 l = sensor->l; in aibs_sysctl_ggrp()
[all …]
/freebsd-13.1/sys/arm/allwinner/
H A Daw_thermal.c210 a64_to_temp(uint32_t val, int sensor) in a64_to_temp() argument
242 h3_to_temp(uint32_t val, int sensor) in h3_to_temp() argument
248 h3_to_reg(int val, int sensor) in h3_to_reg() argument
274 h5_to_temp(uint32_t val, int sensor) in h5_to_temp() argument
285 if (sensor == 0) in h5_to_temp()
287 else if (sensor == 1) in h5_to_temp()
299 h5_to_reg(int val, int sensor) in h5_to_reg() argument
307 if (sensor == 0) { in h5_to_reg()
310 } else if (sensor == 1) { in h5_to_reg()
501 int sensor, val; in aw_thermal_sysctl() local
[all …]
/freebsd-13.1/sys/arm/nvidia/
H A Dtegra_soctherm.c474 val = tegra_fuse_read_4(sensor->calib_fuse); in tsensor_calibration()
500 sensor->fuse_corr_beta, 1000000); in tsensor_calibration()
501 sensor->therm_a = (int16_t)temp_a; in tsensor_calibration()
502 sensor->therm_b = (int16_t)temp_b; in tsensor_calibration()
509 (uint16_t)sensor->therm_a, sensor->therm_a, in tsensor_calibration()
510 (uint16_t)sensor->therm_b, sensor->therm_b); in tsensor_calibration()
521 tsensor_calibration(sc, sensor); in soctherm_init_tsensor()
547 " sts:0x%08X, 0x%08X, 0x%08X\n", sensor->name, in soctherm_init_tsensor()
553 RD4(sc, sensor->sensor_base + TSENSOR_STATUS2) in soctherm_init_tsensor()
591 " sts:0x%08X, 0x%08X, 0x%08X\n", sensor->name, in soctherm_read_temp()
[all …]
/freebsd-13.1/sys/contrib/device-tree/Bindings/powerpc/opal/
H A Dsensor-groups.txt4 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-13.1/sys/contrib/device-tree/Bindings/media/i2c/
H A Dmt9v032.txt3 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 Dnokia,smia.txt1 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 Dtoshiba,et8ek8.txt1 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
/freebsd-13.1/sys/contrib/device-tree/Bindings/iio/temperature/
H A Dadi,ltc2983.yaml67 adi,sensor-type:
73 - adi,sensor-type
82 adi,sensor-type:
102 adi,sensor-oc-current-microamp:
136 adi,sensor-type:
184 adi,sensor-type:
264 adi,sensor-type:
347 adi,sensor-type:
367 adi,sensor-type:
413 adi,sensor-type = <28>;
[all …]
/freebsd-13.1/sys/dev/amdtemp/
H A Damdtemp.c574 amdsensor_t sensor; in amdtemp_intrhook() local
593 sensor = sc->sc_ntemps > 1 ? in amdtemp_intrhook()
599 dev, sensor, amdtemp_sysctl, "IK", in amdtemp_intrhook()
628 amdsensor_t sensor = (amdsensor_t)arg2; in amdtemp_sysctl() local
632 switch (sensor) { in amdtemp_sysctl()
644 temp = sc->sc_gettemp(dev, sensor); in amdtemp_sysctl()
655 amdtemp_gettemp0f(device_t dev, amdsensor_t sensor) in amdtemp_gettemp0f() argument
665 switch (sensor) { in amdtemp_gettemp0f()
741 amdtemp_gettemp(device_t dev, amdsensor_t sensor) in amdtemp_gettemp() argument
769 switch (sensor) { in amdtemp_gettemp17h()
[all …]
/freebsd-13.1/sys/arm/mv/
H A Dmv_thermal.c160 mv_thermal_select_sensor(struct mv_thermal_softc *sc, int sensor) in mv_thermal_select_sensor() argument
164 if (sc->cur_sensor == sensor) in mv_thermal_select_sensor()
180 if (sensor) { in mv_thermal_select_sensor()
184 reg |= (sensor - 1) << CONTROL0_CHANNEL_SHIFT; in mv_thermal_select_sensor()
187 sc->cur_sensor = sensor; in mv_thermal_select_sensor()
198 mv_thermal_read_sensor(struct mv_thermal_softc *sc, int sensor, int *temp) in mv_thermal_read_sensor() argument
203 rv = mv_thermal_select_sensor(sc, sensor); in mv_thermal_read_sensor()
264 int sensor = arg2; in mv_thermal_sysctl() local
270 if (mv_thermal_read_sensor(sc, sensor, &val) == 0) { in mv_thermal_sysctl()
/freebsd-13.1/sys/dev/sfxge/common/
H A Dmcdi_mon.c60 uint16_t sensor; in mcdi_mon_decode_stats() local
90 for (sensor = 0; sensor < sensor_max; ++sensor) { in mcdi_mon_decode_stats()
96 if ((sensor % (MC_CMD_SENSOR_PAGE0_NEXT + 1)) == in mcdi_mon_decode_stats()
103 if (~(sensor_mask[page]) & (1U << sensor)) in mcdi_mon_decode_stats()
113 decode_ok = efx_mon_mcdi_to_efx_stat(sensor, &id); in mcdi_mon_decode_stats()
167 uint16_t sensor; in mcdi_mon_ev() local
176 sensor = (uint16_t)MCDI_EV_FIELD(eqp, SENSOREVT_MONITOR); in mcdi_mon_ev()
181 EFSYS_ASSERT3U(sensor, <, in mcdi_mon_ev()
183 EFSYS_ASSERT((sensor % (MC_CMD_SENSOR_PAGE0_NEXT + 1)) != in mcdi_mon_ev()
187 sensor / (MC_CMD_SENSOR_PAGE0_NEXT + 1)] & in mcdi_mon_ev()
[all …]

12345678910>>...19