Home
last modified time | relevance | path

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

12

/linux/Documentation/devicetree/bindings/iio/adc/
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/Documentation/devicetree/bindings/thermal/
H A Dqcom-spmi-adc-tm5.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/thermal/qcom-spmi-adc-tm5.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
9 - Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
11 $ref: thermal-sensor.yaml#
16 - qcom,spmi-adc-tm5
17 - qcom,spmi-adc-tm5-gen2
18 - qcom,adc-tm7 # Incomplete / subject to change
26 "#thermal-sensor-cells":
[all …]
H A Dqcom-spmi-adc-tm-hc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/thermal/qcom-spmi-adc-tm-hc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
9 - Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
11 $ref: thermal-sensor.yaml#
15 const: qcom,spmi-adc-tm-hc
23 "#thermal-sensor-cells":
26 "#address-cells":
29 "#size-cells":
[all …]
/linux/tools/perf/tests/shell/common/
H A Dpatterns.sh1 # SPDX-License-Identifier: GPL-2.0
3 export RE_NUMBER="[0-9\.]+"
9 export RE_NUMBER_HEX="[0-9A-Fa-f]+"
18 …xport RE_DATE_YYYYMMDD="[0-9]{4}-(?:(?:01|03|05|07|08|10|12)-(?:[0-2][0-9]|3[0-1])|02-[0-2][0-9]|(…
19 # Date in YYYY-MM-DD form
21 # 1990-02-29
22 # 0015-07-31
23 # 2456-12-31
24 #! 2012-13-01
25 #! 1963-09-31
[all …]
/linux/drivers/crypto/intel/qat/qat_common/
H A 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->hbuff in tl_collect_values_u32()
53 unsigned int samples, hb_idx, i; tl_collect_values_u64() local
[all...]
/linux/arch/arm64/boot/dts/qcom/
H A Dsc8280xp-lenovo-thinkpad-x13s.dts1 // SPDX-License-Identifier: BSD-3-Clause
7 /dts-v1/;
9 #include <dt-bindings/iio/qcom,spmi-adc7-pm8350.h>
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/gpio-keys.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/leds/common.h>
14 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
17 #include "sc8280xp-pmics.dtsi"
21 compatible = "lenovo,thinkpad-x13s", "qcom,sc8280xp";
[all …]
/linux/drivers/thermal/intel/
H A 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
142 unsigned int cpu = dev->id; \
206 * "Table 2-2. IA-32 Architectural MSRs", MSR 0x19C in thermal_intr_init_core_clear_mask()
242 * "Table 2-2. IA-32 Architectural MSRs", MSR 0x1B1 in thermal_intr_init_pkg_clear_mask()
303 unsigned int i, avg, this_cpu = smp_processor_id(); in throttle_active_work() local
[all …]
/linux/drivers/hwmon/pmbus/
H A Dadm1275.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Hardware monitoring driver for Analog Devices ADM1275 Hot-Swap Controller
116 [0] = { 27169, 0, -1 }, /* voltage */
117 [1] = { 806, 20475, -1 }, /* current, irange25 */
118 [2] = { 404, 20475, -1 }, /* current, irange50 */
119 [3] = { 8549, 0, -1 }, /* power, irange25 */
120 [4] = { 4279, 0, -1 }, /* power, irange50 */
124 [0] = { 6770, 0, -2 }, /* voltage, vrange 60V */
125 [1] = { 4062, 0, -2 }, /* voltage, vrange 100V */
126 [2] = { 1326, 20480, -1 }, /* current, vsense range 15mV */
[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
40 Contact: qat-linux@intel.com
56 samples for AE0)
98 <counter_name> <current> <min> <max> <avg>
108 Contact: qat-linux@intel.com
114 * 0 to ``<num_rps - 1>``:
117 See Documentation/ABI/testing/sysfs-driver-qat.
[all …]
/linux/tools/perf/Documentation/
H A Dperf-kwork.txt1 perf-kwork(1)
5 ----
6 perf-kwork - Tool to trace/measure kernel work properties (latencies)
9 --------
14 -----------
29 perf kwork record -- sleep 1
31 perf kwork report -b
33 perf kwork latency -b
36 perf kwork top -b
43 ----------------- ----------------- ------ ------------------------- ---------- ----------
[all …]
H A Dperf-lock.txt1 perf-lock(1)
5 ----
6 perf-lock - Analyze lock events
9 ---
[all...]
/linux/tools/perf/ui/
H A Dhist.c1 // SPDX-License-Identifier: GPL-2.0
41 double avg = nr_samples ? (1.0 * val / nr_samples) : 0; in __hpp__fmt_print() local
43 return hpp__call_print_fn(hpp, print_fn, fmt, len, avg); in __hpp__fmt_print()
52 int samples; member
60 struct hists *hists = he->hists; in __hpp__fmt()
63 char *buf = hpp->buf; in __hpp__fmt()
64 size_t size = hpp->size; in __hpp__fmt()
69 nr_members = evsel->cor in __hpp__fmt()
[all...]
/linux/drivers/platform/chrome/
H A Dcros_ec_sensorhub_ring.c1 // 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/tools/rtla/
H A Drtla-osnoise-hist.rst2 rtla-osnoise-hist
4 ------------------------------------------------------
5 Display a histogram of the osnoise tracer samples
6 ------------------------------------------------------
19 occurrence in a histogram, displaying the results in a user-friendly way.
33 In the example below, *osnoise* tracer threads are set to run with real-time
34 priority *FIFO:1*, on CPUs *0-11*, for *900ms* at each period (*1s* by
39 [root@f34 ~/]# rtla osnoise hist -P F:1 -c 0-11 -r 900000 -d 1M -b 10 -E 25
43 …Index CPU-000 CPU-001 CPU-002 CPU-003 CPU-004 CPU-005 CPU-006 CPU-007 CPU-008 …
53avg: 0 0 0 0 0 0 0 0 0 …
[all …]
/linux/drivers/media/platform/st/sti/hva/
H A Dhva-debugfs.c1 // SPDX-License-Identifier: GPL-2.0
11 #include "hva-hw.h"
15 struct hva_streaminfo *stream = &ctx->streaminfo; in format_ctx()
16 struct hva_frameinfo *frame = &ctx->frameinfo; in format_ctx()
17 struct hva_controls *ctrls = &ctx->ctrls; in format_ctx()
18 struct hva_ctx_dbg *dbg = &ctx->dbg; in format_ctx()
21 seq_printf(s, "|-%s\n |\n", ctx->name); in format_ctx()
23 seq_printf(s, " |-[%sframe info]\n", in format_ctx()
24 ctx->flags & HVA_FLAG_FRAMEINFO ? "" : "default "); in format_ctx()
25 seq_printf(s, " | |- pixel format=%4.4s\n" in format_ctx()
[all …]
/linux/tools/perf/util/
H A Dannotate.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Parts came from builtin-annotate.c, see those files for further
16 #include "build-id.h"
30 #include "annotate-data.h"
33 #include "bpf-event.h"
34 #include "bpf-utils.h"
35 #include "block-range.h"
37 #include "dwarf-regs.h"
50 #include <subcmd/parse-options.h>
51 #include <subcmd/run-command.h>
[all …]
H A Dannotate.h1 /* SPDX-License-Identifier: GPL-2.0 */
104 u64 avg; member
147 return which < PERCENT_MAX ? data->percent[which] : -1; in annotation_data__percent()
176 return dl->ops.target.offset_avail && !dl->ops.target.outside; in disasm_line__has_local_offset()
211 * struct sym_hist - symbol histogram information for an event
213 * @nr_samples: Total number of samples.
222 * struct cyc_hist - (CPU) cycle histogram for a basic block
230 * @num: Number of samples for the longest basic block.
231 * @num_aggr: Total number of samples for this address.
261 * struct annotated_source - symbols with hits have this attached as in annotation
[all …]
/linux/drivers/iio/adc/
H A Dina2xx-adc.c11 * Copyright 2010-2011 Analog Devices Inc.
14 * Copyright 2012 Lothar Felten <l-felten@ti.com>
16 * Licensed under the GPL-2 or later.
18 * IIO driver for INA219-220-226-230-231
20 * Configurable 7-bit I2C slave address from 0x40 to 0x4F
51 /* settings - depend on use case */
98 #define SAMPLING_PERIOD(c) ((c->int_time_vbu
144 int avg; global() member
[all...]
/linux/drivers/platform/x86/
H A Dintel_ips.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2009-2010 Intel Corporation
10 * Some Intel Ibex Peak based platforms support so-called "intelligent
34 * - dual MCP configs
37 * - handle CPU hotplug
38 * - provide turbo enable/disable api
41 * - CDI 403777, 403778 - Auburndale EDS vol 1 & 2
42 * - CDI 401376 - Ibex Peak EDS
43 * - ref 26037, 26641 - IPS BIOS spec
44 * - ref 26489 - Nehalem BIOS writer's guide
[all …]
/linux/tools/tracing/rtla/src/
H A Dosnoise_hist.c1 // SPDX-License-Identifier: GPL-2.0
50 int *samples; member
68 * osnoise_free_histogram - free runtime data
76 for (cpu = 0; cpu < data->nr_cpus; cpu++) { in osnoise_free_histogram()
77 if (data->hist[cpu].samples) in osnoise_free_histogram()
78 free(data->hist[cpu].samples); in osnoise_free_histogram()
82 if (data->hist) in osnoise_free_histogram()
83 free(data->hist); in osnoise_free_histogram()
89 * osnoise_alloc_histogram - alloc runtime data
101 data->entries = entries; in osnoise_alloc_histogram()
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_cubic.c1 // SPDX-License-Identifier: GPL-2.0-only
13 * "while (ca->ack_cnt > delta)" loop is changed to the equivalent
14 * "ca->ack_cnt / delta" operation.
27 return (__s32)(seq1-seq2) < 0; in before()
43 /* Number of delay samples for detecting the increase of delay */
62 / (BICTCP_BETA_SCALE - beta);
63 /* calculate the "K" for (wmax-cwnd) = c/rtt * K^3
64 * so K = cubic_root( (wmax-cwnd)*rtt/c )
73 * HZ < 1,000,00 (corresponding to 10 nano-second)
94 __u8 sample_cnt; /* number of samples to decide curr_rtt */
[all …]
/linux/kernel/sched/
H A Dfair.c1 // SPDX-License-Identifier: GPL-2.0
44 #include <linux/memory-tiers.h>
62 * The initial- and re-scaling of tunables is configurable
66 * SCHED_TUNABLESCALING_NONE - unscaled, always *1
67 * SCHED_TUNABLESCALING_LOG - scaled logarithmically, *1+ilog(ncpus)
68 * SCHED_TUNABLESCALING_LINEAR - scaled linear, *ncpus
75 * Minimal preemption granularity for CPU-bound tasks:
97 return -cpu; in arch_asym_cpu_priority()
118 * Amount of runtime to allocate from global (tg) to local (per-cfs_rq) pool
169 lw->weight += inc; in update_load_add()
[all …]
/linux/drivers/media/platform/microchip/
H A Dmicrochip-isc-base.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2016-2019 Microchip Technology, Inc.
21 #include <linux/atmel-isc-media.h>
23 #include <media/v4l2-ctrls.h>
24 #include <media/v4l2-device.h>
25 #include <media/v4l2-event.h>
26 #include <media/v4l2-image-sizes.h>
27 #include <media/v4l2-ioctl.h>
28 #include <media/v4l2-fwnode.h>
29 #include <media/v4l2-subdev.h>
[all …]
/linux/drivers/iio/imu/bmi323/
H A Dbmi323_core.c1 // SPDX-License-Identifier: GPL-2.0
3 * IIO core driver for Bosch BMI323 6-Axis IMU.
7 …* Datasheet: https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bmi323-
83 * The accelerometer supports +-2G/4G/8G/16G ranges, and the resolution of
85 * At +-8G the scale can calculated by
86 * ((8 + 8) * 9.80665 / (2^16 - 1)) * 10^6 = 2394.23819 scale in micro
188 return &data->orientation; in bmi323_get_mount_matrix()
295 .scan_index = -1,
301 .scan_index = -1,
345 return -EINVAL; in bmi323_iio_to_sensor()
[all …]
/linux/drivers/hid/
H A Dhid-nintendo.c1 // SPDX-License-Identifier: GPL-2.0+
3 * HID driver for Nintendo Switch Joy-Cons and Pro Controllers
5 * Copyright (c) 2019-2021 Daniel J. Ogorchock <djogorchock@gmail.com>
12 * https://gitlab.com/pjranki/joycon-linux-kernel (Peter Rankin)
16 * hid-wiimote kernel hid driver
17 * hid-logitech-hidpp driver
18 * hid-sony driver
20 * This driver supports the Nintendo Switch Joy-Cons and Pro Controllers. The
31 #include "hid-ids.h"
120 (JC_CAL_USR_LEFT_DATA_END - JC_CAL_USR_LEFT_DATA_ADDR + 1)
[all …]

12