/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-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...] |
/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/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...] |
H A D | reclaimacct_show.c | 18 u64 delay[NR_DELAY_LV][NR_RA_STUBS]; member 74 ra_show->delay[level][i] += ra->delay[i]; in __reclaimacct_collect_data() 78 if (ra->delay[RA_RECLAIM] > ra_show->max_delay) { in __reclaimacct_collect_data() 79 ra_show->max_delay = ra->delay[RA_RECLAIM]; in __reclaimacct_collect_data() 88 const u64 delay[NR_DELAY_LV] = { in reclaimacct_collect_data() local 96 if (current->reclaim_acct->delay[RA_RECLAIM] < delay[i]) { in reclaimacct_collect_data() 127 seq_printf(m, "%-15llu ", div_u64(show.delay[j][i], NSEC_PER_MSEC)); in reclaimacct_proc_show() 135 seq_printf(m, "Max delay in reclaimacct_proc_show() [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-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()
|
/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-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...] |
/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...] |
/kernel/linux/linux-5.10/drivers/iio/imu/ |
H A D | adis.c | 9 #include <linux/delay.h> 49 .delay.value = adis->data->write_delay, in __adis_write_reg() 50 .delay.unit = SPI_DELAY_UNIT_USECS, in __adis_write_reg() 58 .delay.value = adis->data->write_delay, in __adis_write_reg() 59 .delay.unit = SPI_DELAY_UNIT_USECS, in __adis_write_reg() 67 .delay.value = adis->data->write_delay, in __adis_write_reg() 68 .delay.unit = SPI_DELAY_UNIT_USECS, in __adis_write_reg() 75 .delay.value = adis->data->write_delay, in __adis_write_reg() 76 .delay.unit = SPI_DELAY_UNIT_USECS, in __adis_write_reg() 81 .delay in __adis_write_reg() [all...] |
/kernel/linux/linux-6.6/drivers/iio/imu/ |
H A D | adis.c | 9 #include <linux/delay.h> 45 .delay.value = adis->data->write_delay, in __adis_write_reg() 46 .delay.unit = SPI_DELAY_UNIT_USECS, in __adis_write_reg() 54 .delay.value = adis->data->write_delay, in __adis_write_reg() 55 .delay.unit = SPI_DELAY_UNIT_USECS, in __adis_write_reg() 63 .delay.value = adis->data->write_delay, in __adis_write_reg() 64 .delay.unit = SPI_DELAY_UNIT_USECS, in __adis_write_reg() 71 .delay.value = adis->data->write_delay, in __adis_write_reg() 72 .delay.unit = SPI_DELAY_UNIT_USECS, in __adis_write_reg() 77 .delay in __adis_write_reg() [all...] |
/kernel/linux/linux-5.10/samples/bpf/ |
H A D | ibumad_user.c | 61 {"delay", required_argument, NULL, 'd'}, 69 " --delay, -d <delay> wait <delay> sec between prints [1 - 1000000]\n" in usage() 76 unsigned long delay = 5; in main() local 94 delay = strtoul(optarg, NULL, 0); in main() 95 if (delay == ULONG_MAX || delay < 0 || in main() 96 delay > 1000000) { in main() 97 fprintf(stderr, "ERROR: invalid delay in main() [all...] |
/kernel/linux/linux-5.10/drivers/clk/mmp/ |
H A D | clk-apbc.c | 15 #include <linux/delay.h> 30 unsigned int delay; member 57 udelay(apbc->delay); in clk_apbc_prepare() 69 udelay(apbc->delay); in clk_apbc_prepare() 123 void __iomem *base, unsigned int delay, in mmp_clk_register_apbc() 141 apbc->delay = delay; in mmp_clk_register_apbc() 122 mmp_clk_register_apbc(const char *name, const char *parent_name, void __iomem *base, unsigned int delay, unsigned int apbc_flags, spinlock_t *lock) mmp_clk_register_apbc() argument
|
/kernel/linux/linux-5.10/drivers/hv/ |
H A D | hv_debugfs.c | 9 #include <linux/delay.h> 53 /* Setup delay files to store test values */ 112 char *delay_name = "delay"; in hv_debug_add_dev_dir() 113 struct dentry *delay, *dev_root; in hv_debug_add_dev_dir() local 125 delay = debugfs_create_dir(delay_name, dev_root); in hv_debug_add_dev_dir() 127 if (IS_ERR(delay)) { in hv_debug_add_dev_dir() 130 return PTR_ERR(delay); in hv_debug_add_dev_dir() 132 ret = hv_debug_delay_files(dev, delay); in hv_debug_add_dev_dir() 154 void hv_debug_delay_test(struct vmbus_channel *channel, enum delay delay_type) in hv_debug_delay_test()
|