| /linux/Documentation/devicetree/bindings/thermal/ |
| H A D | qcom-spmi-adc-tm5.yaml | 1 # 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 D | qcom-spmi-adc-tm-hc.yaml | 1 # 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/Documentation/devicetree/bindings/iio/adc/ |
| H A D | qcom,spmi-vadc.yaml | 1 # 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. 24 - items: 25 - const: qcom,pms405-adc [all …]
|
| H A D | qcom,spmi-vadc-common.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/qcom,spmi-vadc-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jishnu Prakash <jishnu.prakash@oss.qualcomm.com> 18 ADC channel number (PMIC-specific for versions after PMIC5 ADC). 34 qcom,pre-scaling: 35 $ref: /schemas/types.yaml#/definitions/uint32-array 39 pre-determined ratio and use it for post scaling. It is a pair of 45 - items: [all …]
|
| H A D | qcom,spmi-adc5-gen3.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/qcom,spmi-adc5-gen3.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jishnu Prakash <jishnu.prakash@oss.qualcomm.com> 14 voltage. It is a 16-bit sigma-delta ADC. It also performs the same thermal 26 const: qcom,spmi-adc5-gen3 30 - description: SDAM0 base address in the SPMI PMIC register map 31 - description: SDAM1 base address 34 "#address-cells": [all …]
|
| /linux/tools/perf/tests/shell/common/ |
| H A D | patterns.sh | 1 # 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/tools/testing/selftests/drivers/net/lib/py/ |
| H A D | load.py | 1 # SPDX-License-Identifier: GPL-2.0 22 cmdline = f"iperf3 -s -1 -p {self.port}" 24 cmdline += f" -B {self.server_ip}" 29 cmdline = f"iperf3 -c {host} -p {self.port} -P {streams} -t {duration} -J" 31 cmdline += f" -B {self.client_ip}" 33 cmdline += " --reverse" 73 samples = [i["sum"]["bits_per_second"] / 1e9 for i in intervals] 74 if len(samples) < 10: 75 raise ValueError(f"iperf3 returned too few intervals: {len(samples)}") 77 stable = samples[3:-3] [all …]
|
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | sc8280xp-microsoft-blackrock.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 9 /dts-v1/; 11 #include <dt-bindings/iio/qcom,spmi-adc7-pm8350.h> 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/input/gpio-keys.h> 14 #include <dt-bindings/input/input.h> 15 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 18 #include "sc8280xp-pmics.dtsi" 23 chassis-type = "desktop"; 31 wcd938x: audio-codec { [all …]
|
| H A D | sc8280xp-huawei-gaokun3.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 12 /dts-v1/; 14 #include <dt-bindings/iio/qcom,spmi-adc7-pm8350.h> 15 #include <dt-bindings/gpio/gpio.h> 16 #include <dt-bindings/input/gpio-keys.h> 17 #include <dt-bindings/input/input.h> 18 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 19 #include <dt-bindings/phy/phy.h> 22 #include "sc8280xp-pmics.dtsi" 25 chassis-type = "tablet"; [all …]
|
| H A D | sc8280xp-lenovo-thinkpad-x13s.dts | 1 // 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/tools/perf/Documentation/ |
| H A D | perf-kwork.txt | 1 perf-kwork(1) 5 ---- 6 perf-kwork - Tool to trace/measure kernel work properties (latencies) 9 --- [all...] |
| 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 --- [all...] |
| H A D | perf-sched.txt | 1 perf-sched(1) 5 ---- 6 perf-sched - Tool to trace/measure scheduler properties (latencies) 9 --- [all...] |
| H A D | perf-lock.txt | 1 perf-lock(1) 5 ---- 6 perf-lock - Analyze lock events 9 -------- 14 ----------- 33 -------------- 35 -i:: 36 --input=<file>:: 39 --output=<file>:: 42 -v:: [all …]
|
| /linux/kernel/sched/ |
| H A D | psi.c | 1 // SPDX-License-Identifier: GPL-2.0 34 * In the FULL state of a given resource, all non-idle tasks are 44 * CPU, productive means an on-CPU task. 48 * FULL means all non-idle tasks in the cgroup are delayed on the CPU 64 * unrealized due to resource contention *also* scales with non-idle 83 * we have to base our calculation on the number of non-idle tasks in 91 * FULL = (threads - min(nr_productive_tasks, threads)) / threads 97 * FULL = (256 - min(256, 256)) / 256 = 0% 99 * For the 1 out of 4 memory-delayed tasks, this yields: 103 * FULL = (4 - min(3, 4)) / 4 = 25% [all …]
|
| /linux/drivers/media/platform/st/sti/hva/ |
| H A D | hva-debugfs.c | 1 // 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 D | annotate.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Parts came from builtin-annotate.c, see those files for further 15 #include "build-id.h" 29 #include "annotate-data.h" 32 #include "bpf-event.h" 33 #include "bpf-utils.h" 34 #include "block-range.h" 36 #include "dwarf-regs.h" 50 #include <subcmd/parse-options.h> 51 #include <subcmd/run-command.h> [all …]
|
| H A D | annotate.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 107 u64 avg; member 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. [all …]
|
| /linux/tools/testing/selftests/timers/ |
| H A D | raw_skew.c | 9 * $ gcc raw_skew.c -o raw_skew -lrt 34 __x < 0 ? -(-__x >> __s) : __x >> __s; \ 40 val = -val; in llabs() 64 return end_ns - start_ns; in diff_timespec() 100 return -1; in main() 125 eppm = ((delta2-delta1)*NSEC_PER_SEC)/interval; in main() 126 eppm = -eppm; in main() 129 /* Avg the two actual freq samples adjtimex gave us */ in main() 134 if (llabs(eppm - ppm) > 1000) { in main()
|
| /linux/drivers/iio/adc/ |
| H A D | ina2xx-adc.c | 11 * 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 49 /* settings - depend on use case */ 96 #define SAMPLING_PERIOD(c) ((c->int_time_vbus + c->int_time_vshunt) \ 97 * c->avg) 142 int avg; member 198 ret = regmap_read(chip->regmap, chan->address, ®val); in ina2xx_read_raw() [all …]
|
| /linux/tools/perf/ui/ |
| H A D | hist.c | 1 // SPDX-License-Identifier: GPL-2.0 15 #include "../util/mem-events.h" 45 double avg = nr_samples ? (1.0 * val / nr_samples) : 0; in __hpp__fmt_print() local 47 return hpp__call_print_fn(hpp, print_fn, fmt, len, avg); in __hpp__fmt_print() 56 int samples; member 64 struct hists *hists = he->hists; in __hpp__fmt() 67 char *buf = hpp->buf; in __hpp__fmt() 68 size_t size = hpp->size; in __hpp__fmt() 73 nr_members = evsel->core.nr_members; in __hpp__fmt() 81 values[0].samples = he->stat.nr_events; in __hpp__fmt() [all …]
|
| /linux/tools/tracing/rtla/src/ |
| H A D | osnoise_hist.c | 1 // SPDX-License-Identifier: GPL-2.0 18 int *samples; 35 * osnoise_free_histogram - free runtime data 44 if (data->hist[cpu].samples) in osnoise_free_histogram() 45 free(data->hist[cpu].samples); in osnoise_free_histogram() 49 if (data->his in osnoise_free_histogram() 19 int *samples; global() member [all...] |
| /linux/drivers/platform/x86/ |
| H A D | intel_ips.c | 1 // 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/perf/ |
| H A D | builtin-kvm.c | 1 // SPDX-License-Identifier: GPL-2.0 5 #include <dwarf-regs.h> 6 #include "util/build-id.h" 17 #include <subcmd/parse-options.h> 18 #include "util/trace-event.h" 22 #include "util/synthetic-events.h" 25 #include "util/ordered-events.h" 26 #include "util/kvm-stat.h" 60 if (vcpu == -1) \ 61 return event->total.field; \ [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | bpf_cubic.c | 1 // 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. 37 /* Number of delay samples for detecting the increase of delay */ 56 / (BICTCP_BETA_SCALE - beta); 57 /* calculate the "K" for (wmax-cwnd) = c/rtt * K^3 58 * so K = cubic_root( (wmax-cwnd)*rtt/c ) 67 * HZ < 1,000,00 (corresponding to 10 nano-second) 88 __u8 sample_cnt; /* number of samples to decide curr_rtt */ 98 ca->cnt = 0; in bictcp_reset() [all …]
|