/drivers/net/ |
D | 3c505.c | 238 unsigned long timeout = jiffies + 10*HZ/100; in get_status() 242 } while (stat1 != inb_status(base_addr) && time_before(jiffies, timeout)); in get_status() 243 if (time_after_eq(jiffies, timeout)) in get_status() 271 timeout = jiffies + 2*HZ/100; in adapter_reset() 272 while (time_before_eq(jiffies, timeout) && !(inb_status(dev->base_addr) & ACRF)); in adapter_reset() 297 if (adapter->dmaing && time_after(jiffies, adapter->current_dma.start_time + 10)) { in check_3c505_dma() 320 for (timeout = jiffies + 5*HZ/100; time_before(jiffies, timeout);) { in send_pcb_slow() 419 for (timeout = jiffies + 5*HZ/100; time_before(jiffies, timeout);) { in send_pcb() 471 timeout = jiffies + 2*HZ/100; in receive_pcb() 472 while (((stat = get_status(dev->base_addr)) & ACRF) == 0 && time_before(jiffies, timeout)); in receive_pcb() [all …]
|
D | seeq8005.c | 271 j=jiffies+HZ; in seeq8005_probe1() 272 …while ( ((inw(SEEQ_STATUS) & SEEQSTAT_FIFO_EMPTY) != SEEQSTAT_FIFO_EMPTY) && time_before(jiffies, … in seeq8005_probe1() 275 …while ( ((inw(SEEQ_STATUS) & SEEQSTAT_WINDOW_INT) != SEEQSTAT_WINDOW_INT) && time_before(jiffies, … in seeq8005_probe1() 373 lp->open_time = jiffies; in seeq8005_open() 386 dev->trans_start = jiffies; in seeq8005_timeout() 406 dev->trans_start = jiffies; in seeq8005_send_packet() 427 tmp = jiffies + HZ; in wait_for_buffer() 428 …atus=inw(SEEQ_STATUS)) & SEEQSTAT_WINDOW_INT) != SEEQSTAT_WINDOW_INT) && time_before(jiffies, tmp)) in wait_for_buffer() 712 tmp = jiffies; in hardware_send_packet() 713 while ( (((status=inw(SEEQ_STATUS)) & SEEQSTAT_FIFO_EMPTY) == 0) && time_before(jiffies, tmp + HZ)) in hardware_send_packet()
|
/drivers/watchdog/ |
D | at91sam9_wdt.c | 88 if (time_before(jiffies, at91wdt_private.next_heartbeat) || in at91_ping() 91 mod_timer(&at91wdt_private.timer, jiffies + WDT_TIMEOUT); in at91_ping() 104 at91wdt_private.next_heartbeat = jiffies + heartbeat * HZ; in at91_wdt_open() 105 mod_timer(&at91wdt_private.timer, jiffies + WDT_TIMEOUT); in at91_wdt_open() 182 at91wdt_private.next_heartbeat = jiffies + heartbeat * HZ; in at91_wdt_ioctl() 190 at91wdt_private.next_heartbeat = jiffies + heartbeat * HZ; in at91_wdt_ioctl() 226 at91wdt_private.next_heartbeat = jiffies + heartbeat * HZ; in at91_wdt_write() 265 at91wdt_private.next_heartbeat = jiffies + heartbeat * HZ; in at91wdt_probe() 267 mod_timer(&at91wdt_private.timer, jiffies + WDT_TIMEOUT); in at91wdt_probe()
|
D | machzwd.c | 223 next_heartbeat = jiffies + ZF_USER_TIMEO; in zf_timer_on() 226 mod_timer(&zf_timer, jiffies + ZF_HW_TIMEO); in zf_timer_on() 245 if (time_before(jiffies, next_heartbeat)) { in zf_ping() 246 dprintk("time_before: %ld\n", next_heartbeat - jiffies); in zf_ping() 262 mod_timer(&zf_timer, jiffies + ZF_HW_TIMEO); in zf_ping() 300 next_heartbeat = jiffies + ZF_USER_TIMEO; in zf_write() 301 dprintk("user ping at %ld\n", jiffies); in zf_write()
|
D | ep93xx_wdt.c | 75 next_heartbeat = jiffies + (timeout * HZ); in wdt_startup() 78 mod_timer(&timer, jiffies + WDT_INTERVAL); in wdt_startup() 90 next_heartbeat = jiffies + (timeout * HZ); in wdt_keepalive() 200 if (time_before(jiffies, next_heartbeat)) in ep93xx_timer_ping() 204 mod_timer(&timer, jiffies + WDT_INTERVAL); in ep93xx_timer_ping()
|
D | sbc60xxwdt.c | 129 if (time_before(jiffies, next_heartbeat)) { in wdt_timer_ping() 133 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()
|
D | w83877f_wdt.c | 116 if (time_before(jiffies, next_heartbeat)) { in wdt_timer_ping() 124 mod_timer(&timer, jiffies + WDT_INTERVAL); in wdt_timer_ping() 161 next_heartbeat = jiffies + (timeout * HZ); in wdt_startup() 164 mod_timer(&timer, jiffies + WDT_INTERVAL); in wdt_startup() 184 next_heartbeat = jiffies + (timeout * HZ); in wdt_keepalive()
|
D | sc520_wdt.c | 144 if (time_before(jiffies, next_heartbeat)) { in wdt_timer_ping() 152 mod_timer(&timer, jiffies + WDT_INTERVAL); in wdt_timer_ping() 182 next_heartbeat = jiffies + (timeout * HZ); in wdt_startup() 185 mod_timer(&timer, jiffies + WDT_INTERVAL); in wdt_startup() 209 next_heartbeat = jiffies + (timeout * HZ); in wdt_keepalive()
|
/drivers/mtd/chips/ |
D | cfi_cmdset_0020.c | 266 timeo = jiffies + HZ; in do_read_onechip() 293 if (time_after(jiffies, timeo)) { in do_read_onechip() 337 if (time_after(jiffies, timeo)) { in do_read_onechip() 357 timeo = jiffies + HZ; in do_read_onechip() 442 timeo = jiffies + HZ; in do_write_buffer() 472 if (time_after(jiffies, timeo)) { in do_write_buffer() 492 timeo = jiffies + HZ; in do_write_buffer() 539 timeo = jiffies + (HZ/2); in do_write_buffer() 549 timeo = jiffies + (HZ / 2); /* FIXME */ in do_write_buffer() 559 if (time_after(jiffies, timeo)) { in do_write_buffer() [all …]
|
/drivers/media/dvb/frontends/ |
D | stv0297.c | 545 starttime = jiffies; in stv0297_set_frontend() 546 timeout = jiffies + msecs_to_jiffies(2000); in stv0297_set_frontend() 547 while (time_before(jiffies, timeout)) { in stv0297_set_frontend() 552 if (time_after(jiffies, timeout)) { in stv0297_set_frontend() 558 timeout = jiffies + msecs_to_jiffies(500); in stv0297_set_frontend() 559 while (time_before(jiffies, timeout)) { in stv0297_set_frontend() 566 if (time_after(jiffies, timeout)) { in stv0297_set_frontend() 571 timeout = jiffies + msecs_to_jiffies(delay); in stv0297_set_frontend() 572 while (time_before(jiffies, timeout)) { in stv0297_set_frontend() 579 if (time_after(jiffies, timeout)) { in stv0297_set_frontend() [all …]
|
/drivers/cdrom/ |
D | gdrom.c | 151 unsigned long timeout = jiffies + GDROM_DEFAULT_TIMEOUT; in gdrom_wait_clrbusy() 153 (time_before(jiffies, timeout))) in gdrom_wait_clrbusy() 155 return time_before(jiffies, timeout + 1); in gdrom_wait_clrbusy() 162 timeout = jiffies + GDROM_DEFAULT_TIMEOUT; in gdrom_wait_busy_sleeps() 163 while (!gdrom_is_busy() && time_before(jiffies, timeout)) in gdrom_wait_busy_sleeps() 209 timeout = jiffies + GDROM_DEFAULT_TIMEOUT; in gdrom_spicommand() 211 while (!gdrom_data_request() && time_before(jiffies, timeout)) in gdrom_spicommand() 213 if (!time_before(jiffies, timeout + 1)) { in gdrom_spicommand() 608 timeout = jiffies + HZ / 2; in gdrom_readdisk_dma() 609 while (gdrom_is_busy() && time_before(jiffies, timeout)) in gdrom_readdisk_dma() [all …]
|
/drivers/net/wireless/ |
D | arlan-main.c | 131 priv->tx_done_delayed = jiffies + priv->Conf->tx_delay_ms * HZ / 1000 + 1; in arlan_drop_tx() 163 jiffies, READSHMB(arlan->commandByte), in arlan_command() 169 if (time_after(jiffies, priv->lastReset + 5 * HZ)) in arlan_command() 295 priv->lastReset = jiffies; in arlan_command() 389 if (time_after(jiffies, in arlan_command() 391 || time_before(jiffies, in arlan_command() 399 priv->tx_last_sent = jiffies; in arlan_command() 454 priv->last_command_buff_free_time = jiffies; in arlan_command() 458 if (time_after(jiffies, priv->last_command_buff_free_time + HZ)) in arlan_command() 540 long lostTime = ((long)jiffies - (long)priv->registrationLastSeen) in arlan_registration_timer() [all …]
|
/drivers/telephony/ |
D | ixj.c | 780 j->pots_winkstart = jiffies; in ixj_wink() 798 j->timer.expires = jiffies + (hertz / samplerate); in ixj_add_timer() 878 if(time_after(jiffies, j->pstn_sleeptil) && !(j->flags.pots_pstn && j->hookstate)) { in ixj_pstn_state() 881 printk(KERN_INFO "IXJ DAA Ring Interrupt /dev/phone%d at %ld\n", j->board, jiffies); in ixj_pstn_state() 890 j->pstn_cid_received = jiffies; in ixj_pstn_state() 892 printk(KERN_INFO "IXJ DAA Caller_ID Interrupt /dev/phone%d at %ld\n", j->board, jiffies); in ixj_pstn_state() 898 printk(KERN_INFO "IXJ DAA Cadence Interrupt /dev/phone%d at %ld\n", j->board, jiffies); in ixj_pstn_state() 907 …if(j->m_DAAShadowRegs.SOP_REGS.SOP.cr1.bitreg.RMR != XR0.bitreg.RMR && time_after(jiffies, j->pstn… in ixj_pstn_state() 911 …RMR /dev/phone%d was %s for %ld\n", j->board, XR0.bitreg.RMR?"on":"off", jiffies - j->pstn_last_rm… in ixj_pstn_state() 914 j->pstn_last_rmr = jiffies; in ixj_pstn_state() [all …]
|
/drivers/scsi/aacraid/ |
D | commsup.c | 828 dev->fsa_dev[container].config_waiting_stamp = jiffies; in aac_handle_aif() 843 time_before(jiffies, dev->fsa_dev[container].config_waiting_stamp + AIF_SNIFF_TIMEOUT)) in aac_handle_aif() 849 time_before(jiffies, dev->fsa_dev[container].config_waiting_stamp + AIF_SNIFF_TIMEOUT)) in aac_handle_aif() 870 dev->fsa_dev[container].config_waiting_stamp = jiffies; in aac_handle_aif() 883 dev->fsa_dev[container].config_waiting_stamp = jiffies; in aac_handle_aif() 895 time_before(jiffies, dev->fsa_dev[container].config_waiting_stamp + AIF_SNIFF_TIMEOUT)) in aac_handle_aif() 900 dev->fsa_dev[container].config_waiting_stamp = jiffies; in aac_handle_aif() 983 time_before(jiffies, dev->fsa_dev[container].config_waiting_stamp + AIF_SNIFF_TIMEOUT)) in aac_handle_aif() 989 time_before(jiffies, dev->fsa_dev[container].config_waiting_stamp + AIF_SNIFF_TIMEOUT)) in aac_handle_aif() 1017 jiffies; in aac_handle_aif() [all …]
|
/drivers/media/video/ivtv/ |
D | ivtv-mailbox.c | 162 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/usb/host/ |
D | uhci-hub.c | 146 if (time_after_eq(jiffies, uhci->ports_timeout)) { in uhci_check_ports() 169 uhci->ports_timeout = jiffies + in uhci_check_ports() 176 } else if (time_after_eq(jiffies, in uhci_check_ports() 217 uhci->auto_stop_time = jiffies + HZ; in uhci_hub_status_data() 225 else if (time_after_eq(jiffies, uhci->auto_stop_time)) in uhci_hub_status_data() 337 uhci->ports_timeout = jiffies + msecs_to_jiffies(50); in uhci_hub_control() 378 uhci->ports_timeout = jiffies + in uhci_hub_control()
|
/drivers/char/ |
D | nwflash.c | 383 timeout = jiffies + 10 * HZ; in erase_block() 385 while (!(c1 & 0x80) && time_before(jiffies, timeout)) { in erase_block() 465 timeout = jiffies + 30 * HZ; in write_block() 509 timeout1 = jiffies + 1 * HZ; in write_block() 514 while (!(c1 & 0x80) && time_before(jiffies, timeout1)) in write_block() 520 if (time_after_eq(jiffies, timeout1)) { in write_block() 552 if (time_before(jiffies, timeout)) { in write_block()
|
/drivers/media/dvb/ttpci/ |
D | av7110_hw.c | 324 start = jiffies; in av7110_wait_msgstate() 326 err = time_after(jiffies, start + ARM_WAIT_FREE); in av7110_wait_msgstate() 359 start = jiffies; in __av7110_send_fw_cmd() 361 err = time_after(jiffies, start + ARM_WAIT_FREE); in __av7110_send_fw_cmd() 376 start = jiffies; in __av7110_send_fw_cmd() 378 err = time_after(jiffies, start + ARM_WAIT_SHAKE); in __av7110_send_fw_cmd() 416 start = jiffies; in __av7110_send_fw_cmd() 418 err = time_after(jiffies, start + ARM_WAIT_FREE); in __av7110_send_fw_cmd() 451 start = jiffies; in __av7110_send_fw_cmd() 453 err = time_after(jiffies, start + ARM_WAIT_FREE); in __av7110_send_fw_cmd() [all …]
|
/drivers/net/mlx4/ |
D | reset.c | 103 end = jiffies + MLX4_SEM_TIMEOUT_JIFFIES; in mlx4_reset() 110 } while (time_before(jiffies, end)); in mlx4_reset() 126 end = jiffies + MLX4_RESET_TIMEOUT_JIFFIES; in mlx4_reset() 133 } while (time_before(jiffies, end)); in mlx4_reset()
|
/drivers/i2c/busses/ |
D | i2c-highlander.c | 132 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() 401 dev->last_read_time = jiffies; /* initial read jiffies */ in highlander_i2c_probe()
|
/drivers/input/serio/ |
D | parkbd.c | 110 if (parkbd_counter && ((parkbd_counter == 11) || time_after(jiffies, parkbd_last + HZ/100))) { in parkbd_interrupt() 129 if ((parkbd_counter == parkbd_mode + 10) || time_after(jiffies, parkbd_last + HZ/100)) { in parkbd_interrupt() 140 parkbd_last = jiffies; in parkbd_interrupt() 165 parkbd_start = jiffies; in parkbd_getport()
|
/drivers/parport/ |
D | ieee1284_ops.c | 61 unsigned long expire = jiffies + dev->timeout; in parport_ieee1284_write_compat() 90 if (!time_before (jiffies, expire)) in parport_ieee1284_write_compat() 112 } while (time_before (jiffies, expire)); in parport_ieee1284_write_compat() 137 if (time_before (jiffies, expire)) in parport_ieee1284_write_compat() 429 unsigned long expire = jiffies + port->cad->timeout; in parport_ieee1284_ecp_write_data() 471 if (time_after_eq (jiffies, expire)) break; in parport_ieee1284_ecp_write_data() 518 unsigned long expire = jiffies + dev->timeout; in parport_ieee1284_ecp_read_data() 533 if (!time_before (jiffies, expire)) in parport_ieee1284_ecp_read_data() 665 unsigned long expire = jiffies + port->cad->timeout; in parport_ieee1284_ecp_write_addr() 707 if (time_after_eq (jiffies, expire)) break; in parport_ieee1284_ecp_write_addr()
|
/drivers/input/keyboard/ |
D | corgikbd.c | 170 && time_after(jiffies, corgikbd_data->suspend_jiffies + HZ)) { in corgikbd_scankeyboard() 172 corgikbd_data->suspend_jiffies=jiffies; in corgikbd_scankeyboard() 184 mod_timer(&corgikbd_data->timer, jiffies + msecs_to_jiffies(SCAN_INTERVAL)); in corgikbd_scankeyboard() 254 mod_timer(&corgikbd_data->htimer, jiffies + msecs_to_jiffies(HINGE_SCAN_INTERVAL)); in corgikbd_hinge_timer() 281 corgikbd->suspend_jiffies=jiffies; in corgikbd_resume() 317 corgikbd->suspend_jiffies=jiffies; in corgikbd_probe() 346 mod_timer(&corgikbd->htimer, jiffies + msecs_to_jiffies(HINGE_SCAN_INTERVAL)); in corgikbd_probe()
|
/drivers/net/wireless/libertas/ |
D | if_sdio.c | 254 timeout = jiffies + HZ; in if_sdio_card_to_host() 261 if (time_after(jiffies, timeout)) { in if_sdio_card_to_host() 354 timeout = jiffies + HZ; in if_sdio_host_to_card_worker() 361 if (time_after(jiffies, timeout)) { in if_sdio_host_to_card_worker() 420 timeout = jiffies + HZ; in if_sdio_prog_helper() 428 if (time_after(jiffies, timeout)) { in if_sdio_prog_helper() 460 timeout = jiffies + HZ; in if_sdio_prog_helper() 475 if (time_after(jiffies, timeout)) { in if_sdio_prog_helper() 536 timeout = jiffies + HZ; in if_sdio_prog_real() 544 if (time_after(jiffies, timeout)) { in if_sdio_prog_real() [all …]
|
/drivers/net/wireless/iwlwifi/ |
D | iwl-3945-rs.c | 195 if (time_after(jiffies, rs_sta->win[i].stamp + in iwl3945_rate_scale_flush_windows() 233 jiffies_to_msecs(jiffies - rs_sta->last_partial_flush); in iwl3945_bg_rate_scale_flush() 258 mod_timer(&rs_sta->rate_scale_flush, jiffies + in iwl3945_bg_rate_scale_flush() 261 rs_sta->last_partial_flush = jiffies; in iwl3945_bg_rate_scale_flush() 269 rs_sta->last_flush = jiffies; in iwl3945_bg_rate_scale_flush() 322 window->stamp = jiffies; in iwl3945_collect_tx_data() 410 rs_sta->last_partial_flush = jiffies; in rs_alloc_sta() 411 rs_sta->last_flush = jiffies; in rs_alloc_sta() 529 time_after(jiffies, rs_sta->last_flush + in rs_tx_status() 532 rs_sta->last_partial_flush = jiffies; in rs_tx_status() [all …]
|