/linux/drivers/thermal/intel/ |
A D | intel_soc_dts_iosf.c | 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() 160 sensors = dts->sensors; in sys_get_curr_temp() 323 sensors = kzalloc(sizeof(*sensors), GFP_KERNEL); in intel_soc_dts_iosf_init() 324 if (!sensors) in intel_soc_dts_iosf_init() 335 sensors->soc_dts[i].sensors = sensors; in intel_soc_dts_iosf_init() 364 return sensors; in intel_soc_dts_iosf_init() 372 dts_trips_reset(sensors, i); in intel_soc_dts_iosf_init() 374 kfree(sensors); in intel_soc_dts_iosf_init() 385 dts_trips_reset(sensors, i); in intel_soc_dts_iosf_exit() [all …]
|
A D | intel_soc_dts_iosf.h | 32 struct intel_soc_dts_sensors *sensors; member 47 void intel_soc_dts_iosf_exit(struct intel_soc_dts_sensors *sensors); 49 struct intel_soc_dts_sensors *sensors);
|
/linux/drivers/hwmon/occ/ |
A D | common.c | 236 struct occ_sensors *sensors = &occ->sensors; in occ_show_temp_1() local 272 struct occ_sensors *sensors = &occ->sensors; in occ_show_temp_2() local 323 struct occ_sensors *sensors = &occ->sensors; in occ_show_temp_10() local 370 struct occ_sensors *sensors = &occ->sensors; in occ_show_freq_1() local 400 struct occ_sensors *sensors = &occ->sensors; in occ_show_freq_2() local 430 struct occ_sensors *sensors = &occ->sensors; in occ_show_power_1() local 477 struct occ_sensors *sensors = &occ->sensors; in occ_show_power_2() local 516 struct occ_sensors *sensors = &occ->sensors; in occ_show_power_a0() local 596 struct occ_sensors *sensors = &occ->sensors; in occ_show_caps_1_2() local 646 struct occ_sensors *sensors = &occ->sensors; in occ_show_caps_3() local [all …]
|
/linux/drivers/hwmon/ |
A D | ibmpex.c | 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() 370 data->sensors = kcalloc(data->num_sensors, sizeof(*data->sensors), in ibmpex_find_sensors() 372 if (!data->sensors) in ibmpex_find_sensors() 384 data->sensors[i].multiplier = in ibmpex_find_sensors() 397 data->sensors[i].in_use = 1; in ibmpex_find_sensors() 432 kfree(data->sensors); in ibmpex_find_sensors() [all …]
|
A D | asus-ec-sensors.c | 289 unsigned long sensors; member 302 .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB | 334 .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB | 366 .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB | 376 .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB | 387 .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB | 396 .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB | 592 struct ec_sensor *sensors; member 659 struct ec_sensor *s = ec->sensors; in setup_sensor_data() 823 sensor_end = ec->sensors + ec->nr_sensors; in update_sensor_values() [all …]
|
A D | surface_temp.c | 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()
|
A D | ibmaem.c | 917 struct sensor_device_attribute *sensors = data->sensors; in aem_register_sensors() local 924 sensors->dev_attr.attr.mode = 0444; in aem_register_sensors() 925 sensors->dev_attr.show = ro->show; in aem_register_sensors() 926 sensors->index = ro->index; in aem_register_sensors() 933 sensors++; in aem_register_sensors() 941 sensors->dev_attr.attr.mode = 0644; in aem_register_sensors() 942 sensors->dev_attr.show = rw->show; in aem_register_sensors() 943 sensors->dev_attr.store = rw->set; in aem_register_sensors() 944 sensors->index = rw->index; in aem_register_sensors() 951 sensors++; in aem_register_sensors() [all …]
|
A D | ibmpowernv.c | 36 enum sensors { enum 77 enum sensors type; 274 enum sensors type, u32 *index) in parse_opal_node_name() 293 enum sensors type; in get_sensor_type() 340 enum sensors type; in init_sensor_group_data() 389 enum sensors gtype) in get_sensor_group() 402 enum sensors type; in get_sensor_group() 437 enum sensors type; in populate_attr_groups() 526 static char *get_max_attr(enum sensors type) in get_max_attr() 536 static char *get_min_attr(enum sensors type) in get_min_attr() [all …]
|
/linux/drivers/hid/ |
A D | hid-steam.c | 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() 857 if (!sensors) in steam_sensors_register() 899 rcu_assign_pointer(steam->sensors, sensors); in steam_sensors_register() 922 struct input_dev *sensors; in steam_sensors_unregister() local 928 sensors = rcu_dereference(steam->sensors); in steam_sensors_unregister() 931 if (!sensors) in steam_sensors_unregister() 1682 input_sync(sensors); in steam_do_deck_sensors_event() 1768 sensors = rcu_dereference(steam->sensors); in steam_raw_event() [all …]
|
/linux/Documentation/driver-api/iio/ |
A 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
|
/linux/arch/arm64/boot/dts/ti/ |
A D | k3-j784s4-thermal.dtsi | 11 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>;
|
A D | k3-j721s2-thermal.dtsi | 11 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>;
|
A D | k3-j721e-thermal.dtsi | 12 thermal-sensors = <&wkup_vtm0 0>; 26 thermal-sensors = <&wkup_vtm0 1>; 40 thermal-sensors = <&wkup_vtm0 2>; 54 thermal-sensors = <&wkup_vtm0 3>; 68 thermal-sensors = <&wkup_vtm0 4>;
|
/linux/Documentation/devicetree/bindings/thermal/ |
A 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>;
|
/linux/Documentation/hwmon/ |
A 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.
|
A D | aquacomputer_d5next.rst | 27 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. 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. 81 the same USB product ID and report sensors equivalently. 84 Writing to virtual temperature sensors is not currently supported. [all …]
|
A 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
|
A D | w83l786ng.rst | 32 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/drivers/platform/x86/dell/ |
A D | dell-wmi-ddv.c | 244 if (sensors->obj) { 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() 523 if (!sensors->active) in dell_wmi_ddv_hwmon_cache_invalidate() 527 kfree(sensors->obj); in dell_wmi_ddv_hwmon_cache_invalidate() 528 sensors->obj = NULL; in dell_wmi_ddv_hwmon_cache_invalidate() 536 sensors->active = false; in dell_wmi_ddv_hwmon_cache_destroy() 538 kfree(sensors->obj); in dell_wmi_ddv_hwmon_cache_destroy() [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
A D | sdm632.dtsi | 13 thermal-sensors = <&tsens0 13>; 26 thermal-sensors = <&tsens0 5>; 30 thermal-sensors = <&tsens0 6>; 34 thermal-sensors = <&tsens0 7>; 38 thermal-sensors = <&tsens0 8>;
|
/linux/drivers/thermal/ti-soc-thermal/ |
A D | ti-bandgap.c | 83 t = bgp->conf->sensors[(id)].registers; \ 163 tsr = bgp->conf->sensors[id].registers; in ti_bandgap_read_temp() 213 tsr = bgp->conf->sensors[i].registers; in ti_bandgap_talert_irq_handler() 243 __func__, bgp->conf->sensors[i].domain, in ti_bandgap_talert_irq_handler() 343 tsr = bgp->conf->sensors[id].registers; in ti_bandgap_read_counter() 363 tsr = bgp->conf->sensors[id].registers; in ti_bandgap_read_counter_delay() 700 tsr = bgp->conf->sensors[id].registers; in ti_bandgap_get_trend() 930 tsr = bgp->conf->sensors[i].registers; in ti_bandgap_probe() 1017 domain = bgp->conf->sensors[i].domain; in ti_bandgap_probe() 1113 tsr = bgp->conf->sensors[i].registers; in ti_bandgap_save_ctxt() [all …]
|
/linux/arch/arm64/boot/dts/arm/ |
A D | juno-scmi.dtsi | 80 thermal-sensors = <&scmi_sensors0 0>; 84 thermal-sensors = <&scmi_sensors0 3>; 88 thermal-sensors = <&scmi_sensors0 21>; 92 thermal-sensors = <&scmi_sensors0 22>; 96 thermal-sensors = <&scmi_sensors0 23>; 100 thermal-sensors = <&scmi_sensors0 24>;
|
/linux/Documentation/devicetree/bindings/firmware/ |
A D | arm,scpi.yaml | 83 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/drivers/iio/position/ |
A D | Kconfig | 3 # 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/drivers/iio/humidity/ |
A D | hts221_core.c | 190 hw->sensors[type].cur_avg_idx = i; in hts221_update_avg() 291 slope = &hw->sensors[HTS221_SENSOR_T].slope; in hts221_parse_temp_caldata() 292 b_gen = &hw->sensors[HTS221_SENSOR_T].b_gen; in hts221_parse_temp_caldata() 330 slope = &hw->sensors[HTS221_SENSOR_H].slope; in hts221_parse_rh_caldata() 331 b_gen = &hw->sensors[HTS221_SENSOR_H].b_gen; in hts221_parse_rh_caldata() 350 data = hw->sensors[HTS221_SENSOR_H].slope; in hts221_get_sensor_scale() 354 data = hw->sensors[HTS221_SENSOR_T].slope; in hts221_get_sensor_scale() 379 data = hw->sensors[HTS221_SENSOR_H].b_gen; in hts221_get_sensor_offset() 380 div = hw->sensors[HTS221_SENSOR_H].slope; in hts221_get_sensor_offset() 383 data = hw->sensors[HTS221_SENSOR_T].b_gen; in hts221_get_sensor_offset() [all …]
|