/drivers/scsi/csiostor/ |
D | csio_mb.c | 76 csio_mb_hello(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, in csio_mb_hello() argument 82 CSIO_INIT_MBP(mbp, cmdp, tmo, hw, cbfn, 1); in csio_mb_hello() 140 csio_mb_bye(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, in csio_mb_bye() argument 145 CSIO_INIT_MBP(mbp, cmdp, tmo, hw, cbfn, 1); in csio_mb_bye() 162 csio_mb_reset(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, in csio_mb_reset() argument 168 CSIO_INIT_MBP(mbp, cmdp, tmo, hw, cbfn, 1); in csio_mb_reset() 193 csio_mb_params(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, in csio_mb_params() argument 203 CSIO_INIT_MBP(mbp, cmdp, tmo, hw, cbfn, 1); in csio_mb_params() 264 csio_mb_ldst(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, int reg) in csio_mb_ldst() argument 267 CSIO_INIT_MBP(mbp, ldst_cmd, tmo, hw, NULL, 1); in csio_mb_ldst() [all …]
|
D | csio_mb.h | 103 (__mbp)->tmo = (__tmo); \ 127 uint32_t tmo; /* Timeout */ member 179 void csio_mb_ldst(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo,
|
D | csio_scsi.c | 241 wr->tmo_val = (uint8_t) req->tmo; in csio_scsi_init_cmd_wr() 400 wr->tmo_val = (uint8_t)(req->tmo); in csio_scsi_init_read_wr() 453 wr->tmo_val = (uint8_t)(req->tmo); in csio_scsi_init_write_wr() 684 wr->tmo_val = (uint8_t) req->tmo; in csio_scsi_init_abrt_cls_wr() 1257 csio_scsi_abort_io_q(struct csio_scsim *scm, struct list_head *q, uint32_t tmo) in csio_scsi_abort_io_q() argument 1261 int count = DIV_ROUND_UP(tmo, CSIO_SCSI_ABORT_Q_POLL_MS); in csio_scsi_abort_io_q() 1864 ioreq->tmo = 0; in csio_queuecommand() 1918 ioreq->tmo = CSIO_SCSI_ABRT_TMO_MS; in csio_do_abrt_cls() 1943 unsigned long tmo = 0; in csio_eh_abort_handler() local 1970 tmo = CSIO_SCSI_ABRT_TMO_MS; in csio_eh_abort_handler() [all …]
|
D | csio_wr.h | 246 uint32_t tmo; /* Driver timeout */ member
|
D | csio_hw.c | 3751 io_req->tmo -= min_t(uint32_t, io_req->tmo, ECM_MIN_TMO); in csio_mgmt_tmo_handler() 3753 if (!io_req->tmo) { in csio_mgmt_tmo_handler()
|
/drivers/block/paride/ |
D | pg.c | 287 static int pg_wait(struct pg *dev, int go, int stop, unsigned long tmo, char *msg) in pg_wait() argument 295 && time_before(jiffies, tmo)) { in pg_wait() 302 to = time_after_eq(jiffies, tmo); in pg_wait() 319 static int pg_command(struct pg *dev, char *cmd, int dlen, unsigned long tmo) in pg_command() argument 327 if (pg_wait(dev, STAT_BUSY | STAT_DRQ, 0, tmo, "before command")) in pg_command() 334 if (pg_wait(dev, STAT_BUSY, STAT_DRQ, tmo, "command DRQ")) in pg_command() 356 static int pg_completion(struct pg *dev, char *buf, unsigned long tmo) in pg_completion() argument 361 tmo, "completion"); in pg_completion() 379 tmo, "completion"); in pg_completion()
|
D | pt.c | 393 static int pt_poll_dsc(struct pt_unit *tape, int pause, int tmo, char *msg) in pt_poll_dsc() argument 401 while (k < tmo) { in pt_poll_dsc() 412 if ((k >= tmo) || (s & STAT_ERR)) { in pt_poll_dsc() 413 if (k >= tmo) in pt_poll_dsc() 424 static void pt_media_access_cmd(struct pt_unit *tape, int tmo, char *cmd, char *fun) in pt_media_access_cmd() argument 431 pt_poll_dsc(tape, HZ, tmo, fun); in pt_media_access_cmd() 483 static int pt_ready_wait(struct pt_unit *tape, int tmo) in pt_ready_wait() argument 489 while (k < tmo) { in pt_ready_wait()
|
D | pcd.c | 575 static int pcd_ready_wait(struct pcd_unit *cd, int tmo) in pcd_ready_wait() argument 581 while (k < tmo) { in pcd_ready_wait()
|
/drivers/dma/ioat/ |
D | dma_v2.h | 177 int ioat2_quiesce(struct ioat_chan_common *chan, unsigned long tmo); 178 int ioat2_reset_sync(struct ioat_chan_common *chan, unsigned long tmo);
|
D | dma_v2.c | 222 int ioat2_quiesce(struct ioat_chan_common *chan, unsigned long tmo) in ioat2_quiesce() argument 224 unsigned long end = jiffies + tmo; in ioat2_quiesce() 232 if (tmo && time_after(jiffies, end)) { in ioat2_quiesce() 243 int ioat2_reset_sync(struct ioat_chan_common *chan, unsigned long tmo) in ioat2_reset_sync() argument 245 unsigned long end = jiffies + tmo; in ioat2_reset_sync()
|
D | dma_v3.c | 1443 unsigned long tmo; in ioat_xor_val_self_test() local 1522 tmo = wait_for_completion_timeout(&cmp, msecs_to_jiffies(3000)); in ioat_xor_val_self_test() 1584 tmo = wait_for_completion_timeout(&cmp, msecs_to_jiffies(3000)); in ioat_xor_val_self_test() 1632 tmo = wait_for_completion_timeout(&cmp, msecs_to_jiffies(3000)); in ioat_xor_val_self_test() 1681 tmo = wait_for_completion_timeout(&cmp, msecs_to_jiffies(3000)); in ioat_xor_val_self_test()
|
D | dma.c | 809 unsigned long tmo; in ioat_dma_self_test() local 858 tmo = wait_for_completion_timeout(&cmp, msecs_to_jiffies(3000)); in ioat_dma_self_test() 860 if (tmo == 0 || in ioat_dma_self_test()
|
/drivers/scsi/qla2xxx/ |
D | qla_inline.h | 241 qla2x00_init_timer(srb_t *sp, unsigned long tmo) in qla2x00_init_timer() argument 244 sp->u.iocb_cmd.timer.expires = jiffies + tmo * HZ; in qla2x00_init_timer()
|
/drivers/usb/core/ |
D | devio.c | 874 unsigned int tmo; in proc_control() local 897 tmo = ctrl.timeout; in proc_control() 912 snoop_urb(dev, NULL, pipe, ctrl.wLength, tmo, SUBMIT, NULL, 0); in proc_control() 917 tbuf, ctrl.wLength, tmo); in proc_control() 935 snoop_urb(dev, NULL, pipe, ctrl.wLength, tmo, SUBMIT, in proc_control() 941 tbuf, ctrl.wLength, tmo); in proc_control() 963 unsigned int tmo, len1, pipe; in proc_bulk() local 992 tmo = bulk.timeout; in proc_bulk() 998 snoop_urb(dev, NULL, pipe, len1, tmo, SUBMIT, NULL, 0); in proc_bulk() 1001 i = usb_bulk_msg(dev, pipe, tbuf, len1, &len2, tmo); in proc_bulk() [all …]
|
/drivers/video/omap/ |
D | lcd_mipid.c | 298 unsigned long tmo; in mipid_run_test() local 301 tmo = jiffies + msecs_to_jiffies(100); in mipid_run_test() 310 if (time_after(jiffies, tmo)) { in mipid_run_test()
|
/drivers/net/ethernet/ti/ |
D | cpts.h | 104 unsigned long tmo; member
|
D | cpts.c | 43 return time_after(jiffies, event->tmo); in event_expired() 81 event->tmo = jiffies + 2; in cpts_fifo_read()
|
/drivers/scsi/ |
D | sun3_scsi.c | 556 int tmo = 20000; /* .2 sec */ in sun3scsi_dma_finish() local 562 if(--tmo <= 0) { in sun3scsi_dma_finish()
|
/drivers/input/keyboard/ |
D | lm8323.c | 635 unsigned long tmo; in lm8323_probe() local 678 tmo = jiffies + msecs_to_jiffies(100); in lm8323_probe() 683 if (time_after(jiffies, tmo)) { in lm8323_probe()
|
/drivers/scsi/libsas/ |
D | sas_init.c | 422 const unsigned long tmo = msecs_to_jiffies(25000); in sas_resume_ha() local 435 wait_event_timeout(ha->eh_wait_q, phys_suspended(ha) == 0, tmo); in sas_resume_ha()
|
/drivers/net/phy/ |
D | dp83640.c | 95 unsigned long tmo; member 251 rxts->tmo = jiffies + 2; in phy2rxts() 500 return time_after(jiffies, rxts->tmo); in expired()
|
/drivers/scsi/lpfc/ |
D | lpfc_ct.c | 295 uint32_t tmo, uint8_t retry) in lpfc_gen_req() argument 334 if (!tmo) { in lpfc_gen_req() 336 tmo = (3 * phba->fc_ratov); in lpfc_gen_req() 338 icmd->ulpTimeout = tmo; in lpfc_gen_req()
|
D | lpfc_hbadisc.c | 4257 uint32_t tmo; in lpfc_set_disctmo() local 4261 tmo = (((phba->fc_edtov + 999) / 1000) + 1); in lpfc_set_disctmo() 4266 tmo = ((phba->fc_ratov * 3) + 3); in lpfc_set_disctmo() 4273 tmo, vport->port_state, vport->fc_flag); in lpfc_set_disctmo() 4276 mod_timer(&vport->fc_disctmo, jiffies + msecs_to_jiffies(1000 * tmo)); in lpfc_set_disctmo() 4285 vport->port_state, tmo, in lpfc_set_disctmo()
|
/drivers/net/ethernet/ |
D | s6gmac.c | 655 static int s6mii_busy(struct s6gmac *pd, int tmo) in s6mii_busy() argument 658 if (--tmo == 0) in s6mii_busy()
|
/drivers/scsi/qla4xxx/ |
D | ql4_os.c | 5713 uint16_t tmo = 0; in qla4xxx_sysfs_ddb_conn_open() local 5738 tmo = ((ha->def_timeout > LOGIN_TOV) && in qla4xxx_sysfs_ddb_conn_open() 5743 "Default time to wait for login to ddb %d\n", tmo)); in qla4xxx_sysfs_ddb_conn_open() 5745 wtime = jiffies + (HZ * tmo); in qla4xxx_sysfs_ddb_conn_open() 6733 uint16_t tmo = 0; in qla4xxx_build_ddb_list() local 6760 tmo = ((ha->def_timeout > LOGIN_TOV) && in qla4xxx_build_ddb_list() 6765 "Default time to wait for build ddb %d\n", tmo)); in qla4xxx_build_ddb_list() 6767 wtime = jiffies + (HZ * tmo); in qla4xxx_build_ddb_list()
|