/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 …]
|
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);
|
/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-5.10/drivers/hwmon/ |
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() 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() 346 data->sensors[sensor].attr[func].dev_attr.attr.mode = 0444; in create_sensor() [all …]
|
D | ibmaem.c | 156 struct sensor_device_attribute sensors[AEM_NUM_SENSORS]; member 913 struct sensor_device_attribute *sensors = data->sensors; in aem_register_sensors() local 918 sysfs_attr_init(&sensors->dev_attr.attr); in aem_register_sensors() 919 sensors->dev_attr.attr.name = ro->label; in aem_register_sensors() 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() 924 err = device_create_file(dev, &sensors->dev_attr); in aem_register_sensors() 926 sensors->dev_attr.attr.name = NULL; in aem_register_sensors() 929 sensors++; in aem_register_sensors() [all …]
|
D | ibmpowernv.c | 36 enum sensors { enum 77 enum sensors type; 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() 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() 507 const char *attr_name, enum sensors type, in populate_sensor() [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-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/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 | 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.
|
D | nct7802.rst | 22 chip. NCT7802Y supports 6 temperature sensors, 5 voltage sensors, and 3 fan 23 speed sensors.
|
D | asb100.rst | 28 The ASB100 implements seven voltage sensors, three fan rotation speed 29 sensors, four temperature sensors, VID lines and alarms. In addition to 40 Voltage sensors (also known as IN sensors) report values in volts.
|
/kernel/linux/linux-5.10/arch/mips/loongson64/ |
D | platform.c | 26 if (loongson_sysconf.sensors[i].type > SENSOR_FAN) in loongson3_platform_init() 33 pdev->name = loongson_sysconf.sensors[i].name; in loongson3_platform_init() 34 pdev->id = loongson_sysconf.sensors[i].id; in loongson3_platform_init() 35 pdev->dev.platform_data = &loongson_sysconf.sensors[i]; in loongson3_platform_init()
|
/kernel/linux/linux-5.10/drivers/thermal/ |
D | imx8mm_thermal.c | 58 struct tmu_sensor sensors[]; member 140 tmu = devm_kzalloc(&pdev->dev, struct_size(tmu, sensors, in imx8mm_tmu_probe() 166 tmu->sensors[i].priv = tmu; in imx8mm_tmu_probe() 167 tmu->sensors[i].tzd = in imx8mm_tmu_probe() 169 &tmu->sensors[i], in imx8mm_tmu_probe() 171 if (IS_ERR(tmu->sensors[i].tzd)) { in imx8mm_tmu_probe() 175 return PTR_ERR(tmu->sensors[i].tzd); in imx8mm_tmu_probe() 177 tmu->sensors[i].hw_id = i; in imx8mm_tmu_probe()
|
/kernel/linux/linux-5.10/drivers/iio/position/ |
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.
|
/kernel/linux/linux-5.10/drivers/iio/chemical/ |
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 122 tristate "Sensirion SGPxx gas sensors" 127 Sensirion SGP gas sensors: 153 sensors
|
/kernel/linux/linux-5.10/drivers/thermal/ti-soc-thermal/ |
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() 616 tsr = bgp->conf->sensors[id].registers; in ti_bandgap_force_single_read() 695 tsr = bgp->conf->sensors[id].registers; in ti_bandgap_get_trend() 925 tsr = bgp->conf->sensors[i].registers; in ti_bandgap_probe() 938 bgp->conf->sensors[0].ts_data->max_freq); in ti_bandgap_probe() [all …]
|
/kernel/linux/linux-5.10/drivers/thermal/st/ |
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"
|
/kernel/linux/linux-5.10/drivers/iio/humidity/ |
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 …]
|
/kernel/linux/linux-5.10/drivers/macintosh/ |
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()
|
/kernel/linux/linux-5.10/arch/arm64/boot/dts/ti/ |
D | k3-am654-industrial-thermal.dtsi | 8 thermal-sensors = <&wkup_vtm0 0>; 22 thermal-sensors = <&wkup_vtm0 1>; 36 thermal-sensors = <&wkup_vtm0 2>;
|
/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-5.10/drivers/firmware/arm_scmi/ |
D | sensors.c | 87 struct scmi_sensor_info *sensors; member 156 s = &si->sensors[desc_index + cnt]; in scmi_sensor_description_get() 237 struct scmi_sensor_info *s = si->sensors + sensor_id; in scmi_sensor_reading_get() 270 return si->sensors + sensor_id; in scmi_sensor_info_get() 350 sinfo->sensors = devm_kcalloc(handle->dev, sinfo->num_sensors, in scmi_sensors_protocol_init() 351 sizeof(*sinfo->sensors), GFP_KERNEL); in scmi_sensors_protocol_init() 352 if (!sinfo->sensors) in scmi_sensors_protocol_init() 370 DEFINE_SCMI_PROTOCOL_REGISTER_UNREGISTER(SCMI_PROTOCOL_SENSOR, sensors)
|
/kernel/linux/linux-5.10/Documentation/ABI/testing/ |
D | sysfs-bus-iio-mpu6050 | 7 This is mounting matrix for motion sensors. Mounting matrix 10 easy to tell the relative positions among sensors as well as their 11 positions relative to the board that holds these sensors. Identity matrix
|