| /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/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/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 * ----------------------- 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() 105 data->interval_ptr = 0; in menu_update_intervals() [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 -------- 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 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-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/Documentation/tools/rtla/ |
| H A D | rtla-osnoise-hist.rst | 4 rtla-osnoise-hist 6 ------------------------------------------------------ 7 Display a histogram of the osnoise tracer samples 8 ------------------------------------------------------ 21 occurrence in a histogram, displaying the results in a user-friendly way. 35 In the example below, *osnoise* tracer threads are set to run with real-time 36 priority *FIFO:1*, on CPUs *0-11*, for *900ms* at each period (*1s* by 41 [root@f34 ~/]# rtla osnoise hist -P F:1 -c 0-11 -r 900000 -d 1M -b 10 -E 25 45 …Index CPU-000 CPU-001 CPU-002 CPU-003 CPU-004 CPU-005 CPU-006 CPU-007 CPU-008 … 55 …avg: 0 0 0 0 0 0 0 0 0 … [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 …]
|
| H A D | fair.c | 1 // 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: 96 return -cpu; in arch_asym_cpu_priority() 116 * Amount of runtime to allocate from global (tg) to local (per-cfs_rq) pool 167 lw->weight += inc; in update_load_add() [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/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 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 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/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 51 /* settings - depend on use case */ 98 #define SAMPLING_PERIOD(c) ((c->int_time_vbus + c->int_time_vshunt) \ 99 * c->avg) 144 int avg; member 190 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 14 #include "../util/mem-events.h" 44 double avg = nr_samples ? (1.0 * val / nr_samples) : 0; in __hpp__fmt_print() local 46 return hpp__call_print_fn(hpp, print_fn, fmt, len, avg); in __hpp__fmt_print() 55 int samples; member 63 struct hists *hists = he->hists; in __hpp__fmt() 66 char *buf = hpp->buf; in __hpp__fmt() 67 size_t size = hpp->size; in __hpp__fmt() 72 nr_members = evsel->core.nr_members; in __hpp__fmt() 80 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 19 int *samples; member 37 * osnoise_free_histogram - free runtime data 45 for (cpu = 0; cpu < data->nr_cpus; cpu++) { in osnoise_free_histogram() 46 if (data->hist[cpu].samples) in osnoise_free_histogram() 47 free(data->hist[cpu].samples); in osnoise_free_histogram() 51 if (data->hist) in osnoise_free_histogram() 52 free(data->hist); in osnoise_free_histogram() 59 osnoise_free_histogram(tool->data); in osnoise_free_hist_tool() 63 * osnoise_alloc_histogram - alloc runtime data [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 "util/build-id.h" 16 #include <subcmd/parse-options.h> 17 #include "util/trace-event.h" 21 #include "util/synthetic-events.h" 24 #include "util/ordered-events.h" 25 #include "util/kvm-stat.h" 59 if (vcpu == -1) \ 60 return event->total.field; \ 62 if (vcpu >= event->max_vcpu) \ [all …]
|
| H A D | builtin-sched.c | 1 // SPDX-License-Identifier: GPL-2.0 4 #include "perf-sys.h" 22 #include "util/time-utils.h" 25 #include <subcmd/parse-options.h> 26 #include "util/trace-event.h" 176 * Track the current task - that way we can know whether there's any 248 u64 dt_delay; /* time between wakeup and sched-in */ 306 } while (T1 + sched->run_measurement_overhead < T0 + nsecs); in burn_nsecs() 328 delta = T1-T0; in calibrate_run_measurement_overhead() 331 sched->run_measurement_overhead = min_delta; in calibrate_run_measurement_overhead() [all …]
|
| H A D | builtin-kwork.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * builtin-kwork.c 26 #include <subcmd/parse-options.h> 27 #include <event-parse.h> 67 if (l->cpu > r->cpu) in id_cmp() 69 if (l->cpu < r->cpu) in id_cmp() 70 return -1; in id_cmp() 72 if (l->id > r->id) in id_cmp() 74 if (l->id < r->id) in id_cmp() 75 return -1; in id_cmp() [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. 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/drivers/media/platform/microchip/ |
| H A D | microchip-isc-base.c | 1 // 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/hid/ |
| H A D | hid-nintendo.c | 1 // 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 …]
|
| /linux/net/ipv4/ |
| H A D | tcp_bbr.c | 21 * +---> STARTUP ----+ 24 * | DRAIN ----+ 27 * +---> PROBE_BW ----+ 30 * | +----+ | 32 * +---- PROBE_RTT <--+ 37 * A long-lived BBR flow spends the vast majority of its time remaining 42 * it briefly enters PROBE_RTT to cut inflight to a minimum value to re-probe 43 * the path's two-way propagation delay (min_rtt). When exiting PROBE_RTT, if 48 * "BBR: Congestion-Based Congestion Control", 50 * Van Jacobson. ACM Queue, Vol. 14 No. 5, September-October 2016. [all …]
|