/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-iio-adc-hi8435 | 6 Program sensor type for threshold detector inputs. 7 Could be either "GND-Open" or "Supply-Open" mode. Y is a 8 threshold detector input channel. Channels 0..7, 8..15, 16..23 16 Channel Y low voltage threshold. If sensor input voltage goes lower then 17 this value then the threshold falling event is pushed. 18 Depending on in_voltageY_sensing_mode the low voltage threshold 19 is separately set for "GND-Open" and "Supply-Open" modes. 20 Channels 0..31 have common low threshold values, but could have different 23 The low voltage threshold range is between 2..21V. 24 Hysteresis between low and high thresholds can not be lower then 2 and [all …]
|
/linux/Documentation/hwmon/ |
H A D | ltc2947.rst | 1 Kernel drivers ltc2947-i2c and ltc2947-spi 10 Addresses scanned: - 14 https://www.analog.com/media/en/technical-documentation/data-sheets/LTC2947.pdf 21 The LTC2947 is a high precision power and energy monitor that measures current, 30 active as soon as a temperature reading is higher than a defined threshold. The 37 The following attributes are supported. Limits are read-write, reset_history 38 is write-only and all the other attributes are read-only. 41 in0_input VP-VM voltage (mV). 42 in0_min Undervoltage threshold 43 in0_max Overvoltage threshold [all …]
|
H A D | ltc4282.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 12 Addresses scanned: - I2C 0x40 - 0x5A (7-bit) 13 Addresses scanned: - I2C 0x80 - 0xB4 with a step of 2 (8-bit) 17 https://www.analog.com/media/en/technical-documentation/data-sheets/ltc4282.pdf 25 from a live backplane. Using one or more external N-channel pass transistors, 30 drive allows high power applications to either share safe operating area across 31 parallel MOSFETs or support a 2-stage start-up that first charges the load 32 capacitance followed by enabling a low on-resistance path to the load. The 33 LTC4282 is well suited to high power applications because the precise monitoring 35 and power supplies must safely operate. Non-volatile configuration allows for [all …]
|
H A D | ltc2945.rst | 10 Addresses scanned: - 14 https://www.analog.com/media/en/technical-documentation/data-sheets/2945fb.pdf 16 Author: Guenter Roeck <linux@roeck-us.net> 20 ----------- 22 The LTC2945 is a rail-to-rail system monitor that measures current, voltage, 27 ----------- 37 $ echo ltc2945 0x10 > /sys/bus/i2c/devices/i2c-1/new_device 41 ------------- 57 in1_min Undervoltage threshold 58 in1_max Overvoltage threshold [all …]
|
H A D | bt1-pvt.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 3 Kernel driver bt1-pvt 8 * Baikal-T1 PVT sensor (in SoC) 10 Prefix: 'bt1-pvt' 12 Addresses scanned: - 21 ----------- 24 embedded into Baikal-T1 process, voltage and temperature sensors. PVT IP-core 29 compile-time configurable due to the hardware interface implementation 35 the threshold status bits. Depending on the measurements timeout settings 40 in alarm-less configuration the data conversion is performed by the driver [all …]
|
/linux/Documentation/admin-guide/media/ |
H A D | si476x.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 ------------------- 14 - According to the SiLabs' datasheet it is possible to update the 15 firmware of the radio chip in the run-time, thus bringing it to the 23 ------------------------------- 31 * /sys/kernel/debug/<device-name>/acf 42 crossed below the blend threshold 44 frequency is lower than threshold 46 frequency is lower than threshold 48 bandwidth is less than threshold [all …]
|
/linux/arch/powerpc/kernel/ |
H A D | tau_6xx.c | 1 // SPDX-License-Identifier: GPL-2.0 39 unsigned char high; member 59 /* setup THRM1, threshold, valid bit, interrupt when below threshold */ in set_thresholds() 62 /* setup THRM2, threshold, valid bit, interrupt when above threshold */ in set_thresholds() 63 mtspr(SPRN_THRM2, THRM1_THRES(tau[cpu].high) | THRM1_V | maybe_tie); in set_thresholds() 78 tau[cpu].low -= step_size; in TAUupdate() 79 tau[cpu].high -= (step_size - window_expand); in TAUupdate() 82 pr_debug("%s: low threshold crossed\n", __func__); in TAUupdate() 88 if (tau[cpu].high <= 127 - step_size) { in TAUupdate() 89 tau[cpu].low += (step_size - window_expand); in TAUupdate() [all …]
|
/linux/sound/soc/amd/acp/ |
H A D | amd.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 16 #include <sound/soc-acpi.h> 17 #include <sound/soc-dai.h> 41 #define THRESHOLD(bit, base) ((bit) + (base)) macro 42 #define I2S_RX_THRESHOLD(base) THRESHOLD(7, base) 43 #define I2S_TX_THRESHOLD(base) THRESHOLD(8, base) 44 #define BT_TX_THRESHOLD(base) THRESHOLD(6, base) 45 #define BT_RX_THRESHOLD(base) THRESHOLD(5, base) 46 #define HS_TX_THRESHOLD(base) THRESHOLD(4, base) 47 #define HS_RX_THRESHOLD(base) THRESHOLD(3, base) [all …]
|
/linux/net/wireless/ |
H A D | wext-spy.c | 4 * Authors : Jean Tourrilhes - HPL - <jt@hpl.hp.com> 5 * Copyright (c) 1997-2007 Jean Tourrilhes, All Rights Reserved. 21 if (dev->wireless_data) in get_spydata() 22 return dev->wireless_data->spy_data; in get_spydata() 36 return -EOPNOTSUPP; in iw_handler_set_spy() 41 spydata->spy_number = 0; in iw_handler_set_spy() 52 if (wrqu->data.length > 0) { in iw_handler_set_spy() 56 for (i = 0; i < wrqu->data.length; i++) in iw_handler_set_spy() 57 memcpy(spydata->spy_address[i], address[i].sa_data, in iw_handler_set_spy() 60 memset(spydata->spy_stat, 0, in iw_handler_set_spy() [all …]
|
/linux/include/linux/ |
H A D | bma150.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 25 bool any_motion_int; /* Set to enable any-motion interrupt */ 26 bool hg_int; /* Set to enable high-G interrupt */ 27 bool lg_int; /* Set to enable low-G interrupt */ 28 unsigned char any_motion_dur; /* Any-motion duration */ 29 unsigned char any_motion_thres; /* Any-motion threshold */ 30 unsigned char hg_hyst; /* High-G hysterisis */ 31 unsigned char hg_dur; /* High-G duration */ 32 unsigned char hg_thres; /* High-G threshold */ 33 unsigned char lg_hyst; /* Low-G hysterisis */ [all …]
|
/linux/drivers/power/supply/ |
H A D | ab8500-bm.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 157 /* BTEMP High thermal limits */ 267 * struct ab8500_fg_parameters - Fuel gauge algorithm parameters, in seconds 274 * @high_curr_time: Time current has to be high to go to recovery 276 * @accu_high_curr_ua: FG accumulation time in high current mode 277 * @high_curr_threshold_ua: High current threshold, in uA 278 * @lowbat_threshold_uv: Low battery threshold, in uV 279 * @battok_falling_th_sel0 Threshold in mV for battOk signal sel0 281 * @battok_raising_th_sel1 Threshold in mV for battOk signal sel1 286 * @maint_thres This is the threshold where we stop reporting [all …]
|
/linux/drivers/thermal/broadcom/ |
H A D | brcmstb_thermal.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2015-2017 Broadcom 57 #define AVS_TMON_TEMP_MIN -88161 79 /* Trips when temperature is below threshold */ 87 /* Trips when temperature is above threshold */ 95 /* Automatically resets chip when above threshold */ 123 int offset = priv->temp_params->offset; in avs_tmon_code_to_temp() 124 int mult = priv->temp_params->mult; in avs_tmon_code_to_temp() 126 return (offset - (int)((code & AVS_TMON_TEMP_MASK) * mult)); in avs_tmon_code_to_temp() 138 int offset = priv->temp_params->offset; in avs_tmon_temp_to_code() [all …]
|
/linux/include/linux/mfd/ |
H A D | ac100.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2016 Chen-Yu Tsai 7 * Chen-Yu Tsai <wens@csie.org> 84 /* ADC digital audio processing (high pass filter & auto gain control */ 91 #define AC100_ADC_DAP_L_H_A_C 0x86 /* Left High Avg. Coef */ 93 #define AC100_ADC_DAP_R_H_A_C 0x88 /* Right High Avg. Coef */ 99 #define AC100_ADC_DAP_N_TH 0x8e /* Noise Threshold */ 100 #define AC100_ADC_DAP_L_H_N_A_C 0x8f /* Left High Noise Avg. Coef */ 102 #define AC100_ADC_DAP_R_H_N_A_C 0x91 /* Right High Noise Avg. Coef */ 104 #define AC100_ADC_DAP_H_HPF_C 0x93 /* High High-Pass-Filter Coef */ [all …]
|
H A D | si476x-reports.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * include/media/si476x-platform.h -- Definitions of the data formats 15 * struct si476x_rsq_status - structure containing received signal 17 * @multhint: Multipath Detect High. 18 * true - Indicatedes that the value is below 20 * false - Indicatedes that the value is above 23 * true - Indicatedes that the value is below 25 * false - Indicatedes that the value is above 27 * @snrhint: SNR Detect High. 28 * true - Indicatedes that the value is below [all …]
|
/linux/drivers/thermal/ |
H A D | thermal_trip.c | 1 // SPDX-License-Identifier: GPL-2.0 35 ret = cb(&td->trip, data); in for_each_thermal_trip() 50 mutex_lock(&tz->lock); in thermal_zone_for_each_trip() 52 mutex_unlock(&tz->lock); in thermal_zone_for_each_trip() 58 void thermal_zone_set_trips(struct thermal_zone_device *tz, int low, int high) in thermal_zone_set_trips() argument 62 lockdep_assert_held(&tz->lock); in thermal_zone_set_trips() 64 if (!tz->ops.set_trips) in thermal_zone_set_trips() 68 if (tz->prev_low_trip == low && tz->prev_high_trip == high) in thermal_zone_set_trips() 71 tz->prev_low_trip = low; in thermal_zone_set_trips() 72 tz->prev_high_trip = high; in thermal_zone_set_trips() [all …]
|
/linux/Documentation/admin-guide/pm/ |
H A D | intel_uncore_frequency_scaling.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 :Copyright: |copy| 2022-2023 Intel Corporation 13 ------------ 30 --------------- 45 This is a read-only attribute. If users adjust max_freq_khz, 50 This is a read-only attribute. If users adjust min_freq_khz, 63 ----------------------------------------------------------------- 118 ------------------------------- 122 optimize trade-off between latency and power consumption. For some 136 If the average CPU utilization is below a user-defined threshold [all …]
|
/linux/Documentation/devicetree/bindings/thermal/ |
H A D | qcom-lmh.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/thermal/qcom-lmh.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Thara Gopinath <thara.gopinath@gmail.com> 21 - enum: 22 - qcom,sc8180x-lmh 23 - qcom,sdm845-lmh 24 - qcom,sm8150-lmh 25 - items: [all …]
|
/linux/drivers/hwmon/ |
H A D | bt1-pvt.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Baikal-T1 Process, Voltage, Temperature sensor driver 17 /* Baikal-T1 PVT registers and their bitfields */ 61 * PVT sensors-related limits and default values 73 * when one is determined for Baikal-T1 SoC). 84 #define PVT_TEMP_MIN -48380L 105 * enum pvt_sensor_type - Baikal-T1 PVT sensor types (correspond to each PVT 110 * @PVT_LVT: PVT Low-Voltage threshold sensor. 111 * @PVT_HVT: PVT High-Voltage threshold sensor. 112 * @PVT_SVT: PVT Standard-Voltage threshold sensor. [all …]
|
/linux/drivers/net/ethernet/intel/igb/ |
H A D | e1000_regs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 2007 - 2018 Intel Corporation. */ 7 #define E1000_CTRL 0x00000 /* Device Control - RW */ 8 #define E1000_STATUS 0x00008 /* Device Status - RO */ 9 #define E1000_EECD 0x00010 /* EEPROM/Flash Control - RW */ 10 #define E1000_EERD 0x00014 /* EEPROM Read - RW */ 11 #define E1000_CTRL_EXT 0x00018 /* Extended Device Control - RW */ 12 #define E1000_MDIC 0x00020 /* MDI Control - RW */ 13 #define E1000_MDICNFG 0x00E04 /* MDI Config - RW */ 14 #define E1000_SCTL 0x00024 /* SerDes Control - RW */ [all …]
|
/linux/fs/smb/client/ |
H A D | compress.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 * MS-SMB2 "3.1.4.4 Compressing the Message" 12 * MS-SMB2 "3.1.5.3 Decompressing the Chained Message" 13 * MS-XCA - for details of the supported algorithms 39 * Parsing the sample goes from "low-hanging fruits" (fastest algorithms, likely compressible) 48 * has_low_entropy() - Compute Shannon entropy of the sampled data. 53 * compress the data) is below the minimum threshold. 56 * There _is_ an entropy level here that's > 65 (minimum threshold) that would indicate a 65 const size_t threshold = 65, max_entropy = 8 * ilog2(16); in has_low_entropy() local 74 sum += p * (len - p2); in has_low_entropy() [all …]
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac100.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 Copyright (C) 2007-2009 STMicroelectronics Ltd 17 /*---------------------------------------------------------------------------- 19 *---------------------------------------------------------------------------*/ 22 #define MAC_ADDR_HIGH 0x00000004 /* MAC Address High */ 24 #define MAC_HASH_HIGH 0x0000000c /* Multicast Hash Table High */ 72 /*---------------------------------------------------------------------------- 74 *---------------------------------------------------------------------------*/ 83 #define DMA_BUS_MODE_BAR_BUS 0x00000002 /* Bar-Bus Arbitration */ 89 /* Transmit Threshold Control */ [all …]
|
/linux/arch/arm/boot/dts/rockchip/ |
H A D | rk3288-evb.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 #include <dt-bindings/input/input.h> 4 #include <dt-bindings/pwm/pwm.h> 13 adc-keys { 14 compatible = "adc-keys"; 15 io-channels = <&saradc 1>; 16 io-channel-names = "buttons"; 17 keyup-threshold-microvolt = <1800000>; 19 button-up { 22 press-threshold-microvolt = <100000>; [all …]
|
/linux/arch/x86/kernel/cpu/mce/ |
H A D | amd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * (c) 2005-2016 Advanced Micro Devices, Inc. 5 * Written by Jacob Shin - AMD, Inc. 55 /* Threshold LVT offset is at MSR0xC0000410[15:12] */ 142 if (!b->hwid) in smca_get_bank_type() 145 return b->hwid->bank_type; in smca_get_bank_type() 215 * So to define a unique name for each bank, we use a temp c-string to append 246 u32 low, high; in smca_set_misc_banks_map() local 250 * (MCx_MISC0) indicates presence of additional MISC regs set (MISC1-4). in smca_set_misc_banks_map() 252 if (rdmsr_safe(MSR_AMD64_SMCA_MCx_CONFIG(bank), &low, &high)) in smca_set_misc_banks_map() [all …]
|
/linux/include/video/ |
H A D | s1d13xxxfb.h | 4 * (c) 2005 Thibaut VARENE <varenet@parisc-linux.org> 45 #define S1DREG_LCD_NDISP_HPER 0x0034 /* LCD Horizontal Non-Display Period Register: ((val)+1)*8)=N… 50 #define S1DREG_LCD_NDISP_VPER 0x003A /* LCD Vertical Non-Display Period Register: (val)+1=NDlines … 61 #define S1DREG_LCD_DISP_FIFO_HTC 0x004A /* LCD Display FIFO High Threshold Control Register */ 62 #define S1DREG_LCD_DISP_FIFO_LTC 0x004B /* LCD Display FIFO Low Threshold Control Register */ 64 #define S1DREG_CRT_NDISP_HPER 0x0052 /* CRT/TV Horizontal Non-Display Period Register */ 69 #define S1DREG_CRT_NDISP_VPER 0x0058 /* CRT/TV Vertical Non-Display Period Register */ 80 #define S1DREG_CRT_DISP_FIFO_HTC 0x006A /* CRT/TV Display FIFO High Threshold Control Register */ 81 #define S1DREG_CRT_DISP_FIFO_LTC 0x006B /* CRT/TV Display FIFO Low Threshold Control Register */ 94 #define S1DREG_LCD_CUR_FIFO_HTC 0x007E /* LCD Ink/Cursor FIFO High Threshold Register */ [all …]
|
/linux/drivers/thermal/intel/ |
H A D | therm_throt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 45 * struct _thermal_state - Represent the current thermal event state 48 * @last_interrupt_time: Stores the timestamp for the last threshold 49 * high event. 52 * or power threshold interrupts. 54 * or power threshold interrupts. 57 * threshold high to low state. 61 * This is used for the purpose of rate-control. 62 * @new_event: Stores the last high/low status of the 72 * @baseline_temp: Temperature at which thermal threshold high [all …]
|