Home
last modified time | relevance | path

Searched +full:min +full:- +full:sample +full:- +full:time +full:- +full:nsecs (Results 1 – 10 of 10) sorted by relevance

/linux/Documentation/devicetree/bindings/iio/adc/
H A Dst,stm32-adc.yaml1 # 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 …]
/linux/tools/perf/scripts/python/
H A Dpowerpc-hcalls.py1 # 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 …]
/linux/tools/perf/
H A Dbuiltin-sched.c1 // 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"
129 struct perf_sample *sample, struct machine *machine);
132 struct perf_sample *sample, struct machine *machine);
135 struct perf_sample *sample, struct machine *machine);
143 struct perf_sample *sample,
176 * Track the current task - that way we can know whether there's any
[all …]
/linux/kernel/trace/
H A Dtrace_hwlat.c1 // 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 Dtrace.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2007-2012 Steven Rostedt <srostedt@redhat.com>
12 * Copyright (C) 2004-2006 Ingo Molnar
64 * A selftest will lurk into the ring-buffer to count the
66 * insertions into the ring-buffer such as trace_printk could occurred
67 * at the same time, giving false positive or negative results.
72 * If boot-time tracing including tracers/events via kernel cmdline
126 * ftrace_dump_on_oops - variable to dump ftrace buffer on oops
262 strscpy(ftrace_dump_on_oops + 1, str, MAX_TRACER_SIZE - 1); in set_ftrace_dump_on_oops()
286 int left = sizeof(boot_snapshot_info) - boot_snapshot_index; in boot_alloc_snapshot()
[all …]
/linux/kernel/time/
H A Dntp.c1 // 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>
27 * struct ntp_data - Structure holding all NTP related state
33 * @time_offset: Time adjustment in nanoseconds
34 * @time_constant: PLL time constant
38 * @time_freq: Frequency offset scaled nsecs/secs
39 * @time_reftime: Time at last adjustment in seconds
41 * @ntp_tick_adj: Constant boot-param configurable NTP tick adjustment (upscaled)
91 [ 0 ... TIMEKEEPERS_MAX - 1 ] = {
[all …]
/linux/drivers/ata/
H A Dpata_octeon_cf.c8 * 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 …]
/linux/sound/drivers/
H A Ddummy.c1 // SPDX-License-Identifier: GPL-2.0-or-later
13 #include <linux/time.h>
46 #define USE_MIXER_VOLUME_LEVEL_MIN -50
49 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
51 static bool enable[SNDRV_CARDS] = {1, [1 ... (SNDRV_CARDS - 1)] = 0};
52 static char *model[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS -
440 unsigned long nsecs; dummy_hrtimer_prepare() local
[all...]
/linux/include/uapi/linux/
H A Dbpf.h1 /* 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 */
52 #define BPF_CMPXCHG (0xf0 | BPF_FETCH) /* atomic compare-and-write */
54 #define BPF_LOAD_ACQ 0x100 /* load-acquire */
55 #define BPF_STORE_REL 0x110 /* store-release */
[all …]
/linux/tools/include/uapi/linux/
H A Dbpf.h1 /* 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 */
52 #define BPF_CMPXCHG (0xf0 | BPF_FETCH) /* atomic compare-and-write */
54 #define BPF_LOAD_ACQ 0x100 /* load-acquire */
55 #define BPF_STORE_REL 0x110 /* store-release */
[all …]