Home
last modified time | relevance | path

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

12345678910>>...35

/OK3568_Linux_fs/kernel/tools/testing/selftests/rcutorture/bin/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/media/rc/
H A 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 …]
H A 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 …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/thermal/
H A 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 …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/style/
H A Dproperties.hpp31 : begin(now + transition.delay.value_or(Duration::zero())), in Transitioning()
32 end(begin + transition.duration.value_or(Duration::zero())), in Transitioning()
50 // Transitions to data-driven properties are not supported. in evaluate()
51 // We snap immediately to the data-driven value so that, when we perform layout, in evaluate()
52 // we see the data-driven function and can use it to populate vertex buffers. in evaluate()
57 return prior->get().evaluate(evaluator, now); in evaluate()
59 // Interpolate between recursively-calculated prior value and final. in evaluate()
60 float t = std::chrono::duration<float>(now - begin) / (end - begin); in evaluate()
61 return util::interpolate(prior->get().evaluate(evaluator, now), finalValue, in evaluate()
132 template <class... Us>
[all …]
/OK3568_Linux_fs/kernel/net/mac80211/
H A 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 …]
H A Doffchannel.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Off-channel operation helpers
8 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz>
16 #include "driver-ops.h"
21 * the frames while we are doing off-channel work. This is optional
22 * because we *may* be doing work on-operating channel, and want our
23 * hardware unconditionally awake, but still let the AP send us normal frames.
27 struct ieee80211_local *local = sdata->local; in ieee80211_offchannel_ps_enable()
28 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_offchannel_ps_enable()
31 /* FIXME: what to do when local->pspolling is true? */ in ieee80211_offchannel_ps_enable()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/power/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/net/fddi/skfp/
H A 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 …]
/OK3568_Linux_fs/kernel/tools/power/cpupower/utils/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/staging/vt6655/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/thermal/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/cpuidle/governors/
H A 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 …]
/OK3568_Linux_fs/kernel/Documentation/driver-api/thermal/
H A 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 …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/arm/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/watchdog/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/md/bcache/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/
H A D802.11ah.h22 * <<Broadcom-WL-IPTag/Open:>>
37 /* TWT element - top (Figure 9-589av) */
70 /* Control field (Figure 9-589aw) */
77 #define TWT_CTRL_WAKEDUR_UNIT 0x20u /* Wake duration unit */
79 /* TWT Negotiation Type (Table 9-262j1) */
87 /* Request Type field (Figure 9-589ay) */
103 /* Setup Command field (Table 9-262k) */
113 /* Broadcast TWT Recommendation field (Table 9-262k1) */
119 /* Request Type subfield - 2 octets */
122 /* Target Wake Time - 8 octets or 0 octet */
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/include/
H A D802.11ah.h22 * <<Broadcom-WL-IPTag/Open:>>
37 /* TWT element - top (Figure 9-589av) */
70 /* Control field (Figure 9-589aw) */
77 #define TWT_CTRL_WAKEDUR_UNIT 0x20u /* Wake duration unit */
79 /* TWT Negotiation Type (Table 9-262j1) */
87 /* Request Type field (Figure 9-589ay) */
103 /* Setup Command field (Table 9-262k) */
113 /* Broadcast TWT Recommendation field (Table 9-262k1) */
119 /* Request Type subfield - 2 octets */
122 /* Target Wake Time - 8 octets or 0 octet */
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gt/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/include/
H A Devent_log_payload.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 * Copyright (C) 1999-2017, Broadcom Corporation
29 * <<Broadcom-WL-IPTag/Open:>>
31 * $Id: event_log_payload.h 700076 2017-05-17 14:42:22Z $
64 * Two of these will be used per TxQ context---one for the high TxQ, and one for
65 * the low txq that contains DMA prepared pkts. The high TxQ is a full multi-precidence
100 * a cubby ID and sub-ID to differentiate SCB cubby types and possible sub-queues.
251 /* flags[4] or HOME_CHAN = if set, represents home-channel */
278 uint32 time; /* Time in us */
285 /* Sub-block type for EVENT_LOG_TAG_AMPDU_DUMP */
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/include/
H A Devent_log_payload.h9 * Copyright (C) 1999-2017, Broadcom Corporation
30 * <<Broadcom-WL-IPTag/Open:>>
65 * Two of these will be used per TxQ context---one for the high TxQ, and one for
66 * the low txq that contains DMA prepared pkts. The high TxQ is a full multi-precidence
101 * a cubby ID and sub-ID to differentiate SCB cubby types and possible sub-queues.
251 /* flags[4] or HOME_CHAN = if set, represents home-channel */
278 uint32 time; /* Time in us */
286 uint32 time; /* Time in us */
295 /* Sub-block type for EVENT_LOG_TAG_AMPDU_DUMP */
332 uint16 type; /* AMPDU statistics sub-type */
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/include/
H A Devent_log_payload.h9 * Copyright (C) 1999-2017, Broadcom Corporation
30 * <<Broadcom-WL-IPTag/Open:>>
65 * Two of these will be used per TxQ context---one for the high TxQ, and one for
66 * the low txq that contains DMA prepared pkts. The high TxQ is a full multi-precidence
101 * a cubby ID and sub-ID to differentiate SCB cubby types and possible sub-queues.
251 /* flags[4] or HOME_CHAN = if set, represents home-channel */
278 uint32 time; /* Time in us */
286 uint32 time; /* Time in us */
295 /* Sub-block type for EVENT_LOG_TAG_AMPDU_DUMP */
332 uint16 type; /* AMPDU statistics sub-type */
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/include/
H A Devent_log_payload.h9 * Copyright (C) 1999-2017, Broadcom Corporation
30 * <<Broadcom-WL-IPTag/Open:>>
65 * Two of these will be used per TxQ context---one for the high TxQ, and one for
66 * the low txq that contains DMA prepared pkts. The high TxQ is a full multi-precidence
101 * a cubby ID and sub-ID to differentiate SCB cubby types and possible sub-queues.
251 /* flags[4] or HOME_CHAN = if set, represents home-channel */
278 uint32 time; /* Time in us */
286 uint32 time; /* Time in us */
295 /* Sub-block type for EVENT_LOG_TAG_AMPDU_DUMP */
332 uint16 type; /* AMPDU statistics sub-type */
[all …]
/OK3568_Linux_fs/kernel/drivers/media/platform/sti/hva/
H A Dhva-debugfs.c1 // SPDX-License-Identifier: GPL-2.0
11 #include "hva-hw.h"
15 struct hva_streaminfo *stream = &ctx->streaminfo; in format_ctx()
16 struct hva_frameinfo *frame = &ctx->frameinfo; in format_ctx()
17 struct hva_controls *ctrls = &ctx->ctrls; in format_ctx()
18 struct hva_ctx_dbg *dbg = &ctx->dbg; in format_ctx()
21 seq_printf(s, "|-%s\n |\n", ctx->name); in format_ctx()
23 seq_printf(s, " |-[%sframe info]\n", in format_ctx()
24 ctx->flags & HVA_FLAG_FRAMEINFO ? "" : "default "); in format_ctx()
25 seq_printf(s, " | |- pixel format=%4.4s\n" in format_ctx()
[all …]

12345678910>>...35