Home
last modified time | relevance | path

Searched refs:delay (Results 51 - 75 of 11613) sorted by relevance

12345678910>>...465

/kernel/linux/linux-5.10/drivers/clk/rockchip/
H A Dclk-mmc-phase.c41 * 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-5.10/drivers/iio/chemical/
H A Datlas-ezo-sensor.c11 #include <linux/delay.h>
31 int delay; member
87 .delay = ATLAS_INT_TIME_IN_MS,
92 .delay = ATLAS_INT_TIME_IN_MS,
97 .delay = ATLAS_INT_HUM_TIME_IN_MS,
135 msleep(data->chip->delay); in atlas_ezo_read_raw()
/kernel/linux/linux-5.10/drivers/leds/trigger/
H A Dledtrig-heartbeat.c38 unsigned long delay = 0; in led_heartbeat_function() local
63 delay = msecs_to_jiffies(70); in led_heartbeat_function()
69 delay = heartbeat_data->period / 4 - msecs_to_jiffies(70); in led_heartbeat_function()
75 delay = msecs_to_jiffies(70); in led_heartbeat_function()
81 delay = heartbeat_data->period - heartbeat_data->period / 4 - in led_heartbeat_function()
90 mod_timer(&heartbeat_data->timer, jiffies + delay); in led_heartbeat_function()
H A Dledtrig-activity.c39 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()
/kernel/linux/linux-6.6/drivers/clk/rockchip/
H A Dclk-mmc-phase.c41 * 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 Datlas-ezo-sensor.c10 #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 Dledtrig-heartbeat.c39 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 Dledtrig-activity.c40 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 Di915_perf.c198 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 Di915_sw_fence.c26 #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...]
H A Dmock_request.c31 mock_request(struct intel_context *ce, unsigned long delay) in mock_request() argument
40 request->mock.delay = delay; in mock_request()
/kernel/linux/linux-5.10/arch/x86/lib/
H A Ddelay.c19 #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 Dcpufreq_spudemand.c49 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 Dcpufreq_spudemand.c49 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 Drng.c57 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 Ddelay.c19 #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/x86/platform/intel-mid/device_libs/
H A Dplatform_pcal9555a.c67 .delay = 1,
74 .delay = 1,
81 .delay = 1,
88 .delay = 1,
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Dpmu.c17 #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 Dpmu.c17 #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-5.10/drivers/leds/
H A Dleds-bcm6328.c65 * @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 Di915_sw_fence.c26 #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...]
H A Dmock_request.c31 mock_request(struct intel_context *ce, unsigned long delay) in mock_request() argument
40 request->mock.delay = delay; in mock_request()
/kernel/linux/linux-6.6/drivers/leds/
H A Dleds-bcm6328.c65 * @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-5.10/arch/powerpc/include/asm/
H A Ddelay.h37 * @delay: the number of microseconds to delay between each evaluation of
48 * terminates even if the bit never changes. The delay is for devices that
49 * need a delay in between successive reads.
51 * gcc will optimize out the if-statement if @delay is a constant.
53 #define spin_event_timeout(condition, timeout, delay) \
59 if (delay) { \
62 udelay(delay); \
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
H A Ddelay.h37 * @delay: the number of microseconds to delay between each evaluation of
48 * terminates even if the bit never changes. The delay is for devices that
49 * need a delay in between successive reads.
51 * gcc will optimize out the if-statement if @delay is a constant.
53 #define spin_event_timeout(condition, timeout, delay) \
59 if (delay) { \
62 udelay(delay); \

Completed in 10 milliseconds

12345678910>>...465