Home
last modified time | relevance | path

Searched refs:sensors (Results 1 – 25 of 331) sorted by relevance

12345678910>>...14

/Linux-v4.19/drivers/thermal/
Dintel_soc_dts_iosf.c88 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 …]
Dintel_soc_dts_iosf.h43 struct intel_soc_dts_sensors *sensors; member
57 void intel_soc_dts_iosf_exit(struct intel_soc_dts_sensors *sensors);
59 struct intel_soc_dts_sensors *sensors);
61 struct intel_soc_dts_sensors *sensors, int critical_offset);
Dmtk_thermal.c166 const int *sensors; member
277 .sensors = mt8173_bank_data[0],
280 .sensors = mt8173_bank_data[1],
283 .sensors = mt8173_bank_data[2],
286 .sensors = mt8173_bank_data[3],
311 .sensors = mt2701_bank_data,
336 .sensors = mt2712_bank_data,
355 .sensors = mt7622_bank_data,
437 conf->bank_data[bank->id].sensors[i], in mtk_thermal_bank_temperature()
570 writel(conf->sensor_mux_values[conf->bank_data[num].sensors[i]], in mtk_thermal_init_bank()
/Linux-v4.19/drivers/hwmon/
Dibmpex.c103 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()
361 data->sensors[sensor].attr[func].dev_attr.attr.mode = S_IRUGO; in create_sensor()
[all …]
Dibmaem.c169 struct sensor_device_attribute sensors[AEM_NUM_SENSORS]; member
927 struct sensor_device_attribute *sensors = data->sensors; in aem_register_sensors() local
932 sysfs_attr_init(&sensors->dev_attr.attr); in aem_register_sensors()
933 sensors->dev_attr.attr.name = ro->label; in aem_register_sensors()
934 sensors->dev_attr.attr.mode = S_IRUGO; in aem_register_sensors()
935 sensors->dev_attr.show = ro->show; in aem_register_sensors()
936 sensors->index = ro->index; in aem_register_sensors()
938 err = device_create_file(dev, &sensors->dev_attr); in aem_register_sensors()
940 sensors->dev_attr.attr.name = NULL; in aem_register_sensors()
943 sensors++; in aem_register_sensors()
[all …]
Dibmpowernv.c48 enum sensors { enum
89 enum sensors type;
261 static const char *convert_opal_attr_name(enum sensors type, in convert_opal_attr_name()
287 enum sensors type, u32 *index) in parse_opal_node_name()
306 enum sensors type; in get_sensor_type()
353 enum sensors type; in init_sensor_group_data()
402 enum sensors gtype) in get_sensor_group()
415 enum sensors type; in get_sensor_group()
450 enum sensors type; in populate_attr_groups()
523 const char *attr_name, enum sensors type, in populate_sensor()
[all …]
Dacpi_power_meter.c102 struct sensor_device_attribute sensors[NUM_SENSORS]; member
635 struct sensor_device_attribute *sensors = in register_attrs() local
636 &resource->sensors[resource->num_sensors]; in register_attrs()
640 sensors->dev_attr.attr.name = attrs->label; in register_attrs()
641 sensors->dev_attr.attr.mode = S_IRUGO; in register_attrs()
642 sensors->dev_attr.show = attrs->show; in register_attrs()
643 sensors->index = attrs->index; in register_attrs()
646 sensors->dev_attr.attr.mode |= S_IWUSR; in register_attrs()
647 sensors->dev_attr.store = attrs->set; in register_attrs()
650 sysfs_attr_init(&sensors->dev_attr.attr); in register_attrs()
[all …]
/Linux-v4.19/Documentation/driver-api/iio/
Dintro.rst12 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-v4.19/Documentation/hwmon/
Dibmpowernv12 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.
Duserspace-tools12 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
Dw83l786ng27 The driver implements two temperature sensors, two fan rotation speed
28 sensors, and three voltage sensors.
37 Voltage sensors (also known as IN sensors) report their values in millivolts.
Dnct780217 chip. NCT7802Y supports 6 temperature sensors, 5 voltage sensors, and 3 fan
18 speed sensors.
Dasb10024 The ASB100 implements seven voltage sensors, three fan rotation speed
25 sensors, four temperature sensors, VID lines and alarms. In addition to
36 Voltage sensors (also known as IN sensors) report values in volts.
Dlm8352 Most motherboards come with more than just temperature sensors for
54 sensors. This means that temperature-only chips are usually used as
57 temperature sensors (motherboard, processor, power supply) and primary
58 chips provide some temperature sensors, the secondary chip, if needed,
69 CPU. The two other sensors must be used to measure the temperature of
80 all four sensors. There is no hysteresis mechanism as found on most
81 recent temperature sensors.
Dabx50021 thermal sensors, and there is also a thermal sensor inside ABx500 too, which
24 This abx500 is a common layer which can monitor all of the sensors, every
26 sensors can be configured invisible if they are not available on that chip, and
/Linux-v4.19/arch/mips/loongson64/loongson-3/
Dplatform.c30 if (loongson_sysconf.sensors[i].type > SENSOR_FAN) in loongson3_platform_init()
34 pdev->name = loongson_sysconf.sensors[i].name; in loongson3_platform_init()
35 pdev->id = loongson_sysconf.sensors[i].id; in loongson3_platform_init()
36 pdev->dev.platform_data = &loongson_sysconf.sensors[i]; in loongson3_platform_init()
/Linux-v4.19/drivers/thermal/st/
DKconfig2 tristate "Thermal sensors on STMicroelectronics STi series of SoCs"
4 Support for thermal sensors on STMicroelectronics STi series of SoCs.
8 tristate "STi series syscfg register access based thermal sensors"
12 tristate "STi series memory mapped access based thermal sensors"
/Linux-v4.19/drivers/iio/chemical/
DKconfig2 # 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
/Linux-v4.19/drivers/thermal/ti-soc-thermal/
Dti-bandgap.c87 t = bgp->conf->sensors[(id)].registers; \
167 tsr = bgp->conf->sensors[id].registers; in ti_bandgap_read_temp()
217 tsr = bgp->conf->sensors[i].registers; in ti_bandgap_talert_irq_handler()
247 __func__, bgp->conf->sensors[i].domain, in ti_bandgap_talert_irq_handler()
347 tsr = bgp->conf->sensors[id].registers; in ti_bandgap_read_counter()
367 tsr = bgp->conf->sensors[id].registers; in ti_bandgap_read_counter_delay()
620 tsr = bgp->conf->sensors[id].registers; in ti_bandgap_force_single_read()
699 tsr = bgp->conf->sensors[id].registers; in ti_bandgap_get_trend()
934 tsr = bgp->conf->sensors[i].registers; in ti_bandgap_probe()
947 bgp->conf->sensors[0].ts_data->max_freq); in ti_bandgap_probe()
[all …]
/Linux-v4.19/drivers/iio/humidity/
Dhts221_core.c197 hw->sensors[type].cur_avg_idx = i; in hts221_update_avg()
298 slope = &hw->sensors[HTS221_SENSOR_T].slope; in hts221_parse_temp_caldata()
299 b_gen = &hw->sensors[HTS221_SENSOR_T].b_gen; in hts221_parse_temp_caldata()
337 slope = &hw->sensors[HTS221_SENSOR_H].slope; in hts221_parse_rh_caldata()
338 b_gen = &hw->sensors[HTS221_SENSOR_H].b_gen; in hts221_parse_rh_caldata()
357 data = hw->sensors[HTS221_SENSOR_H].slope; in hts221_get_sensor_scale()
361 data = hw->sensors[HTS221_SENSOR_T].slope; in hts221_get_sensor_scale()
386 data = hw->sensors[HTS221_SENSOR_H].b_gen; in hts221_get_sensor_offset()
387 div = hw->sensors[HTS221_SENSOR_H].slope; in hts221_get_sensor_offset()
390 data = hw->sensors[HTS221_SENSOR_T].b_gen; in hts221_get_sensor_offset()
[all …]
/Linux-v4.19/drivers/macintosh/
Dwindfarm_ad7417_sensor.c33 struct wf_sensor sensors[5]; member
103 int chan = sr - pv->sensors; in wf_ad7417_adc_get()
184 pv->sensors[index].name = kasprintf(GFP_KERNEL, "%s-%d", name, pv->cpu); in wf_ad7417_add_sensor()
185 pv->sensors[index].priv = pv; in wf_ad7417_add_sensor()
186 pv->sensors[index].ops = ops; in wf_ad7417_add_sensor()
187 if (!wf_register_sensor(&pv->sensors[index])) in wf_ad7417_add_sensor()
303 wf_unregister_sensor(&pv->sensors[i]); in wf_ad7417_remove()
Dwindfarm_smu_sensors.c412 struct device_node *smu, *sensors, *s; in smu_sensors_init() local
426 for (sensors = NULL; in smu_sensors_init()
427 (sensors = of_get_next_child(smu, sensors)) != NULL;) in smu_sensors_init()
428 if (!strcmp(sensors->name, "sensors")) in smu_sensors_init()
435 sensors && (s = of_get_next_child(sensors, s)) != NULL;) { in smu_sensors_init()
449 of_node_put(sensors); in smu_sensors_init()
/Linux-v4.19/Documentation/devicetree/bindings/thermal/
Dthermal.txt6 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 …]
/Linux-v4.19/Documentation/ABI/testing/
Dsysfs-bus-iio-mpu60507 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
/Linux-v4.19/drivers/firmware/arm_scmi/
Dsensors.c72 struct scmi_sensor_info *sensors; member
140 s = &si->sensors[desc_index + cnt]; in scmi_sensor_description_get()
239 return si->sensors + sensor_id; in scmi_sensor_info_get()
273 sinfo->sensors = devm_kcalloc(handle->dev, sinfo->num_sensors, in scmi_sensors_protocol_init()
274 sizeof(*sinfo->sensors), GFP_KERNEL); in scmi_sensors_protocol_init()
275 if (!sinfo->sensors) in scmi_sensors_protocol_init()

12345678910>>...14