Home
last modified time | relevance | path

Searched +full:average +full:- +full:samples (Results 1 – 25 of 126) sorted by relevance

123456

/linux-6.14.4/Documentation/devicetree/bindings/input/
Dmicrochip,qt1050.txt1 Microchip AT42QT1050 Five-channel Touch Sensor IC
11 - compatible: Must be "microchip,qt1050"
12 - reg: The I2C address of the device
13 - interrupts: The sink for the touchpad's IRQ output,
14 see ../interrupt-controller/interrupts.txt
17 - wakeup-source: touch keys can be used as a wakeup source
19 Each button (key) is represented as a sub-node:
25 - linux,code: Keycode to emit.
26 - reg: The key number. Valid values: 0, 1, 2, 3, 4.
28 Optional subnode-properties:
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/hwmon/
Dadi,adm1275.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Krzysztof Kozlowski <[email protected]>
15 that offer digital current, voltage, and power monitoring using an on-chip,
16 12-bit analog-to-digital converter (ADC), communicated through a PMBus
25 - adi,adm1075
26 - adi,adm1272
27 - adi,adm1273
28 - adi,adm1275
[all …]
Drenesas,isl28022.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Carsten Spieß <mail@carsten-spiess.de>
26 shunt-resistor-micro-ohms:
28 Shunt resistor value in micro-Ohm
32 renesas,shunt-range-microvolt:
34 Maximal shunt voltage range of +/- 40 mV, 80 mV, 160 mV or 320 mV
38 renesas,average-samples:
40 Number of samples to be used to report voltage, current and power values.
[all …]
/linux-6.14.4/drivers/hwmon/
Disl28022.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * isl28022.c - driver for Renesas ISL28022 power monitor chip monitoring
5 * Copyright (c) 2023 Carsten Spieß <mail@carsten-spiess.de>
54 #define ISL28022_ADC_15_2 0x9 /* 15 bit ADC, 2 samples */
55 #define ISL28022_ADC_15_4 0xA /* 15 bit ADC, 4 samples */
56 #define ISL28022_ADC_15_8 0xB /* 15 bit ADC, 8 samples */
57 #define ISL28022_ADC_15_16 0xC /* 15 bit ADC, 16 samples */
58 #define ISL28022_ADC_15_32 0xD /* 15 bit ADC, 32 samples */
59 #define ISL28022_ADC_15_64 0xE /* 15 bit ADC, 64 samples */
60 #define ISL28022_ADC_15_128 0xF /* 15 bit ADC, 128 samples */
[all …]
/linux-6.14.4/tools/perf/Documentation/
Dperf-report.txt1 perf-report(1)
5 ----
6 perf-report - Read perf.data (created by perf record) and display the profile
9 --------
11 'perf report' [-i <file> | --input=file]
14 -----------
19 -------
20 -i::
21 --input=::
24 -v::
[all …]
Dperf-kvm.txt1 perf-kvm(1)
5 ----
6 perf-kvm - Tool to trace/measure kvm guest os
9 --------
11 'perf kvm' [--host] [--guest] [--guestmount=<path>
12 [--guestkallsyms=<path> --guestmodules=<path> | --guestvmlinux=<path>]]
13 {top|record|report|diff|buildid-list} [<options>]
14 'perf kvm' [--host] [--guest] [--guestkallsyms=<path> --guestmodules=<path>
15 | --guestvmlinux=<path>] {top|record|report|diff|buildid-list|stat} [<options>]
19 -----------
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/staging/iio/adc/
Dspear-adc.txt4 - compatible: Should be "st,spear600-adc"
5 - reg: Address and length of the register set for the device
6 - interrupts: Should contain the ADC interrupt
7 - sampling-frequency: Default sampling frequency
10 - vref-external: External voltage reference in milli-volts. If omitted
12 - average-samples: Number of samples to generate an average value. If
18 compatible = "st,spear600-adc";
20 interrupt-parent = <&vic1>;
22 sampling-frequency = <5000000>;
23 vref-external = <2500>; /* 2.5V VRef */
/linux-6.14.4/Documentation/devicetree/bindings/input/touchscreen/
Dfsl,imx6ul-tsc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/input/touchscreen/fsl,imx6ul-tsc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Haibo Chen <[email protected]>
11 - Shawn Guo <[email protected]>
12 - Sascha Hauer <[email protected]>
16 const: fsl,imx6ul-tsc
20 - description: touch controller address
21 - description: ADC2 address
[all …]
Dtouchscreen.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Dmitry Torokhov <[email protected]>
20 touchscreen-min-x:
25 touchscreen-min-y:
30 touchscreen-size-x:
34 touchscreen-size-y:
38 touchscreen-max-pressure:
42 touchscreen-min-pressure:
[all …]
/linux-6.14.4/Documentation/hwmon/
Dfam15h_power.rst16 - BIOS and Kernel Developer's Guide (BKDG) For AMD Family 15h Processors
17 - BIOS and Kernel Developer's Guide (BKDG) For AMD Family 16h Processors
18 - AMD64 Architecture Programmer's Manual Volume 2: System Programming
23 -----------
55 On multi-node processors the calculated value is for the entire
57 attributes only for internal node0 of a multi-node processor.
62 calculate the average power consumed by a processor during a
91 CPU average power
102 iii. At time x, SW reads CpuSwPwrAcc MSR and samples the PTSC.
106 iv. At time y, SW reads CpuSwPwrAcc MSR and samples the PTSC.
[all …]
Dsysfs-interface.rst5 through the sysfs interface. Since lm-sensors 3.0.0, libsensors is
6 completely chip-independent. It assumes that all the kernel drivers
10 This is a major improvement compared to lm-sensors 2.
22 For this reason, even if we aim at a chip-independent libsensors, it will
37 Up to lm-sensors 3.0.0, libsensors looks for hardware monitoring attributes
38 in the "physical" device directory. Since lm-sensors 3.0.1, attributes found
61 to cause an alarm) is chip-dependent.
69 ----------------
76 -------------------------------------------------------------------------
79 `[0-*]` denotes any positive number starting from 0
[all …]
Dina3221.rst10 Addresses: I2C 0x40 - 0x43
19 -----------
24 and power are calculated host-side from these.
27 -------------
41 average is above this value.
56 samples Number of samples using in the averaging mode.
58 Supports the list of number of samples:
67 * S: number of samples
68 * BC: bus-voltage conversion time in millisecond
69 * SC: shunt-voltage conversion time in millisecond
[all …]
/linux-6.14.4/drivers/crypto/intel/qat/qat_common/
Dadf_tl_debugfs.c1 // SPDX-License-Identifier: GPL-2.0-only
29 unsigned int samples, hb_idx, i; in tl_collect_values_u32() local
33 samples = min(telemetry->msg_cnt, telemetry->hbuffs); in tl_collect_values_u32()
34 hb_idx = telemetry->hb_num + telemetry->hbuffs - samples; in tl_collect_values_u32()
36 mutex_lock(&telemetry->regs_hist_lock); in tl_collect_values_u32()
38 for (i = 0; i < samples; i++) { in tl_collect_values_u32()
39 regs_hist_buff = telemetry->regs_hist_buff[hb_idx % telemetry->hbuffs]; in tl_collect_values_u32()
45 mutex_unlock(&telemetry->regs_hist_lock); in tl_collect_values_u32()
47 return samples; in tl_collect_values_u32()
53 unsigned int samples, hb_idx, i; in tl_collect_values_u64() local
[all …]
/linux-6.14.4/Documentation/ABI/testing/
Ddebugfs-driver-qat_telemetry4 Contact: qat-[email protected]
12 and average for each counter over 2, 3 or 4 samples
16 * 1-4: telemetry is enabled and running
22 telemetry metrics. Samples are collected every second and
24 used to calculate the minimum, maximum and average for each
40 Contact: qat-[email protected]
54 rd_lat_acc_avg average read latency [ns]
56 samples for AE0)
57 gp_lat_acc_avg average get to put latency [ns]
60 at_page_req_lat_avg Address Translator(AT), average page
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/mfd/
Dmxs-lradc.txt4 - compatible: Should be "fsl,imx23-lradc" for i.MX23 SoC and "fsl,imx28-lradc"
6 - reg: Address and length of the register set for the device
7 - interrupts: Should contain the LRADC interrupts
10 - fsl,lradc-touchscreen-wires: Number of wires used to connect the touchscreen
14 - fsl,ave-ctrl: number of samples per direction to calculate an average value.
16 - fsl,ave-delay: delay between consecutive samples. Allowed value is
17 2 ... 2048. It is used if 'fsl,ave-ctrl' > 1, counts at
19 - fsl,settling: delay between plate switch to next sample. Allowed value is
26 compatible = "fsl,imx23-lradc";
29 fsl,lradc-touchscreen-wires = <4>;
[all …]
/linux-6.14.4/Documentation/userspace-api/media/drivers/
Dimx-uapi.rst1 .. SPDX-License-Identifier: GPL-2.0
13 ---------
18 - V4L2_EVENT_IMX_FRAME_INTERVAL_ERROR
30 -----------------------------------
33 NTSC/PAL signal re-sync (too little or too many video lines). When
34 this happens, the IPU triggers a mechanism to re-establish vertical
60 - V4L2_CID_IMX_FIM_ENABLE
64 - V4L2_CID_IMX_FIM_NUM
66 How many frame interval measurements to average before comparing against
70 - V4L2_CID_IMX_FIM_TOLERANCE_MIN
[all …]
/linux-6.14.4/drivers/misc/echo/
Decho.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * SpanDSP - a series of DSP components for telephony
5 * echo.c - A line echo canceller. This code is being developed
30 especially for double talk - there were always cases where my DTD
50 on 4 real-world samples.
54 on the real-world samples. I have no idea why, perhaps a scaling
59 dot product) compared to the current sample-by-sample update.
66 Path Models", IEEE Transactions on communications, COM-25,
87 Thanks to Steve Underwood, Jean-Marc Valin, and Ramakrishnan
89 also to those people who collected echo samples for me such as
[all …]
/linux-6.14.4/drivers/input/keyboard/
Dqt1050.c1 // SPDX-License-Identifier: GPL-2.0
109 u32 samples; member
229 err = regmap_read(ts->regmap, QT1050_CHIP_ID, &val); in qt1050_identify()
231 dev_err(&ts->client->dev, "Failed to read chip ID: %d\n", err); in qt1050_identify()
236 dev_err(&ts->client->dev, "ID %d not supported\n", val); in qt1050_identify()
241 err = regmap_read(ts->regmap, QT1050_FW_VERSION, &val); in qt1050_identify()
243 dev_err(&ts->client->dev, "could not read the firmware version\n"); in qt1050_identify()
247 dev_info(&ts->client->dev, "AT42QT1050 firmware version %1d.%1d\n", in qt1050_identify()
256 struct input_dev *input = ts->input; in qt1050_irq_threaded()
262 err = regmap_read(ts->regmap, QT1050_DET_STATUS, &val); in qt1050_irq_threaded()
[all …]
/linux-6.14.4/drivers/thermal/intel/
Dtherm_throt.c1 // SPDX-License-Identifier: GPL-2.0-only
45 * struct _thermal_state - Represent the current thermal event state
61 * This is used for the purpose of rate-control.
69 * @sample_count: Total number of samples collected in the buffer
71 * @average: The last moving average of temperature samples
74 * @temp_samples: Storage for temperature samples to calculate
75 * moving average.
93 u8 average; member
142 unsigned int cpu = dev->id; \
206 * "Table 2-2. IA-32 Architectural MSRs", MSR 0x19C in thermal_intr_init_core_clear_mask()
[all …]
/linux-6.14.4/Documentation/userspace-api/media/v4l/
Dext-ctrls-colorimetry.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _colorimetry-controls:
15 -----------------------
17 .. _colorimetry-control-id:
32 .. flat-table:: struct v4l2_ctrl_hdr10_cll_info
33 :header-rows: 0
34 :stub-columns: 0
37 * - __u16
38 - ``max_content_light_level``
39 - The upper bound for the maximum light level among all individual
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/iio/adc/
Dmaxim,max34408.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Ivan Mikhaylov <[email protected]>
13 The MAX34408/MAX34409 are two- and four-channel current monitors that are
15 unidirectional current sensor offers precision high-side operation with a
16 low full-scale sense voltage. The devices automatically sequence through
17 two or four channels and collect the current-sense samples and average them
18 to reduce the effect of impulse noise. The raw ADC samples are compared to
19 user-programmable digital thresholds to indicate overcurrent conditions.
[all …]
/linux-6.14.4/include/linux/sunrpc/
Dmetrics.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 * Declarations for RPC client per-operation metrics
9 * RPC client per-operation statistics provide latency and retry
14 * These counters are not meant to be human-readable, but are meant to be
18 * by the tools by taking the difference between two instantaneous samples
19 * and dividing that by the time between the samples.
23 * arrays per-CPU because these counters are always modified behind locks.
40 * transmissions are required, on average, to complete that
/linux-6.14.4/drivers/iommu/intel/
Dperf.c1 // SPDX-License-Identifier: GPL-2.0
3 * perf.c - performance monitor
20 struct latency_statistic *lstat = iommu->perf_statistic; in dmar_latency_enabled()
29 int ret = -EBUSY; in dmar_latency_enable()
35 if (!iommu->perf_statistic) { in dmar_latency_enable()
36 iommu->perf_statistic = kcalloc(DMAR_LATENCY_NUM, sizeof(*lstat), in dmar_latency_enable()
38 if (!iommu->perf_statistic) { in dmar_latency_enable()
39 ret = -ENOMEM; in dmar_latency_enable()
44 lstat = iommu->perf_statistic; in dmar_latency_enable()
59 struct latency_statistic *lstat = iommu->perf_statistic; in dmar_latency_disable()
[all …]
/linux-6.14.4/arch/x86/events/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
35 average power consumption on Family 15h processors.
43 e.g., perf stat -e amd_l3/.../,amd_df/.../.
46 module will be called 'amd-uncore'.
52 Enable AMD Zen3 branch sampling support (BRS) which samples up to
/linux-6.14.4/drivers/cpuidle/governors/
Dmenu.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * menu.c - the menu idle governor
5 * Copyright (C) 2006-2007 Adam Belay <[email protected]>
39 * -----------------------
53 * menu uses a running average for this correction factor, however it uses a
67 * Repeatable-interval-detector
68 * ----------------------------
75 * threshold value, we use the average of these intervals as prediction.
115 * average of these 8 points as the estimated value.
127 /* First calculate the average of past intervals */ in get_typical_interval()
[all …]

123456