/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. 27 If falling threshold results hysteresis to odd value then rising [all …]
|
/linux/Documentation/trace/ |
H A D | hwlat_detector.rst | 2 Hardware Latency Detector 6 ------------- 24 The hardware latency detector works by hogging one of the cpus for configurable 31 Note that the hwlat detector should *NEVER* be used in a production environment. 36 ------ 40 redefine the threshold in microseconds (us) above which latency spikes will 50 - width - time period to sample with CPUs held (usecs) 52 - window - total period of sampling, width being inside (usecs) 55 for every 1,000,000 usecs (1s) the hwlat detector will spin for 500,000 usecs 57 change to a default of 10 usecs. If any latencies that exceed the threshold is [all …]
|
/linux/Documentation/devicetree/bindings/iio/adc/ |
H A D | holt,hi8435.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Holt Integrated Circuits HI-8435 SPI threshold detector 10 - Vladimir Barinov <vladimir.barinov@cogentembedded.com> 13 Datasheet: http://www.holtic.com/documents/427-hi-8435_v-rev-lpdf.do 27 "#io-channel-cells": 31 - compatible 32 - reg 35 - $ref: /schemas/spi/spi-peripheral-props.yaml# [all …]
|
/linux/Documentation/admin-guide/ |
H A D | lockup-watchdogs.rst | 2 Softlockup detector and hardlockup detector (aka nmi_watchdog) 14 "softlockup_panic" (see "Documentation/admin-guide/kernel-parameters.rst" for 26 (see "Documentation/admin-guide/kernel-parameters.rst" for details). 43 (compile-time initialized to 10 and configurable through sysctl of the 46 'hardlockup detector' (the handler for the NMI perf event) will 52 for 2*watchdog_thresh seconds (the softlockup threshold) the 53 'softlockup detector' (coded inside the hrtimer callback function) 60 detector kicks in. 64 event. The right value for a particular environment is a trade-off 77 to continue to run on the housekeeping (non-tickless) cores means
|
/linux/include/soc/canaan/ |
H A D | k210-sysctl.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (C) 2019-20 Sean Anderson <seanga2@gmail.com> 11 * Taken from Kendryte SDK (kendryte-standalone-sdk). 19 #define K210_SYSCTL_ROM_ERROR 0x1C /* AXI ROM detector */ 26 #define K210_SYSCTL_THR0 0x38 /* Clock threshold controller 0 */ 27 #define K210_SYSCTL_THR1 0x3C /* Clock threshold controller 1 */ 28 #define K210_SYSCTL_THR2 0x40 /* Clock threshold controller 2 */ 29 #define K210_SYSCTL_THR3 0x44 /* Clock threshold controller 3 */ 30 #define K210_SYSCTL_THR4 0x48 /* Clock threshold controller 4 */ 31 #define K210_SYSCTL_THR5 0x4C /* Clock threshold controller 5 */ [all …]
|
/linux/drivers/media/dvb-frontends/ |
H A D | z0194a.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 6 * see Documentation/driver-api/media/drivers/dvb-usb.rst for more information 56 0x15, 0xc9, /* lock detector threshold */ 68 0x29, 0x1e, /* 1/2 threshold */ 69 0x2a, 0x14, /* 2/3 threshold */ 70 0x2b, 0x0f, /* 3/4 threshold */ 71 0x2c, 0x09, /* 5/6 threshold */ 72 0x2d, 0x05, /* 7/8 threshold */
|
H A D | bsru6.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * bsru6.h - ALPS BSRU6 tuner support (moved from budget-ci.c) 27 0x15, 0xc9, // lock detector threshold 39 0x29, 0x1e, // 1/2 threshold 40 0x2a, 0x14, // 2/3 threshold 41 0x2b, 0x0f, // 3/4 threshold 42 0x2c, 0x09, // 5/6 threshold 43 0x2d, 0x05, // 7/8 threshold 89 struct dtv_frontend_properties *p = &fe->dtv_property_cache; in alps_bsru6_tuner_set_params() 93 struct i2c_adapter *i2c = fe->tuner_priv; in alps_bsru6_tuner_set_params() [all …]
|
H A D | bsbe1.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * bsbe1.h - ALPS BSBE1 tuner support 26 0x15, 0xc9, /* lock detector threshold */ 57 struct dtv_frontend_properties *p = &fe->dtv_property_cache; in alps_bsbe1_tuner_set_params() 62 struct i2c_adapter *i2c = fe->tuner_priv; in alps_bsbe1_tuner_set_params() 64 if ((p->frequency < 950000) || (p->frequency > 2150000)) in alps_bsbe1_tuner_set_params() 65 return -EINVAL; in alps_bsbe1_tuner_set_params() 67 div = p->frequency / 1000; in alps_bsbe1_tuner_set_params() 73 if (fe->ops.i2c_gate_ctrl) in alps_bsbe1_tuner_set_params() 74 fe->ops.i2c_gate_ctrl(fe, 1); in alps_bsbe1_tuner_set_params() [all …]
|
/linux/kernel/ |
H A D | watchdog.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * detector, so thanks to Ingo for the initial implementation. 9 * Some chunks also taken from the old x86-specific nmi watchdog code, thanks 62 * Should we panic when a soft-lockup or hard-lockup occurs: 177 * Prevent multiple hard-lockup reports if one cpu is already in watchdog_hardlockup_check() 231 * These functions can be overridden based on the configured hardlockdup detector. 234 * softlockup watchdog start and stop. The detector must select the 242 * Watchdog-detector specific API. 250 return -ENODEV; in watchdog_hardlockup_probe() 254 * watchdog_hardlockup_stop - Stop the watchdog for reconfiguration [all …]
|
H A D | watchdog_perf.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * detector, so thanks to Ingo for the initial implementation. 9 * Some chunks also taken from the old x86-specific nmi watchdog code, thanks 40 * watchdog. That means the hrtimer should fire 2-3 times before in watchdog_update_hrtimer_threshold() 42 * unhalted CPU cycles, so if Turbo-Mode is enabled the CPU cycles in watchdog_update_hrtimer_threshold() 45 * frequency. Depending on the Turbo-Mode factor this might be fast in watchdog_update_hrtimer_threshold() 49 * The sample threshold is used to check in the NMI handler whether in watchdog_update_hrtimer_threshold() 53 * Set this to 4/5 of the actual watchdog threshold period so the in watchdog_update_hrtimer_threshold() 55 * watchdog threshold. in watchdog_update_hrtimer_threshold() 64 delta = now - __this_cpu_read(last_timestamp); in watchdog_check_timestamp() [all …]
|
/linux/kernel/trace/ |
H A D | trace_hwlat.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * trace_hwlat.c - A simple Hardware Latency detector. 20 * Although certain hardware-inducing latencies are necessary (for example, 22 * and remote management) they can wreak havoc upon any OS-level performance 23 * guarantees toward low-latency, especially when the OS is not even made 27 * sampling the built-in CPU timer, looking for discontiguous readings. 31 * environment requiring any kind of low-latenc [all...] |
/linux/drivers/net/wireless/ath/ |
H A D | dfs_pattern_detector.c | 25 * struct radar_types - contains array of patterns defined for one DFS domain 36 /* percentage on ppb threshold to trigger detection */ 38 #define PPB_THRESH_RATE(PPB, RATE) ((PPB * RATE + 100 - RATE) / 100) 43 #define WIDTH_LOWER(X) ((X*(100-WIDTH_TOLERANCE)+50)/100) 49 (PRF2PRI(PMAX) - PRI_TOLERANCE), \ 54 /* radar types as defined by ETSI EN-301-893 v1.5.1 */ 74 PMIN - PRI_TOLERANCE, \ 106 PMIN - PRI_TOLERANCE, \ 135 * get_dfs_domain_radar_types() - get radar types for a given DFS domain 145 if (dfs_domains[i]->region == region) in get_dfs_domain_radar_types() [all …]
|
/linux/drivers/net/pcs/ |
H A D | pcs-xpcs-nxp.c | 1 // SPDX-License-Identifier: GPL-2.0 4 #include <linux/pcs/pcs-xpcs.h> 5 #include "pcs-xpcs.h" 69 * normal non-inverted behavior, the TX lane polarity must be inverted in the 144 /* Program threshold for receiver signal detector. in nxp_sja1110_pma_config() 145 * Enable control of RXPLL by receiver signal detector to disable RXPLL in nxp_sja1110_pma_config() 168 /* Program continuous-time linear equalizer (CTLE) settings. */ in nxp_sja1110_pma_config()
|
/linux/drivers/iio/adc/ |
H A D | hi8435.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Holt Integrated Circuits HI-8435 threshold detector driver 24 /* Register offsets for HI-8435 */ 50 unsigned threshold_lo[2]; /* GND-Open and Supply-Open thresholds */ 51 unsigned threshold_hi[2]; /* GND-Open and Supply-Open thresholds */ 58 return spi_write_then_read(priv->spi, ®, 1, val, 1); in hi8435_readb() 67 ret = spi_write_then_read(priv->spi, ®, 1, &be_val, 2); in hi8435_readw() 79 ret = spi_write_then_read(priv->spi, ®, 1, &be_val, 4); in hi8435_readl() 87 priv->reg_buffer[0] = reg | HI8435_WRITE_OPCODE; in hi8435_writeb() 88 priv->reg_buffer[1] = val; in hi8435_writeb() [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 10 bool "ST-Ericsson AB8500 GPADC driver" 45 Say yes here to build support for Analog Devices AD4130-8 SPI analog 73 Say yes here to build support for Analog Devices AD7091R-5 ADC. 81 Say yes here to build support for Analog Devices AD7091R-2, AD7091R-4, 82 and AD7091R-8 ADC. 88 tristate "Analog Devices AD7124 and similar sigma-delta ADCs driver" 92 Say yes here to build support for Analog Devices AD7124-4 and AD7124-8 107 - AD7172-2 108 - AD7173-8 [all …]
|
H A D | stm32-dfsdm.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright (C) 2017, STMicroelectronics - All Rights Reserved 15 * STM32 DFSDM - global register map 18 * ---------------------------------------------------------- 20 * ---------------------------------------------------------- 22 * ---------------------------------------------------------- 24 * ---------------------------------------------------------- 26 * ---------------------------------------------------------- 28 * ---------------------------------------------------------- 30 * ---------------------------------------------------------- [all …]
|
/linux/arch/powerpc/kernel/ |
H A D | watchdog.c | 1 // SPDX-License-Identifier: GPL-2.0 37 * period, and updates a per-cpu timestamp and a "pending" cpumask. This is 41 * The local soft-NMI, and the SMP checker. 43 * The soft-NMI checker can detect lockups on the local CPU. When interrupts 44 * are disabled with local_irq_disable(), platforms that use soft-masking 50 * The soft-NMI checker will compare the heartbeat timestamp for this CPU 52 * watchdog threshold. 54 * The limitation of the soft-NMI watchdog is that it does not work when 66 * not been updated for a period exceeding the watchdog threshold, then it 131 hard_irq_disable(); /* Make it soft-NMI safe */ in wd_smp_lock() [all …]
|
/linux/drivers/iio/accel/ |
H A D | sca3000.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * sca3000_core.c -- support VTI sca3000 series accelerometers via SPI 44 /* Temp read untested - the e05 doesn't have the sensor */ 54 * is below a threshold for equivalent of 25cm drop 63 * (approx 1 - 25Hz) and then a programmable threshold used to trigger 82 /* Only available for SCA3000-D03 and SCA3000-D01 */ 104 * Control which motion detector interrupts are on. 138 * Bypass - Bypass the low-pass filter in the signal channel so as to increase 141 * Narrow - Narrow low-pass filtering of the signal channel and half output 144 * Wide - Widen low-pass filtering of signal channel to increase bandwidth [all …]
|
/linux/sound/soc/fsl/ |
H A D | fsl_micfil.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 19 #include <linux/dma/imx-dma.h> 114 { .compatible = "fsl,imx8mm-micfil", .data = &fsl_micfil_imx8mm }, 115 { .compatible = "fsl,imx8mp-micfil", .data = &fsl_micfil_imx8mp }, 116 { .compatible = "fsl,imx93-micfil", .data = &fsl_micfil_imx93 }, 140 switch (micfil->quality) { in micfil_set_quality() 161 return regmap_update_bits(micfil->regmap, REG_MICFIL_CTRL2, in micfil_set_quality() 172 ucontrol->value.integer.value[0] = micfil->quality; in micfil_quality_get() 183 micfil->quality = ucontrol->value.integer.value[0]; in micfil_quality_set() 199 "Cut-off @1750Hz", [all …]
|
/linux/sound/soc/codecs/ |
H A D | ssm2518.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Author: Lars-Peter Clausen <lars@metafoo.de> 141 static const DECLARE_TLV_DB_MINMAX_MUTE(ssm2518_vol_tlv, -7125, 2400); 142 static const DECLARE_TLV_DB_SCALE(ssm2518_compressor_tlv, -3400, 200, 0); 143 static const DECLARE_TLV_DB_SCALE(ssm2518_expander_tlv, -8100, 300, 0); 144 static const DECLARE_TLV_DB_SCALE(ssm2518_noise_gate_tlv, -9600, 300, 0); 145 static const DECLARE_TLV_DB_SCALE(ssm2518_post_drc_tlv, -2400, 300, 0); 148 0, 7, TLV_DB_SCALE_ITEM(-2200, 200, 0), 149 7, 15, TLV_DB_SCALE_ITEM(-800, 100, 0), 186 SOC_SINGLE("Playback De-emphasis Switch", SSM2518_REG_MUTE_CTRL, [all …]
|
/linux/Documentation/devicetree/bindings/iio/addac/ |
H A D | adi,ad74115.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Cosmin Tanislav <cosmin.tanislav@analog.com> 13 The AD74115H is a single-channel software configurable input/output 16 temperature detector, and thermocouple measurements integrated into a single 17 chip solution with an SPI interface. The device features a 16-bit ADC and a 18 14-bit DAC. 25 - adi,ad74115h 30 spi-max-frequency: [all …]
|
/linux/Documentation/admin-guide/sysctl/ |
H A D | kernel.rst | 5 .. See scripts/check-sysctl-docs to keep this up to date 13 Documentation/admin-guide/sysctl/index.rst. 15 ------------------------------------------------------------------------------ 39 If BSD-style process accounting is enabled these values control 71 The machine hardware name, the same output as ``uname -m`` 129 Ctrl-Alt-Delete). Writing a value to this file which doesn't 130 correspond to a running process will result in ``-ESRCH``. 132 See also `ctrl-alt-del`_. 225 ctrl-alt-del 228 When the value in this file is 0, ctrl-alt-del is trapped and [all …]
|
/linux/drivers/media/pci/tw5864/ |
H A D | tw5864-reg.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * TW5864 driver - registers description 8 /* According to TW5864_datasheet_0.6d.pdf, tw5864b1-ds.pdf */ 10 /* Register Description - Direct Map Space */ 11 /* 0x0000 ~ 0x1ffc - H264 Register Map */ 76 * 0->3 4 VLC data buffer in DDR (1M each) 77 * 0->7 8 VLC data buffer in DDR (512k each) 147 /* DDR-DPR Burst Read Enable */ 157 * 0 Single R/W Access (Host <-> DDR) 158 * 1 Burst R/W Access (Host <-> DPR) [all …]
|
/linux/drivers/net/wireless/ath/ath5k/ |
H A D | phy.c | 2 * Copyright (c) 2004-2007 Reyk Floeter <reyk@openbsd.org> 3 * Copyright (c) 2006-2009 Nick Kossifidis <mickflemm@gmail.com> 4 * Copyright (c) 2007-2008 Jiri Slaby <jirislaby@gmail.com> 5 * Copyright (c) 2008-2009 Felix Fietkau <nbd@openwrt.org> 42 * Here we handle the low-level functions related to baseband 48 * - Channel setting/switching 50 * - Automatic Gain Control (AGC) calibration 52 * - Noise Floor calibration 54 * - I/Q imbalance calibration (QAM correction) 56 * - Calibration due to thermal changes (gain_F) [all …]
|
/linux/sound/pci/asihpi/ |
H A D | hpi.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 Copyright (C) 1997-2011 AudioScience Inc. <support@audioscience.com> 14 The HPI is a low-level hardware abstraction layer to all 17 (C) Copyright AudioScience Inc. 1998-2010 37 /** 8-bit unsigned PCM. Windows equivalent is WAVE_FORMAT_PCM. */ 39 /** 16-bit signed PCM. Windows equivalent is WAVE_FORMAT_PCM. */ 41 /** MPEG-1 Layer-1. */ 43 /** MPEG-1 Layer-2. 67 <tr><td>256<td>-<td>X 68 <tr><td>320<td>-<td>X [all …]
|