| /linux/Documentation/devicetree/bindings/input/ |
| H A D | microchip,qt1050.txt | 1 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/tools/perf/Documentation/ |
| H A D | perf-report.txt | 1 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 …]
|
| H A D | perf-kvm.txt | 1 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/devicetree/bindings/iio/adc/ |
| H A D | st,spear600-adc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/st,spear600-adc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jonathan Cameron <jic23@kernel.org> 14 10-bit resolution. Datasheet can be found here: 20 - st,spear600-adc 28 sampling-frequency: 35 vref-external: 40 External voltage reference in milli-volts. If omitted the internal voltage [all …]
|
| H A D | maxim,max34408.yaml | 1 # 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 …]
|
| /linux/Documentation/hwmon/ |
| H A D | fam15h_power.rst | 16 - 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 D | sysfs-interface.rst | 5 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 D | ina3221.rst | 10 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 D | ina2xx.rst | 10 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 …]
|
| H A D | ina209.rst | 6 * Burr-Brown / Texas Instruments INA209 10 Addresses scanned: - 16 - Paul Hays <Paul.Hays@cattail.ca> 17 - Ira W. Snyder <iws@ovro.caltech.edu> 18 - Guenter Roeck <linux@roeck-us.net> 22 ----------- 24 The TI / Burr-Brown INA209 monitors voltage, current, and power on the high side 31 ------------- 76 update_interval data conversion time; affects number of samples used 77 to average results for shunt and bus voltages. [all …]
|
| /linux/drivers/cpuidle/governors/ |
| H A 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> 39 * ----------------------- 53 * menu uses a running average for this correction factor, but it uses a set of 61 * Repeatable-interval-detector 62 * ---------------------------- 102 /* Update the repeating-pattern data. */ in menu_update_intervals() 103 data->intervals[data->interval_ptr++] = interval_us; in menu_update_intervals() 104 if (data->interval_ptr >= INTERVALS) in menu_update_intervals() [all …]
|
| /linux/drivers/input/keyboard/ |
| H A D | qt1050.c | 1 // 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 D | imx-uapi.rst | 1 .. 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/Documentation/userspace-api/media/v4l/ |
| H A D | ext-ctrls-colorimetry.rst | 1 .. 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/include/linux/sunrpc/ |
| H A D | metrics.h | 1 /* 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/arch/x86/events/ |
| H A D | Kconfig | 1 # 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/tools/perf/bench/ |
| H A D | inject-buildid.c | 1 // SPDX-License-Identifier: GPL-2.0 17 #include <subcmd/parse-options.h> 25 #include "util/build-id.h" 27 #include "util/synthetic-events.h" 34 static unsigned int nr_samples = 100; /* samples per mmap */ 59 "Number of iterations used to compute average (default: 100)"), 60 OPT_UINTEGER('m', "nr-mmaps", &nr_mmaps, 62 OPT_UINTEGER('n', "nr-samples", &nr_samples, 70 "perf bench internals inject-build-id <options>", 76 * if it contains a build-id. Stops after collecting 4 times more than [all …]
|
| /linux/drivers/media/rc/ |
| H A D | ene_ir.h | 1 /* 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/input/touchscreen/ |
| H A D | lpc32xx_ts.c | 1 // 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 D | max11801_ts.c | 1 // 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/drivers/platform/chrome/ |
| H A D | cros_ec_sensorhub_ring.c | 1 // SPDX-License-Identifier: GPL-2.0-only 43 int id = sample->sensor_id; in cros_sensorhub_send_sample() 46 if (id >= sensorhub->sensor_num) in cros_sensorhub_send_sample() 47 return -EINVAL; in cros_sensorhub_send_sample() 49 cb = sensorhub->push_data[id].push_data_cb; in cros_sensorhub_send_sample() 53 indio_dev = sensorhub->push_data[id].indio_dev; in cros_sensorhub_send_sample() 55 if (sample->flag & MOTIONSENSE_SENSOR_FLAG_FLUSH) in cros_sensorhub_send_sample() 58 return cb(indio_dev, sample->vector, sample->timestamp); in cros_sensorhub_send_sample() 62 * cros_ec_sensorhub_register_push_data() - register the callback to the hub. 80 if (sensor_num >= sensorhub->sensor_num) in cros_ec_sensorhub_register_push_data() [all …]
|
| /linux/Documentation/devicetree/bindings/mfd/ |
| H A D | st,stmpe.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 15 - Linus Walleij <linus.walleij@linaro.org> 18 - $ref: /schemas/spi/spi-peripheral-props.yaml# 23 - st,stmpe601 24 - st,stmpe801 25 - st,stmpe811 26 - st,stmpe1600 27 - st,stmpe1601 [all …]
|
| /linux/tools/perf/util/ |
| H A D | annotate.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 150 return which < PERCENT_MAX ? data->percent[which] : -1; in annotation_data__percent() 179 return dl->ops.target.offset_avail && !dl->ops.target.outside; in disasm_line__has_local_offset() 207 /* save data type info keyed by al->offset */ 226 * struct sym_hist - symbol histogram information for an event 228 * @nr_samples: Total number of samples. 237 * struct cyc_hist - (CPU) cycle histogram for a basic block 245 * @num: Number of samples for the longest basic block. 246 * @num_aggr: Total number of samples for this address. 276 * struct annotated_source - symbols with hits have this attached as in annotation [all …]
|
| H A D | intel-tpebs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <subcmd/run-command.h> 10 #include "intel-tpebs.h" 31 #define PERF_DATA "-" 84 return -ENOMEM; in evsel__tpebs_start_perf_record() 88 record_argv[i++] = "-W"; in evsel__tpebs_start_perf_record() 89 record_argv[i++] = "--synth=no"; in evsel__tpebs_start_perf_record() 91 scnprintf(control_fd_buf, sizeof(control_fd_buf), "--control=fd:%d,%d", in evsel__tpebs_start_perf_record() 95 record_argv[i++] = "-o"; in evsel__tpebs_start_perf_record() 98 if (!perf_cpu_map__is_any_cpu_or_is_empty(evsel->evlist->core.user_requested_cpus)) { in evsel__tpebs_start_perf_record() [all …]
|
| /linux/Documentation/sound/designs/ |
| H A D | compress-offload.rst | 2 ALSA Compress-Offload API 5 Pierre-Louis.Bossart <pierre-louis.bossart@linux.intel.com> 18 in system-on-chip designs, and DSPs are also integrated in audio 20 reduction of power consumption compared to host-based 27 provide a control and data-streaming interface for audio DSPs. 29 The design of this API was inspired by the 2-year experience with the 39 - separation between byte counts and time. Compressed formats may have 41 may vary from frame-to-frame. As a result, it is not possible to 44 reliable audio-video synchronization, which requires precise 45 reporting of the number of samples rendered at any given time. [all …]
|