Home
last modified time | relevance | path

Searched refs:delay (Results 351 - 375 of 11922) sorted by relevance

1...<<11121314151617181920>>...477

/third_party/mesa3d/src/freedreno/ir3/
H A Dir3_legalize.c877 unsigned delay = ir3_delay_calc(block, instr, so->mergedregs); in nop_sched() local
884 if ((delay > 0) && (ir->compiler->gen >= 6) && last && in nop_sched()
888 unsigned transfer = MIN2(delay, 3 - last->nop); in nop_sched()
890 delay -= transfer; in nop_sched()
893 if ((delay > 0) && last && (last->opc == OPC_NOP)) { in nop_sched()
895 unsigned transfer = MIN2(delay, 5 - last->repeat); in nop_sched()
897 delay -= transfer; in nop_sched()
900 if (delay > 0) { in nop_sched()
901 assert(delay <= 6); in nop_sched()
902 ir3_NOP(block)->repeat = delay in nop_sched()
[all...]
/kernel/linux/common_modules/tzdriver/core/
H A Dcmdmonitor.c20 #include <linux/delay.h>
74 unsigned long delay) in schedule_memstat_work()
76 schedule_delayed_work(work, delay); in schedule_memstat_work()
80 unsigned long delay) in schedule_cmd_monitor_work()
83 queue_delayed_work(g_cmd_monitor_wq, work, delay); in schedule_cmd_monitor_work()
85 schedule_delayed_work(work, delay); in schedule_cmd_monitor_work()
73 schedule_memstat_work(struct delayed_work *work, unsigned long delay) schedule_memstat_work() argument
79 schedule_cmd_monitor_work(struct delayed_work *work, unsigned long delay) schedule_cmd_monitor_work() argument
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
H A Dcmm.c10 #include <linux/delay.h>
47 static unsigned int delay = CMM_DEFAULT_DELAY; variable
62 module_param_named(delay, delay, uint, 0644);
63 MODULE_PARM_DESC(delay, "Delay (in seconds) between polls to query hypervisor paging requests. "
298 timeleft = msleep_interruptible(delay * 1000); in cmm_thread()
/kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/
H A Dcmm.c10 #include <linux/delay.h>
44 static unsigned int delay = CMM_DEFAULT_DELAY; variable
59 module_param_named(delay, delay, uint, 0644);
60 MODULE_PARM_DESC(delay, "Delay (in seconds) between polls to query hypervisor paging requests. "
295 timeleft = msleep_interruptible(delay * 1000); in cmm_thread()
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/
H A Ddemand_paging_test.c114 useconds_t delay; member
122 useconds_t delay = uffd_args->delay; in uffd_handler_thread_fn() local
185 if (delay) in uffd_handler_thread_fn()
186 usleep(delay); in uffd_handler_thread_fn()
241 uffd_args->delay = uffd_delay; in setup_demand_paging()
399 printf(" -d: add a delay in usec to the User Fault\n" in help()
459 "A negative UFFD delay is not supported."); in main()
/kernel/linux/linux-5.10/drivers/ptp/
H A Dptp_clock.c195 long delay; in ptp_aux_kworker() local
197 delay = info->do_aux_work(info); in ptp_aux_kworker()
199 if (delay >= 0) in ptp_aux_kworker()
200 kthread_queue_delayed_work(ptp->kworker, &ptp->aux_work, delay); in ptp_aux_kworker()
388 int ptp_schedule_worker(struct ptp_clock *ptp, unsigned long delay) in ptp_schedule_worker() argument
390 return kthread_mod_delayed_work(ptp->kworker, &ptp->aux_work, delay); in ptp_schedule_worker()
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_port.c28 u32 val, delay = 0; in lan966x_port_link_down() local
44 delay++; in lan966x_port_link_down()
45 if (delay == 2000) { in lan966x_port_link_down()
51 delay = 0; in lan966x_port_link_down()
108 delay++; in lan966x_port_link_down()
109 if (delay == 2000) { in lan966x_port_link_down()
/kernel/linux/linux-6.6/drivers/ptp/
H A Dptp_clock.c196 long delay; in ptp_aux_kworker() local
198 delay = info->do_aux_work(info); in ptp_aux_kworker()
200 if (delay >= 0) in ptp_aux_kworker()
201 kthread_queue_delayed_work(ptp->kworker, &ptp->aux_work, delay); in ptp_aux_kworker()
443 int ptp_schedule_worker(struct ptp_clock *ptp, unsigned long delay) in ptp_schedule_worker() argument
445 return kthread_mod_delayed_work(ptp->kworker, &ptp->aux_work, delay); in ptp_schedule_worker()
/kernel/linux/linux-6.6/drivers/iommu/arm/arm-smmu/
H A Darm-smmu-qcom.c8 #include <linux/delay.h>
25 unsigned int spin_cnt, delay; in qcom_smmu_tlb_sync() local
29 for (delay = 1; delay < TLB_LOOP_TIMEOUT; delay *= 2) { in qcom_smmu_tlb_sync()
36 udelay(delay); in qcom_smmu_tlb_sync()
/third_party/pulseaudio/src/tests/
H A Dresampler-rewind-test.c70 double delay; in calculate_resampler_history_bytes() local
80 /* Get the current internal delay of the resampler */ in calculate_resampler_history_bytes()
81 delay = pa_resampler_get_delay(r, false); in calculate_resampler_history_bytes()
87 /* If the delay is larger than the length of the history queue, we can only in calculate_resampler_history_bytes()
89 if ((size_t)delay >= history_max) { in calculate_resampler_history_bytes()
94 /* Initially set the history to 3 times the resampler delay. Use at least 2 ms. */ in calculate_resampler_history_bytes()
95 history_frames = (size_t)(delay * 3.0); in calculate_resampler_history_bytes()
101 /* If possible, use between 2 and 3 times the resampler delay */ in calculate_resampler_history_bytes()
102 if (remainder < (size_t)delay && history_frames - remainder <= history_max) in calculate_resampler_history_bytes()
105 /* Else, try above 3 times the delay */ in calculate_resampler_history_bytes()
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/core/
H A Dsa_query.c841 unsigned long delay; in ib_nl_make_request() local
881 delay = msecs_to_jiffies(sa_local_svc_timeout_ms); in ib_nl_make_request()
882 query->timeout = delay + jiffies; in ib_nl_make_request()
886 queue_delayed_work(ib_nl_wq, &ib_nl_timed_work, delay); in ib_nl_make_request()
976 unsigned long delay; in ib_nl_request_timeout() local
986 delay = query->timeout - jiffies; in ib_nl_request_timeout()
987 if ((long)delay <= 0) in ib_nl_request_timeout()
988 delay = 1; in ib_nl_request_timeout()
989 queue_delayed_work(ib_nl_wq, &ib_nl_timed_work, delay); in ib_nl_request_timeout()
1019 long delay in ib_nl_handle_set_timeout() local
2143 unsigned long delay = update_ib_cpi() local
2308 unsigned long delay = ib_sa_event() local
[all...]
/kernel/linux/linux-5.10/drivers/net/phy/
H A Dphy_device.c13 #include <linux/delay.h>
2727 * phy_get_delay_index - returns the index of the internal delay
2731 * @size: the size of the delay array
2732 * @is_rx: boolean to indicate to get the rx internal delay
2734 * Returns the index within the array of internal delay passed in.
2736 * if the interface defines use of internal delay then a 1 is returned otherwise
2739 * array then size = 0 and the value of the delay property is returned.
2740 * Return -EINVAL if the delay is invalid or cannot be found.
2745 s32 delay; in phy_get_internal_delay() local
2749 delay in phy_get_internal_delay()
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/core/
H A Dsa_query.c791 unsigned long delay; in ib_nl_make_request() local
831 delay = msecs_to_jiffies(sa_local_svc_timeout_ms); in ib_nl_make_request()
832 query->timeout = delay + jiffies; in ib_nl_make_request()
836 queue_delayed_work(ib_nl_wq, &ib_nl_timed_work, delay); in ib_nl_make_request()
953 unsigned long delay; in ib_nl_request_timeout() local
963 delay = query->timeout - jiffies; in ib_nl_request_timeout()
964 if ((long)delay <= 0) in ib_nl_request_timeout()
965 delay = 1; in ib_nl_request_timeout()
966 queue_delayed_work(ib_nl_wq, &ib_nl_timed_work, delay); in ib_nl_request_timeout()
996 long delay in ib_nl_handle_set_timeout() local
1973 unsigned long delay = update_ib_cpi() local
2138 unsigned long delay = ib_sa_event() local
[all...]
/third_party/ffmpeg/libavcodec/
H A Dapedec.c104 int16_t *delay; ///< filtered values member
947 int32_t coeffs[256], delay[256]; in long_filter_high_3800() local
954 delay[i] = buffer[i]; in long_filter_high_3800()
959 dotprod += delay[j] * (unsigned)coeffs[j]; in long_filter_high_3800()
960 coeffs[j] += ((delay[j] >> 31) | 1) * sign; in long_filter_high_3800()
964 delay[j] = delay[j + 1]; in long_filter_high_3800()
965 delay[order - 1] = buffer[i]; in long_filter_high_3800()
973 int32_t delay[8] = { 0 }; in long_filter_ehigh_3830() local
980 dotprod += delay[ in long_filter_ehigh_3830()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/
H A Dsun6i_mipi_dsi.c368 u16 delay = mode->vtotal - (mode->vsync_start - mode->vdisplay) + 1; in sun6i_dsi_get_video_start_delay() local
370 if (delay > mode->vtotal) in sun6i_dsi_get_video_start_delay()
371 delay = delay % mode->vtotal; in sun6i_dsi_get_video_start_delay()
373 return max_t(u16, delay, 1); in sun6i_dsi_get_video_start_delay()
457 u16 delay = 50 - 1; in sun6i_dsi_setup_inst_loop() local
462 delay = (hsync_porch / ((mode->clock / 1000) * 8)); in sun6i_dsi_setup_inst_loop()
463 delay -= 50; in sun6i_dsi_setup_inst_loop()
472 SUN6I_DSI_INST_LOOP_NUM_N1(delay)); in sun6i_dsi_setup_inst_loop()
475 SUN6I_DSI_INST_LOOP_NUM_N1(delay)); in sun6i_dsi_setup_inst_loop()
723 u16 delay; sun6i_dsi_encoder_enable() local
[all...]
/kernel/linux/linux-6.6/drivers/spi/
H A Dspi-mt65xx.c291 int delay; in mtk_spi_set_hw_cs_timing() local
293 delay = spi_delay_to_ns(cs_setup, NULL); in mtk_spi_set_hw_cs_timing()
294 if (delay < 0) in mtk_spi_set_hw_cs_timing()
295 return delay; in mtk_spi_set_hw_cs_timing()
296 setup = (delay * DIV_ROUND_UP(mdata->spi_clk_hz, 1000000)) / 1000; in mtk_spi_set_hw_cs_timing()
298 delay = spi_delay_to_ns(cs_hold, NULL); in mtk_spi_set_hw_cs_timing()
299 if (delay < 0) in mtk_spi_set_hw_cs_timing()
300 return delay; in mtk_spi_set_hw_cs_timing()
301 hold = (delay * DIV_ROUND_UP(mdata->spi_clk_hz, 1000000)) / 1000; in mtk_spi_set_hw_cs_timing()
303 delay in mtk_spi_set_hw_cs_timing()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/sun4i/
H A Dsun6i_mipi_dsi.c368 u16 delay = mode->vtotal - (mode->vsync_start - mode->vdisplay) + 1; in sun6i_dsi_get_video_start_delay() local
370 if (delay > mode->vtotal) in sun6i_dsi_get_video_start_delay()
371 delay = delay % mode->vtotal; in sun6i_dsi_get_video_start_delay()
373 return max_t(u16, delay, 1); in sun6i_dsi_get_video_start_delay()
457 u16 delay = 50 - 1; in sun6i_dsi_setup_inst_loop() local
462 delay = (hsync_porch / ((mode->clock / 1000) * 8)); in sun6i_dsi_setup_inst_loop()
463 delay -= 50; in sun6i_dsi_setup_inst_loop()
472 SUN6I_DSI_INST_LOOP_NUM_N1(delay)); in sun6i_dsi_setup_inst_loop()
475 SUN6I_DSI_INST_LOOP_NUM_N1(delay)); in sun6i_dsi_setup_inst_loop()
723 u16 delay; sun6i_dsi_encoder_enable() local
[all...]
/kernel/linux/linux-5.10/arch/arm/mach-omap1/
H A Dsram.S45 delay: sub r4, r4, #1 label
47 bne delay
/kernel/linux/linux-5.10/arch/mips/loongson2ef/lemote-2f/
H A Dreset.c11 #include <linux/delay.h>
106 delay(); in ml2f_shutdown()
/kernel/linux/linux-6.6/arch/arm/mach-omap1/
H A Dsram.S45 delay: sub r4, r4, #1 label
47 bne delay
/kernel/linux/linux-6.6/arch/mips/loongson2ef/lemote-2f/
H A Dreset.c11 #include <linux/delay.h>
106 delay(); in ml2f_shutdown()
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/
H A Dintel_engine_pm.h62 unsigned long delay) in intel_engine_pm_put_delay()
64 intel_wakeref_put_delay(&engine->wakeref, delay); in intel_engine_pm_put_delay()
61 intel_engine_pm_put_delay(struct intel_engine_cs *engine, unsigned long delay) intel_engine_pm_put_delay() argument
/kernel/linux/linux-6.6/net/batman-adv/
H A Dsend.h44 unsigned long delay,
48 unsigned long delay,
/third_party/jerryscript/targets/particle/source/
H A Dmain.cpp56 Serial.println ("Wrong arguments count in 'test.delay' function."); in js_delay()
62 delay (millisec); in js_delay()
88 prop_name = jerry_create_string ((const jerry_char_t *) "delay"); in init_jerry()
112 test.delay(250); \ in test_jerry()
114 test.delay(250); \ in test_jerry()
130 delay (2000); in setup()
/third_party/python/Lib/asyncio/
H A Dstaggered.py16 delay: typing.Optional[float],
28 fails (raises an exception), or when *delay* seconds has passed, the next
52 delay: amount of time, in seconds, between starting coroutines. If
84 # Wait for the previous task to finish, or for delay seconds
91 await tasks.wait_for(previous_failed.wait(), delay)

Completed in 25 milliseconds

1...<<11121314151617181920>>...477