/linux-6.1.9/drivers/staging/rts5208/ |
D | rtsx_transport.c | 228 long timeleft; in rtsx_send_cmd() local 258 timeleft = wait_for_completion_interruptible_timeout(&trans_done, in rtsx_send_cmd() 260 if (timeleft <= 0) { in rtsx_send_cmd() 323 long timeleft; in rtsx_transfer_sglist_adma_partial() local 420 timeleft = wait_for_completion_interruptible_timeout(&trans_done, in rtsx_transfer_sglist_adma_partial() 422 if (timeleft <= 0) { in rtsx_transfer_sglist_adma_partial() 444 timeleft = wait_for_completion_interruptible_timeout(&trans_done, in rtsx_transfer_sglist_adma_partial() 446 if (timeleft <= 0) { in rtsx_transfer_sglist_adma_partial() 487 long timeleft; in rtsx_transfer_sglist_adma() local 564 timeleft = wait_for_completion_interruptible_timeout(&trans_done, in rtsx_transfer_sglist_adma() [all …]
|
/linux-6.1.9/drivers/w1/masters/ |
D | ds1wm.c | 222 unsigned long timeleft; in ds1wm_reset() local 233 timeleft = wait_for_completion_timeout(&reset_done, DS1WM_TIMEOUT); in ds1wm_reset() 235 if (!timeleft) { in ds1wm_reset() 253 unsigned long timeleft; in ds1wm_write() local 262 timeleft = wait_for_completion_timeout(&write_done, DS1WM_TIMEOUT); in ds1wm_write() 265 if (!timeleft) { in ds1wm_write() 275 unsigned long timeleft; in ds1wm_read() local 285 timeleft = wait_for_completion_timeout(&read_done, DS1WM_TIMEOUT); in ds1wm_read() 288 if (!timeleft) { in ds1wm_read()
|
/linux-6.1.9/drivers/input/serio/ |
D | ambakmi.c | 53 unsigned int timeleft = 10000; /* timeout in 100ms */ in amba_kmi_write() local 55 while ((readb(KMISTAT) & KMISTAT_TXEMPTY) == 0 && --timeleft) in amba_kmi_write() 58 if (timeleft) in amba_kmi_write() 61 return timeleft ? 0 : SERIO_TIMEOUT; in amba_kmi_write()
|
/linux-6.1.9/drivers/watchdog/ |
D | sbsa_gwdt.c | 170 u64 timeleft = 0; in sbsa_gwdt_get_timeleft() local 179 timeleft += sbsa_gwdt_reg_read(gwdt); in sbsa_gwdt_get_timeleft() 181 timeleft += lo_hi_readq(gwdt->control_base + SBSA_GWDT_WCV) - in sbsa_gwdt_get_timeleft() 184 do_div(timeleft, gwdt->clk); in sbsa_gwdt_get_timeleft() 186 return timeleft; in sbsa_gwdt_get_timeleft()
|
D | w83627hf_wdt.c | 298 unsigned int timeleft; in wdt_get_time() local 306 timeleft = superio_inb(cr_wdt_timeout); in wdt_get_time() 309 return timeleft; in wdt_get_time()
|
D | watchdog_dev.c | 429 unsigned int *timeleft) in watchdog_get_timeleft() argument 431 *timeleft = 0; in watchdog_get_timeleft() 436 *timeleft = wdd->ops->get_timeleft(wdd); in watchdog_get_timeleft() 511 static DEVICE_ATTR_RO(timeleft);
|
/linux-6.1.9/arch/powerpc/platforms/pseries/ |
D | cmm.c | 291 unsigned long timeleft; in cmm_thread() local 295 timeleft = msleep_interruptible(delay * 1000); in cmm_thread() 297 if (kthread_should_stop() || timeleft) in cmm_thread() 308 timeleft = msleep_interruptible(hotplug_delay * in cmm_thread() 310 if (kthread_should_stop() || timeleft) in cmm_thread()
|
/linux-6.1.9/drivers/i2c/busses/ |
D | i2c-xlp9xx.c | 326 unsigned long timeleft; in xlp9xx_i2c_xfer_msg() local 399 timeleft = msecs_to_jiffies(XLP9XX_I2C_TIMEOUT_MS); in xlp9xx_i2c_xfer_msg() 400 timeleft = wait_for_completion_timeout(&priv->msg_complete, timeleft); in xlp9xx_i2c_xfer_msg() 410 if (timeleft == 0) { in xlp9xx_i2c_xfer_msg()
|
/linux-6.1.9/drivers/media/radio/wl128x/ |
D | fmdrv_rx.c | 35 unsigned long timeleft; in fm_rx_set_freq() local 92 timeleft = wait_for_completion_timeout(&fmdev->maintask_comp, in fm_rx_set_freq() 94 if (!timeleft) { in fm_rx_set_freq() 163 unsigned long timeleft; in fm_rx_seek() local 236 timeleft = wait_for_completion_timeout(&fmdev->maintask_comp, in fm_rx_seek() 238 if (!timeleft) { in fm_rx_seek()
|
D | fmdrv_tx.c | 244 unsigned long timeleft; in enable_xmit() local 264 timeleft = wait_for_completion_timeout(&fmdev->maintask_comp, in enable_xmit() 266 if (!timeleft) { in enable_xmit()
|
/linux-6.1.9/drivers/scsi/ |
D | scsi_error.c | 1100 unsigned long timeleft = timeout, delay; in scsi_send_eh_cmnd() local 1118 while (sdev->sdev_state == SDEV_BLOCK && timeleft > 0) { in scsi_send_eh_cmnd() 1123 delay = min(timeleft, stall_for); in scsi_send_eh_cmnd() 1124 timeleft -= delay; in scsi_send_eh_cmnd() 1135 if (timeleft > stall_for) { in scsi_send_eh_cmnd() 1138 timeleft -= stall_for; in scsi_send_eh_cmnd() 1143 timeleft = 0; in scsi_send_eh_cmnd() 1146 timeleft = wait_for_completion_timeout(&done, timeout); in scsi_send_eh_cmnd() 1156 __func__, timeleft)); in scsi_send_eh_cmnd() 1167 if (timeleft) { in scsi_send_eh_cmnd()
|
D | aha152x.c | 1078 unsigned long timeleft; in aha152x_device_reset() local 1094 timeleft = wait_for_completion_timeout(&done, 100*HZ); in aha152x_device_reset() 1095 if (!timeleft) { in aha152x_device_reset()
|
/linux-6.1.9/drivers/scsi/isci/ |
D | task.c | 263 unsigned long timeleft; in isci_task_execute_tmf() local 317 timeleft = wait_for_completion_timeout(&completion, in isci_task_execute_tmf() 320 if (timeleft == 0) { in isci_task_execute_tmf()
|
/linux-6.1.9/drivers/usb/storage/ |
D | transport.c | 118 long timeleft; in usb_stor_msg_common() local 166 timeleft = wait_for_completion_interruptible_timeout( in usb_stor_msg_common() 171 if (timeleft <= 0) { in usb_stor_msg_common() 173 timeleft == 0 ? "Timeout" : "Signal"); in usb_stor_msg_common()
|
/linux-6.1.9/drivers/message/fusion/ |
D | mptctl.c | 797 unsigned long timeleft; in mptctl_do_fw_download() local 929 timeleft = wait_for_completion_timeout(&iocp->ioctl_cmds.done, HZ*60); in mptctl_do_fw_download() 937 if (!timeleft) { in mptctl_do_fw_download() 1746 unsigned long timeleft; in mptctl_do_mpt_command() local 2197 timeleft = wait_for_completion_timeout(&ioc->ioctl_cmds.done, in mptctl_do_mpt_command() 2208 if (!timeleft) { in mptctl_do_mpt_command() 2334 unsigned long timeleft; in mptctl_hp_hostinfo() local 2494 timeleft = wait_for_completion_timeout(&ioc->ioctl_cmds.done, in mptctl_hp_hostinfo() 2502 if (!timeleft) { in mptctl_hp_hostinfo()
|
D | mptspi.c | 624 unsigned long timeleft; in mptscsih_quiesce_raid() local 659 timeleft = wait_for_completion_timeout(&ioc->internal_cmds.done, 10*HZ); in mptscsih_quiesce_raid() 666 if (!timeleft) { in mptscsih_quiesce_raid()
|
D | mptsas.c | 2114 unsigned long timeleft; in mptsas_phy_reset() local 2146 timeleft = wait_for_completion_timeout(&ioc->sas_mgmt.done, in mptsas_phy_reset() 2153 if (!timeleft) in mptsas_phy_reset() 2247 unsigned long timeleft; in mptsas_smp_handler() local 2330 timeleft = wait_for_completion_timeout(&ioc->sas_mgmt.done, 10 * HZ); in mptsas_smp_handler() 2337 if (!timeleft) in mptsas_smp_handler() 2868 unsigned long timeleft; in mptsas_exp_repmanufacture_info() local 2944 timeleft = wait_for_completion_timeout(&ioc->sas_mgmt.done, 10 * HZ); in mptsas_exp_repmanufacture_info() 2951 if (!timeleft) in mptsas_exp_repmanufacture_info() 4796 unsigned long timeleft; in mptsas_issue_tm() local [all …]
|
D | mptbase.c | 5069 unsigned long timeleft; in mptbase_sas_persist_operation() local 5108 timeleft = wait_for_completion_timeout(&ioc->mptbase_cmds.done, 10*HZ); in mptbase_sas_persist_operation() 5114 if (!timeleft) { in mptbase_sas_persist_operation() 6366 unsigned long timeleft; in mpt_config() local 6466 timeleft = wait_for_completion_timeout(&ioc->mptbase_cmds.done, in mpt_config() 6474 pReq->Action, ioc->mptbase_cmds.status, timeleft)); in mpt_config() 6477 if (!timeleft) { in mpt_config() 6517 ioc->name, ret, timeleft); in mpt_config()
|
D | mptscsih.c | 2787 unsigned long timeleft; in mptscsih_do_cmd() local 2966 timeleft = wait_for_completion_timeout(&ioc->internal_cmds.done, in mptscsih_do_cmd() 2977 if (!timeleft) { in mptscsih_do_cmd()
|
/linux-6.1.9/drivers/misc/cardreader/ |
D | rtsx_pcr.c | 343 long timeleft; in rtsx_pci_send_cmd() local 364 timeleft = wait_for_completion_interruptible_timeout( in rtsx_pci_send_cmd() 366 if (timeleft <= 0) { in rtsx_pci_send_cmd() 470 long timeleft; in rtsx_pci_dma_transfer() local 501 timeleft = wait_for_completion_interruptible_timeout( in rtsx_pci_dma_transfer() 503 if (timeleft <= 0) { in rtsx_pci_dma_transfer()
|
/linux-6.1.9/drivers/net/wireless/ath/ath6kl/ |
D | init.c | 1708 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()
|
/linux-6.1.9/Documentation/watchdog/ |
D | watchdog-api.rst | 147 ioctl(fd, WDIOC_GETTIMELEFT, &timeleft); 148 printf("The timeout was is %d seconds\n", timeleft);
|
/linux-6.1.9/Documentation/ABI/testing/ |
D | sysfs-class-watchdog | 43 What: /sys/class/watchdog/watchdogn/timeleft
|
/linux-6.1.9/fs/ceph/ |
D | mds_client.c | 3151 long timeleft = wait_for_completion_killable_timeout( in ceph_mdsc_wait_request() local 3154 if (timeleft > 0) in ceph_mdsc_wait_request() 3156 else if (!timeleft) in ceph_mdsc_wait_request() 3159 err = timeleft; /* killed */ in ceph_mdsc_wait_request()
|
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | sdio.c | 3247 int timeleft; in brcmf_sdio_bus_rxctl() local 3260 timeleft = brcmf_sdio_dcmd_resp_wait(bus, &bus->rxlen, &pending); in brcmf_sdio_bus_rxctl() 3275 } else if (timeleft == 0) { in brcmf_sdio_bus_rxctl()
|