Home
last modified time | relevance | path

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

1234

/linux/Documentation/devicetree/bindings/input/
H A 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/Documentation/devicetree/bindings/staging/iio/adc/
H A 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/Documentation/devicetree/bindings/input/touchscreen/
H A 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 <haibo.chen@nxp.com>
11 - Shawn Guo <shawnguo@kernel.org>
12 - Sascha Hauer <s.hauer@pengutronix.de>
16 const: fsl,imx6ul-tsc
20 - description: touch controller address
21 - description: ADC2 address
[all …]
H A Dtouchscreen.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Dmitry Torokhov <dmitry.torokhov@gmail.com>
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/Documentation/hwmon/
H A 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 …]
H A 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 …]
H A 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 …]
H A Dina2xx.rst10 Addresses: I2C 0x40 - 0x4f
20 Addresses: I2C 0x40 - 0x4f
30 Addresses: I2C 0x40 - 0x4f
40 Addresses: I2C 0x40 - 0x4f
50 Addresses: I2C 0x40 - 0x4f
60 Addresses: I2C 0x40 - 0x4f
70 Addresses: I2C 0x40 - 0x4f
80 -----------
82 The INA219 is a high-side current shunt and power monitor with an I2C
99 The SY24655 is a high- and low-side current shunt and power monitor with an I2C
[all …]
/linux/Documentation/ABI/testing/
H A Ddebugfs-driver-qat_telemetry4 Contact: qat-linux@intel.com
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-linux@intel.com
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/drivers/cpuidle/governors/
H A Dmenu.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * menu.c - the menu idle governor
5 * Copyright (C) 2006-2007 Adam Belay <abelay@novell.com>
39 * -----------------------
53 * menu uses a running average for this correction factor, but it uses a set of
61 * Repeatable-interval-detector
62 * ----------------------------
106 * average of these 8 points as the estimated value.
110 s64 value, min_thresh = -1, max_thresh = UINT_MAX; in get_typical_interval()
116 /* Compute the average and variance of past intervals. */ in get_typical_interval()
[all …]
/linux/Documentation/devicetree/bindings/mfd/
H A 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/drivers/input/keyboard/
H A 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/Documentation/userspace-api/media/drivers/
H A 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/tools/perf/Documentation/
H A 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/Documentation/userspace-api/media/v4l/
H A 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/Documentation/devicetree/bindings/iio/adc/
H A 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 <fr0st61te@gmail.com>
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 …]
H A Dqcom,spmi-vadc.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/qcom,spmi-vadc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Andy Gross <agross@kernel.org>
11 - Bjorn Andersson <bjorn.andersson@linaro.org>
15 voltage. The VADC is a 15-bit sigma-delta ADC.
17 voltage. The VADC is a 16-bit sigma-delta ADC.
22 - items:
23 - const: qcom,pms405-adc
[all …]
/linux/include/linux/sunrpc/
H A 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/drivers/iommu/intel/
H A 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/arch/x86/events/
H A 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/drivers/media/rc/
H A Dene_ir.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
11 #define ENE_STATUS 0 /* hardware status - unused */
17 /* 8 bytes of samples, divided in 2 packets*/
48 /* high parts of samples for fan input (8 samples)*/
101 /* Knobs for protocol decoding - will document when/if will use them */
108 /* Actual register which contains RLC RX data - read by firmware */
112 /* RLC configuration - sample period (1us resolution) + idle mode */
125 * Low nibble - number of carrier pulses to average
126 * High nibble - number of initial carrier pulses to discard
215 unsigned *tx_buffer; /* input samples buffer*/
/linux/drivers/iio/adc/
H A Dspear_adc.c1 // SPDX-License-Identifier: GPL-2.0-only
40 #define SPEAR_ADC_MOD_NAME "spear-adc"
49 u32 average; member
69 struct chan_data average; member
101 __raw_writel(val, &st->adc_base_spear6xx->status); in spear_adc_set_status()
107 u32 apb_clk = clk_get_rate(st->clk); in spear_adc_set_clk()
111 clk_high = count - clk_low; in spear_adc_set_clk()
112 st->current_clk = apb_clk / count; in spear_adc_set_clk()
115 &st->adc_base_spear6xx->clk); in spear_adc_set_clk()
121 __raw_writel(val, &st->adc_base_spear6xx->ch_ctrl[n]); in spear_adc_set_ctrl()
[all …]
/linux/drivers/input/touchscreen/
H A Dlpc32xx_ts.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * LPC32xx built-in touchscreen driver
43 #define LPC32XX_TSC_ADCCON_X_SAMPLE_SIZE(s) ((10 - (s)) << 7)
44 #define LPC32XX_TSC_ADCCON_Y_SAMPLE_SIZE(s) ((10 - (s)) << 4)
57 #define MOD_NAME "ts-lpc32xx"
60 __raw_readl((dev)->tsc_base + (reg))
62 __raw_writel((val), (dev)->tsc_base + (reg))
83 struct input_dev *input = tsc->dev; in lpc32xx_ts_interrupt()
88 /* FIFO overflow - throw away samples */ in lpc32xx_ts_interrupt()
94 * Gather and normalize 4 samples. Pen-up events may have less in lpc32xx_ts_interrupt()
[all …]
H A Dmax11801_ts.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Driver for MAXI MAX11801 - A Resistive touch screen controller with
16 * -----------------------------------------------------
18 * |----------------------------------------------------|
23 * ------------------------------------------------------
28 * http://www.maxim-ic.com/datasheet/index.mvp/id/5943
98 struct i2c_client *client = data->client; in max11801_ts_interrupt()
101 int x = -1; in max11801_ts_interrupt()
102 int y = -1; in max11801_ts_interrupt()
104 status = read_register(data->client, GENERNAL_STATUS_REG); in max11801_ts_interrupt()
[all …]
/linux/block/
H A Dblk-iolatency.c1 // SPDX-License-Identifier: GPL-2.0
3 * Block rq-qos base io controller
7 * - It's bio based, so the latency covers the whole block layer in addition to
9 * - We will throttle all IO that comes in here if we need to.
10 * - We use the mean latency over the 100ms window. This is because writes can
13 * - By default there's no throttling, we set the queue_depth to UINT_MAX so
32 * an average latency of 5ms. If it does then we will throttle the "slow"
44 * number of IO's we're allowed to have in flight. This starts at (u64)-1 down
55 * total_time += min_lat_nsec - actual_io_completion
69 #include <linux/backing-dev.h>
[all …]

1234