/linux/drivers/thermal/intel/ |
A D | intel_soc_dts_iosf.c | 83 sensors = dts->sensors; in sys_get_trip_temp() 113 struct intel_soc_dts_sensors *sensors = dts->sensors; in update_trip_temp() local 197 struct intel_soc_dts_sensors *sensors = dts->sensors; in sys_set_trip_temp() local 233 sensors = dts->sensors; in sys_get_curr_temp() 421 sensors = kzalloc(sizeof(*sensors), GFP_KERNEL); in intel_soc_dts_iosf_init() 422 if (!sensors) in intel_soc_dts_iosf_init() 428 sensors->tj_max = tj_max; in intel_soc_dts_iosf_init() 434 sensors->soc_dts[i].sensors = sensors; in intel_soc_dts_iosf_init() 454 return sensors; in intel_soc_dts_iosf_init() 460 kfree(sensors); in intel_soc_dts_iosf_init() [all …]
|
A D | intel_soc_dts_iosf.h | 32 struct intel_soc_dts_sensors *sensors; member 46 void intel_soc_dts_iosf_exit(struct intel_soc_dts_sensors *sensors); 48 struct intel_soc_dts_sensors *sensors); 50 struct intel_soc_dts_sensors *sensors, int critical_offset);
|
/linux/drivers/hwmon/occ/ |
A D | common.c | 234 struct occ_sensors *sensors = &occ->sensors; in occ_show_temp_1() local 270 struct occ_sensors *sensors = &occ->sensors; in occ_show_temp_2() local 321 struct occ_sensors *sensors = &occ->sensors; in occ_show_temp_10() local 368 struct occ_sensors *sensors = &occ->sensors; in occ_show_freq_1() local 398 struct occ_sensors *sensors = &occ->sensors; in occ_show_freq_2() local 428 struct occ_sensors *sensors = &occ->sensors; in occ_show_power_1() local 475 struct occ_sensors *sensors = &occ->sensors; in occ_show_power_2() local 514 struct occ_sensors *sensors = &occ->sensors; in occ_show_power_a0() local 594 struct occ_sensors *sensors = &occ->sensors; in occ_show_caps_1_2() local 644 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() 375 data->sensors = kcalloc(data->num_sensors, sizeof(*data->sensors), in ibmpex_find_sensors() 377 if (!data->sensors) in ibmpex_find_sensors() 389 data->sensors[i].multiplier = in ibmpex_find_sensors() 402 data->sensors[i].in_use = 1; in ibmpex_find_sensors() 438 kfree(data->sensors); in ibmpex_find_sensors() [all …]
|
A D | ibmaem.c | 913 struct sensor_device_attribute *sensors = data->sensors; in aem_register_sensors() local 920 sensors->dev_attr.attr.mode = 0444; in aem_register_sensors() 921 sensors->dev_attr.show = ro->show; in aem_register_sensors() 922 sensors->index = ro->index; in aem_register_sensors() 929 sensors++; in aem_register_sensors() 937 sensors->dev_attr.attr.mode = 0644; in aem_register_sensors() 938 sensors->dev_attr.show = rw->show; in aem_register_sensors() 939 sensors->dev_attr.store = rw->set; in aem_register_sensors() 940 sensors->index = rw->index; in aem_register_sensors() 947 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 …]
|
A D | acpi_power_meter.c | 628 struct sensor_device_attribute *sensors = in register_attrs() local 629 &resource->sensors[resource->num_sensors]; in register_attrs() 634 sensors->dev_attr.attr.mode = 0444; in register_attrs() 635 sensors->dev_attr.show = attrs->show; in register_attrs() 636 sensors->index = attrs->index; in register_attrs() 639 sensors->dev_attr.attr.mode |= 0200; in register_attrs() 640 sensors->dev_attr.store = attrs->set; in register_attrs() 643 sysfs_attr_init(&sensors->dev_attr.attr); in register_attrs() 646 sensors->dev_attr.attr.name = NULL; in register_attrs() 649 sensors++; in register_attrs() [all …]
|
/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>;
|
A D | qcom-tsens.yaml | 89 "#qcom,sensors": 91 Number of sensors enabled on this platform 99 Number of cells required to uniquely identify the thermal sensors. Since 100 we have multiple sensors this is set to 1 107 - "#qcom,sensors" 168 #qcom,sensors = <11>; 187 #qcom,sensors = <5>; 205 #qcom,sensors = <10>; 221 #qcom,sensors = <13>;
|
/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/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 | 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.
|
A D | lm83.rst | 64 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.
|
/linux/drivers/thermal/ |
A D | imx8mm_thermal.c | 57 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() 169 ret = PTR_ERR(tmu->sensors[i].tzd); in imx8mm_tmu_probe() 175 tmu->sensors[i].hw_id = i; in imx8mm_tmu_probe()
|
/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() 1115 tsr = bgp->conf->sensors[i].registers; in ti_bandgap_save_ctxt() [all …]
|
/linux/Documentation/devicetree/bindings/firmware/ |
A D | arm,scpi.yaml | 81 sensors: 84 This sub-node represents SCPI sensors controller. 89 - const: arm,scpi-sensors 92 - amlogic,meson-gxbb-scpi-sensors 93 - const: arm,scpi-sensors 202 scpi_sensors: sensors { 203 compatible = "arm,scpi-sensors"; 241 scpi_sensors1: sensors { 242 compatible = "amlogic,meson-gxbb-scpi-sensors", "arm,scpi-sensors";
|
/linux/drivers/iio/humidity/ |
A D | hts221_core.c | 189 hw->sensors[type].cur_avg_idx = i; in hts221_update_avg() 290 slope = &hw->sensors[HTS221_SENSOR_T].slope; in hts221_parse_temp_caldata() 291 b_gen = &hw->sensors[HTS221_SENSOR_T].b_gen; in hts221_parse_temp_caldata() 329 slope = &hw->sensors[HTS221_SENSOR_H].slope; in hts221_parse_rh_caldata() 330 b_gen = &hw->sensors[HTS221_SENSOR_H].b_gen; in hts221_parse_rh_caldata() 349 data = hw->sensors[HTS221_SENSOR_H].slope; in hts221_get_sensor_scale() 353 data = hw->sensors[HTS221_SENSOR_T].slope; in hts221_get_sensor_scale() 378 data = hw->sensors[HTS221_SENSOR_H].b_gen; in hts221_get_sensor_offset() 379 div = hw->sensors[HTS221_SENSOR_H].slope; in hts221_get_sensor_offset() 382 data = hw->sensors[HTS221_SENSOR_T].b_gen; in hts221_get_sensor_offset() [all …]
|
/linux/drivers/thermal/st/ |
A D | Kconfig | 7 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/drivers/hid/ |
A D | hid-playstation.c | 142 struct input_dev *sensors; member 609 struct input_dev *sensors; in ps_sensors_create() local 613 if (IS_ERR(sensors)) in ps_sensors_create() 614 return ERR_CAST(sensors); in ps_sensors_create() 617 __set_bit(EV_MSC, sensors->evbit); in ps_sensors_create() 618 __set_bit(MSC_TIMESTAMP, sensors->mscbit); in ps_sensors_create() 636 ret = input_register_device(sensors); in ps_sensors_create() 640 return sensors; in ps_sensors_create() 1128 input_sync(ds->sensors); in dualsense_parse_report() 1346 if (IS_ERR(ds->sensors)) { in dualsense_create() [all …]
|
/linux/drivers/iio/chemical/ |
A D | Kconfig | 3 # 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: 203 sensors
|
/linux/drivers/macintosh/ |
A D | windfarm_ad7417_sensor.c | 32 struct wf_sensor sensors[5]; member 102 int chan = sr - pv->sensors; in wf_ad7417_adc_get() 183 pv->sensors[index].name = kasprintf(GFP_KERNEL, "%s-%d", name, pv->cpu); in wf_ad7417_add_sensor() 184 pv->sensors[index].priv = pv; in wf_ad7417_add_sensor() 185 pv->sensors[index].ops = ops; in wf_ad7417_add_sensor() 186 if (!wf_register_sensor(&pv->sensors[index])) in wf_ad7417_add_sensor() 302 wf_unregister_sensor(&pv->sensors[i]); in wf_ad7417_remove()
|
/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/common/hid-sensors/ |
A D | .built-in.a.cmd | 1 …sensors/built-in.a := echo >/dev/null; rm -f drivers/iio/common/hid-sensors/built-in.a; /usr/bin/c…
|
/linux/drivers/iio/proximity/ |
A D | Kconfig | 3 # Proximity sensors 6 menu "Lightning sensors" 22 menu "Proximity and distance sensors" 61 tristate "MaxSonar I2CXL family ultrasonic sensors" 64 Say Y to build a driver for the ultrasonic sensors I2CXL of 73 tristate "Parallax GPIO bitbanged ranger sensors" 76 Say Y here to build a driver for GPIO bitbanged ranger sensors 148 ultrasonic ranger sensors with i2c interface. 170 ToF ranger sensors with i2c interface.
|