/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() 195 unsigned long timeo = 400; in nand_wait_ready() local 198 return panic_nand_wait_ready(chip, timeo); in nand_wait_ready() 201 timeo = jiffies + msecs_to_jiffies(timeo); in nand_wait_ready() 206 } while (time_before(jiffies, timeo)); in nand_wait_ready() 220 static void nand_wait_status_ready(struct nand_chip *chip, unsigned long timeo) in nand_wait_status_ready() argument 224 timeo = jiffies + msecs_to_jiffies(timeo); in nand_wait_status_ready() 236 } while (time_before(jiffies, timeo)); in nand_wait_status_ready() 535 unsigned long timeo = 400; in nand_wait() local [all …]
|
D | internals.h | 107 void panic_nand_wait(struct nand_chip *chip, unsigned long timeo);
|
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 | 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 | omap2.c | 993 unsigned long timeo = jiffies; in omap_wait() local 996 timeo += msecs_to_jiffies(400); in omap_wait() 999 while (time_before(jiffies, timeo)) { in omap_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 | 875 unsigned long timeo; in get_chip() local 879 timeo = jiffies + HZ; in get_chip() 888 if (time_after(jiffies, timeo)) { in get_chip() 926 if (time_after(jiffies, timeo)) { in get_chip() 1417 unsigned long timeo; in do_otp_lock() local 1452 timeo = jiffies + msecs_to_jiffies(2); in do_otp_lock() 1457 if (time_after(jiffies, timeo)) { in do_otp_lock() 1645 unsigned long timeo = jiffies + HZ; in do_write_oneword_once() local 1669 timeo = jiffies + uWriteTimeout; in do_write_oneword_once() 1680 timeo = jiffies + (HZ / 2); /* FIXME */ in do_write_oneword_once() [all …]
|
D | cfi_cmdset_0001.c | 831 unsigned long timeo = jiffies + HZ; in chip_ready() local 896 if (time_after(jiffies, timeo)) { in chip_ready() 1295 unsigned int timeo, sleep_time, reset_timeo; in inval_cache_and_wait_for_operation() local 1302 timeo = chip_op_time_max; in inval_cache_and_wait_for_operation() 1303 if (!timeo) in inval_cache_and_wait_for_operation() 1304 timeo = 500000; in inval_cache_and_wait_for_operation() 1305 reset_timeo = timeo; in inval_cache_and_wait_for_operation() 1327 timeo = reset_timeo; in inval_cache_and_wait_for_operation() 1332 timeo = reset_timeo; in inval_cache_and_wait_for_operation() 1335 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, nonblock); 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 | 619 int timeo; in qlcnic_setup_idc_param() local 630 if (qlcnic_rom_fast_read(adapter, QLCNIC_ROM_DEV_INIT_TIMEOUT, &timeo)) in qlcnic_setup_idc_param() 631 timeo = QLCNIC_INIT_TIMEOUT_SECS; in qlcnic_setup_idc_param() 633 adapter->dev_init_timeo = timeo; in qlcnic_setup_idc_param() 635 if (qlcnic_rom_fast_read(adapter, QLCNIC_ROM_DRV_RESET_TIMEOUT, &timeo)) in qlcnic_setup_idc_param() 636 timeo = QLCNIC_RESET_TIMEOUT_SECS; in qlcnic_setup_idc_param() 638 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 | 147 int timeo = 1000 * 1000; /* 1 second */ in do_bsp_initiate_command() local 169 if (timeo <= 0) { in do_bsp_initiate_command() 173 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 | 1011 unsigned long timeo; in hinic_mbox_to_func() local 1034 timeo = msecs_to_jiffies(timeout ? timeout : HINIC_MBOX_COMP_TIME); in hinic_mbox_to_func() 1035 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 | 868 unsigned long timeo = msecs_to_jiffies(100); in bcm_qspi_bspi_exec_mem_op() local 934 if (!wait_for_completion_timeout(&qspi->bspi_done, timeo)) { in bcm_qspi_bspi_exec_mem_op() 954 unsigned long timeo = msecs_to_jiffies(100); in bcm_qspi_transfer_one() local 965 if (!wait_for_completion_timeout(&qspi->mspi_done, timeo)) { in bcm_qspi_transfer_one()
|
/drivers/net/wireless/marvell/libertas/ |
D | cmd.c | 939 int timeo = 3 * HZ; in lbs_submit_command() local 955 timeo = 5 * HZ; in lbs_submit_command() 980 mod_timer(&priv->command_timer, jiffies + timeo); in lbs_submit_command()
|
/drivers/mtd/nand/raw/brcmnand/ |
D | brcmnand.c | 1640 unsigned long timeo = msecs_to_jiffies( in brcmstb_nand_wait_for_completion() local 1643 sts = wait_for_completion_timeout(&ctrl->done, timeo); in brcmstb_nand_wait_for_completion() 1914 unsigned long timeo = msecs_to_jiffies(200); in brcmnand_edu_trans() local 1945 if (wait_for_completion_timeout(&ctrl->edu_done, timeo) <= 0) { in brcmnand_edu_trans() 2037 unsigned long timeo = msecs_to_jiffies(100); in brcmnand_dma_run() local 2052 if (wait_for_completion_timeout(&ctrl->dma_done, timeo) <= 0) { in brcmnand_dma_run()
|
/drivers/mtd/nand/spi/ |
D | core.c | 346 unsigned long timeo = jiffies + msecs_to_jiffies(400); in spinand_wait() local 357 } while (time_before(jiffies, timeo)); in spinand_wait()
|
/drivers/block/drbd/ |
D | drbd_worker.c | 1887 int timeo; in drbd_start_resync() local 1891 timeo = nc->ping_int * HZ + nc->ping_timeo * HZ / 9; in drbd_start_resync() 1893 schedule_timeout_interruptible(timeo); in drbd_start_resync()
|
D | drbd_receiver.c | 767 int timeo, connect_int, err = 0; in drbd_wait_for_connect() local 780 timeo = connect_int * HZ; in drbd_wait_for_connect() 782 timeo += (prandom_u32() & 1) ? timeo / 7 : -timeo / 7; in drbd_wait_for_connect() 784 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 | 1339 unsigned int timeo; in schedule_chk_task() local 1341 timeo = adap->params.linkpoll_period ? in schedule_chk_task() 1344 if (timeo) in schedule_chk_task() 1345 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); \
|