Home
last modified time | relevance | path

Searched +full:power +full:- +full:sensor (Results 1 – 25 of 790) sorted by relevance

12345678910>>...32

/linux/Documentation/hwmon/
H A Docc.rst1 Kernel driver occ-hwmon
12 -----------
14 This driver supports hardware monitoring for the On-Chip Controller (OCC)
15 embedded on POWER processors. The OCC is a device that collects and aggregates
16 sensor data from the processor and the system. The OCC can provide the raw
17 sensor data as well as perform thermal and power management on the system.
20 manually if an "ibm,p8-occ-hwmon" compatible device is found under the
21 appropriate I2C bus node in the device-tree.
23 The P9 version of this driver is a client driver of the FSI-based OCC driver.
24 It will be probed automatically by the FSI-based OCC driver.
[all …]
H A Daquacomputer_d5next.rst1 .. SPDX-License-Identifier: GPL-2.0-or-later
3 Kernel driver aquacomputer-d5next
14 * Aquacomputer High Flow Next sensor
25 -----------
32 speed (in RPM), power, voltage and current. Temperature offsets and fan speeds
35 For the D5 Next pump, available sensors are pump and fan speed, power, voltage
37 available through debugfs are the serial number, firmware version and power-on
39 temperature curves directly from the pump. If it's not connected, the fan-related
48 The Octo exposes four physical and sixteen virtual temperature sensors, a flow sensor
49 as well as eight PWM controllable fans, along with their speed (in RPM), power, voltage
[all …]
H A Dibmaem.rst15 driver ("ipmi-si") needs to be loaded for this driver to do anything.
24 -----------
26 This driver implements sensor reading support for the energy and power meters
27 available on various IBM System X hardware through the BMC. All sensor banks
33 last BMC reset, and a power sensor that returns average power use over a
37 range of energy and power use registers, the power cap as set by the AEM
41 ----------------
43 The "power_cap" value displays the current system power cap, as set by the AEM
44 software. Setting the power cap from the host is not currently supported.
/linux/Documentation/devicetree/bindings/
H A Dtrivial-devices.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/trivial-devices.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Rob Herring <robh@kernel.org>
27 spi-max-frequency: true
32 - enum:
33 # Acbel fsg032 power supply
34 - acbel,fsg032
35 … # SMBus/I2C Digital Temperature Sensor in 6-Pin SOT with SMBus Alert and Over Temperature Pin
[all …]
/linux/drivers/hid/amd-sfh-hid/hid_descriptor/
H A Damd_sfh_hid_report_desc.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * Copyright 2020-2021 Advanced Micro Devices, Inc.
5 * Authors: Nehal Bakulchandra Shah <Nehal-bakulchandra.shah@amd.com>
13 // Accelerometer 3D Sensor
21 0x05, 0x20, /* HID usage page sensor */
22 0x0A, 0x09, 0x03, /* Sensor property and sensor connection type */
28 0x0A, 0x30, 0x08, /* Sensor property connection type intergated sel*/
29 0x0A, 0x31, 0x08, /* Sensor property connection type attached sel */
30 0x0A, 0x32, 0x08, /* Sensor property connection type external sel */
33 0x0A, 0x16, 0x03, /* HID usage sensor property reporting state */
[all …]
/linux/arch/arm/boot/dts/aspeed/
H A Daspeed-bmc-facebook-minerva.dts1 // SPDX-License-Identifier: GPL-2.0+
3 /dts-v1/;
5 #include "aspeed-g6.dtsi"
6 #include <dt-bindings/gpio/aspeed-gpio.h>
7 #include <dt-bindings/i2c/i2c.h>
11 compatible = "facebook,minerva-cmc", "aspeed,ast2600";
17 * PCA9548 (2-0077) provides 8 channels connecting to
31 stdout-path = "serial5:57600n8";
39 iio-hwmon {
40 compatible = "iio-hwmon";
[all …]
H A Daspeed-bmc-facebook-harma.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
4 /dts-v1/;
5 #include "aspeed-g6.dtsi"
6 #include <dt-bindings/gpio/aspeed-gpio.h>
7 #include <dt-bindings/i2c/i2c.h>
11 compatible = "facebook,harma-bmc", "aspeed,ast2600";
32 stdout-path = &uart5;
40 iio-hwmon {
41 compatible = "iio-hwmon";
42 io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>,
[all …]
/linux/drivers/hwmon/occ/
H A Dcommon.c1 // SPDX-License-Identifier: GPL-2.0+
7 #include <linux/hwmon-sysfs.h>
32 /* OCC sensor type and version definitions */
144 cmd[4] = occ->poll_cmd_data; /* data */ in occ_poll()
149 rc = occ->send_cmd(occ, cmd, sizeof(cmd), &occ->resp, sizeof(occ->resp)); in occ_poll()
151 occ->last_error = rc; in occ_poll()
152 if (occ->error_count++ > OCC_ERROR_COUNT_THRESHOLD) in occ_poll()
153 occ->error = rc; in occ_poll()
159 occ->error_count = 0; in occ_poll()
160 occ->last_error = 0; in occ_poll()
[all …]
/linux/drivers/hwmon/
H A Dscpi-hwmon.c1 // SPDX-License-Identifier: GPL-2.0
3 * System Control and Power Interface(SCPI) based hwmon sensor driver
45 [POWER] = 1000000, /* (microwatts) */
53 [POWER] = 1000000, /* (microwatts) */
57 static void scpi_scale_reading(u64 *value, struct sensor_data *sensor) in scpi_scale_reading() argument
59 if (scpi_scale[sensor->info.class] != sensor->scale) { in scpi_scale_reading()
60 *value *= scpi_scale[sensor->info.class]; in scpi_scale_reading()
61 do_div(*value, sensor->scale); in scpi_scale_reading()
68 struct scpi_sensors *scpi_sensors = zone->scpi_sensors; in scpi_read_temp()
69 struct scpi_ops *scpi_ops = scpi_sensors->scpi_ops; in scpi_read_temp()
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
20 sensors-detect script from the lm_sensors package. Read
21 <file:Documentation/hwmon/userspace-tools.rst> for details.
45 If you say yes here you get support for the sensor part of the first
60 If you say yes here you get support for the sensor part of the
75 current and power sensors of Ampere's Altra processor family SoC
76 with SMpro co-processor.
114 and Philips NE1619 sensor chips.
125 sensor chip.
135 sensor chip.
[all …]
H A Dscmi-hwmon.c1 // SPDX-License-Identifier: GPL-2.0
3 * System Control and Management Interface(SCMI) based hwmon sensor driver
5 * Copyright (C) 2018-2021 ARM Ltd.
32 while (x--) in __pow10()
38 static int scmi_hwmon_scale(const struct scmi_sensor_info *sensor, u64 *value) in scmi_hwmon_scale() argument
40 int scale = sensor->scale; in scmi_hwmon_scale()
43 switch (sensor->type) { in scmi_hwmon_scale()
49 case POWER: in scmi_hwmon_scale()
61 return -E2BIG; in scmi_hwmon_scale()
73 const struct scmi_sensor_info *sensor, in scmi_hwmon_read_scaled_value() argument
[all …]
/linux/Documentation/w1/slaves/
H A Dw1_therm.rst9 * GXCAS GX20MH01 temperature sensor.
16 -----------
49 -1 if at least one sensor still in conversion, 1 if conversion is complete
50 but at least one sensor value has not been read yet. Result temperature is
53 read is sent but one sensor is not read immediately, the next access to
67 completion. Options 2, 3 can't be used in parasite power mode. To get back to
71 precision of the sensor for the next readings. Allowed resolutions are defined by
72 the sensor. Resolution is reset when the sensor gets power-cycled.
79 ``resolution`` entry on each device, if supported by the sensor.
81 Some non-genuine DS18B20 chips are fixed in 12-bit mode only, so the actual
[all …]
/linux/Documentation/devicetree/bindings/thermal/
H A Drcar-gen3-thermal.yaml1 # SPDX-License-Identifier: GPL-2.0-only
4 ---
5 $id: http://devicetree.org/schemas/thermal/rcar-gen3-thermal.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Renesas R-Car Gen3 Thermal Sensor
11 On most R-Car Gen3 and later SoCs, the thermal sensor controllers (TSC)
16 - Niklas Söderlund <niklas.soderlund@ragnatech.se>
18 $ref: thermal-sensor.yaml#
23 - renesas,r8a774a1-thermal # RZ/G2M
24 - renesas,r8a774b1-thermal # RZ/G2N
[all …]
H A Drzg2l-thermal.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/thermal/rzg2l-thermal.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Renesas RZ/G2L Thermal Sensor Unit
10 On RZ/G2L SoCs, the thermal sensor unit (TSU) measures the
14 - Biju Das <biju.das.jz@bp.renesas.com>
16 $ref: thermal-sensor.yaml#
21 - enum:
22 - renesas,r9a07g043-tsu # RZ/G2UL and RZ/Five
[all …]
/linux/Documentation/devicetree/bindings/hwmon/
H A Dibm,opal-sensor.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/hwmon/ibm,opal-sensor.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Javier Carrasco <javier.carrasco.cruz@gmail.com>
15 - ibm,opal-sensor-cooling-fan
16 - ibm,opal-sensor-amb-temp
17 - ibm,opal-sensor-power-supply
18 - ibm,opal-sensor-power
20 sensor-id:
[all …]
/linux/include/linux/
H A Dscmi_protocol.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 2018-2021 ARM Ltd.
21 * struct scmi_revision_info - version information structure
30 * @impl_ver: A vendor-specific implementation version.
32 * @sub_vendor_id: A sub-vendor identifier(Null terminated ASCII string)
87 * struct scmi_clk_proto_ops - represents the various operations provided
133 * struct scmi_perf_proto_ops - represents the various operations provided
150 * @est_power_get: gets the estimated power cost for a given performance domain
156 * @power_scale_mw_get: indicates if the power values provided are in milliWatts
182 unsigned long *rate, unsigned long *power);
[all …]
/linux/drivers/net/ethernet/sfc/siena/
H A Dmcdi_mon.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright 2011-2013 Solarflare Communications Inc.
23 EFX_HWMON_POWER, /* power */
40 #define SENSOR(name, label, hwmon_type, port) \ macro
42 SENSOR(CONTROLLER_TEMP, "Controller board temp.", TEMP, -1),
43 SENSOR(PHY_COMMON_TEMP, "PHY temp.", TEMP, -1),
44 SENSOR(CONTROLLER_COOLING, "Controller heat sink", COOL, -1),
45 SENSOR(PHY0_TEMP, "PHY temp.", TEMP, 0),
46 SENSOR(PHY0_COOLING, "PHY heat sink", COOL, 0),
47 SENSOR(PHY1_TEMP, "PHY temp.", TEMP, 1),
[all …]
/linux/drivers/net/ethernet/sfc/
H A Dmcdi_mon.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright 2011-2013 Solarflare Communications Inc.
23 EFX_HWMON_POWER, /* power */
40 #define SENSOR(name, label, hwmon_type, port) \ macro
42 SENSOR(CONTROLLER_TEMP, "Controller board temp.", TEMP, -1),
43 SENSOR(PHY_COMMON_TEMP, "PHY temp.", TEMP, -1),
44 SENSOR(CONTROLLER_COOLING, "Controller heat sink", COOL, -1),
45 SENSOR(PHY0_TEMP, "PHY temp.", TEMP, 0),
46 SENSOR(PHY0_COOLING, "PHY heat sink", COOL, 0),
47 SENSOR(PHY1_TEMP, "PHY temp.", TEMP, 1),
[all …]
/linux/drivers/hid/intel-ish-hid/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
6 tristate "Intel Integrated Sensor Hub"
11 The Integrated Sensor Hub (ISH) enables the ability to offload
12 sensor polling and algorithm processing to a dedicated low power
14 low power modes more often, resulting in the increased battery life.
25 The Integrated Sensor Hub (ISH) enables the kernel to offload
26 sensor polling and algorithm processing to a dedicated low power
/linux/Documentation/devicetree/bindings/media/i2c/
H A Dsony,imx415.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Sony IMX415 CMOS Image Sensor
10 - Michael Riesch <michael.riesch@wolfvision.net>
12 description: |-
14 solid-state image sensor with a square pixel array and 8.46 M effective
16 1.8 V triple power supply, and has low power consumption.
17 The IMX415 is programmable through I2C interface. The sensor output is
18 available via CSI-2 serial data output (two or four lanes).
[all …]
H A Dsony,imx296.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Sony IMX296 1/2.8-Inch CMOS Image Sensor
10 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
11 - Laurent Pinchart <laurent.pinchart@ideasonboard.com>
13 description: |-
14 The Sony IMX296 is a 1/2.9-Inch active pixel type CMOS Solid-state image
15 sensor with square pixel array and 1.58 M effective pixels. This chip
16 features a global shutter with variable charge-integration time. It is
[all …]
/linux/drivers/macintosh/
H A Dwindfarm_smu_sensors.c1 // SPDX-License-Identifier: GPL-2.0-only
82 return -EIO; in smu_read_adc()
95 rc = smu_read_adc(ads->reg, &val); in smu_cputemp_get()
103 scaled = (s64)(((u64)val) * (u64)cpudiode->m_value); in smu_cputemp_get()
105 scaled += ((s64)cpudiode->b_value) << 9; in smu_cputemp_get()
117 rc = smu_read_adc(ads->reg, &val); in smu_cpuamp_get()
125 scaled = (s32)(val * (u32)cpuvcp->curr_scale); in smu_cpuamp_get()
126 scaled += (s32)cpuvcp->curr_offset; in smu_cpuamp_get()
138 rc = smu_read_adc(ads->reg, &val); in smu_cpuvolt_get()
146 scaled = (s32)(val * (u32)cpuvcp->volt_scale); in smu_cpuvolt_get()
[all …]
H A Dwindfarm_pm121.c1 // SPDX-License-Identifier: GPL-2.0-only
16 * that none of the code has been re-used, it's a complete
17 * re-implementation
21 * controls with a tiny difference. The control-ids of hard-drive-fan
22 * and cpu-fan is swapped.
34 * offset : -19563152
38 * offset : -15650652
44 * offset : -15650652
48 * offset : -19563152
54 * offset : -25431900
[all …]
/linux/Documentation/devicetree/bindings/iio/magnetometer/
H A Dvoltafield,af8133j.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Voltafield AF8133J magnetometer sensor
10 - Ondřej Jirman <megi@xff.cz>
19 reset-gpios:
21 A signal for active low reset input of the sensor. (optional; if not
24 avdd-supply:
26 A regulator that provides AVDD power (Working power, usually 3.3V) to
27 the sensor.
[all …]
/linux/arch/arm/boot/dts/samsung/
H A Dexynos5422-odroidxu3.dts1 // SPDX-License-Identifier: GPL-2.0
10 /dts-v1/;
11 #include "exynos5422-odroidxu3-common.dtsi"
12 #include "exynos5422-odroidxu3-audio.dtsi"
13 #include "exynos54xx-odroidxu-leds.dtsi"
17 compatible = "hardkernel,odroid-xu3", "samsung,exynos5800", "samsung,exynos5";
28 power-sensor@40 {
31 shunt-resistor = <10000>;
35 power-sensor@41 {
38 shunt-resistor = <10000>;
[all …]

12345678910>>...32