/drivers/mtd/nand/raw/ |
D | nand_legacy.c | 174 static void panic_nand_wait_ready(struct nand_chip *chip, unsigned long timeo) in panic_nand_wait_ready() argument 179 for (i = 0; i < timeo; i++) { in panic_nand_wait_ready() 196 unsigned long timeo = 400; in nand_wait_ready() local 199 return panic_nand_wait_ready(chip, timeo); in nand_wait_ready() 202 timeo = jiffies + msecs_to_jiffies(timeo); in nand_wait_ready() 207 } while (time_before(jiffies, timeo)); in nand_wait_ready() 221 static void nand_wait_status_ready(struct nand_chip *chip, unsigned long timeo) in nand_wait_status_ready() argument 225 timeo = jiffies + msecs_to_jiffies(timeo); in nand_wait_status_ready() 237 } while (time_before(jiffies, timeo)); in nand_wait_status_ready() 536 unsigned long timeo = 400; in nand_wait() local [all …]
|
D | davinci_nand.c | 262 unsigned long timeo; in nand_davinci_correct_4bit() local 314 timeo = jiffies + usecs_to_jiffies(100); in nand_davinci_correct_4bit() 319 } while ((ecc_state < 4) && time_before(jiffies, timeo)); in nand_davinci_correct_4bit()
|
D | internals.h | 112 void panic_nand_wait(struct nand_chip *chip, unsigned long timeo);
|
D | diskonchip.c | 239 unsigned long timeo = jiffies + (HZ * 10); in _DoC_WaitReady() local 246 if (time_after(jiffies, timeo)) { in _DoC_WaitReady() 255 if (time_after(jiffies, timeo)) { in _DoC_WaitReady()
|
D | nand_base.c | 750 void panic_nand_wait(struct nand_chip *chip, unsigned long timeo) in panic_nand_wait() argument 753 for (i = 0; i < timeo; i++) { in panic_nand_wait()
|
/drivers/mtd/chips/ |
D | cfi_cmdset_0020.c | 251 unsigned long timeo; in do_read_onechip() local 265 timeo = jiffies + HZ; in do_read_onechip() 292 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() 425 unsigned long cmd_adr, timeo; in do_write_buffer() local 440 timeo = jiffies + HZ; in do_write_buffer() 470 if (time_after(jiffies, timeo)) { in do_write_buffer() 490 timeo = jiffies + HZ; in do_write_buffer() 537 timeo = jiffies + (HZ/2); in do_write_buffer() [all …]
|
D | cfi_cmdset_0002.c | 880 unsigned long timeo; in get_chip() local 884 timeo = jiffies + HZ; in get_chip() 893 if (time_after(jiffies, timeo)) { in get_chip() 932 if (time_after(jiffies, timeo)) { in get_chip() 1423 unsigned long timeo; in do_otp_lock() local 1458 timeo = jiffies + msecs_to_jiffies(2); in do_otp_lock() 1463 if (time_after(jiffies, timeo)) { in do_otp_lock() 1651 unsigned long timeo; in do_write_oneword_once() local 1675 timeo = jiffies + uWriteTimeout; in do_write_oneword_once() 1686 timeo = jiffies + (HZ / 2); /* FIXME */ in do_write_oneword_once() [all …]
|
D | cfi_cmdset_0001.c | 832 unsigned long timeo = jiffies + HZ; in chip_ready() local 897 if (time_after(jiffies, timeo)) { in chip_ready() 1296 unsigned int timeo, sleep_time, reset_timeo; in inval_cache_and_wait_for_operation() local 1303 timeo = chip_op_time_max; in inval_cache_and_wait_for_operation() 1304 if (!timeo) in inval_cache_and_wait_for_operation() 1305 timeo = 500000; in inval_cache_and_wait_for_operation() 1306 reset_timeo = timeo; in inval_cache_and_wait_for_operation() 1328 timeo = reset_timeo; in inval_cache_and_wait_for_operation() 1333 timeo = reset_timeo; in inval_cache_and_wait_for_operation() 1336 if (!timeo) { in inval_cache_and_wait_for_operation() [all …]
|
/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
D | chtls_io.c | 1016 long timeo; in chtls_sendmsg() local 1020 timeo = sock_sndtimeo(sk, flags & MSG_DONTWAIT); in chtls_sendmsg() 1023 err = sk_stream_wait_connect(sk, &timeo); in chtls_sendmsg() 1203 err = csk_wait_memory(cdev, sk, &timeo); in chtls_sendmsg() 1237 long timeo; in chtls_sendpage() local 1244 timeo = sock_sndtimeo(sk, flags & MSG_DONTWAIT); in chtls_sendpage() 1246 err = sk_stream_wait_connect(sk, &timeo); in chtls_sendpage() 1316 err = csk_wait_memory(cdev, sk, &timeo); in chtls_sendpage() 1440 long timeo; in chtls_pt_recvmsg() local 1444 timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT); in chtls_pt_recvmsg() [all …]
|
/drivers/mtd/lpddr/ |
D | lpddr_cmds.c | 128 unsigned int timeo, reset_timeo, sleep_time; in wait_for_ready() local 134 timeo = chip_op_time * 8; in wait_for_ready() 135 if (!timeo) in wait_for_ready() 136 timeo = 500000; in wait_for_ready() 137 reset_timeo = timeo; in wait_for_ready() 144 if (!timeo) { in wait_for_ready() 160 timeo -= sleep_time; in wait_for_ready() 165 timeo--; in wait_for_ready() 181 timeo = reset_timeo; in wait_for_ready()
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_init.c | 617 int timeo; in qlcnic_setup_idc_param() local 628 if (qlcnic_rom_fast_read(adapter, QLCNIC_ROM_DEV_INIT_TIMEOUT, &timeo)) in qlcnic_setup_idc_param() 629 timeo = QLCNIC_INIT_TIMEOUT_SECS; in qlcnic_setup_idc_param() 631 adapter->dev_init_timeo = timeo; in qlcnic_setup_idc_param() 633 if (qlcnic_rom_fast_read(adapter, QLCNIC_ROM_DRV_RESET_TIMEOUT, &timeo)) in qlcnic_setup_idc_param() 634 timeo = QLCNIC_RESET_TIMEOUT_SECS; in qlcnic_setup_idc_param() 636 adapter->reset_ack_timeo = timeo; in qlcnic_setup_idc_param()
|
/drivers/input/mouse/ |
D | hgpk.c | 695 int timeo; in hgpk_toggle_powersave() local 712 for (timeo = 20; timeo > 0; timeo--) { in hgpk_toggle_powersave()
|
/drivers/soc/bcm/brcmstb/pm/ |
D | pm-arm.c | 149 int timeo = 1000 * 1000; /* 1 second */ in do_bsp_initiate_command() local 171 if (timeo <= 0) { in do_bsp_initiate_command() 175 timeo -= 50; in do_bsp_initiate_command()
|
/drivers/net/ethernet/huawei/hinic/ |
D | hinic_hw_mgmt.c | 256 unsigned long timeo; in msg_to_mgmt_sync() local 280 timeo = msecs_to_jiffies(timeout ? timeout : MGMT_MSG_TIMEOUT); in msg_to_mgmt_sync() 282 if (!wait_for_completion_timeout(recv_done, timeo)) { in msg_to_mgmt_sync()
|
D | hinic_hw_mbox.c | 1006 unsigned long timeo; in hinic_mbox_to_func() local 1029 timeo = msecs_to_jiffies(timeout ? timeout : HINIC_MBOX_COMP_TIME); in hinic_mbox_to_func() 1030 if (!wait_for_completion_timeout(&mbox_for_resp->recv_done, timeo)) { in hinic_mbox_to_func()
|
/drivers/net/wireless/marvell/libertas_tf/ |
D | cmd.c | 239 int timeo = 5 * HZ; in lbtf_submit_command() local 262 timeo = HZ; in lbtf_submit_command() 266 mod_timer(&priv->command_timer, jiffies + timeo); in lbtf_submit_command()
|
/drivers/spi/ |
D | spi-bcm-qspi.c | 1041 unsigned long timeo = msecs_to_jiffies(100); in bcm_qspi_bspi_exec_mem_op() local 1107 if (!wait_for_completion_timeout(&qspi->bspi_done, timeo)) { in bcm_qspi_bspi_exec_mem_op() 1127 unsigned long timeo = msecs_to_jiffies(100); in bcm_qspi_transfer_one() local 1138 if (!wait_for_completion_timeout(&qspi->mspi_done, timeo)) { in bcm_qspi_transfer_one()
|
/drivers/net/wireless/marvell/libertas/ |
D | cmd.c | 938 int timeo = 3 * HZ; in lbs_submit_command() local 954 timeo = 5 * HZ; in lbs_submit_command() 979 mod_timer(&priv->command_timer, jiffies + timeo); in lbs_submit_command()
|
/drivers/mtd/nand/raw/brcmnand/ |
D | brcmnand.c | 1671 unsigned long timeo = msecs_to_jiffies( in brcmstb_nand_wait_for_completion() local 1674 sts = wait_for_completion_timeout(&ctrl->done, timeo); in brcmstb_nand_wait_for_completion() 1946 unsigned long timeo = msecs_to_jiffies(200); in brcmnand_edu_trans() local 1992 if (wait_for_completion_timeout(&ctrl->edu_done, timeo) <= 0) { in brcmnand_edu_trans() 2092 unsigned long timeo = msecs_to_jiffies(100); in brcmnand_dma_run() local 2107 if (wait_for_completion_timeout(&ctrl->dma_done, timeo) <= 0) { in brcmnand_dma_run()
|
/drivers/block/drbd/ |
D | drbd_worker.c | 1886 int timeo; in drbd_start_resync() local 1890 timeo = nc->ping_int * HZ + nc->ping_timeo * HZ / 9; in drbd_start_resync() 1892 schedule_timeout_interruptible(timeo); in drbd_start_resync()
|
D | drbd_receiver.c | 769 int timeo, connect_int, err = 0; in drbd_wait_for_connect() local 782 timeo = connect_int * HZ; in drbd_wait_for_connect() 784 timeo += prandom_u32_max(2) ? timeo / 7 : -timeo / 7; in drbd_wait_for_connect() 786 err = wait_for_completion_interruptible_timeout(&ad->door_bell, timeo); in drbd_wait_for_connect()
|
D | drbd_nl.c | 688 int timeo; in drbd_set_role() local 692 timeo = nc ? (nc->ping_timeo + 1) * HZ / 10 : 1; in drbd_set_role() 694 schedule_timeout_interruptible(timeo); in drbd_set_role()
|
/drivers/net/ethernet/chelsio/cxgb3/ |
D | cxgb3_main.c | 1338 unsigned int timeo; in schedule_chk_task() local 1340 timeo = adap->params.linkpoll_period ? in schedule_chk_task() 1343 if (timeo) in schedule_chk_task() 1344 queue_delayed_work(cxgb3_wq, &adap->adap_check_task, timeo); in schedule_chk_task()
|
/drivers/usb/atm/ |
D | ueagle-atm.c | 547 #define uea_wait(sc, cond, timeo) \ argument 550 (cond) || kthread_should_stop(), timeo); \
|
/drivers/net/ethernet/emulex/benet/ |
D | be_main.c | 2870 u16 cmpl = 0, timeo = 0, num_wrbs = 0; in be_tx_compl_clean() local 2894 timeo = 0; in be_tx_compl_clean() 2900 if (pending_txqs == 0 || ++timeo > 10 || in be_tx_compl_clean()
|