Home
last modified time | relevance | path

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

12

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/adc/
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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/adc/
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@st.com>
27 - st,stm32f4-adc-core
28 - st,stm32h7-adc-core
[all …]
/kernel/linux/linux-5.10/tools/perf/scripts/python/
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 …]
/kernel/linux/linux-6.6/tools/perf/scripts/python/
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 …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dstm32mp15xx-dhcom-som.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * Copyright (C) 2019-2020 Marek Vasut <marex@denx.de>
6 #include "stm32mp15-pinctrl.dtsi"
7 #include "stm32mp15xxaa-pinctrl.dtsi"
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/mfd/st,stpmic1.h>
21 reserved-memory {
22 #address-cells = <1>;
23 #size-cells = <1>;
27 compatible = "shared-dma-pool";
[all …]
Dstm32mp15xx-dhcor-avenger96.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
3 * Copyright (C) Linaro Ltd 2019 - All Rights Reserved
9 #include "stm32mp15xx-dhcor-io1v8.dtsi"
22 cec_clock: clk-cec-fixed {
23 #clock-cells = <0>;
24 compatible = "fixed-clock";
25 clock-frequency = <24000000>;
29 stdout-path = "serial0:115200n8";
32 hdmi-out {
33 compatible = "hdmi-connector";
[all …]
Dstm32mp15xx-dkx.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * Copyright (C) STMicroelectronics 2019 - All Rights Reserved
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/mfd/st,stpmic1.h>
16 reserved-memory {
17 #address-cells = <1>;
18 #size-cells = <1>;
22 compatible = "shared-dma-pool";
24 no-map;
28 compatible = "shared-dma-pool";
[all …]
Dstm32mp157c-ed1.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * Copyright (C) STMicroelectronics 2017 - All Rights Reserved
6 /dts-v1/;
10 #include "stm32mp15-pinctrl.dtsi"
11 #include "stm32mp15xxaa-pinctrl.dtsi"
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/mfd/st,stpmic1.h>
17 compatible = "st,stm32mp157c-ed1", "st,stm32mp157";
20 stdout-path = "serial0:115200n8";
28 reserved-memory {
[all …]
/kernel/linux/linux-5.10/tools/perf/
Dbuiltin-sched.c1 // SPDX-License-Identifier: GPL-2.0
4 #include "perf-sys.h"
21 #include "util/time-utils.h"
24 #include <subcmd/parse-options.h>
25 #include "util/trace-event.h"
102 /* in tsk->exit_state */
106 /* in tsk->state again */
147 struct perf_sample *sample, struct machine *machine);
150 struct perf_sample *sample, struct machine *machine);
153 struct perf_sample *sample, struct machine *machine);
[all …]
/kernel/linux/linux-6.6/tools/perf/
Dbuiltin-sched.c1 // 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 …]
/kernel/linux/linux-6.6/tools/perf/Documentation/
Dperf-script-python.txt1 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 …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/st/
Dstm32mp15xc-lxa-tac.dtsi1 // 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 …]
/kernel/linux/linux-5.10/kernel/time/
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>
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 …]
/kernel/linux/linux-6.6/kernel/time/
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>
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 …]
/kernel/linux/linux-5.10/net/mac80211/
Drc80211_minstrel_ht.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2010-2013 Felix Fietkau <nbd@openwrt.org>
4 * Copyright (C) 2019-2020 Intel Corporation
30 /* Transmission time (nanoseconds) for a packet containing (syms) symbols */
46 * Define group sort order: HT40 -> SGI -> #streams
52 _streams - 1
57 _MAX(0, 16 - __builtin_clz(duration))
92 (_streams) - 1)
182 * BW -> SGI -> #streams
266 switch ((le16_to_cpu(mcs_map) >> (2 * (nss - 1))) & 3) { in minstrel_get_valid_vht_rates()
[all …]
/kernel/linux/linux-6.6/kernel/trace/
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 …]
/kernel/linux/linux-6.6/net/mac80211/
Drc80211_minstrel_ht.c1 // 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 …]
/kernel/linux/linux-6.6/drivers/iio/adc/
Dstm32-adc.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/iio/adc/
Dstm32-adc.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2016, STMicroelectronics - All Rights Reserved
11 #include <linux/dma-mapping.h>
15 #include <linux/iio/timer/stm32-lptim-trigger.h>
16 #include <linux/iio/timer/stm32-timer-trigger.h>
29 #include "stm32-adc-core.h"
55 /* extsel - trigger mux selection value */
81 * struct stm32_adc_trig_info - ADC trigger info
91 * struct stm32_adc_calib - optional adc calibration data
105 * struct stm32_adc_regs - stm32 ADC misc registers & bitfield desc
[all …]
/kernel/linux/linux-5.10/drivers/ata/
Dpata_octeon_cf.c8 * Copyright (C) 2005 - 2012 Cavium Inc.
30 * -- 8 bits no irq, no DMA
31 * -- 16 bits no irq, no DMA
32 * -- 16 bits True IDE mode with DMA, but no irq.
71 * Convert nanosecond based time to setting used in the
74 static unsigned int ns_to_tim_reg(unsigned int tim_mult, unsigned int nsecs) in ns_to_tim_reg() argument
82 val = DIV_ROUND_UP(nsecs * (octeon_get_io_clock_rate() / 1000000), in ns_to_tim_reg()
111 reg_cfg.s.rd_dly = 0; /* Sample on falling edge of BOOT_OE */ in octeon_cf_set_boot_reg_cfg()
131 struct octeon_cf_port *cf_port = ap->private_data; in octeon_cf_set_piomode()
153 BUG_ON(ata_timing_compute(dev, dev->pio_mode, &timing, T, T)); in octeon_cf_set_piomode()
[all …]
/kernel/linux/linux-6.6/drivers/ata/
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 …]
/kernel/linux/linux-6.6/sound/drivers/
Ddummy.c1 // 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 …]
/kernel/linux/linux-5.10/sound/drivers/
Ddummy.c1 // SPDX-License-Identifier: GPL-2.0-or-later
12 #include <linux/time.h>
47 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
49 static bool enable[SNDRV_CARDS] = {1, [1 ... (SNDRV_CARDS - 1)] = 0};
50 static char *model[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = NULL};
51 static int pcm_devs[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1};
52 static int pcm_substreams[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 8};
53 //static int midi_devs[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 2};
68 MODULE_PARM_DESC(pcm_devs, "PCM devices # (0-4) for dummy driver.");
70 MODULE_PARM_DESC(pcm_substreams, "PCM substreams # (1-128) for dummy driver.");
[all …]
/kernel/linux/linux-6.6/tools/include/uapi/linux/
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 */
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 …]
/kernel/linux/linux-6.6/include/uapi/linux/
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 */
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 …]

12