/kernel/linux/linux-6.6/drivers/clk/rockchip/ |
H A D | clk-mmc-phase.c | 41 * Each fine delay is between 44ps-77ps. Assume each fine delay is 60ps to 82 u32 delay; in rockchip_mmc_set_phase() local 105 * Due to the inexact nature of the "fine" delay, we might in rockchip_mmc_set_phase() 113 * On one extreme (if delay is actually 44ps): in rockchip_mmc_set_phase() 115 * The other (if delay is actually 77ps): in rockchip_mmc_set_phase() 118 * It's possible we might make a delay that is up to 25 in rockchip_mmc_set_phase() 124 * Convert to delay; do a little extra work to make sure we in rockchip_mmc_set_phase() 127 delay = 10000000; /* PSECS_PER_SEC / 10000 / 10 */ in rockchip_mmc_set_phase() 128 delay * in rockchip_mmc_set_phase() [all...] |
/kernel/linux/linux-6.6/drivers/iio/chemical/ |
H A D | atlas-ezo-sensor.c | 10 #include <linux/delay.h> 33 int delay; member 89 .delay = ATLAS_INT_TIME_IN_MS, 94 .delay = ATLAS_INT_TIME_IN_MS, 99 .delay = ATLAS_INT_HUM_TIME_IN_MS, 137 msleep(data->chip->delay); in atlas_ezo_read_raw()
|
/kernel/linux/linux-6.6/drivers/leds/trigger/ |
H A D | ledtrig-heartbeat.c | 39 unsigned long delay = 0; in led_heartbeat_function() local 64 delay = msecs_to_jiffies(70); in led_heartbeat_function() 70 delay = heartbeat_data->period / 4 - msecs_to_jiffies(70); in led_heartbeat_function() 76 delay = msecs_to_jiffies(70); in led_heartbeat_function() 82 delay = heartbeat_data->period - heartbeat_data->period / 4 - in led_heartbeat_function() 91 mod_timer(&heartbeat_data->timer, jiffies + delay); in led_heartbeat_function()
|
H A D | ledtrig-activity.c | 40 int delay; in led_activity_function() local 138 delay = activity_data->state ? in led_activity_function() 142 delay = activity_data->state ? in led_activity_function() 147 if (!activity_data->time_left || delay <= activity_data->time_left) in led_activity_function() 148 activity_data->time_left = delay; in led_activity_function() 150 delay = min_t(int, activity_data->time_left, 100); in led_activity_function() 151 mod_timer(&activity_data->timer, jiffies + msecs_to_jiffies(delay)); in led_activity_function()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/ |
H A D | i915_perf.c | 198 u32 delay; in live_noa_delay() local 260 pr_info("CPU delay: %lluns, expected %lluns\n", in live_noa_delay() 263 delay = intel_read_status_page(stream->engine, 0x102); in live_noa_delay() 264 delay -= intel_read_status_page(stream->engine, 0x100); in live_noa_delay() 265 delay = i915_cs_timestamp_ticks_to_ns(i915, delay); in live_noa_delay() 266 pr_info("GPU delay: %uns, expected %lluns\n", in live_noa_delay() 267 delay, expected); in live_noa_delay() 269 if (4 * delay < 3 * expected || 2 * delay > in live_noa_delay() [all...] |
H A D | i915_sw_fence.c | 26 #include <linux/delay.h> 571 unsigned long target, delay; in test_timer() local 583 for_each_prime_number(delay, i915_selftest.timeout_jiffies/2) { in test_timer() 585 timed_fence_init(&tf, target = jiffies + delay); in test_timer() 587 pr_err("Fence with future expiration (%lu jiffies) already signaled\n", delay); in test_timer() 640 wrap_dma_fence(struct dma_fence *dma, unsigned long delay) in wrap_dma_fence() argument 649 err = i915_sw_fence_await_dma_fence(fence, dma, delay, GFP_NOWAIT); in wrap_dma_fence() 662 unsigned long delay = i915_selftest.timeout_jiffies; in test_dma_fence() local 671 timeout = wrap_dma_fence(dma, delay); in test_dma_fence() 690 end = round_jiffies_up(jiffies + delay); in test_dma_fence() [all...] |
/kernel/linux/linux-5.10/drivers/leds/trigger/ |
H A D | ledtrig-activity.c | 39 int delay; in led_activity_function() local 137 delay = activity_data->state ? in led_activity_function() 141 delay = activity_data->state ? in led_activity_function() 146 if (!activity_data->time_left || delay <= activity_data->time_left) in led_activity_function() 147 activity_data->time_left = delay; in led_activity_function() 149 delay = min_t(int, activity_data->time_left, 100); in led_activity_function() 150 mod_timer(&activity_data->timer, jiffies + msecs_to_jiffies(delay)); in led_activity_function()
|
/third_party/pulseaudio/src/tests/ |
H A D | alsa-time-test.c | 157 snd_pcm_sframes_t avail, delay; in main() local 187 delay = snd_pcm_status_get_delay(status); in main() 211 delay == last_delay) { in main() 220 pos = (unsigned long long) ((sample_count - handled - delay) * 1000000LU / SAMPLE_RATE); in main() 222 pos = (unsigned long long) ((sample_count - handled + delay) * 1000000LU / SAMPLE_RATE); in main() 234 (signed long) delay, in main() 245 last_delay = delay; in main()
|
/third_party/mesa3d/src/freedreno/ir3/ |
H A D | ir3_postsched.c | 86 unsigned delay; member 130 unsigned delay = (unsigned)(uintptr_t)edge->data; in schedule() local 133 child->earliest_ip = MAX2(child->earliest_ip, ctx->ip + delay); in schedule() 187 unsigned delay = node_delay(ctx, n); in node_delay_soft() local 193 delay = MAX2(delay, ctx->ss_delay); in node_delay_soft() 195 delay = MAX2(delay, ctx->sy_delay); in node_delay_soft() 197 return delay; in node_delay_soft() 276 /* Next try to find a ready leader w/ soft delay (i in choose_instr() 687 unsigned delay = node_delay(ctx, instr->data); sched_block() local [all...] |
/kernel/linux/linux-5.10/arch/x86/lib/ |
H A D | delay.c | 19 #include <linux/delay.h> 22 #include <asm/delay.h> 33 * Calibration and selection of the delay mechanism happens only once 39 /* simple loop based delay: */ 62 /* TSC based delay: */ 84 * that. The delay must guarantee that we wait "at in delay_tsc() 115 * small compared to the "microseconds" that usleep() will delay. in delay_halt_tpause() 127 u64 delay; in delay_halt_mwaitx() local 129 delay = min_t(u64, MWAITX_MAX_WAIT_CYCLES, cycles); in delay_halt_mwaitx() 138 * enter any deep C-state and we use it here in delay() t in delay_halt_mwaitx() [all...] |
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/ |
H A D | cpufreq_spudemand.c | 49 int delay; in spu_gov_work() local 60 delay = usecs_to_jiffies(info->poll_int); in spu_gov_work() 61 schedule_delayed_work_on(info->policy->cpu, &info->work, delay); in spu_gov_work() 66 int delay = usecs_to_jiffies(info->poll_int); in spu_gov_init_work() local 68 schedule_delayed_work_on(info->policy->cpu, &info->work, delay); in spu_gov_init_work()
|
/kernel/linux/linux-6.6/arch/powerpc/platforms/cell/ |
H A D | cpufreq_spudemand.c | 49 int delay; in spu_gov_work() local 60 delay = usecs_to_jiffies(info->poll_int); in spu_gov_work() 61 schedule_delayed_work_on(info->policy->cpu, &info->work, delay); in spu_gov_work() 66 int delay = usecs_to_jiffies(info->poll_int); in spu_gov_init_work() local 68 schedule_delayed_work_on(info->policy->cpu, &info->work, delay); in spu_gov_init_work()
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/ |
H A D | rng.c | 57 u32 delay; in ath9k_rng_delay_get() local 60 delay = 10; in ath9k_rng_delay_get() 62 delay = 1000; in ath9k_rng_delay_get() 64 delay = 10000; in ath9k_rng_delay_get() 66 return delay; in ath9k_rng_delay_get()
|
/kernel/linux/linux-6.6/arch/x86/lib/ |
H A D | delay.c | 19 #include <linux/delay.h> 22 #include <asm/delay.h> 33 * Calibration and selection of the delay mechanism happens only once 39 /* simple loop based delay: */ 62 /* TSC based delay: */ 84 * that. The delay must guarantee that we wait "at in delay_tsc() 115 * small compared to the "microseconds" that usleep() will delay. in delay_halt_tpause() 127 u64 delay; in delay_halt_mwaitx() local 129 delay = min_t(u64, MWAITX_MAX_WAIT_CYCLES, cycles); in delay_halt_mwaitx() 138 * enter any deep C-state and we use it here in delay() t in delay_halt_mwaitx() [all...] |
/third_party/python/Lib/ |
H A D | sched.py | 9 implement a delay. You can implement real-time scheduling by 12 also be used to integrate scheduling with STDWIN events; the delay 54 """Initialize a new instance, passing the time and delay 78 def enter(self, delay, priority, action, argument=(), kwargs=_sentinel): 84 time = self.timefunc() + delay 109 When there is a positive delay until the first event, the 110 delay function is called and the event is left in the queue; 113 the delay function returns prematurely, it is simply 116 It is legal for both the delay function and the action 122 just after an event is executed, a delay o [all...] |
/kernel/linux/linux-5.10/drivers/leds/ |
H A D | leds-bcm6328.c | 65 * @blink_delay: blinking delay 150 static unsigned long bcm6328_blink_delay(unsigned long delay) in bcm6328_blink_delay() argument 154 bcm6328_delay = delay + BCM6328_LED_BLINK_MS / 2; in bcm6328_blink_delay() 167 unsigned long delay, flags; in bcm6328_blink_set() local 175 delay = bcm6328_blink_delay(*delay_on); in bcm6328_blink_set() 176 if (delay != bcm6328_blink_delay(*delay_off)) { in bcm6328_blink_set() 182 if (delay > BCM6328_LED_BLINK_MASK) { in bcm6328_blink_set() 184 "fallback to soft blinking (delay > %ums)\n", in bcm6328_blink_set() 195 * 3. LEDs with the same delay assigned. in bcm6328_blink_set() 199 led->blink_delay[0] == delay) { in bcm6328_blink_set() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/selftests/ |
H A D | i915_sw_fence.c | 26 #include <linux/delay.h> 581 unsigned long target, delay; in test_timer() local 593 for_each_prime_number(delay, i915_selftest.timeout_jiffies/2) { in test_timer() 595 timed_fence_init(&tf, target = jiffies + delay); in test_timer() 597 pr_err("Fence with future expiration (%lu jiffies) already signaled\n", delay); in test_timer() 650 wrap_dma_fence(struct dma_fence *dma, unsigned long delay) in wrap_dma_fence() argument 659 err = i915_sw_fence_await_dma_fence(fence, dma, delay, GFP_NOWAIT); in wrap_dma_fence() 672 unsigned long delay = i915_selftest.timeout_jiffies; in test_dma_fence() local 681 timeout = wrap_dma_fence(dma, delay); in test_dma_fence() 700 end = round_jiffies_up(jiffies + delay); in test_dma_fence() [all...] |
/kernel/linux/linux-6.6/drivers/leds/ |
H A D | leds-bcm6328.c | 65 * @blink_delay: blinking delay 150 static unsigned long bcm6328_blink_delay(unsigned long delay) in bcm6328_blink_delay() argument 154 bcm6328_delay = delay + BCM6328_LED_BLINK_MS / 2; in bcm6328_blink_delay() 167 unsigned long delay, flags; in bcm6328_blink_set() local 175 delay = bcm6328_blink_delay(*delay_on); in bcm6328_blink_set() 176 if (delay != bcm6328_blink_delay(*delay_off)) { in bcm6328_blink_set() 182 if (delay > BCM6328_LED_BLINK_MASK) { in bcm6328_blink_set() 184 "fallback to soft blinking (delay > %ums)\n", in bcm6328_blink_set() 195 * 3. LEDs with the same delay assigned. in bcm6328_blink_set() 199 led->blink_delay[0] == delay) { in bcm6328_blink_set() [all...] |
/third_party/node/deps/npm/node_modules/exponential-backoff/dist/delay/ |
H A D | delay.factory.js | 3 var skip_first_delay_1 = require("./skip-first/skip-first.delay"); 4 var always_delay_1 = require("./always/always.delay"); 6 var delay = initDelayClass(options); 7 delay.setAttemptNumber(attempt); 8 return delay; 17 //# sourceMappingURL=delay.factory.js.ma
|
/kernel/linux/linux-5.10/drivers/gpu/drm/panel/ |
H A D | panel-simple.c | 24 #include <linux/delay.h> 53 * @delay: Structure containing various delay values for this panel. 77 * @hpd_absent_delay: Add this to the prepare delay if we know Hot 93 } delay; member 240 if (p->desc->delay.disable) in panel_simple_disable() 241 msleep(p->desc->delay.disable); in panel_simple_disable() 259 if (p->desc->delay.unprepare) in panel_simple_unprepare() 260 msleep(p->desc->delay.unprepare); in panel_simple_unprepare() 295 unsigned int delay; in panel_simple_prepare() local [all...] |
/kernel/linux/linux-5.10/arch/x86/platform/intel-mid/device_libs/ |
H A D | platform_pcal9555a.c | 67 .delay = 1, 74 .delay = 1, 81 .delay = 1, 88 .delay = 1,
|
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | pmu.c | 17 #include <linux/delay.h> 103 uint delay = PMU_MAX_TRANSITION_DLY; in si_pmu_fast_pwrup_delay() local 109 delay = 3700; in si_pmu_fast_pwrup_delay() 115 return (u16) delay; in si_pmu_fast_pwrup_delay()
|
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | pmu.c | 17 #include <linux/delay.h> 103 uint delay = PMU_MAX_TRANSITION_DLY; in si_pmu_fast_pwrup_delay() local 109 delay = 3700; in si_pmu_fast_pwrup_delay() 115 return (u16) delay; in si_pmu_fast_pwrup_delay()
|
/third_party/libuv/test/ |
H A D | test-semaphore.c | 31 int delay; member 39 if (c->delay) in worker() 40 uv_sleep(c->delay); in worker() 79 wc.delay = 100; in TEST_IMPL()
|
/third_party/ltp/testcases/kernel/ipc/semaphore/ |
H A D | sem01.c | 23 * each go through a loop where they semdown, delay for a 79 int delay; in delayloop() local 80 delay = 1 + ((100.0 * rand()) / RAND_MAX); in delayloop() 82 printf("in delay function for %d microseconds\n", delay); in delayloop() 83 usleep(delay); in delayloop()
|