/Linux-v5.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. 27 If falling threshold results hysteresis to odd value then rising [all …]
|
/Linux-v5.10/Documentation/trace/ |
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-v5.10/Documentation/devicetree/bindings/iio/adc/ |
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 spi-max-frequency: true 29 "#io-channel-cells": 33 - compatible 34 - reg [all …]
|
/Linux-v5.10/Documentation/admin-guide/ |
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-v5.10/kernel/ |
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 57 * Should we panic when a soft-lockup or hard-lockup occurs: 92 * own hardlockup detector. 116 * watchdog_nmi_stop - Stop the watchdog for reconfiguration 126 * watchdog_nmi_start - Start the watchdog after reconfiguration 132 * - watchdog_enabled 133 * - watchdog_thresh 134 * - watchdog_cpumask [all …]
|
D | watchdog_hld.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 56 * watchdog. That means the hrtimer should fire 2-3 times before in watchdog_update_hrtimer_threshold() 58 * unhalted CPU cycles, so if Turbo-Mode is enabled the CPU cycles in watchdog_update_hrtimer_threshold() 61 * frequency. Depending on the Turbo-Mode factor this might be fast in watchdog_update_hrtimer_threshold() 65 * The sample threshold is used to check in the NMI handler whether in watchdog_update_hrtimer_threshold() 69 * Set this to 4/5 of the actual watchdog threshold period so the in watchdog_update_hrtimer_threshold() 71 * watchdog threshold. in watchdog_update_hrtimer_threshold() 80 delta = now - __this_cpu_read(last_timestamp); in watchdog_check_timestamp() [all …]
|
/Linux-v5.10/drivers/media/dvb-frontends/ |
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 */
|
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 …]
|
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-v5.10/drivers/net/wireless/ath/ |
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 144 if (dfs_domains[i]->region == region) in get_dfs_domain_radar_types() [all …]
|
/Linux-v5.10/kernel/trace/ |
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-latency performance 34 * Copyright (C) 2008-2009 Jon Masters, Red Hat, Inc. <jcm@redhat.com> 35 * Copyright (C) 2013-2016 Steven Rostedt, Red Hat, Inc. <srostedt@redhat.com> 75 /* If the user changed threshold, remember it */ [all …]
|
/Linux-v5.10/drivers/iio/adc/ |
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 …]
|
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 …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 10 bool "ST-Ericsson AB8500 GPADC driver" 29 Say yes here to build support for Analog Devices AD7091R-5 ADC. 32 tristate "Analog Devices AD7124 and similar sigma-delta ADCs driver" 36 Say yes here to build support for Analog Devices AD7124-4 and AD7124-8 100 tristate "Analog Devices AD7476 1-channel ADCs driver and other similar devices from AD an TI" 126 ad7605-4, ad7606, ad7606-6, ad7606-4 analog to digital converters (ADC). 137 ad7605-4, ad7606, ad7606-6, ad7606-4 analog to digital converters (ADC). 148 Say yes here to build support for Analog Devices AD7766, AD7766-1, 149 AD7766-2, AD7767, AD7767-1, AD7767-2 SPI analog to digital converters. [all …]
|
/Linux-v5.10/arch/powerpc/kernel/ |
D | watchdog.c | 1 // SPDX-License-Identifier: GPL-2.0 34 * period, and updates a per-cpu timestamp and a "pending" cpumask. This is 38 * The local soft-NMI, and the SMP checker. 40 * The soft-NMI checker can detect lockups on the local CPU. When interrupts 41 * are disabled with local_irq_disable(), platforms that use soft-masking 47 * The soft-NMI checker will compare the heartbeat timestamp for this CPU 49 * watchdog threshold. 51 * The limitation of the soft-NMI watchdog is that it does not work when 63 * not been updated for a period exceeding the watchdog threshold, then it 97 hard_irq_disable(); /* Make it soft-NMI safe */ in wd_smp_lock() [all …]
|
/Linux-v5.10/drivers/iio/accel/ |
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-v5.10/sound/soc/codecs/ |
D | ssm2518.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Author: Lars-Peter Clausen <lars@metafoo.de> 142 static const DECLARE_TLV_DB_MINMAX_MUTE(ssm2518_vol_tlv, -7125, 2400); 143 static const DECLARE_TLV_DB_SCALE(ssm2518_compressor_tlv, -3400, 200, 0); 144 static const DECLARE_TLV_DB_SCALE(ssm2518_expander_tlv, -8100, 300, 0); 145 static const DECLARE_TLV_DB_SCALE(ssm2518_noise_gate_tlv, -9600, 300, 0); 146 static const DECLARE_TLV_DB_SCALE(ssm2518_post_drc_tlv, -2400, 300, 0); 149 0, 7, TLV_DB_SCALE_ITEM(-2200, 200, 0), 150 7, 15, TLV_DB_SCALE_ITEM(-800, 100, 0), 187 SOC_SINGLE("Playback De-emphasis Switch", SSM2518_REG_MUTE_CTRL, [all …]
|
/Linux-v5.10/Documentation/admin-guide/sysctl/ |
D | kernel.rst | 5 .. See scripts/check-sysctl-docs to keep this up to date 14 ------------------------------------------------------------------------------ 38 If BSD-style process accounting is enabled these values control 123 Ctrl-Alt-Delete). Writing a value to this file which doesn't 124 correspond to a running process will result in ``-ESRCH``. 126 See also `ctrl-alt-del`_. 216 ctrl-alt-del 219 When the value in this file is 0, ctrl-alt-del is trapped and 227 mode, the ctrl-alt-del is intercepted by the program before it 272 See :doc:`/driver-api/firmware/fallback-mechanisms`. [all …]
|
/Linux-v5.10/drivers/media/pci/tw5864/ |
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-v5.10/drivers/net/wireless/ath/ath5k/ |
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> 41 * Here we handle the low-level functions related to baseband 47 * - Channel setting/switching 49 * - Automatic Gain Control (AGC) calibration 51 * - Noise Floor calibration 53 * - I/Q imbalance calibration (QAM correction) 55 * - Calibration due to thermal changes (gain_F) [all …]
|
D | eeprom.h | 2 * Copyright (c) 2004-2008 Reyk Floeter <reyk@openbsd.org> 3 * Copyright (c) 2006-2008 Nick Kossifidis <mickflemm@gmail.com> 22 #define AR5K_EEPROM_PCIE_OFFSET 0x02 /* Contains offset to PCI-E infos */ 26 #define AR5K_EEPROM_MAGIC_VALUE 0x5aa5 /* Default - found on EEPROM */ 39 #define AR5K_EEPROM_SIZE_LOWER 0x1b /* size info -- lower */ 40 #define AR5K_EEPROM_SIZE_UPPER 0x1c /* size info -- upper */ 47 #define AR5K_EEPROM_INFO_MAX (0x400 - AR5K_EEPROM_INFO_BASE) 129 #define AR5K_EEPROM_FCC_MID_EN (((_v) >> 6) & 0x1) /* 5.47-5.7GHz supported */ 130 #define AR5K_EEPROM_JAP_U1EVEN_EN (((_v) >> 7) & 0x1) /* Japan UNII1 band (5.15-5.25GHz) on even ch… 131 #define AR5K_EEPROM_JAP_U2_EN (((_v) >> 8) & 0x1) /* Japan UNII2 band (5.25-5.35GHz) supported */ [all …]
|
/Linux-v5.10/sound/pci/asihpi/ |
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 …]
|
/Linux-v5.10/drivers/cpuidle/governors/ |
D | menu.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * menu.c - the menu idle governor 5 * Copyright (C) 2006-2007 Adam Belay <abelay@novell.com> 40 * ----------------------- 68 * Repeatable-interval-detector 69 * ---------------------------- 76 * threshold value, we use the average of these intervals as prediction. 79 * --------------------------- 88 * This rule-of-thumb is implemented using a performance-multiplier: 166 * of points is below a threshold. If it is... then use the [all …]
|
/Linux-v5.10/drivers/media/usb/ttusb-budget/ |
D | dvb-ttusb-budget.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 44 we won't support this - yet. it doesn't event support negative filters, 47 datastreams, especially for dvb-net, but hey, that's not my problem. 87 * since we're casting (struct ttusb*) <-> (struct dvb_demux*) around 123 int mux_state; // 0..2 - MuxSyncWord, 3 - nMuxPacks, 4 - muxpack 130 int cc; /* MuxCounter - will increment on EVERY MUX PACKET */ 146 if (mutex_lock_interruptible(&ttusb->semusb) < 0) in ttusb_cmd() 147 return -EAGAIN; in ttusb_cmd() 152 memcpy(data, ttusb->send_buf, len); in ttusb_cmd() 154 err = usb_bulk_msg(ttusb->dev, ttusb->bulk_out_pipe, in ttusb_cmd() [all …]
|
/Linux-v5.10/drivers/net/wireless/ath/ath9k/ |
D | dfs.c | 2 * Copyright (c) 2008-2011 Atheros Communications Inc. 19 #include "hw-ops.h" 36 * - 20MHz chirp width over a pulse width of 50us 37 * - 5MHz chirp width over a pulse width of 100us 46 /* Threshold for difference of delta peaks */ 83 is_ctl = fft_bitmap_weight(fft->lower_bins) != 0; in ath9k_get_max_index_ht40() 84 is_ext = fft_bitmap_weight(fft->upper_bins) != 0; in ath9k_get_max_index_ht40() 88 int mag_lower = fft_max_magnitude(fft->lower_bins); in ath9k_get_max_index_ht40() 89 int mag_upper = fft_max_magnitude(fft->upper_bins); in ath9k_get_max_index_ht40() 97 return fft_max_index(fft->lower_bins); in ath9k_get_max_index_ht40() [all …]
|