Home
last modified time | relevance | path

Searched refs:expires (Results 1 – 25 of 276) sorted by relevance

12345678910>>...12

/drivers/rtc/
Drtc-test.c29 alarm = (rtd->alarm.expires - jiffies) / HZ; in test_rtc_read_alarm()
42 u64 expires; in test_rtc_set_alarm() local
49 expires = jiffies + timeout * HZ; in test_rtc_set_alarm()
50 if (expires > U32_MAX) in test_rtc_set_alarm()
51 expires = U32_MAX; in test_rtc_set_alarm()
54 rtd->alarm.expires = expires; in test_rtc_set_alarm()
140 rtd->alarm.expires = 0; in test_probe()
Dinterface.c400 alarm->time = rtc_ktime_to_tm(rtc->aie_timer.node.expires); in rtc_read_alarm()
471 rtc->aie_timer.node.expires = rtc_tm_to_ktime(alarm->time); in rtc_set_alarm()
500 rtc->aie_timer.node.expires = rtc_tm_to_ktime(alarm->time); in rtc_initialize_alarm()
505 rtc->aie_timer.node.expires)) { in rtc_initialize_alarm()
578 rtc->uie_rtctimer.node.expires = ktime_add(now, onesec); in rtc_update_irq_enable()
821 if (next->expires >= now) in rtc_timer_enqueue()
828 if (!next || ktime_before(timer->node.expires, next->expires)) { in rtc_timer_enqueue()
831 alarm.time = rtc_ktime_to_tm(timer->node.expires); in rtc_timer_enqueue()
884 alarm.time = rtc_ktime_to_tm(next->expires); in rtc_timer_remove()
918 if (next->expires > now) in rtc_timer_do_work()
[all …]
/drivers/md/
Ddm-delay.c46 unsigned long expires; member
58 static void queue_timeout(struct delay_c *dc, unsigned long expires) in queue_timeout() argument
62 if (!timer_pending(&dc->delay_timer) || expires < dc->delay_timer.expires) in queue_timeout()
63 mod_timer(&dc->delay_timer, expires); in queue_timeout()
89 if (flush_all || time_after_eq(jiffies, delayed->expires)) { in flush_delayed_bios()
100 next_expires = delayed->expires; in flush_delayed_bios()
102 next_expires = min(next_expires, delayed->expires); in flush_delayed_bios()
246 unsigned long expires = 0; in delay_bio() local
254 delayed->expires = expires = jiffies + msecs_to_jiffies(c->delay); in delay_bio()
265 queue_timeout(dc, expires); in delay_bio()
/drivers/watchdog/
Dxen_wdt.c48 time64_t expires; in xen_wdt_start() local
51 expires = set_timeout(wdd); in xen_wdt_start()
58 wdt_expires = expires; in xen_wdt_start()
81 time64_t expires; in xen_wdt_kick() local
84 expires = set_timeout(wdd); in xen_wdt_kick()
90 wdt_expires = expires; in xen_wdt_kick()
/drivers/net/wireless/mediatek/mt76/
Dmcu.c31 unsigned long expires) in mt76_mcu_get_response() argument
35 if (!time_is_after_jiffies(expires)) in mt76_mcu_get_response()
38 timeout = expires - jiffies; in mt76_mcu_get_response()
Dmt76x02_mcu.c17 unsigned long expires = jiffies + HZ; in mt76x02_mcu_msg_send() local
50 skb = mt76_mcu_get_response(&dev->mt76, expires); in mt76x02_mcu_msg_send()
/drivers/s390/cio/
Ddevice_ops.c193 unsigned long flags, int expires) in ccw_device_start_timeout_key() argument
233 if (expires) in ccw_device_start_timeout_key()
234 ccw_device_set_timeout(cdev, expires); in ccw_device_start_timeout_key()
345 unsigned long flags, int expires) in ccw_device_start_timeout() argument
349 expires); in ccw_device_start_timeout()
541 int expires) in ccw_device_tm_start_timeout_key() argument
570 if (expires) in ccw_device_tm_start_timeout_key()
571 ccw_device_set_timeout(cdev, expires); in ccw_device_tm_start_timeout_key()
625 unsigned long intparm, u8 lpm, int expires) in ccw_device_tm_start_timeout() argument
628 PAGE_DEFAULT_KEY, expires); in ccw_device_tm_start_timeout()
Deadm_sch.c111 static void eadm_subchannel_set_timeout(struct subchannel *sch, int expires) in eadm_subchannel_set_timeout() argument
115 if (expires == 0) { in eadm_subchannel_set_timeout()
120 if (mod_timer(&private->timer, jiffies + expires)) in eadm_subchannel_set_timeout()
123 private->timer.expires = jiffies + expires; in eadm_subchannel_set_timeout()
/drivers/base/power/
Druntime.c166 u64 expires; in pm_runtime_autosuspend_expiration() local
175 expires = READ_ONCE(dev->power.last_busy); in pm_runtime_autosuspend_expiration()
176 expires += (u64)autosuspend_delay * NSEC_PER_MSEC; in pm_runtime_autosuspend_expiration()
177 if (expires > ktime_get_mono_fast_ns()) in pm_runtime_autosuspend_expiration()
178 return expires; /* Expires in the future */ in pm_runtime_autosuspend_expiration()
585 u64 expires = pm_runtime_autosuspend_expiration(dev); in rpm_suspend() local
587 if (expires != 0) { in rpm_suspend()
599 dev->power.timer_expires <= expires)) { in rpm_suspend()
607 dev->power.timer_expires = expires; in rpm_suspend()
609 ns_to_ktime(expires), in rpm_suspend()
[all …]
Dwakeup.c830 unsigned long expires; in pm_wakeup_ws_event() local
844 expires = jiffies + msecs_to_jiffies(msec); in pm_wakeup_ws_event()
845 if (!expires) in pm_wakeup_ws_event()
846 expires = 1; in pm_wakeup_ws_event()
848 if (!ws->timer_expires || time_after(expires, ws->timer_expires)) { in pm_wakeup_ws_event()
849 mod_timer(&ws->timer, expires); in pm_wakeup_ws_event()
850 ws->timer_expires = expires; in pm_wakeup_ws_event()
/drivers/gpu/drm/i915/selftests/
Dlib_sw_fence.c63 void timed_fence_init(struct timed_fence *tf, unsigned long expires) in timed_fence_init() argument
69 if (time_after(expires, jiffies)) in timed_fence_init()
70 mod_timer(&tf->timer, expires); in timed_fence_init()
/drivers/usb/phy/
Dphy-fsl-usb.h336 unsigned long expires; /* Number of count increase to timeout */ member
344 (void (*function)(unsigned long), unsigned long expires, unsigned long data) in otg_timer_initializer() argument
352 timer->expires = expires; in otg_timer_initializer()
/drivers/s390/block/
Ddasd_diag.c238 unsigned long expires; in dasd_ext_handler() local
283 expires = 0; in dasd_ext_handler()
293 expires = next->expires; in dasd_ext_handler()
304 if (expires != 0) in dasd_ext_handler()
305 dasd_device_set_timer(device, expires); in dasd_ext_handler()
575 cqr->expires = memdev->default_expires * HZ; in dasd_diag_build_cp()
Ddasd_3990_erp.c71 static void dasd_3990_erp_block_queue(struct dasd_ccw_req *erp, int expires) in dasd_3990_erp_block_queue() argument
78 "blocking request queue for %is", expires/HZ); in dasd_3990_erp_block_queue()
85 dasd_block_set_timer(erp->block, expires); in dasd_3990_erp_block_queue()
87 dasd_device_set_timer(device, expires); in dasd_3990_erp_block_queue()
230 dctl_cqr->expires = 5 * 60 * HZ; in dasd_3990_erp_DCTL()
1734 erp->expires = default_erp->expires; in dasd_3990_erp_action_1B_32()
2438 erp->expires = cqr->expires; in dasd_3990_erp_add_erp()
/drivers/gpu/drm/gma500/
Dpsb_lid.c54 lid_timer->expires = jiffies + PSB_LID_DELAY; in psb_lid_timer_func()
70 lid_timer->expires = jiffies + PSB_LID_DELAY; in psb_lid_timer_init()
/drivers/gpu/drm/i915/
Di915_utils.c90 if (!READ_ONCE(t->expires)) in cancel_timer()
94 WRITE_ONCE(t->expires, 0); in cancel_timer()
/drivers/ata/
Dlibata-zpodd.c149 unsigned long expires; in zpodd_on_suspend() local
163 expires = zpodd->last_ready + in zpodd_on_suspend()
165 if (time_before(jiffies, expires)) in zpodd_on_suspend()
/drivers/net/ethernet/dec/tulip/
Dpnic2.c328 tp->timer.expires = RUN_AT(3*HZ); in pnic2_lnk_change()
353 tp->timer.expires = RUN_AT(3*HZ); in pnic2_lnk_change()
377 tp->timer.expires = RUN_AT(3*HZ); in pnic2_lnk_change()
/drivers/staging/rtl8188eu/core/
Drtw_pwrctrl.c543 unsigned long expires; in _rtw_pwr_wakeup() local
547 expires = jiffies + msecs_to_jiffies(ips_deffer_ms); in _rtw_pwr_wakeup()
548 if (time_before(pwrpriv->ips_deny_time, expires)) in _rtw_pwr_wakeup()
602 expires = jiffies + msecs_to_jiffies(ips_deffer_ms); in _rtw_pwr_wakeup()
603 if (time_before(pwrpriv->ips_deny_time, expires)) in _rtw_pwr_wakeup()
/drivers/i2c/busses/
Di2c-pnx.c123 unsigned long expires = msecs_to_jiffies(alg_data->timeout); in i2c_pnx_arm_timer() local
125 if (expires <= 1) in i2c_pnx_arm_timer()
126 expires = 2; in i2c_pnx_arm_timer()
131 jiffies, expires); in i2c_pnx_arm_timer()
133 timer->expires = jiffies + expires; in i2c_pnx_arm_timer()
/drivers/isdn/mISDN/
Dfsm.c152 ft->tl.expires = jiffies + (millisec * HZ) / 1000; in mISDN_FsmAddTimer()
173 ft->tl.expires = jiffies + (millisec * HZ) / 1000; in mISDN_FsmRestartTimer()
/drivers/net/wireguard/
Dtimers.c32 unsigned long expires) in mod_peer_timer() argument
37 mod_timer(timer, expires); in mod_peer_timer()
/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt.c65 ieee->crypt_deinit_timer.expires = jiffies + HZ; in ieee80211_crypt_deinit_handler()
92 ieee->crypt_deinit_timer.expires = jiffies + HZ; in ieee80211_crypt_delayed_deinit()
/drivers/char/
Ddtlk.c235 unsigned long expires; in dtlk_poll() local
257 expires = jiffies + 3*HZ / 100; in dtlk_poll()
258 mod_timer(&dtlk_timer, expires); in dtlk_poll()
/drivers/s390/net/
Dfsm.c176 this->tl.expires = jiffies + (millisec * HZ) / 1000; in fsm_addtimer()
195 this->tl.expires = jiffies + (millisec * HZ) / 1000; in fsm_modtimer()

12345678910>>...12