Home
last modified time | relevance | path

Searched full:sensors (Results 1 – 25 of 759) sorted by relevance

12345678910>>...31

/Linux-v5.10/drivers/thermal/intel/
Dintel_soc_dts_iosf.c80 struct intel_soc_dts_sensors *sensors; in sys_get_trip_temp() local
83 sensors = dts->sensors; in sys_get_trip_temp()
84 mutex_lock(&sensors->dts_update_lock); in sys_get_trip_temp()
87 mutex_unlock(&sensors->dts_update_lock); in sys_get_trip_temp()
95 *temp = sensors->tj_max - out * 1000; in sys_get_trip_temp()
113 struct intel_soc_dts_sensors *sensors = dts->sensors; in update_trip_temp() local
115 if (sensors->intr_type == INTEL_SOC_DTS_INTERRUPT_MSI) in update_trip_temp()
118 temp_out = (sensors->tj_max - temp) / 1000; in update_trip_temp()
197 struct intel_soc_dts_sensors *sensors = dts->sensors; in sys_set_trip_temp() local
200 if (temp > sensors->tj_max) in sys_set_trip_temp()
[all …]
/Linux-v5.10/drivers/hwmon/occ/
Dcommon.c230 struct occ_sensors *sensors = &occ->sensors; in occ_show_temp_1() local
237 temp = ((struct temp_sensor_1 *)sensors->temp.data) + sattr->index; in occ_show_temp_1()
266 struct occ_sensors *sensors = &occ->sensors; in occ_show_temp_2() local
273 temp = ((struct temp_sensor_2 *)sensors->temp.data) + sattr->index; in occ_show_temp_2()
317 struct occ_sensors *sensors = &occ->sensors; in occ_show_freq_1() local
324 freq = ((struct freq_sensor_1 *)sensors->freq.data) + sattr->index; in occ_show_freq_1()
347 struct occ_sensors *sensors = &occ->sensors; in occ_show_freq_2() local
354 freq = ((struct freq_sensor_2 *)sensors->freq.data) + sattr->index; in occ_show_freq_2()
377 struct occ_sensors *sensors = &occ->sensors; in occ_show_power_1() local
384 power = ((struct power_sensor_1 *)sensors->power.data) + sattr->index; in occ_show_power_1()
[all …]
/Linux-v5.10/drivers/hwmon/
Dibmpex.c3 * A hwmon driver for the IBM PowerExecutive temperature/power sensors
90 struct ibmpex_sensor_data *sensors; member
228 if (!data->sensors[i].in_use) in ibmpex_update_device()
233 data->sensors[i].values[0] = in ibmpex_update_device()
235 data->sensors[i].values[1] = in ibmpex_update_device()
237 data->sensors[i].values[2] = in ibmpex_update_device()
272 int mult = data->sensors[attr->index].multiplier; in ibmpex_show_sensor()
276 data->sensors[attr->index].values[attr->nr] * mult); in ibmpex_show_sensor()
344 sysfs_attr_init(&data->sensors[sensor].attr[func].dev_attr.attr); in create_sensor()
345 data->sensors[sensor].attr[func].dev_attr.attr.name = n; in create_sensor()
[all …]
Dibmaem.c4 * temperature/power/energy sensors and capping functionality.
138 /* Function and buffer to update sensors */
143 * AEM 1.x sensors:
144 * Available sensors:
148 * AEM 2.x sensors:
151 * Two temperature sensors
156 struct sensor_device_attribute sensors[AEM_NUM_SENSORS]; member
210 /* These are used to query sensors */
441 /* Update all AEM1 sensors */
454 /* Update all AEM2 sensors */
[all …]
Dibmpowernv.c3 * IBM PowerNV platform sensors for temperature/fan/voltage/power
33 * Enumerates all the types of sensors in the POWERNV platform and does index
36 enum sensors { enum
50 * PowerNV firmware (skiboot). These are ordered as 'enum sensors'.
77 enum sensors type;
93 u32 sensors_count; /* Total count of sensors from each group */
199 * The digital thermal sensors are associated in make_sensor_label()
248 static const char *convert_opal_attr_name(enum sensors type, in convert_opal_attr_name()
274 enum sensors type, u32 *index) in parse_opal_node_name()
293 enum sensors type; in get_sensor_type()
[all …]
DKconfig13 can include temperature sensors, voltage sensors, fan speed
14 sensors and various additional features such as the ability to
17 sensors chip(s) below.
20 sensors-detect script from the lm_sensors package. Read
49 used to access sensors outside the AB8500 chip.
74 third revision of the Abit uGuru chip. Only reading the sensors
88 AD7314, ADT7301 and ADT7302 temperature sensors.
263 If you say yes here you get support for the PVT sensors of
275 family of SMBus sensors chip found on most Intel X38, X48, X58,
299 lm-sensors 2.10.1 for proper userspace support.
[all …]
/Linux-v5.10/drivers/iio/chemical/
DKconfig3 # Chemical sensors
6 menu "Chemical Sensors"
9 tristate "Atlas Scientific OEM SM sensors"
17 Atlas Scientific OEM SM sensors:
26 tristate "Atlas Scientific EZO sensors"
30 Atlas Scientific EZO sensors
69 tristate "AMS iAQ-Core VOC sensors"
74 sensors
122 tristate "Sensirion SGPxx gas sensors"
127 Sensirion SGP gas sensors:
[all …]
/Linux-v5.10/Documentation/hwmon/
Dibmpowernv.rst13 This driver implements reading the platform sensors data like temperature/fan/
21 All the nodes in the DT appear under "/ibm,opal/sensors" and each valid node in
43 tempX_enable Enable/disable all temperature sensors belonging to the
46 disable/enable all of its temperature sensors.
56 inX_enable Enable/disable all voltage sensors belonging to the
59 disable/enable all of its voltage sensors.
67 powerX_enable Enable/disable all power sensors belonging to the
70 disable/enable all of its power sensors.
78 currX_enable Enable/disable all current sensors belonging to the
81 disable/enable all of its current sensors.
Duserspace-tools.rst15 Lm-sensors
20 http://www.lm-sensors.org/ or as a package from your Linux distribution.
23 Get lm-sensors from project web site. Please note, you need only userspace
28 0) get lm-sensors userspace utils
31 2) run sensors-detect script, it will tell you what modules you need to load.
32 3) load them and run "sensors" command, you should see some results.
33 4) fix sensors.conf, labels, limits, fan divisors
Dabituguru-datasheet.rst24 Note: because of the lack of specs only the sensors part of the uGuru is
60 level we will call banks. A bank holds data for one or more sensors. The data
67 See below for all known bank addresses, numbers of sensors in that bank,
168 This bank contains 0 sensors, iow the sensor address is ignored (but must be
186 This bank contains 16 sensors, for each sensor it contains 1 byte.
187 So far the following sensors are known to be available on all motherboards:
197 This byte holds the reading from the sensor. Sensors in Bank1 can be both
198 volt and temp sensors, this is motherboard specific. The uGuru however does
202 Volt sensors use a linear scale, a reading 0 corresponds with 0 volt and a
203 reading of 255 with 3494 mV. The sensors for higher voltages however are
[all …]
Dlm83.rst64 Most motherboards come with more than just temperature sensors for
66 sensors. This means that temperature-only chips are usually used as
69 temperature sensors (motherboard, processor, power supply) and primary
70 chips provide some temperature sensors, the secondary chip, if needed,
81 CPU. The two other sensors must be used to measure the temperature of
92 all four sensors. There is no hysteresis mechanism as found on most
93 recent temperature sensors.
Dw83l786ng.rst32 The driver implements two temperature sensors, two fan rotation speed
33 sensors, and three voltage sensors.
42 Voltage sensors (also known as IN sensors) report their values in millivolts.
/Linux-v5.10/Documentation/driver-api/iio/
Dintro.rst12 sensors used to monitor and control the system itself, like fan speed control
25 * color and light sensors
27 * pressure sensors
28 * proximity sensors
29 * temperature sensors
31 Usually these sensors are connected via :doc:`SPI <../spi>` or
32 :doc:`I2C <../i2c>`. A common use case of the sensors devices is to have
/Linux-v5.10/Documentation/devicetree/bindings/thermal/
Dbrcm,sr-thermal.txt3 This binding describes thermal sensors that is part of Stingray SoCs.
12 - thermal-sensors: A list of thermal sensor phandles and specifier.
36 thermal-sensors = <&tmon 0>;
48 thermal-sensors = <&tmon 1>;
60 thermal-sensors = <&tmon 2>;
72 thermal-sensors = <&tmon 3>;
84 thermal-sensors = <&tmon 4>;
96 thermal-sensors = <&tmon 5>;
Dqcom-tsens.yaml78 "#qcom,sensors":
80 Number of sensors enabled on this platform
88 Number of cells required to uniquely identify the thermal sensors. Since
89 we have multiple sensors this is set to 1
120 - "#qcom,sensors"
142 #qcom,sensors = <5>;
160 #qcom,sensors = <10>;
176 #qcom,sensors = <13>;
/Linux-v5.10/drivers/iio/proximity/
DKconfig3 # Proximity sensors
6 menu "Lightning sensors"
22 menu "Proximity and distance sensors"
50 tristate "MaxSonar I2CXL family ultrasonic sensors"
53 Say Y to build a driver for the ultrasonic sensors I2CXL of
62 tristate "Parallax GPIO bitbanged ranger sensors"
65 Say Y here to build a driver for GPIO bitbanged ranger sensors
137 ultrasonic ranger sensors with i2c interface.
159 ToF ranger sensors with i2c interface.
/Linux-v5.10/drivers/iio/humidity/
DKconfig5 menu "Humidity sensors"
20 tristate "DHT11 (and compatible sensors) driver"
25 Other sensors should work as well as long as they speak the
36 humidity and temperature sensors.
46 HDC2010 and HDC2080 relative humidity and temperature sensors.
114 tristate "Si7013/20/21 Relative Humidity and Temperature Sensors"
118 Relative Humidity and Temperature Sensors. This driver also
/Linux-v5.10/drivers/thermal/
Dmtk_thermal.c91 /* MT8173 thermal sensors */
98 /* AUXADC channel 11 is used for the temperature sensors */
101 /* The total number of temperature sensors in the MT8173 */
119 * MT8183 has 6 sensors and needs 6 VTS calibration data.
120 * MT8173 has 5 sensors and needs 5 VTS calibration data.
121 * MT2701 has 3 sensors and needs 3 VTS calibration data.
122 * MT2712 has 4 sensors and needs 4 VTS calibration data.
166 /* MT2701 thermal sensors */
171 /* AUXADC channel 11 is used for the temperature sensors */
174 /* The total number of temperature sensors in the MT2701 */
[all …]
Dimx8mm_thermal.c57 struct tmu_sensor sensors[]; member
137 tmu = devm_kzalloc(&pdev->dev, struct_size(tmu, sensors, in imx8mm_tmu_probe()
163 tmu->sensors[i].priv = tmu; in imx8mm_tmu_probe()
164 tmu->sensors[i].tzd = in imx8mm_tmu_probe()
166 &tmu->sensors[i], in imx8mm_tmu_probe()
168 if (IS_ERR(tmu->sensors[i].tzd)) { in imx8mm_tmu_probe()
172 return PTR_ERR(tmu->sensors[i].tzd); in imx8mm_tmu_probe()
174 tmu->sensors[i].hw_id = i; in imx8mm_tmu_probe()
/Linux-v5.10/drivers/iio/common/cros_ec_sensors/
DKconfig3 # Chrome OS Embedded Controller managed sensors library
6 tristate "ChromeOS EC Sensors Core"
11 Base module for the ChromeOS EC Sensors module.
17 tristate "ChromeOS EC Contiguous Sensors"
20 Module to handle 3d contiguous sensors like
/Linux-v5.10/Documentation/devicetree/bindings/iio/pressure/
Dasc,dlhl60d.yaml7 title: All Sensors DLH series low voltage digital pressure sensors
13 Bindings for the All Sensors DLH series pressure sensors.
15 Specifications about the sensors can be found at:
/Linux-v5.10/drivers/iio/pressure/
DKconfig7 menu "Pressure sensors"
14 sensors.
27 pressure and temperature sensors. Also supports the BME280 with
57 tristate "All Sensors DLHL60D and DLHL60G low voltage digital pressure sensors"
62 Say yes here to build support for the All Sensors DLH series
63 pressure sensors driver.
158 MS5611, MS5607 pressure and temperature sensors.
203 sensors: LPS001WP, LPS25H, LPS331AP, LPS22HB, LPS22HH.
/Linux-v5.10/drivers/iio/position/
DKconfig3 # Linear and angular position sensors
7 menu "Linear and angular position sensors"
10 tristate "Azoteq IQS624/625 angular position sensors"
14 and IQS625 angular position sensors.
/Linux-v5.10/drivers/thermal/st/
DKconfig7 tristate "Thermal sensors on STMicroelectronics STi series of SoCs"
9 Support for thermal sensors on STMicroelectronics STi series of SoCs.
13 tristate "STi series syscfg register access based thermal sensors"
17 tristate "STi series memory mapped access based thermal sensors"
/Linux-v5.10/Documentation/hid/
Dhid-sensor.rst2 HID Sensors Framework
9 "Standardization of HID usages for sensors would allow (but not require) sensor
45 This specification defines many different types of sensors with different sets of
47 for different sensors. For example an accelerometer can send X,Y and Z data, whereas
57 report descriptors and identifies all the sensors present. It adds an MFD device
147 the usage id of X axis. HID sensors can provide events, so this is not necessary
154 HID Custom and generic Sensors
161 The purpose of these sensors is to extend the functionality or provide a
166 Some common use cases are debug other sensors or to provide some events like
169 To allow application to utilize these sensors, here they are exported uses sysfs
[all …]

12345678910>>...31