Home
last modified time | relevance | path

Searched refs:timeleft (Results 1 – 25 of 26) sorted by relevance

12

/drivers/staging/rts5208/
Drtsx_transport.c242 long timeleft; in rtsx_send_cmd() local
272 timeleft = wait_for_completion_interruptible_timeout( in rtsx_send_cmd()
274 if (timeleft <= 0) { in rtsx_send_cmd()
338 long timeleft; in rtsx_transfer_sglist_adma_partial() local
436 timeleft = wait_for_completion_interruptible_timeout( in rtsx_transfer_sglist_adma_partial()
438 if (timeleft <= 0) { in rtsx_transfer_sglist_adma_partial()
460 timeleft = wait_for_completion_interruptible_timeout( in rtsx_transfer_sglist_adma_partial()
462 if (timeleft <= 0) { in rtsx_transfer_sglist_adma_partial()
503 long timeleft; in rtsx_transfer_sglist_adma() local
581 timeleft = wait_for_completion_interruptible_timeout( in rtsx_transfer_sglist_adma()
[all …]
/drivers/w1/masters/
Dds1wm.c169 unsigned long timeleft; in ds1wm_reset() local
180 timeleft = wait_for_completion_timeout(&reset_done, DS1WM_TIMEOUT); in ds1wm_reset()
182 if (!timeleft) { in ds1wm_reset()
200 unsigned long timeleft; in ds1wm_write() local
209 timeleft = wait_for_completion_timeout(&write_done, DS1WM_TIMEOUT); in ds1wm_write()
212 if (!timeleft) { in ds1wm_write()
222 unsigned long timeleft; in ds1wm_read() local
232 timeleft = wait_for_completion_timeout(&read_done, DS1WM_TIMEOUT); in ds1wm_read()
235 if (!timeleft) { in ds1wm_read()
/drivers/watchdog/
Dsbsa_gwdt.c151 u64 timeleft = 0; in sbsa_gwdt_get_timeleft() local
160 timeleft += readl(gwdt->control_base + SBSA_GWDT_WOR); in sbsa_gwdt_get_timeleft()
162 timeleft += readq(gwdt->control_base + SBSA_GWDT_WCV) - in sbsa_gwdt_get_timeleft()
165 do_div(timeleft, gwdt->clk); in sbsa_gwdt_get_timeleft()
167 return timeleft; in sbsa_gwdt_get_timeleft()
Dw83627hf_wdt.c282 unsigned int timeleft; in wdt_get_time() local
290 timeleft = superio_inb(cr_wdt_timeout); in wdt_get_time()
293 return timeleft; in wdt_get_time()
Dwatchdog_dev.c389 unsigned int *timeleft) in watchdog_get_timeleft() argument
391 *timeleft = 0; in watchdog_get_timeleft()
396 *timeleft = wdd->ops->get_timeleft(wdd); in watchdog_get_timeleft()
451 static DEVICE_ATTR_RO(timeleft);
/drivers/input/serio/
Dambakmi.c57 unsigned int timeleft = 10000; /* timeout in 100ms */ in amba_kmi_write() local
59 while ((readb(KMISTAT) & KMISTAT_TXEMPTY) == 0 && --timeleft) in amba_kmi_write()
62 if (timeleft) in amba_kmi_write()
65 return timeleft ? 0 : SERIO_TIMEOUT; in amba_kmi_write()
/drivers/i2c/busses/
Di2c-xlp9xx.c230 unsigned long timeleft; in xlp9xx_i2c_xfer_msg() local
297 timeleft = msecs_to_jiffies(XLP9XX_I2C_TIMEOUT_MS); in xlp9xx_i2c_xfer_msg()
298 timeleft = wait_for_completion_timeout(&priv->msg_complete, timeleft); in xlp9xx_i2c_xfer_msg()
307 if (timeleft == 0) { in xlp9xx_i2c_xfer_msg()
Di2c-pmcmsp.c414 unsigned long timeleft = wait_for_completion_timeout( in pmcmsptwi_do_xfer() local
416 if (timeleft == 0) { in pmcmsptwi_do_xfer()
/drivers/bluetooth/
Dbtwilink.c152 unsigned long timeleft; in ti_st_open() local
190 timeleft = wait_for_completion_timeout in ti_st_open()
193 if (!timeleft) { in ti_st_open()
/drivers/net/wireless/intersil/prism54/
Dislpci_mgt.c465 int timeleft; in islpci_mgt_transaction() local
468 timeleft = schedule_timeout_uninterruptible(wait_cycle_jiffies); in islpci_mgt_transaction()
484 if (timeleft == 0) { in islpci_mgt_transaction()
491 timeout_left += timeleft - wait_cycle_jiffies; in islpci_mgt_transaction()
/drivers/media/radio/wl128x/
Dfmdrv_rx.c48 unsigned long timeleft; in fm_rx_set_freq() local
105 timeleft = wait_for_completion_timeout(&fmdev->maintask_comp, in fm_rx_set_freq()
107 if (!timeleft) { in fm_rx_set_freq()
176 unsigned long timeleft; in fm_rx_seek() local
249 timeleft = wait_for_completion_timeout(&fmdev->maintask_comp, in fm_rx_seek()
251 if (!timeleft) { in fm_rx_seek()
Dfmdrv_tx.c257 unsigned long timeleft; in enable_xmit() local
277 timeleft = wait_for_completion_timeout(&fmdev->maintask_comp, in enable_xmit()
279 if (!timeleft) { in enable_xmit()
/drivers/scsi/
Dscsi_error.c1022 unsigned long timeleft = timeout; in scsi_send_eh_cmnd() local
1035 if (timeleft > stall_for) { in scsi_send_eh_cmnd()
1037 timeleft -= stall_for; in scsi_send_eh_cmnd()
1042 timeleft = 0; in scsi_send_eh_cmnd()
1045 timeleft = wait_for_completion_timeout(&done, timeout); in scsi_send_eh_cmnd()
1055 __func__, timeleft)); in scsi_send_eh_cmnd()
1066 if (timeleft) { in scsi_send_eh_cmnd()
Daha152x.c1062 unsigned long timeleft; in aha152x_device_reset() local
1078 timeleft = wait_for_completion_timeout(&done, 100*HZ); in aha152x_device_reset()
1079 if (!timeleft) { in aha152x_device_reset()
/drivers/scsi/isci/
Dtask.c265 unsigned long timeleft; in isci_task_execute_tmf() local
319 timeleft = wait_for_completion_timeout(&completion, in isci_task_execute_tmf()
322 if (timeleft == 0) { in isci_task_execute_tmf()
/drivers/mfd/
Drtsx_pcr.c296 long timeleft; in rtsx_pci_send_cmd() local
317 timeleft = wait_for_completion_interruptible_timeout( in rtsx_pci_send_cmd()
319 if (timeleft <= 0) { in rtsx_pci_send_cmd()
415 long timeleft; in rtsx_pci_dma_transfer() local
446 timeleft = wait_for_completion_interruptible_timeout( in rtsx_pci_dma_transfer()
448 if (timeleft <= 0) { in rtsx_pci_dma_transfer()
/drivers/usb/storage/
Dtransport.c134 long timeleft; in usb_stor_msg_common() local
182 timeleft = wait_for_completion_interruptible_timeout( in usb_stor_msg_common()
187 if (timeleft <= 0) { in usb_stor_msg_common()
189 timeleft == 0 ? "Timeout" : "Signal"); in usb_stor_msg_common()
/drivers/message/fusion/
Dmptctl.c809 unsigned long timeleft; in mptctl_do_fw_download() local
950 timeleft = wait_for_completion_timeout(&iocp->ioctl_cmds.done, HZ*60); in mptctl_do_fw_download()
958 if (!timeleft) { in mptctl_do_fw_download()
1840 unsigned long timeleft; in mptctl_do_mpt_command() local
2296 timeleft = wait_for_completion_timeout(&ioc->ioctl_cmds.done, in mptctl_do_mpt_command()
2307 if (!timeleft) { in mptctl_do_mpt_command()
2435 unsigned long timeleft; in mptctl_hp_hostinfo() local
2610 timeleft = wait_for_completion_timeout(&ioc->ioctl_cmds.done, in mptctl_hp_hostinfo()
2619 if (!timeleft) { in mptctl_hp_hostinfo()
Dmptsas.c2087 unsigned long timeleft; in mptsas_phy_reset() local
2119 timeleft = wait_for_completion_timeout(&ioc->sas_mgmt.done, in mptsas_phy_reset()
2126 if (!timeleft) in mptsas_phy_reset()
2222 unsigned long timeleft; in mptsas_smp_handler() local
2307 timeleft = wait_for_completion_timeout(&ioc->sas_mgmt.done, 10 * HZ); in mptsas_smp_handler()
2314 if (!timeleft) in mptsas_smp_handler()
2845 unsigned long timeleft; in mptsas_exp_repmanufacture_info() local
2920 timeleft = wait_for_completion_timeout(&ioc->sas_mgmt.done, 10 * HZ); in mptsas_exp_repmanufacture_info()
2927 if (!timeleft) in mptsas_exp_repmanufacture_info()
4772 unsigned long timeleft; in mptsas_issue_tm() local
[all …]
Dmptspi.c629 unsigned long timeleft; in mptscsih_quiesce_raid() local
664 timeleft = wait_for_completion_timeout(&ioc->internal_cmds.done, 10*HZ); in mptscsih_quiesce_raid()
671 if (!timeleft) { in mptscsih_quiesce_raid()
Dmptscsih.c1526 unsigned long timeleft; in mptscsih_IssueTaskMgmt() local
1624 timeleft = wait_for_completion_timeout(&ioc->taskmgmt_cmds.done, in mptscsih_IssueTaskMgmt()
2792 unsigned long timeleft; in mptscsih_do_cmd() local
2971 timeleft = wait_for_completion_timeout(&ioc->internal_cmds.done, in mptscsih_do_cmd()
2982 if (!timeleft) { in mptscsih_do_cmd()
Dmptbase.c5070 unsigned long timeleft; in mptbase_sas_persist_operation() local
5109 timeleft = wait_for_completion_timeout(&ioc->mptbase_cmds.done, 10*HZ); in mptbase_sas_persist_operation()
5115 if (!timeleft) { in mptbase_sas_persist_operation()
6352 unsigned long timeleft; in mpt_config() local
6461 timeleft = wait_for_completion_timeout(&ioc->mptbase_cmds.done, in mpt_config()
6469 pReq->Action, ioc->mptbase_cmds.status, timeleft)); in mpt_config()
6472 if (!timeleft) { in mpt_config()
6512 ioc->name, ret, timeleft); in mpt_config()
/drivers/net/wireless/ath/ath6kl/
Dinit.c1708 long timeleft; in __ath6kl_init_hw_start() local
1771 timeleft = wait_event_interruptible_timeout(ar->event_wq, in __ath6kl_init_hw_start()
1775 if (timeleft <= 0) { in __ath6kl_init_hw_start()
1778 timeleft); in __ath6kl_init_hw_start()
/drivers/scsi/megaraid/
Dmegaraid_sas_fusion.c3003 unsigned long timeleft; in megasas_issue_tm() local
3069 timeleft = wait_for_completion_timeout(&cmd_fusion->done, 50 * HZ); in megasas_issue_tm()
3071 if (!timeleft) { in megasas_issue_tm()
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dsdio.c3142 int timeleft; in brcmf_sdio_bus_rxctl() local
3155 timeleft = brcmf_sdio_dcmd_resp_wait(bus, &bus->rxlen, &pending); in brcmf_sdio_bus_rxctl()
3170 } else if (timeleft == 0) { in brcmf_sdio_bus_rxctl()

12