Home
last modified time | relevance | path

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

12345678910>>...43

/linux-6.12.1/drivers/thermal/intel/
Dintel_soc_dts_iosf.c43 static int update_trip_temp(struct intel_soc_dts_sensors *sensors, in update_trip_temp() argument
56 if (sensors->intr_type == INTEL_SOC_DTS_INTERRUPT_MSI) in update_trip_temp()
59 temp_out = (sensors->tj_max - temp) / 1000; in update_trip_temp()
137 struct intel_soc_dts_sensors *sensors = dts->sensors; in sys_set_trip_temp() local
141 if (temp > sensors->tj_max) in sys_set_trip_temp()
144 mutex_lock(&sensors->dts_update_lock); in sys_set_trip_temp()
145 status = update_trip_temp(sensors, trip_index, temp); in sys_set_trip_temp()
146 mutex_unlock(&sensors->dts_update_lock); in sys_set_trip_temp()
157 struct intel_soc_dts_sensors *sensors; in sys_get_curr_temp() local
160 sensors = dts->sensors; in sys_get_curr_temp()
[all …]
/linux-6.12.1/drivers/hwmon/occ/
Dcommon.c236 struct occ_sensors *sensors = &occ->sensors; in occ_show_temp_1() local
243 temp = ((struct temp_sensor_1 *)sensors->temp.data) + sattr->index; in occ_show_temp_1()
272 struct occ_sensors *sensors = &occ->sensors; in occ_show_temp_2() local
279 temp = ((struct temp_sensor_2 *)sensors->temp.data) + sattr->index; in occ_show_temp_2()
323 struct occ_sensors *sensors = &occ->sensors; in occ_show_temp_10() local
330 temp = ((struct temp_sensor_10 *)sensors->temp.data) + sattr->index; in occ_show_temp_10()
370 struct occ_sensors *sensors = &occ->sensors; in occ_show_freq_1() local
377 freq = ((struct freq_sensor_1 *)sensors->freq.data) + sattr->index; in occ_show_freq_1()
400 struct occ_sensors *sensors = &occ->sensors; in occ_show_freq_2() local
407 freq = ((struct freq_sensor_2 *)sensors->freq.data) + sattr->index; in occ_show_freq_2()
[all …]
/linux-6.12.1/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()
267 int mult = data->sensors[attr->index].multiplier; in ibmpex_show_sensor()
271 data->sensors[attr->index].values[attr->nr] * mult); in ibmpex_show_sensor()
339 sysfs_attr_init(&data->sensors[sensor].attr[func].dev_attr.attr); in create_sensor()
340 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 …]
Dasus-ec-sensors.c172 /* All the known sensors for ASUS EC controllers */
289 unsigned long sensors; member
302 .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
311 .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB | SENSOR_TEMP_VRM |
318 .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB | SENSOR_TEMP_VRM |
326 .sensors = SENSOR_TEMP_CPU | SENSOR_TEMP_CPU_PACKAGE |
334 .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
342 .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB | SENSOR_TEMP_VRM |
350 .sensors = SENSOR_TEMP_CPU | SENSOR_TEMP_CPU_PACKAGE |
358 .sensors = SENSOR_TEMP_CPU | SENSOR_TEMP_CPU_PACKAGE |
[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
61 third revision of the Abit uGuru chip. Only reading the sensors
75 current and power sensors of Ampere's Altra processor family SoC
83 AD7314, ADT7301 and ADT7302 temperature sensors.
253 temperature and humidity sensors
263 If you say yes here you get support for sensors and fans of
274 If you say yes here you get support for the PVT sensors of
[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 …]
Dsurface_temp.c20 * Available sensors are indicated by a 16-bit bitfield, where a 1 marks the
21 * presence of a sensor. So we have at most 16 possible sensors/channels.
55 static int ssam_tmp_get_available_sensors(struct ssam_device *sdev, s16 *sensors) in ssam_tmp_get_available_sensors() argument
64 *sensors = le16_to_cpu(sensors_le); in ssam_tmp_get_available_sensors()
113 s16 sensors; member
123 if (!(ssam_temp->sensors & BIT(channel))) in ssam_temp_hwmon_is_visible()
186 s16 sensors; in ssam_temp_probe() local
190 status = ssam_tmp_get_available_sensors(sdev, &sensors); in ssam_temp_probe()
199 ssam_temp->sensors = sensors; in ssam_temp_probe()
203 if (!(sensors & BIT(channel))) in ssam_temp_probe()
/linux-6.12.1/Documentation/hwmon/
Daquacomputer_d5next.rst27 This driver exposes hardware sensors of listed Aquacomputer devices, which
31 virtual temperature sensors, as well as two flow sensors. The fans expose their
35 For the D5 Next pump, available sensors are pump and fan speed, power, voltage
36 and current, as well as coolant temperature and eight virtual temp sensors. Also
40 sensors will report zeroes.
48 The Octo exposes four physical and sixteen virtual temperature sensors, a flow sensor
52 The Quadro exposes four physical and sixteen virtual temperature sensors, a flow
56 The Farbwerk and Farbwerk 360 expose four temperature sensors. Additionally,
57 sixteen virtual temperature sensors of the Farbwerk 360 are exposed.
63 The Leakshield exposes two temperature sensors and coolant pressure (current, min, max and
[all …]
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 …]
/linux-6.12.1/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-6.12.1/drivers/iio/chemical/
DKconfig3 # Chemical sensors
6 menu "Chemical Sensors"
20 tristate "Atlas Scientific OEM SM sensors"
28 Atlas Scientific OEM SM sensors:
37 tristate "Atlas Scientific EZO sensors"
41 Atlas Scientific EZO sensors
102 tristate "AMS iAQ-Core VOC sensors"
107 sensors
168 tristate "Sensirion SGPxx gas sensors"
173 Sensirion SGP gas sensors:
[all …]
/linux-6.12.1/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
34 humidity and temperature sensors.
47 humidity and temperature sensors.
57 HDC2010 and HDC2080 relative humidity and temperature sensors.
69 sensors.
136 tristate "Si7013/20/21 Relative Humidity and Temperature Sensors"
140 Relative Humidity and Temperature Sensors. This driver also
/linux-6.12.1/drivers/iio/proximity/
DKconfig3 # Proximity sensors
6 menu "Lightning sensors"
22 menu "Proximity and distance sensors"
44 SAR sensors. This sensors is used for proximity detection applications.
87 tristate "MaxSonar I2CXL family ultrasonic sensors"
92 Say Y to build a driver for the ultrasonic sensors I2CXL of
101 tristate "Parallax GPIO bitbanged ranger sensors"
104 Say Y here to build a driver for GPIO bitbanged ranger sensors
210 ultrasonic ranger sensors with i2c interface.
232 ToF ranger sensors with i2c interface.
/linux-6.12.1/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>;
/linux-6.12.1/drivers/thermal/mediatek/
Dauxadc_thermal.c93 /* MT8173 thermal sensors */
100 /* AUXADC channel 11 is used for the temperature sensors */
103 /* The total number of temperature sensors in the MT8173 */
125 * MT8183 has 6 sensors and needs 6 VTS calibration data.
126 * MT8173 has 5 sensors and needs 5 VTS calibration data.
127 * MT2701 has 3 sensors and needs 3 VTS calibration data.
128 * MT2712 has 4 sensors and needs 4 VTS calibration data.
187 /* MT2701 thermal sensors */
192 /* AUXADC channel 11 is used for the temperature sensors */
195 /* The total number of temperature sensors in the MT2701 */
[all …]
/linux-6.12.1/drivers/platform/x86/dell/
Ddell-wmi-ddv.c237 struct dell_wmi_ddv_sensors *sensors, size_t entry_size) in dell_wmi_ddv_update_sensors() argument
244 if (sensors->obj) { in dell_wmi_ddv_update_sensors()
245 if (time_before(jiffies, sensors->timestamp + HZ)) in dell_wmi_ddv_update_sensors()
248 kfree(sensors->obj); in dell_wmi_ddv_update_sensors()
249 sensors->obj = NULL; in dell_wmi_ddv_update_sensors()
270 sensors->obj = obj; in dell_wmi_ddv_update_sensors()
271 sensors->entries = entries; in dell_wmi_ddv_update_sensors()
272 sensors->timestamp = jiffies; in dell_wmi_ddv_update_sensors()
521 static void dell_wmi_ddv_hwmon_cache_invalidate(struct dell_wmi_ddv_sensors *sensors) in dell_wmi_ddv_hwmon_cache_invalidate() argument
523 if (!sensors->active) in dell_wmi_ddv_hwmon_cache_invalidate()
[all …]
/linux-6.12.1/drivers/hid/
Dhid-steam.c300 struct input_dev __rcu *sensors; member
842 struct input_dev *sensors; in steam_sensors_register() local
849 sensors = rcu_dereference(steam->sensors); in steam_sensors_register()
851 if (sensors) { in steam_sensors_register()
856 sensors = input_allocate_device(); in steam_sensors_register()
857 if (!sensors) in steam_sensors_register()
860 input_set_drvdata(sensors, steam); in steam_sensors_register()
861 sensors->dev.parent = &hdev->dev; in steam_sensors_register()
863 sensors->name = "Steam Deck Motion Sensors"; in steam_sensors_register()
864 sensors->phys = hdev->phys; in steam_sensors_register()
[all …]
/linux-6.12.1/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-6.12.1/arch/arm64/boot/dts/ti/
Dk3-j784s4-thermal.dtsi11 thermal-sensors = <&wkup_vtm0 0>;
25 thermal-sensors = <&wkup_vtm0 1>;
39 thermal-sensors = <&wkup_vtm0 2>;
53 thermal-sensors = <&wkup_vtm0 3>;
67 thermal-sensors = <&wkup_vtm0 4>;
81 thermal-sensors = <&wkup_vtm0 5>;
95 thermal-sensors = <&wkup_vtm0 6>;
Dk3-j721s2-thermal.dtsi11 thermal-sensors = <&wkup_vtm0 0>;
25 thermal-sensors = <&wkup_vtm0 1>;
39 thermal-sensors = <&wkup_vtm0 2>;
53 thermal-sensors = <&wkup_vtm0 3>;
67 thermal-sensors = <&wkup_vtm0 4>;
81 thermal-sensors = <&wkup_vtm0 5>;
95 thermal-sensors = <&wkup_vtm0 6>;
/linux-6.12.1/Documentation/devicetree/bindings/firmware/
Darm,scpi.yaml83 sensors:
86 This sub-node represents SCPI sensors controller.
91 - const: arm,scpi-sensors
94 - amlogic,meson-gxbb-scpi-sensors
95 - const: arm,scpi-sensors
204 scpi_sensors: sensors {
205 compatible = "arm,scpi-sensors";
243 scpi_sensors1: sensors {
244 compatible = "amlogic,meson-gxbb-scpi-sensors", "arm,scpi-sensors";
/linux-6.12.1/drivers/iio/pressure/
DKconfig7 menu "Pressure sensors"
14 sensors.
41 and BMP580 pressure and temperature sensors. Also supports the BME280 with
71 tristate "All Sensors DLHL60D and DLHL60G low voltage digital pressure sensors"
76 Say yes here to build support for the All Sensors DLH series
77 pressure sensors driver.
190 tristate "Honeywell MPRLS0025PA (MicroPressure sensors series)"
220 MS5611, MS5607 pressure and temperature sensors.
273 sensors: LPS001WP, LPS25H, LPS331AP, LPS22HB, LPS22HH.

12345678910>>...43