Home
last modified time | relevance | path

Searched +full:duration +full:- +full:us (Results 1 – 25 of 642) sorted by relevance

12345678910>>...26

/kernel/linux/linux-5.10/tools/testing/selftests/rcutorture/bin/
Dkvm-recheck-rcuscale-ftrace.sh2 # SPDX-License-Identifier: GPL-2.0+
6 # printed. Intended to be invoked from kvm-recheck-rcuscale.sh after
9 # Usage: kvm-recheck-rcuscale-ftrace.sh resdir
18 if test "`grep -c 'rcu_exp_grace_period.*start' < $i/console.log`" -lt 100
23 sed -e 's/^\[[^]]*]//' < $i/console.log |
24 grep 'us : rcu_exp_grace_period' |
25 sed -e 's/us : / : /' |
26 tr -d '\015' |
39 curgpdur = $3 - starttime;
44 print "Long GP " starttime "us to " $3 "us (" curgpdur "us)";
[all …]
/kernel/linux/linux-4.19/tools/testing/selftests/rcutorture/bin/
Dkvm-recheck-rcuperf-ftrace.sh5 # printed. Intended to be invoked from kvm-recheck-rcuperf.sh after
8 # Usage: kvm-recheck-rcuperf-ftrace.sh resdir
22 # http://www.gnu.org/licenses/gpl-2.0.html.
31 if test "`grep -c 'rcu_exp_grace_period.*start' < $i/console.log`" -lt 100
36 sed -e 's/^\[[^]]*]//' < $i/console.log |
37 grep 'us : rcu_exp_grace_period' |
38 sed -e 's/us : / : /' |
39 tr -d '\015' |
52 curgpdur = $3 - starttime;
57 print "Long GP " starttime "us to " $3 "us (" curgpdur "us)";
[all …]
/kernel/linux/linux-5.10/drivers/media/rc/
Dir-xmp-decoder.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* ir-xmp-decoder.c - handle XMP IR Pulse/Space protocol
6 * - Based on info from http://www.hifi-remote.com
7 * - Ignore Toggle=9 frames
8 * - Ignore XMP-1 XMP-2 difference, always store 16 bit OBC
13 #include "rc-core-priv.h"
15 #define XMP_UNIT 136 /* us */
16 #define XMP_LEADER 210 /* us */
17 #define XMP_NIBBLE_PREFIX 760 /* us */
18 #define XMP_HALFFRAME_SPACE 13800 /* us */
[all …]
Dir-sharp-decoder.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* ir-sharp-decoder.c - handle Sharp IR Pulse/Space protocol
4 * Copyright (C) 2013-2014 Imagination Technologies Ltd.
12 #include "rc-core-priv.h"
15 #define SHARP_UNIT 40 /* us */
16 #define SHARP_BIT_PULSE (8 * SHARP_UNIT) /* 320us */
17 #define SHARP_BIT_0_PERIOD (25 * SHARP_UNIT) /* 1ms (680us space) */
32 * ir_sharp_decode() - Decode one Sharp pulse or space
36 * This function returns -EINVAL if the pulse violates the state machine
40 struct sharp_dec *data = &dev->raw->sharp; in ir_sharp_decode()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/thermal/
Dthermal-idle.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/thermal/thermal-idle.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Daniel Lezcano <daniel.lezcano@linaro.org>
22 const: thermal-idle
24 A thermal-idle node describes the idle cooling device properties to
27 '#cooling-cells':
31 the cooling-maps reference. The first cell is the minimum cooling state
34 duration-us:
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/
Ddomain-idle-state.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/domain-idle-state.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Ulf Hansson <ulf.hansson@linaro.org>
18 const: domain-idle-states
21 "^(cpu|cluster|domain)-":
28 const: domain-idle-state
30 entry-latency-us:
33 state. Note that, the exit-latency-us duration may be guaranteed only
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/power/
Ddomain-idle-state.txt6 The state node has the following parameters -
8 - compatible:
11 Definition: Must be "domain-idle-state".
13 - entry-latency-us
15 Value type: <prop-encoded-array>
18 The exit-latency-us duration may be guaranteed
19 only after entry-latency-us has passed.
21 - exit-latency-us
23 Value type: <prop-encoded-array>
27 - min-residency-us
[all …]
/kernel/linux/linux-5.10/net/mac80211/
Dairtime.c1 // SPDX-License-Identifier: ISC
15 /* Number of kilo-symbols (symbols * 1024) for a packet with (bps) bits per
16 * symbol. We use k-symbols to avoid rounding in the _TIME macros below.
25 ((ksyms) * 4 * 18) / 20 : /* 3.6 us per sym */ \
26 ((ksyms) * 4) /* 4.0 us per sym */ \
29 /* Transmit duration for the raw data part of an average sized packet */
41 /* Transmission time (1024 usec) for a packet containing (ksyms) * k-symbols */
44 ((ksyms) * 16 * 17) / 20 : /* 13.6 us per sym */ \
46 ((ksyms) * 16 * 18) / 20 : /* 14.4 us per sym */ \
47 ((ksyms) * 16) /* 16.0 us per sym */ \
[all …]
/kernel/linux/linux-5.10/drivers/net/fddi/skfp/
Dhwt.c1 // SPDX-License-Identifier: GPL-2.0-or-later
20 * 28-Jun-1994 sw Edit v1.6.
21 * MCA: Added support for the SK-NET FDDI-FM2 adapter. The
37 /* 28-Jun-1994 sw - Note: hwt_restart() is also used in module 'drvfbi.c'. */
44 * Start hardware timer (clock ticks are 16us).
50 * smc - A pointer to the SMT Context structure.
52 * time - The time in units of 16us to load the timer with.
66 smc->hw.t_start = time ; in hwt_start()
67 smc->hw.t_stop = 0L ; in hwt_start()
71 * if time < 16 us in hwt_start()
[all …]
/kernel/linux/linux-4.19/drivers/net/fddi/skfp/
Dhwt.c24 * 28-Jun-1994 sw Edit v1.6.
25 * MCA: Added support for the SK-NET FDDI-FM2 adapter. The
41 /* 28-Jun-1994 sw - Note: hwt_restart() is also used in module 'drvfbi.c'. */
48 * Start hardware timer (clock ticks are 16us).
54 * smc - A pointer to the SMT Context structure.
56 * time - The time in units of 16us to load the timer with.
70 smc->hw.t_start = time ; in hwt_start()
71 smc->hw.t_stop = 0L ; in hwt_start()
75 * if time < 16 us in hwt_start()
76 * time = 16 us in hwt_start()
[all …]
/kernel/linux/linux-4.19/tools/power/cpupower/utils/
Dcpufreq-info.c2 * (C) 2004-2009 Dominik Brodowski <linux@dominikbrodowski.de>
40 value[LINE_LEN - 1] = '\0'; in count_cpus()
41 if (strlen(value) < (LINE_LEN - 2)) in count_cpus()
65 printf(_(" minimum CPU frequency - maximum CPU frequency - governor\n")); in proc_cpufreq_output()
76 min_pctg = (policy->min * 100) / max; in proc_cpufreq_output()
77 max_pctg = (policy->max * 100) / max; in proc_cpufreq_output()
79 printf("CPU%3d %9lu kHz (%3d %%) - %9lu kHz (%3d %%) - %s\n", in proc_cpufreq_output()
80 cpu , policy->min, max ? min_pctg : 0, policy->max, in proc_cpufreq_output()
81 max ? max_pctg : 0, policy->governor); in proc_cpufreq_output()
125 static void print_duration(unsigned long duration) in print_duration() argument
[all …]
/kernel/linux/linux-5.10/drivers/staging/vt6655/
Drxtx.h1 /* SPDX-License-Identifier: GPL-2.0+ */
21 #define DEFAULT_MSDU_LIFETIME_RES_64us 8000 /* 64us */
22 #define DEFAULT_MGN_LIFETIME_RES_64us 125 /* 64us */
25 /*--------------------- Export Definitions -------------------------*/
27 /*--------------------- Export Variables --------------------------*/
29 /*--------------------- Export Functions --------------------------*/
93 __le16 duration; member
99 __le16 duration; member
132 __le16 duration; member
139 __le16 duration; member
[all …]
/kernel/linux/linux-4.19/drivers/staging/vt6655/
Drxtx.h1 // SPDX-License-Identifier: GPL-2.0+
21 #define DEFAULT_MSDU_LIFETIME_RES_64us 8000 /* 64us */
22 #define DEFAULT_MGN_LIFETIME_RES_64us 125 /* 64us */
25 /*--------------------- Export Definitions -------------------------*/
27 /*--------------------- Export Variables --------------------------*/
29 /*--------------------- Export Functions --------------------------*/
93 __le16 duration; member
99 __le16 duration; member
132 __le16 duration; member
139 __le16 duration; member
[all …]
/kernel/linux/linux-5.10/tools/power/cpupower/utils/
Dcpufreq-info.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * (C) 2004-2009 Dominik Brodowski <linux@dominikbrodowski.de>
39 value[LINE_LEN - 1] = '\0'; in count_cpus()
40 if (strlen(value) < (LINE_LEN - 2)) in count_cpus()
64 printf(_(" minimum CPU frequency - maximum CPU frequency - governor\n")); in proc_cpufreq_output()
75 min_pctg = (policy->min * 100) / max; in proc_cpufreq_output()
76 max_pctg = (policy->max * 100) / max; in proc_cpufreq_output()
78 printf("CPU%3d %9lu kHz (%3d %%) - %9lu kHz (%3d %%) - %s\n", in proc_cpufreq_output()
79 cpu , policy->min, max ? min_pctg : 0, policy->max, in proc_cpufreq_output()
80 max ? max_pctg : 0, policy->governor); in proc_cpufreq_output()
[all …]
/kernel/linux/linux-4.19/drivers/cpuidle/governors/
Dmenu.c2 * menu.c - the menu idle governor
4 * Copyright (C) 2006-2007 Adam Belay <abelay@novell.com>
26 * If (MAX_INTERESTING-1) * RESOLUTION > UINT_MAX, the result of
52 * -----------------------
55 * provides us this duration in the "target_residency" field. So all that we
63 * duration always was 50% of the next timer tick, the correction factor will
69 * duration; if we expect 500 milliseconds of idle time the likelihood of
77 * indexed based on the magnitude of the expected duration as well as the
80 * Repeatable-interval-detector
81 * ----------------------------
[all …]
/kernel/linux/linux-4.19/drivers/media/rc/
Dir-sharp-decoder.c1 /* ir-sharp-decoder.c - handle Sharp IR Pulse/Space protocol
3 * Copyright (C) 2013-2014 Imagination Technologies Ltd.
20 #include "rc-core-priv.h"
24 #define SHARP_BIT_PULSE (8 * SHARP_UNIT) /* 320us */
25 #define SHARP_BIT_0_PERIOD (25 * SHARP_UNIT) /* 1ms (680us space) */
40 * ir_sharp_decode() - Decode one Sharp pulse or space
44 * This function returns -EINVAL if the pulse violates the state machine
48 struct sharp_dec *data = &dev->raw->sharp; in ir_sharp_decode()
53 data->state = STATE_INACTIVE; in ir_sharp_decode()
57 dev_dbg(&dev->dev, "Sharp decode started at state %d (%uus %s)\n", in ir_sharp_decode()
[all …]
/kernel/linux/linux-5.10/drivers/thermal/
Dcpuidle_cooling.c1 // SPDX-License-Identifier: GPL-2.0
20 * struct cpuidle_cooling_device - data for the idle cooling device
32 * cpuidle_cooling_runtime - Running time computation
36 * The running duration is computed from the idle injection duration
38 * means the running duration is zero. If we have a 50% ratio
39 * injection, that means we have equal duration for idle and for
40 * running duration.
44 * running = idle x ((100 / ratio) - 1)
48 * running = (idle x 100) / ratio - idle
50 * For example, if we have an injected duration of 50%, then we end up
[all …]
/kernel/linux/linux-5.10/Documentation/driver-api/thermal/
Dcpu-idle-cooling.rst1 .. SPDX-License-Identifier: GPL-2.0
8 ----------
26 budget lower than the requested one and under-utilize the CPU, thus
27 losing performance. In other words, one OPP under-utilizes the CPU
33 ----------
36 duration in a controlled period, the SoC temperature will
37 decrease. Acting on the idle state duration or the idle cycle
48 belong to the same cluster, with a duration greater than the cluster
58 ---------------
69 We use a fixed duration of idle injection that gives an acceptable
[all …]
/kernel/linux/linux-4.19/drivers/watchdog/
Daspeed_wdt.c39 { .compatible = "aspeed,ast2400-wdt", .data = &ast2400_config },
40 { .compatible = "aspeed,ast2500-wdt", .data = &ast2500_config },
41 { .compatible = "aspeed,ast2600-wdt", .data = &ast2500_config },
66 * * Pulse duration
67 * * Drive mode: push-pull vs open-drain
70 * Pulse duration configuration is available on both the AST2400 and AST2500,
80 * and bit 30 represents push-pull or open-drain. With respect to write, magic
108 wdt->ctrl |= WDT_CTRL_ENABLE; in aspeed_wdt_enable()
110 writel(0, wdt->base + WDT_CTRL); in aspeed_wdt_enable()
111 writel(count, wdt->base + WDT_RELOAD_VALUE); in aspeed_wdt_enable()
[all …]
/kernel/linux/linux-5.10/drivers/cpuidle/governors/
Dmenu.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * menu.c - the menu idle governor
5 * Copyright (C) 2006-2007 Adam Belay <abelay@novell.com>
40 * -----------------------
43 * provides us this duration in the "target_residency" field. So all that we
51 * duration always was 50% of the next timer tick, the correction factor will
57 * duration; if we expect 500 milliseconds of idle time the likelihood of
65 * indexed based on the magnitude of the expected duration as well as the
68 * Repeatable-interval-detector
69 * ----------------------------
[all …]
/kernel/linux/linux-5.10/drivers/watchdog/
Daspeed_wdt.c1 // SPDX-License-Identifier: GPL-2.0-or-later
35 { .compatible = "aspeed,ast2400-wdt", .data = &ast2400_config },
36 { .compatible = "aspeed,ast2500-wdt", .data = &ast2500_config },
37 { .compatible = "aspeed,ast2600-wdt", .data = &ast2500_config },
64 * * Pulse duration
65 * * Drive mode: push-pull vs open-drain
68 * Pulse duration configuration is available on both the AST2400 and AST2500,
78 * and bit 30 represents push-pull or open-drain. With respect to write, magic
106 wdt->ctrl |= WDT_CTRL_ENABLE; in aspeed_wdt_enable()
108 writel(0, wdt->base + WDT_CTRL); in aspeed_wdt_enable()
[all …]
/kernel/linux/linux-5.10/drivers/md/bcache/
Dutil.c1 // SPDX-License-Identifier: GPL-2.0
32 return -EINVAL; \
55 return -EINVAL; \
64 return -EINVAL; \
66 while (u--) { \
69 return -EINVAL; \
71 (i < 0 && -ANYSINT_MAX(type) / 1024 > i)) \
72 return -EINVAL; \
86 * bch_hprint - formats @v to human readable string for sysfs. in STRTO_H()
100 q = -v; in STRTO_H()
[all …]
/kernel/linux/linux-4.19/drivers/md/bcache/
Dutil.c1 // SPDX-License-Identifier: GPL-2.0
32 return -EINVAL; \
55 return -EINVAL; \
64 return -EINVAL; \
66 while (u--) { \
69 return -EINVAL; \
71 (i < 0 && -ANYSINT_MAX(type) / 1024 > i)) \
72 return -EINVAL; \
86 * bch_hprint - formats @v to human readable string for sysfs. in STRTO_H()
100 q = -v; in STRTO_H()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
Dintel_engine_pm.c2 * SPDX-License-Identifier: MIT
28 intel_gt_pm_get(engine->gt); in __engine_unpark()
31 ce = engine->kernel_context; in __engine_unpark()
33 GEM_BUG_ON(test_bit(CONTEXT_VALID_BIT, &ce->flags)); in __engine_unpark()
36 if (IS_ENABLED(CONFIG_DRM_I915_DEBUG_GEM) && ce->state) { in __engine_unpark()
37 struct drm_i915_gem_object *obj = ce->state->obj; in __engine_unpark()
38 int type = i915_coherent_map_type(engine->i915); in __engine_unpark()
43 memset(map, CONTEXT_REDZONE, obj->base.size); in __engine_unpark()
49 ce->ops->reset(ce); in __engine_unpark()
52 if (engine->unpark) in __engine_unpark()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/
Didle-states.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/arm/idle-states.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
14 1 - Introduction
18 where cores can be put in different low-power states (ranging from simple wfi
20 range of dynamic idle states that a processor can enter at run-time, can be
27 - Running
28 - Idle_standby
[all …]

12345678910>>...26