| /kernel/linux/linux-5.10/Documentation/ABI/testing/ |
| 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 …]
|
| /kernel/linux/linux-6.6/Documentation/ABI/testing/ |
| 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 …]
|
| /kernel/linux/linux-5.10/Documentation/hwmon/ |
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-6.6/Documentation/hwmon/ |
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/media/ |
| 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 …]
|
| /kernel/linux/linux-6.6/Documentation/admin-guide/media/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/media/i2c/ |
| D | vs6624_regs.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * vs6624 - ST VS6624 CMOS image sensor registers 147 #define VS6624_FLASH_AG_THR_MSB 0x11BB /* recommend flash gun analog gain threshold MSB */ 148 #define VS6624_FLASH_AG_THR_LSB 0x11BC /* recommend flash gun analog gain threshold LSB */ 182 #define VS6624_CM_LOW_THR_MSB 0x1F03 /* low threshold for exposure MSB */ 183 #define VS6624_CM_LOW_THR_LSB 0x1F04 /* low threshold for exposure LSB */ 184 #define VS6624_CM_HIGH_THR_MSB 0x1F07 /* high threshold for exposure MSB */ 185 #define VS6624_CM_HIGH_THR_LSB 0x1F08 /* high threshold for exposure LSB */ 191 #define VS6624_PEAK_LOW_THR_G_MSB 0x2005 /* low threshold for exposure for gain MSB */ 192 #define VS6624_PEAK_LOW_THR_G_LSB 0x2006 /* low threshold for exposure for gain LSB */ [all …]
|
| /kernel/linux/linux-6.6/sound/soc/amd/acp/ |
| 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> 38 #define THRESHOLD(bit, base) ((bit) + (base)) macro 39 #define I2S_RX_THRESHOLD(base) THRESHOLD(7, base) 40 #define I2S_TX_THRESHOLD(base) THRESHOLD(8, base) 41 #define BT_TX_THRESHOLD(base) THRESHOLD(6, base) 42 #define BT_RX_THRESHOLD(base) THRESHOLD(5, base) 43 #define HS_TX_THRESHOLD(base) THRESHOLD(4, base) 44 #define HS_RX_THRESHOLD(base) THRESHOLD(3, base) [all …]
|
| /kernel/linux/linux-5.10/arch/powerpc/kernel/ |
| D | tau_6xx.c | 1 // SPDX-License-Identifier: GPL-2.0 31 #include <asm/asm-prototypes.h> 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() [all …]
|
| /kernel/linux/linux-6.6/arch/powerpc/kernel/ |
| 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 …]
|
| /kernel/linux/linux-5.10/net/wireless/ |
| 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 …]
|
| /kernel/linux/linux-6.6/net/wireless/ |
| 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 …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| 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 …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| 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 …]
|
| /kernel/linux/linux-5.10/include/linux/mfd/ |
| D | abx500.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2007-2009 ST-Ericsson AB 45 * struct abx500_res_to_temp - defines one point in a temp to res curve. To 57 * struct abx500_v_to_cap - Table for translating voltage to capacity 70 * struct abx500_fg_parameters - Fuel gauge algorithm parameters, in seconds 77 * @high_curr_time: Time current has to be high to go to recovery 79 * @accu_high_curr: FG accumulation time in high current mode 80 * @high_curr_threshold: High current threshold, in mA 81 * @lowbat_threshold: Low battery threshold, in mV 82 * @overbat_threshold: Over battery threshold, in mV [all …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/fs/btrfs/ |
| D | async-thread.c | 1 // SPDX-License-Identifier: GPL-2.0 12 #include "async-thread.h" 21 #define NO_THRESHOLD (-1) 45 /* Threshold to change current_active */ 53 struct __btrfs_workqueue *high; member 58 return wq->fs_info; in btrfs_workqueue_owner() 63 return work->wq->fs_info; in btrfs_work_owner() 69 * We could compare wq->normal->pending with num_online_cpus() in btrfs_workqueue_normal_congested() 74 if (wq->normal->thresh == NO_THRESHOLD) in btrfs_workqueue_normal_congested() 77 return atomic_read(&wq->normal->pending) > wq->normal->thresh * 2; in btrfs_workqueue_normal_congested() [all …]
|
| /kernel/linux/linux-6.6/drivers/thermal/broadcom/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/power/supply/ |
| 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 …]
|
| /kernel/linux/linux-6.6/include/linux/mfd/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgb/ |
| D | ixgb_param.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2008 Intel Corporation. */ 14 #define OPTION_UNSET -1 33 * Valid Range: 64-4096 42 * Valid Range: 64-4096 51 * Valid Range: 0-3 52 * - 0 - No Flow Control 53 * - 1 - Rx only, respond to PAUSE frames but do not generate them 54 * - 2 - Tx only, generate PAUSE frames but ignore them on receive 55 * - 3 - Full Flow Control Support [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/thermal/ |
| 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 - qcom,sc8180x-lmh 22 - qcom,sdm845-lmh 23 - qcom,sm8150-lmh 27 - description: core registers 32 '#interrupt-cells': [all …]
|
| /kernel/linux/linux-5.10/drivers/thermal/broadcom/ |
| 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 …]
|