/drivers/block/paride/ |
H A D | pg.c | 287 static int pg_wait(struct pg *dev, int go, int stop, unsigned long tmo, char *msg) argument 295 && time_before(jiffies, tmo)) { 302 to = time_after_eq(jiffies, tmo); 319 static int pg_command(struct pg *dev, char *cmd, int dlen, unsigned long tmo) argument 327 if (pg_wait(dev, STAT_BUSY | STAT_DRQ, 0, tmo, "before command")) 334 if (pg_wait(dev, STAT_BUSY, STAT_DRQ, tmo, "command DRQ")) 356 static int pg_completion(struct pg *dev, char *buf, unsigned long tmo) argument 361 tmo, "completion"); 379 tmo, "completion");
|
H A D | pt.c | 393 static int pt_poll_dsc(struct pt_unit *tape, int pause, int tmo, char *msg) argument 401 while (k < tmo) { 412 if ((k >= tmo) || (s & STAT_ERR)) { 413 if (k >= tmo) 424 static void pt_media_access_cmd(struct pt_unit *tape, int tmo, char *cmd, char *fun) argument 431 pt_poll_dsc(tape, HZ, tmo, fun); 483 static int pt_ready_wait(struct pt_unit *tape, int tmo) argument 489 while (k < tmo) {
|
H A D | pcd.c | 576 static int pcd_ready_wait(struct pcd_unit *cd, int tmo) argument 582 while (k < tmo) {
|
/drivers/dma/ioat/ |
H A D | dma_v2.h | 175 int ioat2_quiesce(struct ioat_chan_common *chan, unsigned long tmo); 176 int ioat2_reset_sync(struct ioat_chan_common *chan, unsigned long tmo);
|
H A D | dma_v2.c | 222 int ioat2_quiesce(struct ioat_chan_common *chan, unsigned long tmo) argument 224 unsigned long end = jiffies + tmo; 232 if (tmo && time_after(jiffies, end)) { 243 int ioat2_reset_sync(struct ioat_chan_common *chan, unsigned long tmo) argument 245 unsigned long end = jiffies + tmo;
|
H A D | dma_v3.c | 863 unsigned long tmo; local 937 tmo = wait_for_completion_timeout(&cmp, msecs_to_jiffies(3000)); 991 tmo = wait_for_completion_timeout(&cmp, msecs_to_jiffies(3000)); 1032 tmo = wait_for_completion_timeout(&cmp, msecs_to_jiffies(3000)); 1075 tmo = wait_for_completion_timeout(&cmp, msecs_to_jiffies(3000));
|
H A D | dma.c | 809 unsigned long tmo; local 858 tmo = wait_for_completion_timeout(&cmp, msecs_to_jiffies(3000)); 860 if (tmo == 0 ||
|
/drivers/scsi/qla2xxx/ |
H A D | qla_inline.h | 175 qla2x00_init_timer(srb_t *sp, unsigned long tmo) argument 178 sp->u.iocb_cmd.timer.expires = jiffies + tmo * HZ;
|
H A D | qla_sup.c | 244 uint16_t data, uint32_t tmo) 283 if (!--tmo) { 243 qla2x00_write_nvram_word_tmo(struct qla_hw_data *ha, uint32_t addr, uint16_t data, uint32_t tmo) argument
|
H A D | qla_init.c | 80 unsigned long tmo; local 84 tmo = ha->r_a_tov / 10 * 2; 90 tmo = ha->login_timeout; 92 return tmo;
|
/drivers/scsi/ |
H A D | sun3_scsi.c | 556 int tmo = 20000; /* .2 sec */ local 562 if(--tmo <= 0) {
|
/drivers/usb/core/ |
H A D | devio.c | 825 unsigned int tmo; local 848 tmo = ctrl.timeout; 863 snoop_urb(dev, NULL, pipe, ctrl.wLength, tmo, SUBMIT, NULL, 0); 868 tbuf, ctrl.wLength, tmo); 886 snoop_urb(dev, NULL, pipe, ctrl.wLength, tmo, SUBMIT, 892 tbuf, ctrl.wLength, tmo); 914 unsigned int tmo, len1, pipe; local 943 tmo = bulk.timeout; 949 snoop_urb(dev, NULL, pipe, len1, tmo, SUBMIT, NULL, 0); 952 i = usb_bulk_msg(dev, pipe, tbuf, len1, &len2, tmo); [all...] |
/drivers/video/omap/ |
H A D | lcd_mipid.c | 298 unsigned long tmo; local 301 tmo = jiffies + msecs_to_jiffies(100); 310 if (time_after(jiffies, tmo)) {
|
/drivers/net/wireless/bcmdhd/ |
H A D | dhd_linux.c | 764 * dhd_timeout_start(&tmo, usec); 765 * while (!dhd_timeout_expired(&tmo)) 768 * if (dhd_timeout_expired(&tmo)) 773 dhd_timeout_start(dhd_timeout_t *tmo, uint usec) argument 775 tmo->limit = usec; 776 tmo->increment = 0; 777 tmo->elapsed = 0; 778 tmo->tick = jiffies_to_usecs(1); 782 dhd_timeout_expired(dhd_timeout_t *tmo) argument 785 if (tmo [all...] |
H A D | dhd.h | 515 extern void dhd_timeout_start(dhd_timeout_t *tmo, uint usec); 516 extern int dhd_timeout_expired(dhd_timeout_t *tmo);
|
H A D | dhd_sdio.c | 4053 dhd_timeout_t tmo; local 4097 dhd_timeout_start(&tmo, DHD_WAIT_F2RDY * 1000); 4100 while (ready != enable && !dhd_timeout_expired(&tmo)) 4104 __FUNCTION__, enable, ready, tmo.elapsed));
|
/drivers/input/keyboard/ |
H A D | lm8323.c | 635 unsigned long tmo; local 678 tmo = jiffies + msecs_to_jiffies(100); 683 if (time_after(jiffies, tmo)) {
|
/drivers/net/phy/ |
H A D | dp83640.c | 77 unsigned long tmo; member in struct:rxts 233 rxts->tmo = jiffies + 2; 482 return time_after(jiffies, rxts->tmo);
|
/drivers/scsi/lpfc/ |
H A D | lpfc_ct.c | 307 uint32_t tmo, uint8_t retry) 346 if (!tmo) { 348 tmo = (3 * phba->fc_ratov); 350 icmd->ulpTimeout = tmo; 302 lpfc_gen_req(struct lpfc_vport *vport, struct lpfc_dmabuf *bmp, struct lpfc_dmabuf *inp, struct lpfc_dmabuf *outp, void (*cmpl) (struct lpfc_hba *, struct lpfc_iocbq *, struct lpfc_iocbq *), struct lpfc_nodelist *ndlp, uint32_t usr_flg, uint32_t num_entry, uint32_t tmo, uint8_t retry) argument
|
H A D | lpfc_hbadisc.c | 336 "FCF devloss tmo\n", nlp_did); 341 "2868 Devloss tmo to FCF rediscovery " 348 "2869 Devloss tmo to idle FIP engine, " 1919 "2872 Devloss tmo with no eligible " 2391 "2864 On devloss tmo " 4161 uint32_t tmo; local 4165 tmo = (((phba->fc_edtov + 999) / 1000) + 1); 4170 tmo = ((phba->fc_ratov * 3) + 3); 4176 "set disc timer: tmo:x%x state:x%x flg:x%x", 4177 tmo, vpor [all...] |
H A D | lpfc_els.c | 941 "status:x%x/x%x, tmo:x%x, perform " 1123 uint32_t tmo; local 1180 tmo = phba->fc_ratov; 1183 phba->fc_ratov = tmo;
|
/drivers/net/ethernet/ |
H A D | s6gmac.c | 655 static int s6mii_busy(struct s6gmac *pd, int tmo) argument 658 if (--tmo == 0)
|
/drivers/scsi/isci/ |
H A D | host.c | 1046 unsigned long tmo = sci_controller_get_suggested_start_timeout(ihost); local 1051 sci_controller_start(ihost, tmo);
|
/drivers/scsi/qla4xxx/ |
H A D | ql4_os.c | 4768 uint16_t tmo = 0; local 4795 tmo = ((ha->def_timeout > LOGIN_TOV) && 4800 "Default time to wait for build ddb %d\n", tmo)); 4802 wtime = jiffies + (HZ * tmo);
|