Home
last modified time | relevance | path

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

12345678910>>...70

/drivers/staging/rtl8712/
Drtl8712_led.c262 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink()
267 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink()
271 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink()
275 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink()
321 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1()
329 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1()
344 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1()
353 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1()
362 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1()
378 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1()
[all …]
/drivers/staging/rtl8188eu/core/
Drtw_led.c127 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1()
135 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1()
150 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1()
160 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1()
170 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1()
186 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1()
196 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1()
207 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1()
216 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1()
232 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1()
[all …]
Drtw_pwrctrl.c218 if (time_after_eq(adapter->pwrctrlpriv.ips_deny_time, jiffies)) in rtw_pwr_unassociated_idle()
352 curr_time = jiffies; in PS_RDY_CHECK()
422 start_time = jiffies; in LPS_RF_ON_check()
434 if (jiffies_to_msecs(jiffies - start_time) > delay_ms) { in LPS_RF_ON_check()
563 expires = jiffies + msecs_to_jiffies(ips_deffer_ms); in _rtw_pwr_wakeup()
565 pwrpriv->ips_deny_time = jiffies + msecs_to_jiffies(ips_deffer_ms); in _rtw_pwr_wakeup()
567 start = jiffies; in _rtw_pwr_wakeup()
571 jiffies_to_msecs(jiffies - start) <= 3000) in _rtw_pwr_wakeup()
618 expires = jiffies + msecs_to_jiffies(ips_deffer_ms); in _rtw_pwr_wakeup()
620 pwrpriv->ips_deny_time = jiffies + msecs_to_jiffies(ips_deffer_ms); in _rtw_pwr_wakeup()
/drivers/gpu/drm/i915/selftests/
Di915_gem_timeline.c148 end_time = jiffies + HZ/10; in bench_sync()
156 } while (!time_after(jiffies, end_time)); in bench_sync()
166 end_time = jiffies + HZ/10; in bench_sync()
172 } while (!time_after(jiffies, end_time)); in bench_sync()
206 end_time = jiffies + HZ/10; in bench_sync()
209 } while (!time_after(jiffies, end_time)); in bench_sync()
239 end_time = jiffies + HZ/10; in bench_sync()
248 } while (!time_after(jiffies, end_time)); in bench_sync()
267 end_time = jiffies + HZ/10; in bench_sync()
279 } while (!time_after(jiffies, end_time)); in bench_sync()
/drivers/misc/eeprom/
Dat24.c221 timeout = jiffies + msecs_to_jiffies(write_timeout); in at24_eeprom_read_smbus()
227 read_time = jiffies; in at24_eeprom_read_smbus()
234 count, offset, status, jiffies); in at24_eeprom_read_smbus()
280 timeout = jiffies + msecs_to_jiffies(write_timeout); in at24_eeprom_read_i2c()
286 read_time = jiffies; in at24_eeprom_read_i2c()
293 count, offset, status, jiffies); in at24_eeprom_read_i2c()
348 timeout = jiffies + msecs_to_jiffies(write_timeout); in at24_eeprom_read_serial()
354 read_time = jiffies; in at24_eeprom_read_serial()
388 timeout = jiffies + msecs_to_jiffies(write_timeout); in at24_eeprom_read_mac()
394 read_time = jiffies; in at24_eeprom_read_mac()
[all …]
/drivers/soc/mediatek/
Dmtk-infracfg.c40 expired = jiffies + HZ; in mtk_infracfg_set_bus_protection()
51 if (time_after(jiffies, expired)) in mtk_infracfg_set_bus_protection()
73 expired = jiffies + HZ; in mtk_infracfg_clear_bus_protection()
86 if (time_after(jiffies, expired)) in mtk_infracfg_clear_bus_protection()
/drivers/mtd/chips/
Dcfi_cmdset_0020.c264 timeo = jiffies + HZ; in do_read_onechip()
291 if (time_after(jiffies, timeo)) { in do_read_onechip()
336 if (time_after(jiffies, timeo)) { in do_read_onechip()
356 timeo = jiffies + HZ; in do_read_onechip()
439 timeo = jiffies + HZ; in do_write_buffer()
469 if (time_after(jiffies, timeo)) { in do_write_buffer()
489 timeo = jiffies + HZ; in do_write_buffer()
536 timeo = jiffies + (HZ/2); in do_write_buffer()
546 timeo = jiffies + (HZ / 2); /* FIXME */ in do_write_buffer()
556 if (time_after(jiffies, timeo)) { in do_write_buffer()
[all …]
/drivers/cdrom/
Dgdrom.c155 unsigned long timeout = jiffies + GDROM_DEFAULT_TIMEOUT; in gdrom_wait_clrbusy()
157 (time_before(jiffies, timeout))) in gdrom_wait_clrbusy()
159 return time_before(jiffies, timeout + 1); in gdrom_wait_clrbusy()
166 timeout = jiffies + GDROM_DEFAULT_TIMEOUT; in gdrom_wait_busy_sleeps()
167 while (!gdrom_is_busy() && time_before(jiffies, timeout)) in gdrom_wait_busy_sleeps()
213 timeout = jiffies + GDROM_DEFAULT_TIMEOUT; in gdrom_spicommand()
215 while (!gdrom_data_request() && time_before(jiffies, timeout)) in gdrom_spicommand()
217 if (!time_before(jiffies, timeout + 1)) { in gdrom_spicommand()
628 timeout = jiffies + HZ / 2; in gdrom_readdisk_dma()
629 while (gdrom_is_busy() && time_before(jiffies, timeout)) in gdrom_readdisk_dma()
[all …]
/drivers/i2c/busses/
Di2c-designware-baytrail.c107 start = jiffies; in baytrail_i2c_acquire()
112 acquired = jiffies; in baytrail_i2c_acquire()
114 jiffies_to_msecs(jiffies - start)); in baytrail_i2c_acquire()
119 } while (time_before(jiffies, end)); in baytrail_i2c_acquire()
146 jiffies_to_msecs(jiffies - acquired)); in baytrail_i2c_release()
Di2c-highlander.c132 timeout = jiffies + msecs_to_jiffies(iic_timeout); in highlander_i2c_wait_for_bbsy()
134 if (time_after(jiffies, timeout)) { in highlander_i2c_wait_for_bbsy()
178 timeout = jiffies + msecs_to_jiffies(iic_timeout); in highlander_i2c_poll()
190 if (time_after(jiffies, timeout)) in highlander_i2c_poll()
239 if (iic_read_delay && time_before(jiffies, dev->last_read_time + in highlander_i2c_read()
242 msecs_to_jiffies(iic_read_delay)) - jiffies)); in highlander_i2c_read()
252 dev->last_read_time = jiffies; in highlander_i2c_read()
400 dev->last_read_time = jiffies; /* initial read jiffies */ in highlander_i2c_probe()
/drivers/watchdog/
Dmachzwd.c225 next_heartbeat = jiffies + ZF_USER_TIMEO; in zf_timer_on()
228 mod_timer(&zf_timer, jiffies + ZF_HW_TIMEO); in zf_timer_on()
247 if (time_before(jiffies, next_heartbeat)) { in zf_ping()
248 dprintk("time_before: %ld\n", next_heartbeat - jiffies); in zf_ping()
264 mod_timer(&zf_timer, jiffies + ZF_HW_TIMEO); in zf_ping()
302 next_heartbeat = jiffies + ZF_USER_TIMEO; in zf_write()
303 dprintk("user ping at %ld\n", jiffies); in zf_write()
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()
Dw83877f_wdt.c116 if (time_before(jiffies, next_heartbeat)) { in wdt_timer_ping()
124 mod_timer(&timer, jiffies + WDT_INTERVAL); in wdt_timer_ping()
160 next_heartbeat = jiffies + (timeout * HZ); in wdt_startup()
163 mod_timer(&timer, jiffies + WDT_INTERVAL); in wdt_startup()
183 next_heartbeat = jiffies + (timeout * HZ); in wdt_keepalive()
Dsc520_wdt.c142 if (time_before(jiffies, next_heartbeat)) { in wdt_timer_ping()
150 mod_timer(&timer, jiffies + WDT_INTERVAL); in wdt_timer_ping()
178 next_heartbeat = jiffies + (timeout * HZ); in wdt_startup()
181 mod_timer(&timer, jiffies + WDT_INTERVAL); in wdt_startup()
205 next_heartbeat = jiffies + (timeout * HZ); in wdt_keepalive()
Dsbc60xxwdt.c130 if (time_before(jiffies, next_heartbeat)) { in wdt_timer_ping()
134 mod_timer(&timer, jiffies + WDT_INTERVAL); in wdt_timer_ping()
145 next_heartbeat = jiffies + (timeout * HZ); in wdt_startup()
148 mod_timer(&timer, jiffies + WDT_INTERVAL); in wdt_startup()
163 next_heartbeat = jiffies + (timeout * HZ); in wdt_keepalive()
/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_resource.c184 unsigned long warn_at = jiffies + NFP_MUTEX_WAIT_FIRST_WARN * HZ; in nfp_resource_acquire()
185 unsigned long err_at = jiffies + NFP_MUTEX_WAIT_ERROR * HZ; in nfp_resource_acquire()
218 warn_at = jiffies + NFP_MUTEX_WAIT_NEXT_WARN * HZ; in nfp_resource_acquire()
265 unsigned long warn_at = jiffies + NFP_MUTEX_WAIT_FIRST_WARN * HZ; in nfp_resource_wait()
266 unsigned long err_at = jiffies + secs * HZ; in nfp_resource_wait()
286 warn_at = jiffies + NFP_MUTEX_WAIT_NEXT_WARN * HZ; in nfp_resource_wait()
/drivers/media/dvb-frontends/
Dstv0297.c548 timeout = jiffies + msecs_to_jiffies(2000); in stv0297_set_frontend()
549 while (time_before(jiffies, timeout)) { in stv0297_set_frontend()
554 if (time_after(jiffies, timeout)) { in stv0297_set_frontend()
560 timeout = jiffies + msecs_to_jiffies(500); in stv0297_set_frontend()
561 while (time_before(jiffies, timeout)) { in stv0297_set_frontend()
568 if (time_after(jiffies, timeout)) { in stv0297_set_frontend()
573 timeout = jiffies + msecs_to_jiffies(delay); in stv0297_set_frontend()
574 while (time_before(jiffies, timeout)) { in stv0297_set_frontend()
581 if (time_after(jiffies, timeout)) { in stv0297_set_frontend()
590 timeout = jiffies + msecs_to_jiffies(20); in stv0297_set_frontend()
[all …]
/drivers/gpu/drm/gma500/
Dblitter.c25 unsigned long stop = jiffies + HZ; in gma_blt_wait_idle()
39 } while (busy && !time_after_eq(jiffies, stop)); in gma_blt_wait_idle()
47 } while (busy && !time_after_eq(jiffies, stop)); in gma_blt_wait_idle()
/drivers/char/
Dnwflash.c343 timeout = jiffies + 10 * HZ; in erase_block()
345 while (!(c1 & 0x80) && time_before(jiffies, timeout)) { in erase_block()
419 timeout = jiffies + 30 * HZ; in write_block()
463 timeout1 = jiffies + 1 * HZ; in write_block()
468 while (!(c1 & 0x80) && time_before(jiffies, timeout1)) in write_block()
474 if (time_after_eq(jiffies, timeout1)) { in write_block()
506 if (time_before(jiffies, timeout)) { in write_block()
/drivers/media/pci/ivtv/
Divtv-mailbox.c162 unsigned long then = jiffies; in get_mailbox()
180 if (time_after(jiffies, in get_mailbox()
248 time_before(jiffies, in ivtv_api_call()
252 itv->api_cache[cmd].last_jiffies = jiffies; in ivtv_api_call()
287 itv->api_cache[cmd].last_jiffies = jiffies; in ivtv_api_call()
295 then = jiffies; in ivtv_api_call()
305 if (time_after(jiffies, then + api_timeout)) { in ivtv_api_call()
317 if (time_after(jiffies, then + msecs_to_jiffies(100))) in ivtv_api_call()
320 jiffies_to_msecs(jiffies - then)); in ivtv_api_call()
/drivers/phy/tegra/
Dxusb-tegra210.c335 timeout = jiffies + msecs_to_jiffies(100); in tegra210_pex_uphy_enable()
337 while (time_before(jiffies, timeout)) { in tegra210_pex_uphy_enable()
345 if (time_after_eq(jiffies, timeout)) { in tegra210_pex_uphy_enable()
354 timeout = jiffies + msecs_to_jiffies(100); in tegra210_pex_uphy_enable()
356 while (time_before(jiffies, timeout)) { in tegra210_pex_uphy_enable()
364 if (time_after_eq(jiffies, timeout)) { in tegra210_pex_uphy_enable()
373 timeout = jiffies + msecs_to_jiffies(100); in tegra210_pex_uphy_enable()
375 while (time_before(jiffies, timeout)) { in tegra210_pex_uphy_enable()
383 if (time_after_eq(jiffies, timeout)) { in tegra210_pex_uphy_enable()
393 timeout = jiffies + msecs_to_jiffies(100); in tegra210_pex_uphy_enable()
[all …]
/drivers/usb/host/
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/rtl8723bs/core/
Drtw_pwrctrl.c119 if (time_before(jiffies, adapter_to_pwrctl(adapter)->ips_deny_time)) { in rtw_pwr_unassociated_idle()
224 start_time = jiffies; in traffic_check_for_leave_lps()
226 if (jiffies_to_msecs(jiffies - start_time) > 2000) { /* 2 sec == watch dog timer */ in traffic_check_for_leave_lps()
237 start_time = jiffies; in traffic_check_for_leave_lps()
334 start_time = jiffies; in rtw_set_rpwm()
347 if (jiffies_to_msecs(jiffies - start_time) > LPS_RPWM_WAIT_MS) { in rtw_set_rpwm()
375 curr_time = jiffies; in PS_RDY_CHECK()
446 start_time = jiffies; in rtw_set_ps_mode()
453 if (jiffies_to_msecs(jiffies - start_time) > delay_ms) { in rtw_set_ps_mode()
519 start_time = jiffies; in LPS_RF_ON_check()
[all …]
/drivers/net/ethernet/mellanox/mlx4/
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/media/pci/ttpci/
Dav7110_hw.c314 start = jiffies; in av7110_wait_msgstate()
316 err = time_after(jiffies, start + ARM_WAIT_FREE); in av7110_wait_msgstate()
349 start = jiffies; in __av7110_send_fw_cmd()
351 err = time_after(jiffies, start + ARM_WAIT_FREE); in __av7110_send_fw_cmd()
366 start = jiffies; in __av7110_send_fw_cmd()
368 err = time_after(jiffies, start + ARM_WAIT_SHAKE); in __av7110_send_fw_cmd()
406 start = jiffies; in __av7110_send_fw_cmd()
408 err = time_after(jiffies, start + ARM_WAIT_FREE); in __av7110_send_fw_cmd()
441 start = jiffies; in __av7110_send_fw_cmd()
443 err = time_after(jiffies, start + ARM_WAIT_FREE); in __av7110_send_fw_cmd()
[all …]

12345678910>>...70