| /kernel/linux/linux-6.6/drivers/thermal/intel/ |
| D | intel_soc_dts_iosf.c | 43 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() 138 ret = update_trip_temp(dts->sensors, thres_index, temp); in configure_trip() 152 struct intel_soc_dts_sensors *sensors = dts->sensors; in sys_set_trip_temp() local 155 if (temp > sensors->tj_max) in sys_set_trip_temp() 158 mutex_lock(&sensors->dts_update_lock); in sys_set_trip_temp() 159 status = update_trip_temp(sensors, trip, temp); in sys_set_trip_temp() 160 mutex_unlock(&sensors->dts_update_lock); in sys_set_trip_temp() 171 struct intel_soc_dts_sensors *sensors; in sys_get_curr_temp() local [all …]
|
| /kernel/linux/linux-5.10/drivers/thermal/intel/ |
| D | intel_soc_dts_iosf.c | 80 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 …]
|
| /kernel/linux/linux-6.6/drivers/hwmon/occ/ |
| D | common.c | 236 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 …]
|
| /kernel/linux/linux-5.10/drivers/hwmon/occ/ |
| D | common.c | 230 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 …]
|
| /kernel/linux/linux-6.6/drivers/hwmon/ |
| D | ibmpex.c | 3 * 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 …]
|
| D | ibmaem.c | 4 * 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 …]
|
| D | asus-ec-sensors.c | 172 /* All the known sensors for ASUS EC controllers */ 287 unsigned long sensors; member 300 .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB | 309 .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB | SENSOR_TEMP_VRM | 316 .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB | SENSOR_TEMP_VRM | 324 .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB | 332 .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB | SENSOR_TEMP_VRM | 340 .sensors = SENSOR_TEMP_CPU | SENSOR_TEMP_CPU_PACKAGE | 348 .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB | 358 .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB | [all …]
|
| D | Kconfig | 13 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. 265 temperature and humidity sensors 275 If you say yes here you get support for sensors and fans of 286 If you say yes here you get support for the PVT sensors of [all …]
|
| D | ibmpowernv.c | 3 * 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 …]
|
| /kernel/linux/linux-5.10/drivers/hwmon/ |
| D | ibmpex.c | 3 * 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 …]
|
| D | ibmaem.c | 4 * 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 …]
|
| D | ibmpowernv.c | 3 * 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 …]
|
| /kernel/linux/linux-5.10/drivers/iio/chemical/ |
| D | Kconfig | 3 # 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 …]
|
| /kernel/linux/linux-5.10/Documentation/hwmon/ |
| D | ibmpowernv.rst | 13 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.
|
| D | userspace-tools.rst | 15 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
|
| D | abituguru-datasheet.rst | 24 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 …]
|
| /kernel/linux/linux-6.6/Documentation/hwmon/ |
| D | ibmpowernv.rst | 13 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.
|
| D | aquacomputer_d5next.rst | 25 This driver exposes hardware sensors of listed Aquacomputer devices, which 29 virtual temperature sensors, as well as two flow sensors. The fans expose their 33 For the D5 Next pump, available sensors are pump and fan speed, power, voltage 34 and current, as well as coolant temperature and eight virtual temp sensors. Also 38 sensors will report zeroes. 46 The Octo exposes four physical and sixteen virtual temperature sensors, as well as 50 The Quadro exposes four physical and sixteen virtual temperature sensors, a flow 54 The Farbwerk and Farbwerk 360 expose four temperature sensors. Additionally, 55 sixteen virtual temperature sensors of the Farbwerk 360 are exposed. 61 The Leakshield exposes two temperature sensors and coolant pressure (current, min, max and [all …]
|
| D | userspace-tools.rst | 15 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
|
| /kernel/linux/linux-6.6/drivers/iio/chemical/ |
| D | Kconfig | 3 # 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 135 tristate "Sensirion SGPxx gas sensors" 140 Sensirion SGP gas sensors: [all …]
|
| /kernel/linux/linux-5.10/Documentation/driver-api/iio/ |
| D | intro.rst | 12 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
|
| /kernel/linux/linux-6.6/Documentation/driver-api/iio/ |
| D | intro.rst | 12 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
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/thermal/ |
| D | brcm,sr-thermal.txt | 3 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>;
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/thermal/ |
| D | brcm,sr-thermal.txt | 3 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>;
|
| /kernel/linux/linux-5.10/drivers/iio/proximity/ |
| D | Kconfig | 3 # 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.
|