/linux/arch/arm64/boot/dts/exynos/ |
H A D | exynos5433-tmu.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <dt-bindings/thermal/thermal.h> 11 thermal-zones { 12 atlas0_thermal: atlas0-thermal { 13 thermal-sensors = <&tmu_atlas0>; 14 polling-delay-passive = <0>; 15 polling-delay = <0>; 17 atlas0_alert_0: atlas0-alert-0 { 22 atlas0_alert_1: atlas0-alert-1 { 27 atlas0_alert_2: atlas0-alert-2 { [all …]
|
H A D | exynos7-trip-points.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 10 cpu-alert-0 { 15 cpu-alert-1 { 20 cpu-alert-2 { 25 cpu-alert-3 { 30 cpu-alert-4 { 35 cpu-alert-5 { 40 cpu-alert-6 { 45 cpu-crit-0 {
|
/linux/drivers/i2c/ |
H A D | i2c-smbus.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * i2c-smbus.c - SMBus extensions to the I2C protocol 6 * Copyright (C) 2010-2019 Jean Delvare <jdelvare@suse.de> 13 #include <linux/i2c-smbus.h> 22 struct work_struct alert; member 23 struct i2c_client *ara; /* Alert response address */ 40 if (!client || client->addr != data->addr) in smbus_do_alert() 42 if (client->flags & I2C_CLIENT_TEN) in smbus_do_alert() 50 if (client->dev.driver) { in smbus_do_alert() 51 driver = to_i2c_driver(client->dev.driver); in smbus_do_alert() [all …]
|
/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos5422-odroidxu3-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Hardkernel Odroid XU3/XU3-Lite/XU4 boards common device tree source 12 #include <dt-bindings/input/input.h> 13 #include "exynos5422-odroid-core.dtsi" 20 gpio-keys { 21 compatible = "gpio-keys"; 22 pinctrl-names = "default"; 23 pinctrl-0 = <&power_key>; 25 power-key { 36 debounce-interval = <0>; [all …]
|
H A D | exynos5422-odroidhc1.dts | 1 // SPDX-License-Identifier: GPL-2.0 10 /dts-v1/; 11 #include <dt-bindings/leds/common.h> 12 #include "exynos5422-odroid-core.dtsi" 16 compatible = "hardkernel,odroid-hc1", "samsung,exynos5800", \ 19 led-controller { 20 compatible = "pwm-leds"; 22 led-1 { 26 pwm-names = "pwm2"; 27 max-brightness = <255>; [all …]
|
H A D | exynos5420-trip-points.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 polling-delay-passive = <0>; 9 polling-delay = <0>; 11 cpu-alert-0 { 16 cpu-alert-1 { 21 cpu-alert-2 { 26 cpu-crit-0 {
|
H A D | exynos5420-arndale-octa.dts | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 11 #include "exynos5420-cpus.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 14 #include <dt-bindings/input/input.h> 15 #include <dt-bindings/clock/samsung,s2mps11.h> 19 compatible = "insignal,arndale-octa", "samsung,exynos5420", "samsung,exynos5"; 32 stdout-path = "serial3:115200n8"; 36 compatible = "samsung,secure-firmware"; [all …]
|
H A D | exynos4-cpu-thermal.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <dt-bindings/thermal/thermal.h> 11 thermal-zones { 12 cpu_thermal: cpu-thermal { 13 thermal-sensors = <&tmu>; 14 polling-delay-passive = <0>; 15 polling-delay = <0>; 17 cpu_alert0: cpu-alert-0 { 22 cpu_alert1: cpu-alert-1 { 27 cpu_alert2: cpu-alert-2 { [all …]
|
/linux/net/handshake/ |
H A D | alert.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Handle the TLS Alert protocol 27 * tls_alert_send - send a TLS Alert on a kTLS socket 29 * @level: TLS Alert level 30 * @description: TLS Alert description 41 u8 alert[2]; in tls_alert_send() local 44 trace_tls_alert_send(sock->sk, level, description); in tls_alert_send() 46 alert[0] = level; in tls_alert_send() 47 alert[1] = description; in tls_alert_send() 48 iov.iov_base = alert; in tls_alert_send() [all …]
|
/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | maxim,max17040.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 13 - $ref: power-supply.yaml# 18 - maxim,max17040 19 - maxim,max17041 20 - maxim,max17043 21 - maxim,max17044 22 - maxim,max17048 [all …]
|
H A D | battery.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 14 In smart batteries, these are typically stored in non-volatile memory 16 no appropriate non-volatile memory, or it is unprogrammed/incorrect. 27 Batteries must be referenced by chargers and/or fuel-gauges using a phandle. 28 The phandle's property should be named "monitored-battery". 32 const: simple-battery 34 device-chemistry: [all …]
|
H A D | microchip,ucs1002.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 22 interrupt-names: 24 - items: 25 - const: a_det 26 - const: alert 27 - const: a_det 28 - const: alert [all …]
|
/linux/Documentation/hwmon/ |
H A D | ina3221.rst | 10 Addresses: I2C 0x40 - 0x43 19 ----------- 24 and power are calculated host-side from these. 27 ------------- 35 curr[123]_crit Critical alert current(mA) setting, activates the 38 curr[123]_crit_alarm Critical alert current limit exceeded 39 curr[123]_max Warning alert current(mA) setting, activates the 42 curr[123]_max_alarm Warning alert current limit exceeded 49 curr4_crit Critical alert current(mA) setting for sum of current 54 curr4_crit_alarm Critical alert current limit exceeded for sum of [all …]
|
H A D | max6639.rst | 12 Datasheet: https://datasheets.maximintegrated.com/en/ds/MAX6639-MAX6639F.pdf 15 - He Changqing <hechangqing@semptian.com> 16 - Roland Stigge <stigge@antcom.de> 19 ----------- 21 This driver implements support for the Maxim MAX6639. This chip is a 2-channel 23 temperature and one external diode-connected transistor or two external 24 diode-connected transistors. 38 temp1_crit RW Set ALERT temperature for input 1 39 temp2_crit RW Set ALERT temperature for input 2 51 temp1_crit_alarm R Alarm on ALERT temperature on channel 1 [all …]
|
H A D | sht3x.rst | 6 * Sensirion SHT3x-DIS 13 - https://sensirion.com/media/documents/213E6A3B/63A5A569/Datasheet_SHT3x_DIS.pdf 14 …- https://sensirion.com/media/documents/051DF50B/639C8101/Sensirion_Humidity_and_Temperature_Senso… 16 * Sensirion STS3x-DIS 23 …- https://sensirion.com/media/documents/1DA31AFD/61641F76/Sensirion_Temperature_Sensors_STS3x_Data… 24 … - https://sensirion.com/media/documents/292A335C/65537BAF/Sensirion_Datasheet_STS32_STS33.pdf 28 - David Frey <david.frey@sensirion.com> 29 - Pascal Sachs <pascal.sachs@sensirion.com> 32 ----------- 34 This driver implements support for the Sensirion SHT3x-DIS and STS3x-DIS [all …]
|
/linux/Documentation/devicetree/bindings/hwmon/ |
H A D | max6697.txt | 4 - compatible: 16 - reg: I2C address 20 - smbus-timeout-disable 23 - extended-range-enable 26 - beta-compensation-enable 30 - alert-mask 31 Alert bit mask. Alert disabled for bits set. 33 If not specified, alert will be enabled for all channels. 34 - over-temperature-mask 35 Over-temperature bit mask. Over-temperature reporting disabled for [all …]
|
H A D | adi,adm1177.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michael Hennerich <michael.hennerich@analog.com> 14 https://www.analog.com/media/en/technical-documentation/data-sheets/ADM1177.pdf 19 - adi,adm1177 24 avcc-supply: 28 shunt-resistor-micro-ohms: 31 the current reading and overcurrent alert is disabled. 33 adi,shutdown-threshold-microamp: [all …]
|
/linux/Documentation/iio/ |
H A D | ad7380.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 23 * `AD7380-4 <https://www.analog.com/en/products/ad7380-4.html>`_ 24 * `AD7381-4 <https://www.analog.com/en/products/ad7381-4.html>`_ 25 * `AD7383-4 <https://www.analog.com/en/products/ad7383-4.html>`_ 26 * `AD7384-4 <https://www.analog.com/en/products/ad7384-4.html>`_ 27 * `AD7386-4 <https://www.analog.com/en/products/ad7386-4.html>`_ 28 * `AD7387-4 <https://www.analog.com/en/products/ad7387-4.html>`_ 29 * `AD7388-4 <https://www.analog.com/en/products/ad7388-4.html>`_ 30 * `AD7389-4 <https://www.analog.com/en/products/ad7389-4.html>`_ 31 * `ADAQ4370-4 <https://www.analog.com/en/products/adaq4370-4.html>`_ [all …]
|
/linux/drivers/regulator/ |
H A D | rt6190-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 103 pm_runtime_get_sync(data->dev); in rt6190_out_enable() 141 /* cleared cached alert event */ in rt6190_out_disable() 142 data->cached_alert_evt = 0; in rt6190_out_disable() 144 pm_runtime_put(data->dev); in rt6190_out_disable() 157 return -EINVAL; in rt6190_out_set_current_limit() 159 csel = DIV_ROUND_UP(min_uA - RT6190_OUT_MIN_UA, RT6190_OUT_STEP_UA); in rt6190_out_set_current_limit() 163 return -EINVAL; in rt6190_out_set_current_limit() 184 csel -= RT6190_OUTC_MINSEL; in rt6190_out_get_current_limit() 202 return -EINVAL; in rt6190_out_set_mode() [all …]
|
/linux/drivers/thermal/ti-soc-thermal/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 9 This includes alert interrupts generation and also the TSHUT 29 - OMAP3430 44 - OMAP4430 45 - OMAP4460 46 - OMAP4470 48 This includes alert interrupts generation and also the TSHUT 58 - OMAP5430 60 This includes alert interrupts generation and also the TSHUT 70 - DRA752 [all …]
|
/linux/drivers/power/supply/ |
H A D | max17040_battery.c | 1 // SPDX-License-Identifier: GPL-2.0 4 // fuel-gauge systems for lithium-ion (Li+) batteries 150 /* Low alert threshold from 32% to 1% of the State of Charge */ 160 return regmap_write(chip->regmap, MAX17040_CMD, chip->data.reset_val); in max17040_reset() 165 level = 32 - level * (chip->quirk_double_soc ? 2 : 1); in max17040_set_low_soc_alert() 166 return regmap_update_bits(chip->regmap, MAX17040_CONFIG, in max17040_set_low_soc_alert() 172 return regmap_update_bits(chip->regmap, MAX17040_CONFIG, in max17040_set_soc_alert() 178 u16 mask = chip->data.rcomp_bytes == 2 ? in max17040_set_rcomp() 181 return regmap_update_bits(chip->regmap, MAX17040_CONFIG, mask, rcomp); in max17040_set_rcomp() 186 struct chip_data *d = &chip->data; in max17040_raw_vcell_to_uvolts() [all …]
|
/linux/arch/s390/kernel/ |
H A D | perf_cpum_sf.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Performance event support for the System z CPU-measurement Sampling Facility 29 #define PERF_EVENT_CPUM_SF 0xB0000UL /* Event: Basic-sampling */ 30 #define PERF_EVENT_CPUM_SF_DIAG 0xBD000UL /* Event: Combined-sampling */ 31 #define PERF_CPUM_SF_BASIC_MODE 0x0001 /* Basic-sampling flag */ 32 #define PERF_CPUM_SF_DIAG_MODE 0x0002 /* Diagnostic-sampling flag */ 35 #define OVERFLOW_REG(hwc) ((hwc)->extra_reg.config) 36 #define SFB_ALLOC_REG(hwc) ((hwc)->extra_reg.alloc) 37 #define TEAR_REG(hwc) ((hwc)->last_tag) 38 #define SAMPL_RATE(hwc) ((hwc)->event_base) [all …]
|
/linux/arch/arm/boot/dts/aspeed/ |
H A D | aspeed-bmc-ufispace-ncplite.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 /dts-v1/; 5 #include "aspeed-g6.dtsi" 6 #include <dt-bindings/i2c/i2c.h> 7 #include <dt-bindings/gpio/aspeed-gpio.h> 11 compatible = "ufispace,ncplite-bmc", "aspeed,ast2600"; 18 stdout-path = &uart5; 27 iio-hwmon { 28 compatible = "iio-hwmon"; 29 io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>, [all …]
|
/linux/Documentation/power/ |
H A D | power_supply_class.rst | 8 properties to user-space. 60 +--------------------------------------------------------------------------+ 61 | **Charge/Energy/Capacity - how to not confuse** | 62 +--------------------------------------------------------------------------+ 66 | - `CHARGE_*` | 68 | - `ENERGY_*` | 70 | - `CAPACITY` | 72 +--------------------------------------------------------------------------+ 142 relative, time-based measurements. 186 minimum capacity alert value in percents. [all …]
|
/linux/arch/arm64/boot/dts/ti/ |
H A D | k3-am62a-thermal.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 3 * Copyright (C) 2023-2024 Texas Instruments Incorporated - https://www.ti.com/ 6 #include <dt-bindings/thermal/thermal.h> 8 thermal_zones: thermal-zones { 9 main0_thermal: main0-thermal { 10 polling-delay-passive = <250>; /* milliSeconds */ 11 polling-delay = <500>; /* milliSeconds */ 12 thermal-sensors = <&wkup_vtm0 0>; 15 main0_alert: main0-alert { 21 main0_crit: main0-crit { [all …]
|