Home
last modified time | relevance | path

Searched +full:threshold +full:- +full:detector (Results 1 – 25 of 88) sorted by relevance

1234

/kernel/liteos_m/targets/riscv_nuclei_gd32vf103_soc_gcc/SoC/gd32vf103/Common/Include/
Dgd32vf103_pmu.h5 \version 2019-6-5, V1.0.0, firmware for GD32VF103
55 #define PMU_CTL_LVDEN BIT(4) /*!< low voltage detector enable */
56 #define PMU_CTL_LVDT BITS(5,7) /*!< low voltage detector threshold
62 #define PMU_CS_LVDF BIT(2) /*!< low voltage detector status fla…
66 /* PMU low voltage detector threshold definitions */
68 #define PMU_LVDT_0 CTL_LVDT(0) /*!< voltage threshold is 2.2V */
69 #define PMU_LVDT_1 CTL_LVDT(1) /*!< voltage threshold is 2.3V */
70 #define PMU_LVDT_2 CTL_LVDT(2) /*!< voltage threshold is 2.4V */
71 #define PMU_LVDT_3 CTL_LVDT(3) /*!< voltage threshold is 2.5V */
72 #define PMU_LVDT_4 CTL_LVDT(4) /*!< voltage threshold is 2.6V */
[all …]
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-bus-iio-adc-hi84356 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 …]
/kernel/linux/linux-4.19/Documentation/ABI/testing/
Dsysfs-bus-iio-adc-hi84356 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
22 The low voltage threshold range is between 2..21V.
25 If falling threshold results hysteresis to odd value then rising
[all …]
/kernel/linux/linux-4.19/Documentation/trace/
Dhwlat_detector.rst2 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 …]
/kernel/linux/linux-5.10/Documentation/trace/
Dhwlat_detector.rst2 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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/adc/
Dholt,hi8435.yaml1 # 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 …]
/kernel/linux/linux-5.10/Documentation/admin-guide/
Dlockup-watchdogs.rst2 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
/kernel/linux/linux-4.19/Documentation/
Dlockup-watchdogs.txt2 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
/kernel/linux/linux-4.19/kernel/
Dwatchdog.c1 // 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
54 * Should we panic when a soft-lockup or hard-lockup occurs:
99 * own hardlockup detector.
123 * watchdog_nmi_stop - Stop the watchdog for reconfiguration
133 * watchdog_nmi_start - Start the watchdog after reconfiguration
139 * - watchdog_enabled
140 * - watchdog_thresh
141 * - watchdog_cpumask
[all …]
/kernel/linux/linux-5.10/kernel/
Dwatchdog.c1 // 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
58 * Should we panic when a soft-lockup or hard-lockup occurs:
93 * own hardlockup detector.
117 * watchdog_nmi_stop - Stop the watchdog for reconfiguration
127 * watchdog_nmi_start - Start the watchdog after reconfiguration
133 * - watchdog_enabled
134 * - watchdog_thresh
135 * - watchdog_cpumask
[all …]
/kernel/linux/linux-4.19/drivers/staging/iio/Documentation/
Ddevice.txt19 - indio_dev->dev.parent
21 - indio_dev->name
22 Name of the device being driven - made available as the name
25 - indio_dev->info
29 * info->event_attrs:
31 * info->attrs:
34 * info->read_raw:
37 * info->write_raw:
40 * info->read_event_config:
42 is used to read if an on sensor event detector is enabled.
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/iio/adc/
Dhi8435.txt1 Holt Integrated Circuits HI-8435 threshold detector bindings
4 - compatible: should be "holt,hi8435"
5 - reg: spi chip select number for the device
8 - spi-max-frequency: definition as per
9 Documentation/devicetree/bindings/spi/spi-bus.txt
12 - gpios: GPIO used for controlling the reset pin
20 spi-max-frequency = <1000000>;
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/
Dz0194a.h1 /* 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 */
Dbsru6.h1 /* 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 …]
/kernel/linux/linux-4.19/drivers/media/dvb-frontends/
Dz0194a.h9 * see Documentation/media/dvb-drivers/dvb-usb.rst for more information
59 0x15, 0xc9, /* lock detector threshold */
71 0x29, 0x1e, /* 1/2 threshold */
72 0x2a, 0x14, /* 2/3 threshold */
73 0x2b, 0x0f, /* 3/4 threshold */
74 0x2c, 0x09, /* 5/6 threshold */
75 0x2d, 0x05, /* 7/8 threshold */
Dbsru6.h2 * bsru6.h - ALPS BSRU6 tuner support (moved from budget-ci.c)
41 0x15, 0xc9, // lock detector threshold
53 0x29, 0x1e, // 1/2 threshold
54 0x2a, 0x14, // 2/3 threshold
55 0x2b, 0x0f, // 3/4 threshold
56 0x2c, 0x09, // 5/6 threshold
57 0x2d, 0x05, // 7/8 threshold
103 struct dtv_frontend_properties *p = &fe->dtv_property_cache; in alps_bsru6_tuner_set_params()
107 struct i2c_adapter *i2c = fe->tuner_priv; in alps_bsru6_tuner_set_params()
109 if ((p->frequency < 950000) || (p->frequency > 2150000)) in alps_bsru6_tuner_set_params()
[all …]
/kernel/linux/linux-4.19/kernel/trace/
Dtrace_hwlat.c1 // SPDX-License-Identifier: GPL-2.0
3 * trace_hwlatdetect.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 …]
/kernel/linux/linux-4.19/drivers/net/wireless/ath/
Ddfs_pattern_detector.c25 * 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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/
Ddfs_pattern_detector.c25 * 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 …]
/kernel/linux/linux-5.10/kernel/trace/
Dtrace_hwlat.c1 // 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 …]
/kernel/liteos_m/targets/riscv_nuclei_gd32vf103_soc_gcc/SoC/gd32vf103/Common/Source/Drivers/
Dgd32vf103_pmu.c5 \version 2019-6-5, V1.0.0, firmware for GD32VF103
51 \brief select low voltage detector threshold
54 \arg PMU_LVDT_0: voltage threshold is 2.2V
55 \arg PMU_LVDT_1: voltage threshold is 2.3V
56 \arg PMU_LVDT_2: voltage threshold is 2.4V
57 \arg PMU_LVDT_3: voltage threshold is 2.5V
58 \arg PMU_LVDT_4: voltage threshold is 2.6V
59 \arg PMU_LVDT_5: voltage threshold is 2.7V
60 \arg PMU_LVDT_6: voltage threshold is 2.8V
61 \arg PMU_LVDT_7: voltage threshold is 2.9V
[all …]
/kernel/linux/linux-5.10/drivers/iio/adc/
Dhi8435.c1 // 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, &reg, 1, val, 1); in hi8435_readb()
67 ret = spi_write_then_read(priv->spi, &reg, 1, &be_val, 2); in hi8435_readw()
79 ret = spi_write_then_read(priv->spi, &reg, 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 …]
/kernel/linux/linux-4.19/drivers/iio/adc/
Dhi8435.c2 * Holt Integrated Circuits HI-8435 threshold detector driver
30 /* Register offsets for HI-8435 */
56 unsigned threshold_lo[2]; /* GND-Open and Supply-Open thresholds */
57 unsigned threshold_hi[2]; /* GND-Open and Supply-Open thresholds */
64 return spi_write_then_read(priv->spi, &reg, 1, val, 1); in hi8435_readb()
73 ret = spi_write_then_read(priv->spi, &reg, 1, &be_val, 2); in hi8435_readw()
85 ret = spi_write_then_read(priv->spi, &reg, 1, &be_val, 4); in hi8435_readl()
93 priv->reg_buffer[0] = reg | HI8435_WRITE_OPCODE; in hi8435_writeb()
94 priv->reg_buffer[1] = val; in hi8435_writeb()
96 return spi_write(priv->spi, priv->reg_buffer, 2); in hi8435_writeb()
[all …]
/kernel/linux/linux-4.19/arch/powerpc/kernel/
Dwatchdog.c1 // 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 …]
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dwatchdog.c1 // 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 …]

1234