/kernel/linux/linux-5.10/tools/time/ |
H A D | udelay_test.sh | 24 delay=$1 25 echo $delay > $UDELAY_PATH 42 for (( delay = 1; delay < 200; delay += 1 )); do 43 test_one $delay 45 for (( delay = 200; delay < 500; delay += 10 )); do 46 test_one $delay [all...] |
/kernel/linux/linux-6.6/tools/time/ |
H A D | udelay_test.sh | 24 delay=$1 25 echo $delay > $UDELAY_PATH 42 for (( delay = 1; delay < 200; delay += 1 )); do 43 test_one $delay 45 for (( delay = 200; delay < 500; delay += 10 )); do 46 test_one $delay [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/ |
H A D | intel_engine_heartbeat.c | 26 long delay; in next_heartbeat() local 28 delay = READ_ONCE(engine->props.heartbeat_interval_ms); in next_heartbeat() 42 delay == engine->defaults.heartbeat_interval_ms) { in next_heartbeat() 52 if (longer > delay) in next_heartbeat() 53 delay = longer; in next_heartbeat() 56 if (!delay) in next_heartbeat() 59 delay = msecs_to_jiffies_timeout(delay); in next_heartbeat() 60 if (delay >= HZ) in next_heartbeat() 61 delay in next_heartbeat() 165 long delay = READ_ONCE(engine->props.heartbeat_interval_ms); heartbeat() local 296 set_heartbeat(struct intel_engine_cs *engine, unsigned long delay) set_heartbeat() argument 310 intel_engine_set_heartbeat(struct intel_engine_cs *engine, unsigned long delay) intel_engine_set_heartbeat() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
H A D | intel_engine_heartbeat.c | 26 long delay; in next_heartbeat() local 28 delay = READ_ONCE(engine->props.heartbeat_interval_ms); in next_heartbeat() 29 if (!delay) in next_heartbeat() 32 delay = msecs_to_jiffies_timeout(delay); in next_heartbeat() 33 if (delay >= HZ) in next_heartbeat() 34 delay = round_jiffies_up_relative(delay); in next_heartbeat() 35 mod_delayed_work(system_highpri_wq, &engine->heartbeat.work, delay); in next_heartbeat() 207 unsigned long delay) in set_heartbeat() 206 set_heartbeat(struct intel_engine_cs *engine, unsigned long delay) set_heartbeat() argument 220 intel_engine_set_heartbeat(struct intel_engine_cs *engine, unsigned long delay) intel_engine_set_heartbeat() argument [all...] |
/kernel/linux/linux-5.10/mm/ |
H A D | reclaim_acct.c | 34 u64 now, delay, start; in __reclaimacct_end() local 41 delay = now - start; in __reclaimacct_end() 42 if (delay < DELAY_LV5 || is_system_reclaim(ra->reclaim_type)) { in __reclaimacct_end() 43 ra->delay[stub] += delay; in __reclaimacct_end() 48 if (delay > DELAY_LV4 && delay < DELAY_LV5) { in __reclaimacct_end() 49 pr_warn_ratelimited("%s timeout:%llu\n", stub_name[stub], delay); in __reclaimacct_end() 88 if (ra->delay[RA_RECLAIM] > DELAY_LV4) { in reclaimacct_directreclaim_end() 92 ra->delay[ in reclaimacct_directreclaim_end() [all...] |
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
H A D | wm9705.c | 16 #include <linux/delay.h> 52 * Set adc sample delay. 58 * This delay can be set by setting delay = n, where n is the array 59 * position of the delay in the array delay_table below. 63 static int delay = 4; variable 64 module_param(delay, int, 0); 65 MODULE_PARM_DESC(delay, "Set adc sample delay."); 86 * order to minimise this, a signal may be applied to the MASK pin to delay o [all...] |
H A D | wm9712.c | 16 #include <linux/delay.h> 65 * Set adc sample delay. 71 * This delay can be set by setting delay = n, where n is the array 72 * position of the delay in the array delay_table below. 76 static int delay = 3; variable 77 module_param(delay, int, 0); 78 MODULE_PARM_DESC(delay, "Set adc sample delay."); 94 * order to minimise this, a signal may be applied to the MASK pin to delay o [all...] |
H A D | wm9713.c | 16 #include <linux/delay.h> 65 * Set adc sample delay. 71 * This delay can be set by setting delay = n, where n is the array 72 * position of the delay in the array delay_table below. 76 static int delay = 4; variable 77 module_param(delay, int, 0); 78 MODULE_PARM_DESC(delay, "Set adc sample delay."); 94 * order to minimise this, a signal may be applied to the MASK pin to delay o [all...] |
/kernel/linux/linux-6.6/drivers/input/touchscreen/ |
H A D | wm9705.c | 16 #include <linux/delay.h> 52 * Set adc sample delay. 58 * This delay can be set by setting delay = n, where n is the array 59 * position of the delay in the array delay_table below. 63 static int delay = 4; variable 64 module_param(delay, int, 0); 65 MODULE_PARM_DESC(delay, "Set adc sample delay."); 86 * order to minimise this, a signal may be applied to the MASK pin to delay o [all...] |
H A D | wm9712.c | 16 #include <linux/delay.h> 65 * Set adc sample delay. 71 * This delay can be set by setting delay = n, where n is the array 72 * position of the delay in the array delay_table below. 76 static int delay = 3; variable 77 module_param(delay, int, 0); 78 MODULE_PARM_DESC(delay, "Set adc sample delay."); 94 * order to minimise this, a signal may be applied to the MASK pin to delay o [all...] |
H A D | wm9713.c | 16 #include <linux/delay.h> 65 * Set adc sample delay. 71 * This delay can be set by setting delay = n, where n is the array 72 * position of the delay in the array delay_table below. 76 static int delay = 4; variable 77 module_param(delay, int, 0); 78 MODULE_PARM_DESC(delay, "Set adc sample delay."); 94 * order to minimise this, a signal may be applied to the MASK pin to delay o [all...] |
/kernel/linux/linux-5.10/sound/firewire/ |
H A D | lib.c | 8 #include <linux/delay.h> 87 u64 now, delay; in snd_fw_schedule_registration() local 90 delay = fw_parent_device(unit)->card->reset_jiffies in snd_fw_schedule_registration() 93 if (time_after64(delay, now)) in snd_fw_schedule_registration() 94 delay -= now; in snd_fw_schedule_registration() 96 delay = 0; in snd_fw_schedule_registration() 98 mod_delayed_work(system_wq, dwork, delay); in snd_fw_schedule_registration()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/panel/ |
H A D | panel-edp.c | 25 #include <linux/delay.h> 66 * Add this to the prepare delay if we know Hot Plug Detect isn't used. 68 * This is T3-max on eDP timing diagrams or the delay from power on 81 * If a fixed enable delay is also specified, we'll start 82 * counting before delaying for the fixed delay. 84 * If a fixed prepare delay is also specified, we won't start 85 * counting until after the fixed delay. We can't overlap this 86 * fixed delay with the min time because the fixed delay 93 * // do fixed prepare delay 191 struct panel_delay delay; global() member 202 const struct panel_delay *delay; global() member 442 unsigned int delay; panel_edp_prepare_once() local 548 unsigned int delay; panel_edp_enable() local [all...] |
/foundation/graphic/graphic_3d/lume/metaobject/src/ |
H A D | task_queue.h | 80 Token AddTaskImpl(ITaskQueueTask::Ptr p, const TimeSpan& delay, const TimeSpan& excTime) in AddTaskImpl() argument 90 tasks_.emplace_back(delay, excTime, BASE_NS::move(p)); in AddTaskImpl() 93 tasks_.emplace_back(delay, excTime, BASE_NS::move(p)); in AddTaskImpl() 95 tasks_.insert(tasks_.begin(), { delay, excTime, BASE_NS::move(p) }); in AddTaskImpl() 102 tasks_.insert(it + 1, { delay, excTime, BASE_NS::move(p) }); in AddTaskImpl() 109 tasks_.insert(tasks_.begin(), { delay, excTime, BASE_NS::move(p) }); in AddTaskImpl() 115 Token AddTask(ITaskQueueTask::Ptr p, const TimeSpan& delay, const TimeSpan& excTime) in AddTask() argument 119 return AddTaskImpl(BASE_NS::move(p), delay, excTime); in AddTask() 154 if (task.delay > TimeSpan()) { in ProcessTasks() 156 uint64_t dt = task.delay in ProcessTasks() 188 TimeSpan delay; global() member [all...] |
/kernel/linux/linux-5.10/drivers/clk/sunxi-ng/ |
H A D | ccu_phase.c | 20 u8 delay; in ccu_phase_get_phase() local 23 delay = (reg >> phase->shift); in ccu_phase_get_phase() 24 delay &= (1 << phase->width) - 1; in ccu_phase_get_phase() 26 if (!delay) in ccu_phase_get_phase() 53 return delay * step; in ccu_phase_get_phase() 63 u8 delay; in ccu_phase_set_phase() local 105 delay = DIV_ROUND_CLOSEST(degrees, step); in ccu_phase_set_phase() 107 delay = 0; in ccu_phase_set_phase() 113 writel(reg | (delay << phase->shift), in ccu_phase_set_phase()
|
/kernel/linux/linux-6.6/drivers/clk/sunxi-ng/ |
H A D | ccu_phase.c | 20 u8 delay; in ccu_phase_get_phase() local 23 delay = (reg >> phase->shift); in ccu_phase_get_phase() 24 delay &= (1 << phase->width) - 1; in ccu_phase_get_phase() 26 if (!delay) in ccu_phase_get_phase() 53 return delay * step; in ccu_phase_get_phase() 63 u8 delay; in ccu_phase_set_phase() local 105 delay = DIV_ROUND_CLOSEST(degrees, step); in ccu_phase_set_phase() 107 delay = 0; in ccu_phase_set_phase() 113 writel(reg | (delay << phase->shift), in ccu_phase_set_phase()
|
/foundation/arkui/ace_engine_lite/frameworks/tools/qt/simulator/jsfwk/targets/simulator/mock/timerthread/ |
H A D | timer_thread.cpp | 31 const unsigned int delay, in StartTimerTask() 40 return g_timerInstance->StartTimerTaskInner(isPeriodic, delay, userCallback, userData, timerHandle); in StartTimerTask() 84 info->remain = info->delay; in Traverse() 95 const unsigned int delay, in StartTimerTaskInner() 104 info->delay = delay; in StartTimerTaskInner() 105 info->remain = delay; in StartTimerTaskInner() 30 StartTimerTask(bool isPeriodic, const unsigned int delay, void *userCallback, void *userData, timerHandle_t *timerHandle) StartTimerTask() argument 94 StartTimerTaskInner(bool isPeriodic, const unsigned int delay, void *userCallback, void *userData, timerHandle_t *timerHandle) StartTimerTaskInner() argument
|
/kernel/linux/linux-6.6/drivers/hwmon/pmbus/ |
H A D | max15301.c | 9 * limit-registers will fail in a random fashion unless the delay 10 * parameter is set to above about 80us. The default delay is set 21 #include <linux/delay.h> 35 int delay; /* Delay between chip accesses in us */ member 43 static ushort delay = MAX15301_WAIT_TIME; variable 44 module_param(delay, ushort, 0644); 45 MODULE_PARM_DESC(delay, "Delay between chip accesses in us"); 58 /* This chip needs a delay between accesses */ 61 if (data->delay) { in max15301_wait() 64 if (delta < data->delay) in max15301_wait() [all...] |
/foundation/multimodalinput/input/service/event_handler/test/ |
H A D | key_auto_repeat_test.cpp | 179 int32_t delay = 500; in HWTEST_F() local 181 int32_t result = keyAutoRepeat.SetKeyboardRepeatDelay(delay); in HWTEST_F() 183 delay = 100; in HWTEST_F() 184 result = keyAutoRepeat.SetKeyboardRepeatDelay(delay); in HWTEST_F() 186 delay = 2000; in HWTEST_F() 187 result = keyAutoRepeat.SetKeyboardRepeatDelay(delay); in HWTEST_F() 226 int32_t delay = 0; in HWTEST_F() local 228 EXPECT_EQ(keyAutoRepeat.GetKeyboardRepeatDelay(delay), RET_OK); in HWTEST_F() 229 EXPECT_EQ(delay, expectedDelay); in HWTEST_F() 230 delay in HWTEST_F() [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/ |
H A D | task_manager.cpp | 30 TaskManager::TaskId TaskManager::Execute(const Task &task, Duration delay) in Execute() argument 32 return executors_->Schedule(delay, task); in Execute() 38 TaskManager::TaskId TaskManager::Schedule(const Task &task, Duration delay, Duration interval) in Schedule() argument 40 return executors_->Schedule(task, delay, interval); in Schedule() 42 TaskManager::TaskId TaskManager::Schedule(const Task &task, Duration delay, Duration interval, uint64_t times) in Schedule() argument 44 return executors_->Schedule(task, delay, interval, times); in Schedule()
|
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/stack/ |
H A D | stack_transition_test.cpp | 93 int32_t delay = 500; in TestStackTransition006() local 99 {.i32 = delay}, {.i32 = iterations}, {.i32 = playMode}, in TestStackTransition006() 109 ASSERT_NE(nodeAPI->getAttribute(stack, NODE_OPACITY_TRANSITION)->value[PARAM_3].i32, delay); in TestStackTransition006() 123 int32_t delay = 0; in TestStackTransition007() local 129 {.i32 = delay}, {.i32 = iterations}, {.i32 = playMode}, in TestStackTransition007() 138 ASSERT_EQ(nodeAPI->getAttribute(stack, NODE_OPACITY_TRANSITION)->value[PARAM_3].i32, delay); in TestStackTransition007() 151 int32_t delay = 0; in TestStackTransition008() local 157 {.i32 = delay}, {.i32 = iterations}, {.i32 = playMode}, in TestStackTransition008() 166 ASSERT_EQ(nodeAPI->getAttribute(stack, NODE_OPACITY_TRANSITION)->value[PARAM_3].i32, delay); in TestStackTransition008() 179 int32_t delay in TestStackTransition009() local 207 int32_t delay = 0; TestStackTransition010() local 235 int32_t delay = 0; TestStackTransition011() local 263 int32_t delay = 0; TestStackTransition012() local 291 int32_t delay = 0; TestStackTransition013() local 319 int32_t delay = 0; TestStackTransition014() local 347 int32_t delay = 0; TestStackTransition015() local 375 int32_t delay = 300; TestStackTransition016() local 403 int32_t delay = -300; TestStackTransition017() local 431 int32_t delay = -1300; TestStackTransition018() local 459 int32_t delay = 0; TestStackTransition019() local 489 int32_t delay = 0; TestStackTransition020() local 523 int32_t delay = 500; TestStackTransition021() local 561 int32_t delay = 0; TestStackTransition022() local 597 int32_t delay = 0; TestStackTransition023() local 633 int32_t delay = 0; TestStackTransition024() local 669 int32_t delay = 0; TestStackTransition025() local 705 int32_t delay = 0; TestStackTransition026() local 741 int32_t delay = 0; TestStackTransition027() local 777 int32_t delay = 0; TestStackTransition028() local 813 int32_t delay = 0; TestStackTransition029() local 849 int32_t delay = 0; TestStackTransition030() local 885 int32_t delay = 300; TestStackTransition031() local 921 int32_t delay = -300; TestStackTransition032() local 957 int32_t delay = -1300; TestStackTransition033() local 993 int32_t delay = 0; TestStackTransition034() local 1031 int32_t delay = 0; TestStackTransition035() local 1067 int32_t delay = 500; TestStackTransition036() local 1101 int32_t delay = 0; TestStackTransition037() local 1133 int32_t delay = 0; TestStackTransition038() local 1165 int32_t delay = 0; TestStackTransition039() local 1197 int32_t delay = 0; TestStackTransition040() local 1229 int32_t delay = 0; TestStackTransition041() local 1261 int32_t delay = 0; TestStackTransition042() local 1293 int32_t delay = 0; TestStackTransition043() local 1325 int32_t delay = 0; TestStackTransition044() local 1357 int32_t delay = 0; TestStackTransition045() local 1389 int32_t delay = 300; TestStackTransition046() local 1421 int32_t delay = -300; TestStackTransition047() local 1453 int32_t delay = -1300; TestStackTransition048() local 1485 int32_t delay = 0; TestStackTransition049() local 1519 int32_t delay = 0; TestStackTransition050() local 1553 int32_t delay = 500; TestStackTransition051() local 1587 int32_t delay = 0; TestStackTransition052() local 1619 int32_t delay = 0; TestStackTransition053() local 1651 int32_t delay = 0; TestStackTransition054() local 1683 int32_t delay = 0; TestStackTransition055() local 1715 int32_t delay = 0; TestStackTransition056() local 1747 int32_t delay = 0; TestStackTransition057() local 1779 int32_t delay = 0; TestStackTransition058() local 1811 int32_t delay = 0; TestStackTransition059() local 1843 int32_t delay = 0; TestStackTransition060() local 1875 int32_t delay = 300; TestStackTransition061() local 1907 int32_t delay = -300; TestStackTransition062() local 1939 int32_t delay = -1300; TestStackTransition063() local 1971 int32_t delay = 0; TestStackTransition064() local 2005 int32_t delay = 0; TestStackTransition065() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/ |
H A D | rng.c | 62 u32 delay; in ath9k_rng_delay_get() local 65 delay = 10; in ath9k_rng_delay_get() 67 delay = 1000; in ath9k_rng_delay_get() 69 delay = 10000; in ath9k_rng_delay_get() 71 return delay; in ath9k_rng_delay_get() 79 u32 delay, fail_stats = 0; in ath9k_rng_kthread() local 89 delay = ath9k_rng_delay_get(++fail_stats); in ath9k_rng_kthread() 92 msecs_to_jiffies(delay)); in ath9k_rng_kthread()
|
/kernel/linux/linux-5.10/drivers/mmc/host/ |
H A D | dw_mmc-zx.c | 29 DELAY_TYPE_READ, /* read dqs delay */ 30 DELAY_TYPE_CLK, /* clk sample delay */ 33 static int dw_mci_zx_emmc_set_delay(struct dw_mci *host, unsigned int delay, in dw_mci_zx_emmc_set_delay() argument 60 clksel |= CLK_SAMP_DELAY(delay); in dw_mci_zx_emmc_set_delay() 63 clksel |= READ_DQS_DELAY(delay); in dw_mci_zx_emmc_set_delay() 92 int ret, len = 0, start = 0, end = 0, delay, best = 0; in dw_mci_zx_emmc_execute_tuning() local 94 for (delay = 1; delay < 128; delay++) { in dw_mci_zx_emmc_execute_tuning() 95 ret = dw_mci_zx_emmc_set_delay(host, delay, DELAY_TYPE_CL in dw_mci_zx_emmc_execute_tuning() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/common/test/ |
H A D | priority_queue_test.cpp | 168 * @tc.desc: Test the delay task.
178 auto delay = std::chrono::milliseconds(SHORT_INTERVAL);
in HWTEST_F() local 180 auto ret = priorityqueue_.Push(testTask, id, std::chrono::steady_clock::now() + delay);
in HWTEST_F() 205 * @tc.desc: Test the delay task.
214 auto delay = std::chrono::milliseconds(SHORT_INTERVAL);
in HWTEST_F() local 216 auto ret = priorityqueue_.Push(testTask, id, std::chrono::steady_clock::now() + delay);
in HWTEST_F() 225 auto delayms = std::chrono::duration_cast<std::chrono::milliseconds>(delay).count();
in HWTEST_F() 283 auto delay = std::chrono::milliseconds(SHORT_INTERVAL);
in HWTEST_F() local 287 auto ret = priorityqueue_.Push(testTask, id, std::chrono::steady_clock::now() + delay);
in HWTEST_F() 303 auto delay in HWTEST_F() local 323 auto delay = std::chrono::milliseconds(SHORT_INTERVAL); HWTEST_F() local 344 auto delay = std::chrono::milliseconds(SHORT_INTERVAL); HWTEST_F() local 365 auto delay = std::chrono::milliseconds(SHORT_INTERVAL); HWTEST_F() local 387 auto delay = std::chrono::milliseconds(SHORT_INTERVAL); HWTEST_F() local 410 auto delay = std::chrono::milliseconds(SHORT_INTERVAL); HWTEST_F() local 430 auto delay = std::chrono::milliseconds(SHORT_INTERVAL); HWTEST_F() local 452 auto delay = std::chrono::milliseconds(SHORT_INTERVAL); HWTEST_F() local 519 auto delay = std::chrono::milliseconds(SHORT_INTERVAL); HWTEST_F() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/ |
H A D | snapshot_param.h | 38 int32_t delay; member 41 explicit SnapshotParam(int32_t delay = DEFAULT_DELAY_TIME, bool checkImageStatus = false, in SnapshotParam() 42 SnapshotOptions options = SnapshotOptions()) : delay(delay), checkImageStatus(checkImageStatus), in SnapshotParam() 46 return "{" + std::to_string(delay) + ", " + (checkImageStatus ? "true" : "false") + ", " + in ToString()
|