Home
last modified time | relevance | path

Searched refs:jiffies (Results 1 – 25 of 1990) sorted by relevance

12345678910>>...80

/drivers/char/tpm/
A Dtpm_tis_spi_cr50.c82 unsigned long time_now = jiffies; in cr50_ensure_access_delay()
128 return !time_in_range_open(jiffies, phy->last_access, in cr50_needs_waking()
152 phy->wake_after = jiffies + msecs_to_jiffies(CR50_SLEEP_DELAY_MSEC); in cr50_wake_if_needed()
166 unsigned long timeout = jiffies + CR50_FLOW_CONTROL; in cr50_spi_flow_control()
179 if (time_after(jiffies, timeout)) { in cr50_spi_flow_control()
218 cr50_phy->last_access = jiffies; in tpm_tis_spi_cr50_transfer()
279 phy->wake_after = jiffies; in cr50_spi_probe()
284 cr50_phy->last_access = jiffies; in cr50_spi_probe()
338 phy->wake_after = jiffies; in tpm_tis_spi_resume()
/drivers/net/wireguard/
A Dtimers.c62 jiffies + REJECT_AFTER_TIME * 3 * HZ); in wg_expired_retransmit_handshake()
88 jiffies + KEEPALIVE_TIMEOUT * HZ); in wg_expired_send_keepalive()
152 jiffies + (KEEPALIVE_TIMEOUT + REKEY_TIMEOUT) * HZ + in wg_timers_data_sent()
162 jiffies + KEEPALIVE_TIMEOUT * HZ); in wg_timers_data_received()
188 jiffies + REKEY_TIMEOUT * HZ + in wg_timers_handshake_initiated()
209 jiffies + REJECT_AFTER_TIME * 3 * HZ); in wg_timers_session_derived()
219 jiffies + peer->persistent_keepalive_interval * HZ); in wg_timers_any_authenticated_packet_traversal()
/drivers/mtd/chips/
A Dcfi_cmdset_0020.c266 timeo = jiffies + HZ; in do_read_onechip()
358 timeo = jiffies + HZ; in do_read_onechip()
441 timeo = jiffies + HZ; in do_write_buffer()
491 timeo = jiffies + HZ; in do_write_buffer()
747 timeo = jiffies + HZ; in do_erase_oneblock()
784 timeo = jiffies + HZ; in do_erase_oneblock()
876 timeo = jiffies + HZ; in do_erase_oneblock()
1044 timeo = jiffies + HZ; in do_lock_oneblock()
1081 timeo = jiffies + HZ; in do_lock_oneblock()
1190 timeo = jiffies + HZ; in do_unlock_oneblock()
[all …]
/drivers/cdrom/
A Dgdrom.c135 unsigned long timeout = jiffies + GDROM_DEFAULT_TIMEOUT; in gdrom_wait_clrbusy()
137 (time_before(jiffies, timeout))) in gdrom_wait_clrbusy()
139 return time_before(jiffies, timeout + 1); in gdrom_wait_clrbusy()
146 timeout = jiffies + GDROM_DEFAULT_TIMEOUT; in gdrom_wait_busy_sleeps()
147 while (!gdrom_is_busy() && time_before(jiffies, timeout)) in gdrom_wait_busy_sleeps()
193 timeout = jiffies + GDROM_DEFAULT_TIMEOUT; in gdrom_spicommand()
197 if (!time_before(jiffies, timeout + 1)) { in gdrom_spicommand()
605 timeout = jiffies + HZ / 2; in gdrom_readdisk_dma()
609 timeout = jiffies + HZ / 2; in gdrom_readdisk_dma()
616 timeout = jiffies + HZ / 2; in gdrom_readdisk_dma()
[all …]
/drivers/scsi/smartpqi/
A Dsmartpqi_sis.c107 timeout = (timeout_secs * HZ) + jiffies; in sis_wait_for_ctrl_ready_with_timeout()
122 if (time_after(jiffies, timeout)) { in sis_wait_for_ctrl_ready_with_timeout()
225 timeout = (SIS_CMD_COMPLETE_TIMEOUT_SECS * HZ) + jiffies; in sis_send_sync_cmd()
231 if (time_after(jiffies, timeout)) in sis_send_sync_cmd()
371 timeout = (SIS_DOORBELL_BIT_CLEAR_TIMEOUT_SECS * HZ) + jiffies; in sis_wait_for_doorbell_bit_to_clear()
383 if (time_after(jiffies, timeout)) { in sis_wait_for_doorbell_bit_to_clear()
485 timeout = (SIS_FW_TRIAGE_STATUS_TIMEOUT_SECS * HZ) + jiffies; in sis_wait_for_fw_triage_completion()
499 if (time_after(jiffies, timeout)) { in sis_wait_for_fw_triage_completion()
521 timeout = (SIS_CTRL_LOGGING_STATUS_TIMEOUT_SECS * HZ) + jiffies; in sis_wait_for_ctrl_logging_completion()
534 if (time_after(jiffies, timeout)) { in sis_wait_for_ctrl_logging_completion()
/drivers/md/
A Ddm-io-tracker.h34 iot->last_update_time = jiffies; in dm_iot_init()
43 r = time_after(jiffies, iot->idle_time + j); in dm_iot_idle_for()
55 r = jiffies - iot->idle_time; in dm_iot_idle_time()
78 iot->idle_time = jiffies; in dm_iot_io_end()
/drivers/media/dvb-frontends/
A Dstv0297.c536 timeout = jiffies + msecs_to_jiffies(2000); in stv0297_set_frontend()
537 while (time_before(jiffies, timeout)) { in stv0297_set_frontend()
542 if (time_after(jiffies, timeout)) { in stv0297_set_frontend()
548 timeout = jiffies + msecs_to_jiffies(500); in stv0297_set_frontend()
549 while (time_before(jiffies, timeout)) { in stv0297_set_frontend()
556 if (time_after(jiffies, timeout)) { in stv0297_set_frontend()
562 while (time_before(jiffies, timeout)) { in stv0297_set_frontend()
569 if (time_after(jiffies, timeout)) { in stv0297_set_frontend()
578 timeout = jiffies + msecs_to_jiffies(20); in stv0297_set_frontend()
579 while (time_before(jiffies, timeout)) { in stv0297_set_frontend()
[all …]
/drivers/watchdog/
A Dmachzwd.c221 next_heartbeat = jiffies + ZF_USER_TIMEO; in zf_timer_on()
224 mod_timer(&zf_timer, jiffies + ZF_HW_TIMEO); in zf_timer_on()
243 if (time_before(jiffies, next_heartbeat)) { in zf_ping()
244 dprintk("time_before: %ld\n", next_heartbeat - jiffies); in zf_ping()
260 mod_timer(&zf_timer, jiffies + ZF_HW_TIMEO); in zf_ping()
298 next_heartbeat = jiffies + ZF_USER_TIMEO; in zf_write()
299 dprintk("user ping at %ld\n", jiffies); in zf_write()
A Dvia_wdt.c93 if (time_before(jiffies, next_heartbeat) || in wdt_timer_tick()
96 mod_timer(&timer, jiffies + WDT_HEARTBEAT); in wdt_timer_tick()
104 next_heartbeat = jiffies + wdd->timeout * HZ; in wdt_ping()
115 mod_timer(&timer, jiffies + WDT_HEARTBEAT); in wdt_start()
219 mod_timer(&timer, jiffies + WDT_HEARTBEAT); in wdt_probe()
A Dsbc60xxwdt.c124 if (time_before(jiffies, next_heartbeat)) { in wdt_timer_ping()
128 mod_timer(&timer, jiffies + WDT_INTERVAL); in wdt_timer_ping()
139 next_heartbeat = jiffies + (timeout * HZ); in wdt_startup()
142 mod_timer(&timer, jiffies + WDT_INTERVAL); in wdt_startup()
157 next_heartbeat = jiffies + (timeout * HZ); in wdt_keepalive()
A Dsc520_wdt.c138 if (time_before(jiffies, next_heartbeat)) { in wdt_timer_ping()
146 mod_timer(&timer, jiffies + WDT_INTERVAL); in wdt_timer_ping()
174 next_heartbeat = jiffies + (timeout * HZ); in wdt_startup()
177 mod_timer(&timer, jiffies + WDT_INTERVAL); in wdt_startup()
201 next_heartbeat = jiffies + (timeout * HZ); in wdt_keepalive()
A Dw83877f_wdt.c112 if (time_before(jiffies, next_heartbeat)) { in wdt_timer_ping()
120 mod_timer(&timer, jiffies + WDT_INTERVAL); in wdt_timer_ping()
156 next_heartbeat = jiffies + (timeout * HZ); in wdt_startup()
159 mod_timer(&timer, jiffies + WDT_INTERVAL); in wdt_startup()
179 next_heartbeat = jiffies + (timeout * HZ); in wdt_keepalive()
/drivers/staging/rtl8723bs/core/
A Drtw_pwrctrl.c197 start_time = jiffies; in traffic_check_for_leave_lps()
208 start_time = jiffies; in traffic_check_for_leave_lps()
283 start_time = jiffies; in rtw_set_rpwm()
313 curr_time = jiffies; in PS_RDY_CHECK()
412 start_time = jiffies; in LPS_RF_ON_check()
423 if (jiffies_to_msecs(jiffies - start_time) > delay_ms) { in LPS_RF_ON_check()
564 start_time = jiffies; in LPS_Leave_check()
581 if (jiffies_to_msecs(jiffies - start_time) > 100) in LPS_Leave_check()
1004 pwrpriv->ips_deny_time = jiffies + msecs_to_jiffies(ms); in rtw_set_ips_deny()
1020 unsigned long start = jiffies; in _rtw_pwr_wakeup()
[all …]
/drivers/char/
A Dnwflash.c344 timeout = jiffies + 10 * HZ; in erase_block()
346 while (!(c1 & 0x80) && time_before(jiffies, timeout)) { in erase_block()
420 timeout = jiffies + 30 * HZ; in write_block()
464 timeout1 = jiffies + 1 * HZ; in write_block()
469 while (!(c1 & 0x80) && time_before(jiffies, timeout1)) in write_block()
475 if (time_after_eq(jiffies, timeout1)) { in write_block()
507 if (time_before(jiffies, timeout)) { in write_block()
/drivers/hwmon/
A Dsht4x.c101 curr_jiffies = jiffies; in sht4x_read_values()
106 time_before(jiffies, data->heating_complete + data->update_interval)) { in sht4x_read_values()
112 if (data->valid && time_before_eq(jiffies, next_update)) in sht4x_read_values()
148 data->last_updated = jiffies; in sht4x_read_values()
250 return sysfs_emit(buf, "%u\n", time_before(jiffies, data->heating_complete)); in heater_enable_show()
292 if (time_before(jiffies, data->heating_complete)) { in heater_enable_store()
301 data->heating_complete = jiffies + msecs_to_jiffies(heating_time_bound); in heater_enable_store()
423 data->heating_complete = jiffies; in sht4x_probe()
A Dsch5627.c133 if (time_after(jiffies, data->temp_last_updated + HZ) || !data->temp_valid) { in sch5627_update_temp()
144 data->temp_last_updated = jiffies; in sch5627_update_temp()
160 if (time_after(jiffies, data->fan_last_updated + HZ) || !data->fan_valid) { in sch5627_update_fan()
169 data->fan_last_updated = jiffies; in sch5627_update_fan()
185 if (time_after(jiffies, data->last_battery + 300 * HZ)) { in sch5627_update_in()
188 data->last_battery = jiffies; in sch5627_update_in()
192 if (time_after(jiffies, data->in_last_updated + HZ) || !data->in_valid) { in sch5627_update_in()
203 data->in_last_updated = jiffies; in sch5627_update_in()
598 data->last_battery = jiffies; in sch5627_probe()
/drivers/net/ethernet/netronome/nfp/nfpcore/
A Dnfp_resource.c152 unsigned long warn_at = jiffies + NFP_MUTEX_WAIT_FIRST_WARN * HZ; in nfp_resource_acquire()
153 unsigned long err_at = jiffies + NFP_MUTEX_WAIT_ERROR * HZ; in nfp_resource_acquire()
186 warn_at = jiffies + NFP_MUTEX_WAIT_NEXT_WARN * HZ; in nfp_resource_acquire()
233 unsigned long warn_at = jiffies + NFP_MUTEX_WAIT_FIRST_WARN * HZ; in nfp_resource_wait()
234 unsigned long err_at = jiffies + secs * HZ; in nfp_resource_wait()
254 warn_at = jiffies + NFP_MUTEX_WAIT_NEXT_WARN * HZ; in nfp_resource_wait()
/drivers/media/pci/ivtv/
A Divtv-mailbox.c148 unsigned long then = jiffies; in get_mailbox()
166 if (time_after(jiffies, in get_mailbox()
234 time_before(jiffies, in ivtv_api_call()
238 itv->api_cache[cmd].last_jiffies = jiffies; in ivtv_api_call()
273 itv->api_cache[cmd].last_jiffies = jiffies; in ivtv_api_call()
281 then = jiffies; in ivtv_api_call()
291 if (time_after(jiffies, then + api_timeout)) { in ivtv_api_call()
303 if (time_after(jiffies, then + msecs_to_jiffies(100))) in ivtv_api_call()
306 jiffies_to_msecs(jiffies - then)); in ivtv_api_call()
/drivers/usb/host/
A Duhci-hub.c147 if (time_after_eq(jiffies, uhci->ports_timeout)) { in uhci_check_ports()
169 uhci->ports_timeout = jiffies + in uhci_check_ports()
178 } else if (time_after_eq(jiffies, in uhci_check_ports()
220 uhci->auto_stop_time = jiffies + HZ; in uhci_hub_status_data()
228 else if (time_after_eq(jiffies, uhci->auto_stop_time) && in uhci_hub_status_data()
342 uhci->ports_timeout = jiffies + in uhci_hub_control()
385 uhci->ports_timeout = jiffies + in uhci_hub_control()
/drivers/staging/media/av7110/
A Dav7110_hw.c302 start = jiffies; in av7110_wait_msgstate()
304 err = time_after(jiffies, start + ARM_WAIT_FREE); in av7110_wait_msgstate()
336 start = jiffies; in __av7110_send_fw_cmd()
353 start = jiffies; in __av7110_send_fw_cmd()
393 start = jiffies; in __av7110_send_fw_cmd()
426 start = jiffies; in __av7110_send_fw_cmd()
551 start = jiffies; in av7110_fw_request()
567 start = jiffies; in av7110_fw_request()
712 start = jiffies; in FlushText()
738 start = jiffies; in WriteText()
[all …]
/drivers/i2c/busses/
A Di2c-highlander.c129 timeout = jiffies + msecs_to_jiffies(iic_timeout); in highlander_i2c_wait_for_bbsy()
131 if (time_after(jiffies, timeout)) { in highlander_i2c_wait_for_bbsy()
175 timeout = jiffies + msecs_to_jiffies(iic_timeout); in highlander_i2c_poll()
187 if (time_after(jiffies, timeout)) in highlander_i2c_poll()
236 if (iic_read_delay && time_before(jiffies, dev->last_read_time + in highlander_i2c_read()
239 msecs_to_jiffies(iic_read_delay)) - jiffies)); in highlander_i2c_read()
249 dev->last_read_time = jiffies; in highlander_i2c_read()
397 dev->last_read_time = jiffies; /* initial read jiffies */ in highlander_i2c_probe()
/drivers/parport/
A Dieee1284_ops.c56 unsigned long expire = jiffies + dev->timeout; in parport_ieee1284_write_compat()
85 if (!time_before (jiffies, expire)) in parport_ieee1284_write_compat()
107 } while (time_before (jiffies, expire)); in parport_ieee1284_write_compat()
132 if (time_before (jiffies, expire)) in parport_ieee1284_write_compat()
414 unsigned long expire = jiffies + port->cad->timeout; in parport_ieee1284_ecp_write_data()
455 if (time_after_eq (jiffies, expire)) break; in parport_ieee1284_ecp_write_data()
502 unsigned long expire = jiffies + dev->timeout; in parport_ieee1284_ecp_read_data()
517 if (!time_before (jiffies, expire)) in parport_ieee1284_ecp_read_data()
645 unsigned long expire = jiffies + port->cad->timeout; in parport_ieee1284_ecp_write_addr()
686 if (time_after_eq (jiffies, expire)) break; in parport_ieee1284_ecp_write_addr()
/drivers/net/ethernet/mellanox/mlx4/
A Dreset.c102 end = jiffies + MLX4_SEM_TIMEOUT_JIFFIES; in mlx4_reset()
109 } while (time_before(jiffies, end)); in mlx4_reset()
125 end = jiffies + MLX4_RESET_TIMEOUT_JIFFIES; in mlx4_reset()
132 } while (time_before(jiffies, end)); in mlx4_reset()
/drivers/input/serio/
A Dparkbd.c107 if (parkbd_counter && ((parkbd_counter == 11) || time_after(jiffies, parkbd_last + HZ/100))) { in parkbd_interrupt()
126 if ((parkbd_counter == parkbd_mode + 10) || time_after(jiffies, parkbd_last + HZ/100)) { in parkbd_interrupt()
137 parkbd_last = jiffies; in parkbd_interrupt()
159 parkbd_start = jiffies; in parkbd_getport()
/drivers/net/wireless/ti/wl1251/
A Dps.c64 start = jiffies; in wl1251_ps_elp_wakeup()
65 timeout = jiffies + msecs_to_jiffies(WL1251_WAKEUP_TIMEOUT); in wl1251_ps_elp_wakeup()
76 if (time_after(jiffies, timeout)) { in wl1251_ps_elp_wakeup()
85 jiffies_to_msecs(jiffies - start)); in wl1251_ps_elp_wakeup()

Completed in 75 milliseconds

12345678910>>...80