| /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> 36 #define THRESHOLD(bit, base) ((bit) + (base)) macro 37 #define I2S_RX_THRESHOLD(base) THRESHOLD(7, base) 38 #define I2S_TX_THRESHOLD(base) THRESHOLD(8, base) 39 #define BT_TX_THRESHOLD(base) THRESHOLD(6, base) 40 #define BT_RX_THRESHOLD(base) THRESHOLD(5, base) 41 #define HS_TX_THRESHOLD(base) THRESHOLD(4, base) 42 #define HS_RX_THRESHOLD(base) THRESHOLD(3, base) [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 …]
|
| H A D | lis3lv02d.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * struct lis3lv02d_platform_data - lis3 chip family platform data 8 * @click_thresh_x: Click detection unit x axis threshold 9 * @click_thresh_y: Click detection unit y axis threshold 10 * @click_thresh_z: Click detection unit z axis threshold 21 * @wakeup_thresh: Wake up unit 1 threshold value 23 * @wakeup_thresh2: Wake up unit 2 threshold value 24 * @hipass_ctrl: High pass filter control (enable / disable, cut off 26 * @axis_x: Sensor orientation remapping for x-axis 27 * @axis_y: Sensor orientation remapping for y-axis [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/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/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/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 ----------------------------------------------------------------- 128 ------------------------------- 132 optimize trade-off between latency and power consumption. For some 146 If the average CPU utilization is below a user-defined threshold [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. 52 /* Threshold LVT offset is at MSR0xC0000410[15:12] */ 139 if (!b->hwid) in smca_get_bank_type() 142 return b->hwid->bank_type; in smca_get_bank_type() 212 * So to define a unique name for each bank, we use a temp c-string to append 234 /* Value upon which threshold interrupt is generated. */ 238 /* List of threshold blocks within this block's MCA bank. */ 244 /* List of threshold blocks within this MCA bank. */ [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/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/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/tools/tracing/rtla/tests/ |
| H A D | osnoise.t | 2 # SPDX-License-Identifier: GPL-2.0 9 "osnoise --help" 0 "osnoise version" 10 check "verify the --priority/-P param" \ 11 …"osnoise top -P F:1 -c 0 -r 900000 -d 10s -q -S 1 --on-threshold shell,command=\"tests/scripts/che… 13 check "verify the --stop/-s param" \ 14 "osnoise top -s 30 -T 1" 2 "osnoise hit stop tracing" 15 check "verify the --trace param" \ 16 "osnoise hist -s 30 -T 1 -t" 2 "Saving trace to osnoise_trace.txt" 17 check "verify the --entries/-E param" \ 18 "osnoise hist -P F:1 -c 0 -r 900000 -d 10s -b 10 -E 25" [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/drivers/net/wireless/broadcom/b43/ |
| H A D | phy_n.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 /* N-PHY registers. */ 18 #define B43_NPHY_4WI_ADDR B43_PHY_N(0x00B) /* Four-wire bus address */ 19 #define B43_NPHY_4WI_DATAHI B43_PHY_N(0x00C) /* Four-wire bus data high */ 20 #define B43_NPHY_4WI_DATALO B43_PHY_N(0x00D) /* Four-wire bus data low */ 21 #define B43_NPHY_BIST_STAT0 B43_PHY_N(0x00E) /* Built-in self test status 0 */ 22 #define B43_NPHY_BIST_STAT1 B43_PHY_N(0x00F) /* Built-in self test status 1 */ 60 #define B43_NPHY_C1_CLIP1_HIGAIN B43_PHY_N(0x021) /* Core 1 clip1 high gain code */ 70 #define B43_NPHY_C1_CLIPWBTHRES B43_PHY_N(0x027) /* Core 1 clip wideband threshold */ 75 #define B43_NPHY_C1_W1THRES B43_PHY_N(0x028) /* Core 1 W1 threshold */ [all …]
|
| /linux/drivers/iio/proximity/ |
| H A D | vcnl3020.c | 1 // SPDX-License-Identifier: GPL-2.0-only 26 #define VCNL_PS_LO_THR_HI 0x8a /* High byte of low threshold value */ 27 #define VCNL_PS_LO_THR_LO 0x8b /* Low byte of low threshold value */ 28 #define VCNL_PS_HI_THR_HI 0x8c /* High byte of high threshold value */ 29 #define VCNL_PS_HI_THR_LO 0x8d /* Low byte of high threshold value */ 35 #define VCNL_PS_OD BIT(3) /* start on-demand proximity 47 /* Enable interrupts on low or high thresholds */ 51 #define VCNL_INT_TH_HI BIT(0) /* High threshold hit */ 52 #define VCNL_INT_TH_LOW BIT(1) /* Low threshold hit */ 69 * struct vcnl3020_data - vcnl3020 specific data. [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/Documentation/misc-devices/ |
| H A D | bh1770glc.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 - ROHM BH1770GLC 10 - OSRAM SFH7770 19 ----------- 26 low and high threshold interrupts. 28 Proximity part contains IR-led driver up to 3 IR leds. The chip measures 34 Driver uses threshold interrupts to avoid need for polling the values. 36 by using a delayed work. As long as there is proximity threshold above 38 below the threshold value, there is no interrupt and the delayed work will 49 ----- [all …]
|