/drivers/i2c/busses/ |
H A D | i2c-bcm-kona.c | 256 unsigned long time_left = msecs_to_jiffies(I2C_TIMEOUT); local 273 time_left = wait_for_completion_timeout(&dev->done, time_left); 278 if (!time_left) { 294 unsigned long time_left = msecs_to_jiffies(I2C_TIMEOUT); local 308 time_left = wait_for_completion_timeout(&dev->done, time_left); 313 if (!time_left) { 359 unsigned long time_left = msecs_to_jiffies(I2C_TIMEOUT); local 380 time_left 405 unsigned long time_left = msecs_to_jiffies(I2C_TIMEOUT); local [all...] |
H A D | i2c-bcm2835.c | 150 int time_left; local 170 time_left = wait_for_completion_timeout(&i2c_dev->completion, 173 if (!time_left) {
|
H A D | i2c-mv64xxx.c | 584 long time_left; local 588 time_left = wait_event_timeout(drv_data->waitq, 592 if (!time_left) { /* Timed out */ 595 } else if (time_left < 0) { /* Interrupted/Error */ 596 drv_data->rc = time_left; /* errno value */ 604 time_left = wait_event_timeout(drv_data->waitq, 607 if ((time_left <= 0) && drv_data->block) { 611 "time_left: %d\n", drv_data->block, 612 (int)time_left);
|
H A D | i2c-riic.c | 121 unsigned long time_left; local 149 time_left = wait_for_completion_timeout(&riic->msg_done, riic->adapter.timeout); 150 if (time_left == 0)
|
/drivers/mfd/ |
H A D | twl6040.c | 262 int time_left; local 266 time_left = wait_for_completion_timeout(&twl6040->ready, 268 if (!time_left) {
|
/drivers/net/ethernet/freescale/ |
H A D | fec_main.c | 1766 unsigned long time_left; local 1777 time_left = wait_for_completion_timeout(&fep->mdio_done, 1779 if (time_left == 0) { 1793 unsigned long time_left; local 1805 time_left = wait_for_completion_timeout(&fep->mdio_done, 1807 if (time_left == 0) {
|
/drivers/net/wireless/ath/ath9k/ |
H A D | htc_drv_init.c | 58 int time_left; local 66 time_left = wait_for_completion_timeout(&priv->htc->target_wait, HZ); 67 if (!time_left) {
|
H A D | htc_hst.c | 149 int ret, time_left; local 171 time_left = wait_for_completion_timeout(&target->cmd_wait, HZ); 172 if (!time_left) { 187 int ret = 0, time_left; local 206 time_left = wait_for_completion_timeout(&target->cmd_wait, HZ); 207 if (!time_left) { 239 int ret, time_left; local 277 time_left = wait_for_completion_timeout(&target->cmd_wait, HZ); 278 if (!time_left) {
|
H A D | link.c | 175 int time_left; local 197 time_left = wait_for_completion_timeout(&sc->paprd_complete, 200 if (!time_left) 205 return !!time_left;
|
H A D | wmi.c | 294 int time_left, ret = 0; local 331 time_left = wait_for_completion_timeout(&wmi->cmd_wait, timeout); 332 if (!time_left) {
|
/drivers/scsi/ |
H A D | ipr.c | 8306 if (ipr_cmd->u.time_left) { 8308 ipr_cmd->u.time_left -= IPR_CHECK_FOR_RESET_TIMEOUT; 8334 ipr_cmd->u.time_left = IPR_WAIT_FOR_RESET_TIMEOUT; 8373 if (!ipr_reset_allowed(ioa_cfg) && ipr_cmd->u.time_left) { 8374 ipr_cmd->u.time_left -= IPR_CHECK_FOR_RESET_TIMEOUT; 8413 ipr_cmd->u.time_left = IPR_WAIT_FOR_RESET_TIMEOUT;
|
H A D | ipr.h | 1605 unsigned long time_left; member in union:ipr_cmnd::__anon5516
|
H A D | pmcraid.c | 381 cmd->time_left = 0; 611 cmd->time_left > 0) { 613 cmd->timer.expires = jiffies + cmd->time_left; 614 cmd->time_left = 0; 620 cmd->time_left = 0; 647 cmd->time_left = msecs_to_jiffies(PMCRAID_BIST_TIMEOUT); 671 cmd->time_left <= 0) { 679 cmd->time_left -= PMCRAID_CHECK_FOR_RESET_TIMEOUT; 718 cmd->time_left = PMCRAID_RESET_TIMEOUT;
|
H A D | pmcraid.h | 599 unsigned long time_left; member in union:pmcraid_cmd::__anon5968
|
/drivers/scsi/lpfc/ |
H A D | lpfc_bsg.c | 2544 int time_left; local 2635 time_left = wait_event_interruptible_timeout( 2640 ret_val = (time_left) ? -EINTR : -ETIMEDOUT; 3011 int time_left; local 3214 time_left = wait_event_interruptible_timeout( 3220 rc = (time_left) ? -EINTR : -ETIMEDOUT;
|
/drivers/scsi/ufs/ |
H A D | ufshcd.c | 1442 unsigned long time_left; local 1445 time_left = wait_for_completion_timeout(hba->dev_cmd.complete, 1450 if (likely(time_left)) { 1457 if (!time_left) {
|
/drivers/usb/host/ |
H A D | xhci-hub.c | 605 int time_left; variable 617 time_left = wait_for_completion_timeout( 623 if (time_left) {
|
/drivers/watchdog/ |
H A D | iTCO_wdt.c | 335 unsigned int time_left = 0; local 344 time_left = ticks_to_seconds(val16); 353 time_left = ticks_to_seconds(val8); 355 return time_left;
|
H A D | pcwd_pci.c | 417 static int pcipcwd_get_timeleft(int *time_left) argument 426 *time_left = (msb << 8) + lsb; 429 pr_debug("Time left before next reboot: %d\n", *time_left); 556 int time_left; local 558 if (pcipcwd_get_timeleft(&time_left)) 561 return put_user(time_left, p);
|
H A D | pcwd_usb.c | 347 int *time_left) 355 *time_left = (msb << 8) + lsb; 467 int time_left; local 469 if (usb_pcwd_get_timeleft(usb_pcwd_device, &time_left)) 472 return put_user(time_left, p); 346 usb_pcwd_get_timeleft(struct usb_pcwd_private *usb_pcwd, int *time_left) argument
|
H A D | sirfsoc_wdt.c | 46 int time_left; local 53 time_left = match - counter; 55 return time_left / CLOCK_FREQ;
|