/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...] |
/third_party/ffmpeg/libavfilter/ |
H A D | af_adelay.c | 31 int64_t delay; member 60 { "all", "use last available delay for remained channels", OFFSET(all), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, A }, 75 if (d->delay_index < d->delay) { \ 76 const int len = FFMIN(nb_samples, d->delay - d->delay_index); \ 90 d->index = d->index >= d->delay ? 0 : d->index; \ 106 if (new_delay == d->delay) { \ 113 d->delay = 0; \ 124 if (new_delay < d->delay) { \ 130 memmove(&samples[d->index], &samples[d->index+(d->delay-new_delay)], \ 132 d->delay_index -= d->delay 158 float delay, div; parse_delays() local 272 int64_t delay; process_command() local [all...] |
H A D | af_anlms.c | 51 AVFrame *delay; member 98 static float fir_sample(AudioNLMSContext *s, float sample, float *delay, in fir_sample() argument 104 delay[*offset] = sample; in fir_sample() 108 output = s->fdsp->scalarproduct_float(delay, tmp, s->kernel_size); in fir_sample() 117 float *delay, float *coeffs, float *tmp, int *offsetp) in process_sample() 126 delay[offset + order] = input; in process_sample() 128 output = fir_sample(s, input, delay, coeffs, tmp, offsetp); in process_sample() 131 sum = s->fdsp->scalarproduct_float(delay, delay, s->kernel_size); in process_sample() 138 memcpy(tmp, delay in process_sample() 116 process_sample(AudioNLMSContext *s, float input, float desired, float *delay, float *coeffs, float *tmp, int *offsetp) process_sample() argument 165 float *delay = (float *)s->delay->extended_data[c]; process_channels() local [all...] |
/third_party/libwebsockets/lib/drivers/i2c/bitbang/ |
H A D | lws-bb-i2c.c | 47 ctx->delay(); in lws_bb_i2c_start() 53 ctx->delay(); in lws_bb_i2c_start() 66 ctx->delay(); in lws_bb_i2c_stop() 72 ctx->delay(); in lws_bb_i2c_stop() 83 ctx->delay(); in lws_bb_i2c_write() 85 ctx->delay(); in lws_bb_i2c_write() 91 ctx->delay(); in lws_bb_i2c_write() 93 ctx->delay(); in lws_bb_i2c_write() 96 ctx->delay(); in lws_bb_i2c_write() 111 ctx->delay(); in lws_bb_i2c_read() [all...] |
/third_party/libwebsockets/minimal-examples/embedded/esp32/esp-c3dev/main/ |
H A D | bb-i2c.c | 19 ctx->delay(); in lws_bb_i2c_start() 25 ctx->delay(); in lws_bb_i2c_start() 38 ctx->delay(); in lws_bb_i2c_stop() 44 ctx->delay(); in lws_bb_i2c_stop() 55 ctx->delay(); in lws_bb_i2c_write() 57 ctx->delay(); in lws_bb_i2c_write() 63 ctx->delay(); in lws_bb_i2c_write() 65 ctx->delay(); in lws_bb_i2c_write() 68 ctx->delay(); in lws_bb_i2c_write() 83 ctx->delay(); in lws_bb_i2c_read() [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...] |
/third_party/libcoap/src/ |
H A D | coap_async.c | 40 const coap_pdu_t *request, coap_tick_t delay) { in coap_register_async() 94 coap_async_set_delay(s, delay); in coap_register_async() 102 coap_ticks(&async->delay); in coap_async_trigger() 113 coap_async_set_delay(coap_async_t *async, coap_tick_t delay) { in coap_async_set_delay() argument 119 if (delay) { in coap_async_set_delay() 120 async->delay = now + delay; in coap_async_set_delay() 122 coap_update_epoll_timer(async->session->context, delay); in coap_async_set_delay() 126 (unsigned int)(delay / COAP_TICKS_PER_SECOND), in coap_async_set_delay() 127 (unsigned int)((delay in coap_async_set_delay() 39 coap_register_async(coap_session_t *session, const coap_pdu_t *request, coap_tick_t delay) coap_register_async() argument 195 coap_register_async(coap_session_t *session, const coap_pdu_t *request, coap_tick_t delay) coap_register_async() argument 205 coap_async_set_delay(coap_async_t *async, coap_tick_t delay) coap_async_set_delay() argument [all...] |
/third_party/mesa3d/src/freedreno/ir3/ |
H A D | ir3_delay.c | 34 * Helpers to figure out the necessary delay slots between instructions. Used 42 /* calculate required # of delay slots between the instruction that 73 /* As far as we know, shader outputs don't need any delay. */ in ir3_delayslots() 134 unsigned delay = ir3_delayslots(assigner, consumer, consumer_n, false); in ir3_delayslots_with_repeat() local 140 return delay; in ir3_delayslots_with_repeat() 150 return delay; in ir3_delayslots_with_repeat() 156 return delay; in ir3_delayslots_with_repeat() 166 return delay; in ir3_delayslots_with_repeat() 193 /* The delay we return is relative to the *end* of assigner and the in ir3_delayslots_with_repeat() 196 * subtract from the delay, an in ir3_delayslots_with_repeat() 249 unsigned delay = 0; delay_calc() local [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...] |
/third_party/ltp/include/ |
H A D | tst_fuzzy_sync.h | 125 * Internal; Number of spins to use in the delay. 129 int delay; member 142 * random delay can be calculated. Defaults to 1024. 272 pair->delay = 0; in tst_fzsync_pair_reset() 371 * Calculate various statistics and the delay 399 * scenario (and others) a randomised delay is introduced before the syscalls 411 * | delay | Syscall B | Thread B 417 * The delay is not introduced immediately and the delay range is only 421 * The delay rang 701 volatile int delay; tst_fzsync_start_race_a() local 742 volatile int delay; tst_fzsync_start_race_b() 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...] |
/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...] |
/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...] |
/third_party/node/deps/undici/src/lib/ |
H A D | timers.js | 17 timer.state = fastNow + timer.delay 54 constructor (callback, delay, opaque) { 56 this.delay = delay 85 setTimeout (callback, delay, opaque) { 86 return delay < 1e3 87 ? setTimeout(callback, delay, opaque) 88 : new Timeout(callback, delay, opaque)
|
/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()
|
/third_party/ltp/testcases/realtime/func/sched_latency/ |
H A D | sched_latency.c | 27 * - The delay is measured as 29 * delay = (now - start - i*period) converted to microseconds 120 nsec_t delay, avg_delay = 0, start_delay, min_delay = -1ULL, max_delay = in periodic_thread() local 178 delay = in periodic_thread() 181 rec.y = delay; in periodic_thread() 184 if (delay < min_delay) in periodic_thread() 185 min_delay = delay; in periodic_thread() 186 if (delay > max_delay) in periodic_thread() 187 max_delay = delay; in periodic_thread() 188 if (delay > pass_criteri in periodic_thread() [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...] |
/third_party/ffmpeg/libavformat/ |
H A D | gifdec.c | 40 int delay; member 42 * Minimum allowed delay between frames in hundredths of 64 * Default delay = 100hundredths of second / 10fps = 10hos per frame. 68 * By default delay values less than this threshold considered to be invalid. 121 gdc->delay = gdc->default_delay; in gif_read_header() 157 int delay; in gif_read_header() local 160 delay = avio_rl16(pb); in gif_read_header() 161 if (delay < gdc->min_delay) in gif_read_header() 162 delay = gdc->default_delay; in gif_read_header() 163 delay in gif_read_header() [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()
|
/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...] |