Home
last modified time | relevance | path

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

12345678910>>...30

/Linux-v5.15/Documentation/hwmon/
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 …]
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-v5.15/Documentation/devicetree/bindings/
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
31 - enum:
32 … # SMBus/I2C Digital Temperature Sensor in 6-Pin SOT with SMBus Alert and Over Temperature Pin
33 - ad,ad7414
34 # ADM9240: Complete System Hardware Monitor for uProcessor-Based Systems
[all …]
/Linux-v5.15/drivers/hid/amd-sfh-hid/hid_descriptor/
Damd_sfh_hid_report_desc.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * Authors: Nehal Bakulchandra Shah <Nehal-bakulchandra.shah@amd.com>
12 // Accelerometer 3D Sensor
20 0x05, 0x20, /* HID usage page sensor */
21 0x0A, 0x09, 0x03, /* Sensor property and sensor connection type */
27 0x0A, 0x30, 0x08, /* Sensor property connection type intergated sel*/
28 0x0A, 0x31, 0x08, /* Sensor property connection type attached sel */
29 0x0A, 0x32, 0x08, /* Sensor property connection type external sel */
32 0x0A, 0x16, 0x03, /* HID usage sensor property reporting state */
38 0x0A, 0x40, 0x08, /* Sensor property report state no events sel */
[all …]
/Linux-v5.15/drivers/hwmon/occ/
Dcommon.c1 // SPDX-License-Identifier: GPL-2.0+
7 #include <linux/hwmon-sysfs.h>
31 /* OCC sensor type and version definitions */
135 u16 checksum = occ->poll_cmd_data + occ->seq_no + 1; in occ_poll()
140 cmd[0] = occ->seq_no++; /* sequence number */ in occ_poll()
144 cmd[4] = occ->poll_cmd_data; /* data */ in occ_poll()
150 rc = occ->send_cmd(occ, cmd); in occ_poll()
152 occ->last_error = rc; in occ_poll()
153 if (occ->error_count++ > OCC_ERROR_COUNT_THRESHOLD) in occ_poll()
154 occ->error = rc; in occ_poll()
[all …]
/Linux-v5.15/drivers/hwmon/
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 …]
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
105 and ADM1023 sensor chips and clones: Maxim MAX1617 and MAX1617A,
117 and Philips NE1619 sensor chips.
128 sensor chip.
138 sensor chip.
149 and ADM1030 sensor chips.
[all …]
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.
27 while (x--) in __pow10()
33 static int scmi_hwmon_scale(const struct scmi_sensor_info *sensor, u64 *value) in scmi_hwmon_scale() argument
35 int scale = sensor->scale; in scmi_hwmon_scale()
38 switch (sensor->type) { in scmi_hwmon_scale()
44 case POWER: in scmi_hwmon_scale()
56 return -E2BIG; in scmi_hwmon_scale()
72 const struct scmi_sensor_info *sensor; in scmi_hwmon_read() local
[all …]
/Linux-v5.15/include/linux/
Dscmi_protocol.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 2018-2021 ARM Ltd.
20 * struct scmi_revision_info - version information structure
29 * @impl_ver: A vendor-specific implementation version.
31 * @sub_vendor_id: A sub-vendor identifier(Null terminated ASCII string)
64 * struct scmi_clk_proto_ops - represents the various operations provided
88 * struct scmi_perf_proto_ops - represents the various operations provided
102 * @est_power_get: gets the estimated power cost for a given performance domain
106 * @power_scale_mw_get: indicates if the power values provided are in milliWatts
128 unsigned long *rate, unsigned long *power);
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/thermal/
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 R-Car Gen3 SoCs, the thermal sensor controllers (TSC) control the thermal
16 - Niklas Söderlund <niklas.soderlund@ragnatech.se>
21 - renesas,r8a774a1-thermal # RZ/G2M
22 - renesas,r8a774b1-thermal # RZ/G2N
23 - renesas,r8a774e1-thermal # RZ/G2H
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/hwmon/
Dibmpowernv.txt2 ----------------------------
5 - compatible: must be one of
6 "ibm,opal-sensor-cooling-fan"
7 "ibm,opal-sensor-amb-temp"
8 "ibm,opal-sensor-power-supply"
9 "ibm,opal-sensor-power"
10 - sensor-id: an opaque id provided by the firmware to the kernel, identifies a
11 given sensor and its attribute data
15 cooling-fan#8-data {
16 sensor-id = <0x7052107>;
[all …]
/Linux-v5.15/Documentation/driver-api/media/
Dcamera-sensor.rst1 .. SPDX-License-Identifier: GPL-2.0
3 Writing camera sensor drivers
6 CSI-2 and parallel (BT.601 and BT.656) busses
7 ---------------------------------------------
9 Please see :ref:`transmitter-receiver`.
12 ---------------
23 elsewhere. Therefore only the pre-determined frequencies are configurable by the
29 Read the ``clock-frequency`` _DSD property to denote the frequency. The driver
35 The currently preferred way to achieve this is using ``assigned-clocks``,
36 ``assigned-clock-parents`` and ``assigned-clock-rates`` properties. See
[all …]
/Linux-v5.15/Documentation/w1/slaves/
Dw1_therm.rst9 * GXCAS GC20MH01 temperature sensor.
15 -----------
48 -1 if at least one sensor still in conversion, 1 if conversion is complete
49 but at least one sensor value has not been read yet. Result temperature is
52 read is sent but one sensor is not read immediately, the next access to
66 completion. Options 2, 3 can't be used in parasite power mode. To get back to
70 precision of the sensor for the next readings. Allowed resolutions are defined by
71 the sensor. Resolution is reset when the sensor gets power-cycled.
78 ``resolution`` entry on each device, if supported by the sensor.
80 Some non-genuine DS18B20 chips are fixed in 12-bit mode only, so the actual
[all …]
/Linux-v5.15/include/linux/iio/common/
Dst_sensors.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright 2012-2013 STMicroelectronics Inc.
65 .shift = sbits - rbits, \
127 * struct st_sensor_bdu - ST sensor device block data update
137 * struct st_sensor_das - ST sensor device data alignment selection
147 * struct st_sensor_int_drdy - ST sensor device drdy line parameters
161 * struct st_sensor_data_ready_irq - ST sensor device data-ready interrupt
162 * struct int1 - data-ready configuration register for INT1 pin.
163 * struct int2 - data-ready configuration register for INT2 pin.
166 * struct stat_drdy - status register of DRDY (data ready) interrupt.
[all …]
/Linux-v5.15/drivers/hid/intel-ish-hid/
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-v5.15/drivers/net/ethernet/sfc/
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-v5.15/drivers/thermal/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
37 int "Emergency poweroff delay in milli-seconds"
58 In case a sensor is registered with the thermal
60 as a hwmon. The sensor will then have the common
124 system and device power allocation. This governor can only
125 operate on cooling devices that implement the power API.
130 bool "Fair-share thermal governor"
132 Enable this to manage platform thermals using fair-share governor.
156 bool "Power allocator thermal governor"
160 allocating and limiting power to devices.
[all …]
/Linux-v5.15/drivers/macintosh/
Dwindfarm_smu_sensors.c1 // SPDX-License-Identifier: GPL-2.0-only
81 return -EIO; in smu_read_adc()
94 rc = smu_read_adc(ads->reg, &val); in smu_cputemp_get()
102 scaled = (s64)(((u64)val) * (u64)cpudiode->m_value); in smu_cputemp_get()
104 scaled += ((s64)cpudiode->b_value) << 9; in smu_cputemp_get()
116 rc = smu_read_adc(ads->reg, &val); in smu_cpuamp_get()
124 scaled = (s32)(val * (u32)cpuvcp->curr_scale); in smu_cpuamp_get()
125 scaled += (s32)cpuvcp->curr_offset; in smu_cpuamp_get()
137 rc = smu_read_adc(ads->reg, &val); in smu_cpuvolt_get()
145 scaled = (s32)(val * (u32)cpuvcp->volt_scale); in smu_cpuvolt_get()
[all …]
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-v5.15/Documentation/devicetree/bindings/clock/
Dqcom,gcc-apq8064.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/clock/qcom,gcc-apq8064.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Stephen Boyd <sboyd@kernel.org>
11 - Taniya Das <tdas@codeaurora.org>
15 power domains on APQ8064.
18 - dt-bindings/clock/qcom,gcc-msm8960.h
19 - dt-bindings/reset/qcom,gcc-msm8960.h
23 const: qcom,gcc-apq8064
[all …]
/Linux-v5.15/drivers/thermal/st/
Dst_thermal_memmap.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * ST Thermal Sensor Driver for memory mapped sensors.
6 * Copyright (C) 2003-2014 STMicroelectronics (R&D) Limited
19 /* Power control bits for the memory mapped thermal sensor */
25 * According to the STIH416 MPE temp sensor data sheet -
26 * the PDN (Power Down Bit) and SRSTN (Soft Reset Bit) need to be
28 * sensor. regmap_update_bits() will be used to update the register.
39 struct st_thermal_sensor *sensor = sdata; in st_mmap_thermal_trip_handler() local
41 thermal_zone_device_update(sensor->thermal_dev, in st_mmap_thermal_trip_handler()
48 static int st_mmap_power_ctrl(struct st_thermal_sensor *sensor, in st_mmap_power_ctrl() argument
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/media/i2c/
Dovti,ov2680.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Omnivision OV2680 CMOS Sensor
10 - Rui Miguel Silva <rmfrfs@gmail.com>
12 description: |-
13 The OV2680 color sensor is a low voltage, high performance 1/5 inch UXGA (2
14 megapixel) CMOS image sensor that provides a single-chip UXGA (1600 x 1200)
15 camera. It provides full-frame, sub-sampled, or windowed 10-bit images in
30 clock-names:
[all …]
Dov8856.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Omnivision OV8856 CMOS Sensor Device Tree Bindings
11 - Dongchun Zhu <dongchun.zhu@mediatek.com>
13 description: |-
14 The Omnivision OV8856 is a high performance, 1/4-inch, 8 megapixel, CMOS
15 image sensor that delivers 3264x2448 at 30fps. It provides full-frame,
16 sub-sampled, and windowed 10-bit MIPI images in various formats via the
18 through I2C and two-wire SCCB. The sensor output is available via CSI-2
[all …]
/Linux-v5.15/arch/arm/boot/dts/
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 …]
/Linux-v5.15/Documentation/devicetree/bindings/media/
Dsamsung-s5c73m3.txt2 ------------------------------
4 The S5C73M3 camera ISP supports MIPI CSI-2 and parallel (ITU-R BT.656) video
11 ---------------------
15 - compatible : "samsung,s5c73m3";
16 - reg : I2C slave address of the sensor;
17 - vdd-int-supply : digital power supply (1.2V);
18 - vdda-supply : analog power supply (1.2V);
19 - vdd-reg-supply : regulator input power supply (2.8V);
20 - vddio-host-supply : host I/O power supply (1.8V to 2.8V);
21 - vddio-cis-supply : CIS I/O power supply (1.2V to 1.8V);
[all …]

12345678910>>...30