Home
last modified time | relevance | path

Searched +full:measure +full:- +full:delay +full:- +full:time (Results 1 – 25 of 136) sorted by relevance

123456

/linux-6.14.4/Documentation/devicetree/bindings/input/touchscreen/
Dfsl,imx6ul-tsc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/input/touchscreen/fsl,imx6ul-tsc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Haibo Chen <[email protected]>
11 - Shawn Guo <[email protected]>
12 - Sascha Hauer <[email protected]>
16 const: fsl,imx6ul-tsc
20 - description: touch controller address
21 - description: ADC2 address
[all …]
/linux-6.14.4/drivers/input/touchscreen/
Dimx6ul_tsc.c1 // SPDX-License-Identifier: GPL-2.0
14 #include <linux/delay.h>
100 * TSC module need ADC to get the measure value. So
111 reinit_completion(&tsc->completion); in imx6ul_adc_init()
113 adc_cfg = readl(tsc->adc_regs + REG_ADC_CFG); in imx6ul_adc_init()
118 if (tsc->average_enable) { in imx6ul_adc_init()
120 adc_cfg |= (tsc->average_select) << ADC_AVGS_SHIFT; in imx6ul_adc_init()
123 writel(adc_cfg, tsc->adc_regs + REG_ADC_CFG); in imx6ul_adc_init()
128 writel(adc_hc, tsc->adc_regs + REG_ADC_HC0); in imx6ul_adc_init()
131 adc_gc = readl(tsc->adc_regs + REG_ADC_GC); in imx6ul_adc_init()
[all …]
Dads7846.c1 // SPDX-License-Identifier: GPL-2.0-only
10 * - corgi_ts.c
11 * Copyright (C) 2004-2005 Richard Purdie
12 * - omap_ts.[hc], ads7846.h, ts_osk.c
21 #include <linux/delay.h>
39 * Support for ads7843 tested on Atmel at91sam926x-EK.
53 * note. The strength of filtering can be set in the board-* specific
57 #define TS_POLL_DELAY 1 /* ms delay before the first sample */
58 #define TS_POLL_PERIOD 5 /* ms delay between samples */
76 * driver is used with DMA-based SPI controllers (like atmel_spi) on
[all …]
/linux-6.14.4/tools/perf/Documentation/
Dperf-kwork.txt1 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
39 including the run time and delay (time between raise and actually entry):
[all …]
Dperf-ftrace.txt1 perf-ftrace(1)
5 ----
6 perf-ftrace - simple wrapper for kernel's ftrace functionality
10 --------
15 -----------
27 total, average, max time and the number of calls.
32 --------------
34 -p::
35 --pid=::
38 --tid=::
[all …]
Dperf-sched.txt1 perf-sched(1)
5 ----
6 perf-sched - Tool to trace/measure scheduler properties (latencies)
9 --------
14 -----------
24 perf sched record -- sleep 1
27--------------------------------------------------------------------------------------------------…
28 … | Runtime ms | Count | Avg delay ms | Max delay ms | Max delay start …
29--------------------------------------------------------------------------------------------------…
32 …kworker/1:2-xfs:4649 | 0.012 ms | 1 | avg: 0.008 ms | max: 0.008 ms | max start: …
[all …]
Dperf-stat.txt1 perf-stat(1)
5 ----
6 perf-stat - Run a command and gather performance counter statistics
9 --------
11 'perf stat' [-e <EVENT> | --event=EVENT] [-a] <command>
12 'perf stat' [-e <EVENT> | --event=EVENT] [-a] \-- <command> [<options>]
13 'perf stat' [-e <EVENT> | --event=EVENT] [-a] record [-o file] \-- <command> [<options>]
14 'perf stat' report [-i file]
17 -----------
23 -------
[all …]
Dperf-top.txt1 perf-top(1)
5 ----
6 perf-top - System profiling tool.
9 --------
11 'perf top' [-e <EVENT> | --event=EVENT] [<options>]
14 -----------
15 This command generates and displays a performance counter profile in real time.
19 -------
20 -a::
21 --all-cpus::
[all …]
/linux-6.14.4/drivers/mfd/
Ducb1x00-ts.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Touchscreen driver for UCB1x00-based touchscreens
8 * 21-Jan-2002 <[email protected]> :
24 #include <linux/delay.h>
34 #include <asm/mach-types.h>
56 struct input_dev *idev = ts->idev; in ucb1x00_ts_evt_add()
67 struct input_dev *idev = ts->idev; in ucb1x00_ts_event_release()
79 ucb1x00_reg_write(ts->ucb, UCB_TS_CR, in ucb1x00_ts_mode_int()
92 ucb1x00_io_write(ts->ucb, COLLIE_TC35143_GPIO_TBL_CHK, 0); in ucb1x00_ts_read_pressure()
93 ucb1x00_reg_write(ts->ucb, UCB_TS_CR, in ucb1x00_ts_read_pressure()
[all …]
/linux-6.14.4/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dpmu.c17 #include <linux/delay.h>
55 /* ALP clock on pre-PMU chips */
103 uint delay = PMU_MAX_TRANSITION_DLY; in si_pmu_fast_pwrup_delay() local
109 delay = 3700; in si_pmu_fast_pwrup_delay()
115 return (u16) delay; in si_pmu_fast_pwrup_delay()
128 core = sii->icbus->drv_cc.core; in si_pmu_measure_alpclk()
134 * Enable the reg to measure the freq, in si_pmu_measure_alpclk()
140 /* Delay for well over 4 ILP clocks */ in si_pmu_measure_alpclk()
158 * the same time convert to KHz in si_pmu_measure_alpclk()
/linux-6.14.4/tools/testing/selftests/kvm/x86/
Dapic_bus_clock_test.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * amount of time has elapsed, verify TMCCT (timer current count) is within 1%
10 * of the expected value based on the time elapsed, the APIC bus frequency, and
69 * Setup one-shot timer. The vector does not matter because the in apic_guest_code()
89 freq = (tmict - tmcct) * tdcrs[i].divide_count * tsc_hz / (tsc1 - tsc0); in apic_guest_code()
92 "Frequency = %lu (wanted %lu - %lu), bus = %lu, div = %u, tsc = %lu", in apic_guest_code()
158 printf("usage: %s [-h] [-d delay] [-f APIC bus freq]\n", name); in help()
160 printf("-d: Delay (in msec) guest uses to measure APIC bus frequency.\n"); in help()
161 printf("-f: The APIC bus frequency (in MHz) to be configured for the guest.\n"); in help()
177 while ((opt = getopt(argc, argv, "d:f:h")) != -1) { in main()
[all …]
/linux-6.14.4/drivers/gpu/drm/i915/
Di915_file_private.h1 /* SPDX-License-Identifier: MIT */
41 * at any time while the later happens as part of
46 * In order to swap out the VM, for instance, we have to delay
47 * until all current in-flight work is complete, swap in the new
55 * has the same u32 context ID the whole time. From the
58 * the proto-context can't handle. Then the struct i915_gem_context
64 * it NULL, and place the proto-context in the corresponding slot
69 * context and kill the proto-context.
76 * fast-path anyway.
96 * will fail. This is a stop gap measure to limit the badly behaving
/linux-6.14.4/Documentation/devicetree/bindings/display/panel/
Dpanel-edp.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/display/panel/panel-edp.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Douglas Anderson <[email protected]>
14 to a Embedded DisplayPort AUX bus (see display/dp-aux-bus.yaml) without
17 board, either for second-sourcing purposes or to support multiple SKUs
51 :<T1>:<T2>: :<--T10-->:<T11>:<T12>:
52 : +-----------------------+---------+---------+
53 eDP -----------+ Black video | Src vid | Blk vid +
[all …]
/linux-6.14.4/Documentation/filesystems/nfs/
Dknfsd-stats.rst5 :Authors: Greg Banks <[email protected]> - 26 Mar 2009
13 program from the nfs-utils distribution provides a helpful command-line
48 packets-arrived
58 However this is a more accurate and less workload-dependent measure
62 sockets-enqueued
68 network-facing work to be done but it couldn't be done immediately,
69 thus introducing a small delay in servicing NFS calls. The ideal
70 rate of change for this counter is zero; significantly non-zero
74 pool for the NFS workload (the workload is thread-limited), in which
78 threads-woken
[all …]
/linux-6.14.4/drivers/iio/humidity/
Dsi7020.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * si7020.c - Silicon Labs Si7013/20/21 Relative Humidity and Temp Sensors
20 #include <linux/delay.h>
31 /* Measure Relative Humidity, Hold Master Mode */
33 /* Measure Temperature, Hold Master Mode */
63 if (chan->type == IIO_CURRENT) { in si7020_read_raw()
64 *val = data->heater_reg; in si7020_read_raw()
68 ret = i2c_smbus_read_word_swapped(data->client, in si7020_read_raw()
69 chan->type == IIO_TEMP ? in si7020_read_raw()
76 * Humidity values can slightly exceed the 0-100%RH in si7020_read_raw()
[all …]
/linux-6.14.4/include/linux/
Dwm97xx.h1 /* SPDX-License-Identifier: GPL-2.0 */
59 #define WM97XX_DELAY(i) ((i << 4) & 0x00f0) /* sample delay times */
62 #define WM97XX_SLT(i) ((i - 5) & 0x7) /* panel slot (5-11) */
71 #define WM9712_45W 0x1000 /* set for 5-wire touchscreen */
72 #define WM9712_PDEN 0x0800 /* measure only when pen down */
86 #define WM9705_PDEN 0x1000 /* measure only when pen is down */
108 #define WM9713_PDEN 0x0800 /* measure only when pen down */
143 #define AC97_LINK_FRAME 21 /* time in uS for AC97 link frame */
146 /*---------------- Return codes from sample reading functions ---------------*/
160 * The wm97xx driver provides a private API for writing platform-specific
[all …]
/linux-6.14.4/net/netfilter/ipvs/
Dip_vs_est.c1 // SPDX-License-Identifier: GPL-2.0-or-later
30 seconds) for virtual services and real servers. For measure rate in a
32 periodically reads those statistical counters and measure rate.
34 We measure rate during the last 8 seconds every 2 seconds:
36 avgrate = avgrate*(1-W) + rate*W
38 where W = 2^(-2)
44 * Netlink users can see 64-bit values but sockopt users are restricted
45 to 32-bit values for conns, packets, bps, cps and pps.
50 - cpustats counters are updated per-cpu in SoftIRQ context with BH disabled
51 - kthreads read the cpustats to update the estimators (svcs, dests, total)
[all …]
/linux-6.14.4/arch/arm/boot/dts/nxp/imx/
Dimx6ul-imx6ull-opos6uldev.dtsi1 // SPDX-License-Identifier: GPL-2.0 OR MIT
7 stdout-path = &uart1;
11 compatible = "pwm-backlight";
13 brightness-levels = <0 4 8 16 32 64 128 255>;
14 default-brightness-level = <7>;
15 power-supply = <&reg_5v>;
19 gpio-keys {
20 compatible = "gpio-keys";
21 pinctrl-names = "default";
22 pinctrl-0 = <&pinctrl_gpio_keys>;
[all …]
Dimx6ul-geam.dts1 // SPDX-License-Identifier: GPL-2.0 OR X11
7 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/input/input.h>
15 compatible = "engicam,imx6ul-geam", "fsl,imx6ul";
23 compatible = "pwm-backlight";
25 brightness-levels = < 0 1 2 3 4 5 6 7 8 9
36 default-brightness-level = <100>;
40 stdout-path = &uart1;
43 reg_1p8v: regulator-1p8v {
[all …]
/linux-6.14.4/drivers/hwmon/
Dsht3x.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* Sensirion SHT3x-DIS humidity and temperature sensor driver.
14 #include <linux/delay.h>
17 #include <linux/hwmon-sysfs.h>
49 /* delays for single-shot mode i2c commands, both in us */
60 #define SHT3X_MIN_TEMPERATURE -45000
85 /* periodic measure commands (high repeatability mode) */
99 /* periodic measure commands (medium repeatability) */
113 /* periodic measure commands (low repeatability mode) */
204 return number_of_modes - 1; in get_mode_from_update_interval()
[all …]
/linux-6.14.4/Documentation/trace/
Dtimerlat-tracer.rst6 find sources of wakeup latencies of real-time threads. Like cyclictest,
9 time* and the *absolute time* that the timer was set to expire. The main
13 -----
28 # _-----=> irqs-off
29 # / _----=> need-resched
30 # | / _---=> hardirq/softirq
31 # || / _--=> preempt-depth
34 # TASK-PID CPU# |||| TIMESTAMP ID CONTEXT LATENCY
36 <idle>-0 [000] d.h1 54.029328: #1 context irq timer_latency 932 ns
37 <...>-867 [000] .... 54.029339: #1 context thread timer_latency 11700 ns
[all …]
/linux-6.14.4/arch/arm/boot/dts/st/
Dste-hrefv60plus.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 2012 ST-Ericsson AB
6 #include "ste-href.dtsi"
9 model = "ST-Ericsson HREF (v60+) platform with Device Tree";
10 compatible = "st-ericsson,hrefv60+", "st-ericsson,u8500";
12 thermal-zones {
13 chassis-thermal {
15 polling-delay = <20000>;
17 polling-delay-passive = <2000>;
19 thermal-sensors = <&therm1>, <&therm2>;
[all …]
/linux-6.14.4/drivers/comedi/drivers/
Dadl_pci9118.c1 // SPDX-License-Identifier: GPL-2.0
6 * card: PCI-9118DG, PCI-9118HG, PCI-9118HR
15 * Description: Adlink PCI-9118DG, PCI-9118HG, PCI-9118HR
17 * Devices: [ADLink] PCI-9118DG (pci9118dg), PCI-9118HG (pci9118hg),
18 * PCI-9118HR (pci9118hr)
25 * - If cmd->scan_begin_src=TRIG_EXT then trigger input is TGIN (pin 46).
26 * - If cmd->convert_src=TRIG_EXT then trigger input is EXTTRG (pin 44).
27 * - If cmd->start_src/stop_src=TRIG_EXT then trigger input is TGIN (pin 46).
28 * - It is not necessary to have cmd.scan_end_arg=cmd.chanlist_len but
30 * - If return value of cmdtest is 5 then you've bad channel list
[all …]
/linux-6.14.4/drivers/leds/
Dleds-lp5523.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * lp5523.c - LP5523, LP55231 LED Driver
13 #include <linux/delay.h>
20 #include <linux/platform_data/leds-lp55xx.h>
23 #include "leds-lp55xx-common.h"
88 /* Chip startup time is 500 us, 1 - 2 ms gives some margin */ in lp5523_post_init_device()
92 val |= (chip->pdata->charge_pump_mode << LP5523_CP_MODE_SHIFT) & LP5523_CP_MODE_MASK; in lp5523_post_init_device()
150 chip->engine_idx = i; in lp5523_init_program_engine()
155 pattern[i - 1][j]); in lp5523_init_program_engine()
171 dev_err(&chip->cl->dev, in lp5523_init_program_engine()
[all …]
/linux-6.14.4/tools/perf/
Dbuiltin-kwork.c1 // 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 …]

123456