| /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-4.19/drivers/thermal/ |
| D | intel_soc_dts_iosf.c | 88 struct intel_soc_dts_sensors *sensors; in sys_get_trip_temp() local 91 sensors = dts->sensors; in sys_get_trip_temp() 92 mutex_lock(&sensors->dts_update_lock); in sys_get_trip_temp() 95 mutex_unlock(&sensors->dts_update_lock); in sys_get_trip_temp() 103 *temp = sensors->tj_max - out * 1000; in sys_get_trip_temp() 120 struct intel_soc_dts_sensors *sensors = dts->sensors; in update_trip_temp() local 122 if (sensors->intr_type == INTEL_SOC_DTS_INTERRUPT_MSI) in update_trip_temp() 125 temp_out = (sensors->tj_max - temp) / 1000; in update_trip_temp() 202 struct intel_soc_dts_sensors *sensors = dts->sensors; in sys_set_trip_temp() local 205 if (temp > sensors->tj_max) in sys_set_trip_temp() [all …]
|
| D | mtk_thermal.c | 89 /* MT8173 thermal sensors */ 96 /* AUXADC channel 11 is used for the temperature sensors */ 99 /* The total number of temperature sensors in the MT8173 */ 111 * MT8173 has 5 sensors and needs 5 VTS calibration data. 112 * MT2701 has 3 sensors and needs 3 VTS calibration data. 113 * MT2712 has 4 sensors and needs 4 VTS calibration data. 127 /* MT2701 thermal sensors */ 132 /* AUXADC channel 11 is used for the temperature sensors */ 135 /* The total number of temperature sensors in the MT2701 */ 141 /* MT2712 thermal sensors */ [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-4.19/drivers/hwmon/ |
| D | ibmpex.c | 2 * A hwmon driver for the IBM PowerExecutive temperature/power sensors 103 struct ibmpex_sensor_data *sensors; member 241 if (!data->sensors[i].in_use) in ibmpex_update_device() 246 data->sensors[i].values[0] = in ibmpex_update_device() 248 data->sensors[i].values[1] = in ibmpex_update_device() 250 data->sensors[i].values[2] = in ibmpex_update_device() 285 int mult = data->sensors[attr->index].multiplier; in ibmpex_show_sensor() 289 data->sensors[attr->index].values[attr->nr] * mult); in ibmpex_show_sensor() 359 sysfs_attr_init(&data->sensors[sensor].attr[func].dev_attr.attr); in create_sensor() 360 data->sensors[sensor].attr[func].dev_attr.attr.name = n; in create_sensor() [all …]
|
| D | ibmaem.c | 3 * temperature/power/energy sensors and capping functionality. 151 /* Function and buffer to update sensors */ 156 * AEM 1.x sensors: 157 * Available sensors: 161 * AEM 2.x sensors: 164 * Two temperature sensors 169 struct sensor_device_attribute sensors[AEM_NUM_SENSORS]; member 223 /* These are used to query sensors */ 454 /* Update all AEM1 sensors */ 467 /* Update all AEM2 sensors */ [all …]
|
| D | ibmpowernv.c | 2 * IBM PowerNV platform sensors for temperature/fan/voltage/power 45 * Enumerates all the types of sensors in the POWERNV platform and does index 48 enum sensors { enum 62 * PowerNV firmware (skiboot). These are ordered as 'enum sensors'. 89 enum sensors type; 105 u32 sensors_count; /* Total count of sensors from each group */ 211 * The digital thermal sensors are associated in make_sensor_label() 260 static const char *convert_opal_attr_name(enum sensors type, in convert_opal_attr_name() 286 enum sensors type, u32 *index) in parse_opal_node_name() 305 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-4.19/Documentation/hwmon/ |
| D | ibmpowernv | 12 This driver implements reading the platform sensors data like temperature/fan/ 20 All the nodes in the DT appear under "/ibm,opal/sensors" and each valid node in 41 tempX_enable Enable/disable all temperature sensors belonging to the 44 disable/enable all of its temperature sensors. 53 inX_enable Enable/disable all voltage sensors belonging to the 56 disable/enable all of its voltage sensors. 63 powerX_enable Enable/disable all power sensors belonging to the 66 disable/enable all of its power sensors. 73 currX_enable Enable/disable all current sensors belonging to the 76 disable/enable all of its current sensors.
|
| D | userspace-tools | 12 Lm-sensors 17 http://www.lm-sensors.org/ or as a package from your Linux distribution. 20 Get lm-sensors from project web site. Please note, you need only userspace 25 0) get lm-sensors userspace utils 28 2) run sensors-detect script, it will tell you what modules you need to load. 29 3) load them and run "sensors" command, you should see some results. 30 4) fix sensors.conf, labels, limits, fan divisors
|
| D | abituguru-datasheet | 23 Note: because of the lack of specs only the sensors part of the uGuru is 59 level we will call banks. A bank holds data for one or more sensors. The data 66 See below for all known bank addresses, numbers of sensors in that bank, 167 This bank contains 0 sensors, iow the sensor address is ignored (but must be 185 This bank contains 16 sensors, for each sensor it contains 1 byte. 186 So far the following sensors are known to be available on all motherboards: 195 This byte holds the reading from the sensor. Sensors in Bank1 can be both 196 volt and temp sensors, this is motherboard specific. The uGuru however does 200 Volt sensors use a linear scale, a reading 0 corresponds with 0 volt and a 201 reading of 255 with 3494 mV. The sensors for higher voltages however are [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-4.19/drivers/iio/chemical/ |
| D | Kconfig | 2 # Chemical sensors 5 menu "Chemical Sensors" 8 tristate "Atlas Scientific OEM SM sensors" 16 Atlas Scientific OEM SM sensors: 57 tristate "AMS iAQ-Core VOC sensors" 62 sensors 70 sensors
|
| /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-4.19/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-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.
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/thermal/ |
| D | thermal.txt | 6 such as trip points, polling intervals, sensors and cooling devices 15 - thermal sensors: devices which may be used to take temperature 30 control one or more internal sensors. 36 with several internal sensors, in order 137 - thermal-sensors: A list of thermal sensor phandles and sensor specifier 152 Elem size: one cell the sensors listed in the thermal-sensors property. 157 The coefficients are ordered and they match with sensors 252 thermal-sensors = <&bandgap0>; 299 (b) - IC with several internal sensors 302 single sensor IC, assuming it has several internal sensors. This is a common [all …]
|
| /kernel/linux/linux-4.19/drivers/iio/common/cros_ec_sensors/ |
| D | Kconfig | 2 # Chrome OS Embedded Controller managed sensors library 5 tristate "ChromeOS EC Sensors Core" 10 Base module for the ChromeOS EC Sensors module. 16 tristate "ChromeOS EC Contiguous Sensors" 19 Module to handle 3d contiguous sensors like
|
| /kernel/linux/linux-5.10/drivers/iio/humidity/ |
| D | Kconfig | 5 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. 113 tristate "Si7013/20/21 Relative Humidity and Temperature Sensors" 117 Relative Humidity and Temperature Sensors. This driver also
|