/openbmc/linux/Documentation/devicetree/bindings/iio/adc/ |
H A D | st,stm32-adc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/st,stm32-adc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 STM32 ADC is a successive approximation analog-to-digital converter. 13 stored in a left-aligned or right-aligned 32-bit data register. 17 voltage goes beyond the user-defined, higher or lower thresholds. 22 - Fabrice Gasnier <fabrice.gasnier@foss.st.com> 27 - st,stm32f4-adc-core 28 - st,stm32h7-adc-core [all …]
|
/openbmc/linux/tools/perf/scripts/python/ |
H A D | powerpc-hcalls.py | 1 # SPDX-License-Identifier: GPL-2.0+ 13 '/scripts/python/Perf-Trace-Util/lib/Perf/Trace') 21 # 'min': minimum time nsec 22 # 'max': maximum time nsec 23 # 'time': average time nsec 159 print_ptrn = '%-28s%10s%10s%10s%10s' 162 print(print_ptrn % ('hcall', 'count', 'min(ns)', 'max(ns)', 'avg(ns)')) 163 print('-' * 68) 166 time = output[opcode]['time'] 168 min_t = output[opcode]['min'] [all …]
|
/openbmc/linux/tools/perf/ |
H A D | builtin-sched.c | 1 // SPDX-License-Identifier: GPL-2.0 3 #include "perf-sys.h" 21 #include "util/time-utils.h" 24 #include <subcmd/parse-options.h> 25 #include "util/trace-event.h" 103 /* in tsk->exit_state */ 107 /* in tsk->state again */ 148 struct perf_sample *sample, struct machine *machine); 151 struct perf_sample *sample, struct machine *machine); 154 struct perf_sample *sample, struct machine *machine); [all …]
|
/openbmc/linux/tools/perf/Documentation/ |
H A D | perf-script-python.txt | 1 perf-script-python(1) 5 ---- 6 perf-script-python - Process trace data with a Python script 9 -------- 11 'perf script' [-s [Python]:script[.py] ] 14 ----------- 17 built-in Python interpreter. It reads and processes the input file and 22 --------------- 32 'syscall-counts' script you see when you list the available perf script 33 scripts via 'perf script -l'. As such, this script also shows how to [all …]
|
/openbmc/openbmc/poky/scripts/pybootchartgui/pybootchartgui/ |
H A D | draw.py | 28 # should we render a cumulative CPU time chart 48 # 5-second tick line color. 154 # If we have more volumns, colors get re-used. 198 draw_fill_rect(ctx, fill_color, (x, y - s, s, s)) 199 draw_rect(ctx, PROC_BORDER_COLOR, (x, y - s, s, s)) 203 draw_fill_rect(ctx, fill_color, (x, y - s/2, s + 1, 3)) 204 ctx.arc(x + (s + 1)/2.0, y - (s - 3)/2.0, 2.5, 0, 2.0 * math.pi) 210 label_x = x + w / 2 - label_w / 2 214 label_x = x - label_w - 5 217 def draw_sec_labels(ctx, options, rect, sec_w, nsecs): argument [all …]
|
/openbmc/linux/arch/arm/boot/dts/st/ |
H A D | stm32mp15xc-lxa-tac.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) 3 * Copyright (C) 2020 STMicroelectronics - All Rights Reserved 9 #include "stm32mp15xx-osd32.dtsi" 10 #include "stm32mp15xxac-pinctrl.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/input/input.h> 14 #include <dt-bindings/leds/common.h> 15 #include <dt-bindings/pwm/pwm.h> 28 stdout-path = &uart4; 31 led-controller-0 { [all …]
|
/openbmc/u-boot/doc/device-tree-bindings/adc/ |
H A D | st,stm32-adc.txt | 3 STM32 ADC is a successive approximation analog-to-digital converter. 6 stored in a left-aligned or right-aligned 32-bit data register. 10 voltage goes beyond the user-defined, higher or lower thresholds. 16 - regular conversion can be done in sequence, running in background 17 - injected conversions have higher priority, and so have the ability to 22 ----------------------------------- 24 - compatible: Should be one of: 25 "st,stm32f4-adc-core" 26 "st,stm32h7-adc-core" 27 "st,stm32mp1-adc-core" [all …]
|
/openbmc/linux/kernel/time/ |
H A D | ntp.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * This code was mainly moved from kernel/timer.c and kernel/time.c 16 #include <linux/time.h> 36 /* SHIFTED_HZ period (nsecs): */ 49 * phase-lock loop variables 62 /* time adjustment (nsecs): */ 65 /* pll time constant: */ 74 /* frequency offset (scaled nsecs/secs): */ 77 /* time at last adjustment (secs): */ 82 /* constant (boot-param configurable) NTP tick adjustment (upscaled) */ [all …]
|
/openbmc/linux/kernel/trace/ |
H A D | trace_hwlat.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * trace_hwlat.c - A simple Hardware Latency detector. 20 * Although certain hardware-inducing latencies are necessary (for example, 22 * and remote management) they can wreak havoc upon any OS-level performance 23 * guarantees toward low-latency, especially when the OS is not even made 27 * sampling the built-in CPU timer, looking for discontiguous readings. 31 * environment requiring any kind of low-latency performance 34 * Copyright (C) 2008-2009 Jon Masters, Red Hat, Inc. <jcm@redhat.com> 35 * Copyright (C) 2013-2016 Steven Rostedt, Red Hat, Inc. <srostedt@redhat.com> 57 static struct dentry *hwlat_sample_width; /* sample width us */ [all …]
|
H A D | trace.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2007-2012 Steven Rostedt <srostedt@redhat.com> 12 * Copyright (C) 2004-2006 Ingo Molnar 67 * A selftest will lurk into the ring-buffer to count the 69 * insertions into the ring-buffer such as trace_printk could occurred 70 * at the same time, giving false positive or negative results. 75 * If boot-time tracing including tracers/events via kernel cmdline 127 * ftrace_dump_on_oops - variable to dump ftrace buffer on oops 238 int left = sizeof(boot_snapshot_info) - boot_snapshot_index; in boot_alloc_snapshot() 244 return -1; in boot_alloc_snapshot() [all …]
|
/openbmc/linux/net/mac80211/ |
H A D | rc80211_minstrel_ht.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2010-2013 Felix Fietkau <nbd@openwrt.org> 4 * Copyright (C) 2019-2022 Intel Corporation 28 /* Transmission time (nanoseconds) for a packet containing (syms) symbols */ 44 * Define group sort order: HT40 -> SGI -> #streams 50 _streams - 1 55 _MAX(0, 16 - __builtin_clz(duration)) 90 (_streams) - 1) 208 * BW -> SGI -> #streams 303 switch ((le16_to_cpu(mcs_map) >> (2 * (nss - 1))) & 3) { in minstrel_get_valid_vht_rates() [all …]
|
/openbmc/linux/drivers/iio/adc/ |
H A D | stm32-adc.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2016, STMicroelectronics - All Rights Reserved 12 #include <linux/dma-mapping.h> 16 #include <linux/iio/timer/stm32-lptim-trigger.h> 17 #include <linux/iio/timer/stm32-timer-trigger.h> 26 #include <linux/nvmem-consumer.h> 31 #include "stm32-adc-core.h" 58 /* extsel - trigger mux selection value */ 84 STM32_ADC_INT_CH_NONE = -1, 94 * struct stm32_adc_ic - ADC internal channels [all …]
|
/openbmc/linux/drivers/ata/ |
H A D | pata_octeon_cf.c | 8 * Copyright (C) 2005 - 2012 Cavium Inc. 31 * -- 8 bits no irq, no DMA 32 * -- 16 bits no irq, no DMA 33 * -- 16 bits True IDE mode with DMA, but no irq. 72 * Convert nanosecond based time to setting used in the 75 static unsigned int ns_to_tim_reg(unsigned int tim_mult, unsigned int nsecs) in ns_to_tim_reg() argument 81 return DIV_ROUND_UP(nsecs * (octeon_get_io_clock_rate() / 1000000), in ns_to_tim_reg() 108 reg_cfg.s.rd_dly = 0; /* Sample on falling edge of BOOT_OE */ in octeon_cf_set_boot_reg_cfg() 128 struct octeon_cf_port *cf_port = ap->private_data; in octeon_cf_set_piomode() 150 BUG_ON(ata_timing_compute(dev, dev->pio_mode, &timing, T, T)); in octeon_cf_set_piomode() [all …]
|
/openbmc/linux/sound/drivers/ |
H A D | dummy.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 12 #include <linux/time.h> 45 #define USE_MIXER_VOLUME_LEVEL_MIN -50 48 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ 50 static bool enable[SNDRV_CARDS] = {1, [1 ... (SNDRV_CARDS - 1)] = 0}; 51 static char *model[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = NULL}; 52 static int pcm_devs[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1}; 53 static int pcm_substreams[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 8}; 54 //static int midi_devs[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 2}; 71 MODULE_PARM_DESC(pcm_devs, "PCM devices # (0-4) for dummy driver."); [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | bpf.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 /* Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com 21 #define BPF_DW 0x18 /* double word (64-bit) */ 23 #define BPF_ATOMIC 0xc0 /* atomic memory ops - op type in immediate */ 24 #define BPF_XADD 0xc0 /* exclusive add - legacy name */ 32 #define BPF_TO_LE 0x00 /* convert to little-endian */ 33 #define BPF_TO_BE 0x08 /* convert to big-endian */ 51 #define BPF_CMPXCHG (0xf0 | BPF_FETCH) /* atomic compare-and-write */ 69 /* BPF has 10 general purpose 64-bit registers and stack frame. */ 111 BPF_CGROUP_ITER_DESCENDANTS_PRE, /* walk descendants in pre-order. */ [all …]
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | bpf.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 /* Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com 21 #define BPF_DW 0x18 /* double word (64-bit) */ 23 #define BPF_ATOMIC 0xc0 /* atomic memory ops - op type in immediate */ 24 #define BPF_XADD 0xc0 /* exclusive add - legacy name */ 32 #define BPF_TO_LE 0x00 /* convert to little-endian */ 33 #define BPF_TO_BE 0x08 /* convert to big-endian */ 51 #define BPF_CMPXCHG (0xf0 | BPF_FETCH) /* atomic compare-and-write */ 69 /* BPF has 10 general purpose 64-bit registers and stack frame. */ 111 BPF_CGROUP_ITER_DESCENDANTS_PRE, /* walk descendants in pre-order. */ [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | reg.h | 1 /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */ 2 /* Copyright (c) 2015-2018 Mellanox Technologies. All rights reserved */ 29 #define MLXSW_REG_LEN(type) MLXSW_REG(type)->len 30 #define MLXSW_REG_ZERO(type, payload) memset(payload, 0, MLXSW_REG(type)->len) 32 /* SGCR - Switch General Configuration Register 33 * -------------------------------------------- 55 /* SPAD - Switch Physical Address Register 56 * --------------------------------------- 72 /* SSPR - Switch System Port Record Register 73 * ----------------------------------------- [all …]
|