/drivers/w1/masters/ |
D | ds1wm.c | 169 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/staging/rts5139/ |
D | rts51x_transport.c | 183 long timeleft; in rts51x_msg_common() local 232 timeleft = in rts51x_msg_common() 240 if (timeleft <= 0) { in rts51x_msg_common() 242 timeleft == 0 ? "Timeout" : "Signal"); in rts51x_msg_common() 244 if (timeleft == 0) in rts51x_msg_common() 403 long timeleft; in rts51x_sg_wait() local 458 timeleft = in rts51x_sg_wait() 463 if (timeleft <= 0) { in rts51x_sg_wait() 465 timeleft == 0 ? "Timeout" : "Signal"); in rts51x_sg_wait() 467 if (timeleft == 0) in rts51x_sg_wait()
|
/drivers/input/serio/ |
D | ambakmi.c | 58 unsigned int timeleft = 10000; /* timeout in 100ms */ in amba_kmi_write() local 60 while ((readb(KMISTAT) & KMISTAT_TXEMPTY) == 0 && --timeleft) in amba_kmi_write() 63 if (timeleft) in amba_kmi_write() 66 return timeleft ? 0 : SERIO_TIMEOUT; in amba_kmi_write()
|
/drivers/watchdog/ |
D | w83627hf_wdt.c | 180 int timeleft; in wdt_get_time() local 187 timeleft = inb_p(WDT_EFDR); /* Read Timeout counter to CRF6 */ in wdt_get_time() 193 return timeleft; in wdt_get_time()
|
D | watchdog_dev.c | 229 unsigned int *timeleft) in watchdog_get_timeleft() argument 233 *timeleft = 0; in watchdog_get_timeleft() 244 *timeleft = wddev->ops->get_timeleft(wddev); in watchdog_get_timeleft()
|
/drivers/bluetooth/ |
D | btwilink.c | 154 unsigned long timeleft; in ti_st_open() local 196 timeleft = wait_for_completion_timeout in ti_st_open() 199 if (!timeleft) { in ti_st_open()
|
/drivers/net/wireless/prism54/ |
D | islpci_mgt.c | 466 int timeleft; in islpci_mgt_transaction() local 469 timeleft = schedule_timeout_uninterruptible(wait_cycle_jiffies); in islpci_mgt_transaction() 485 if (timeleft == 0) { in islpci_mgt_transaction() 492 timeout_left += timeleft - wait_cycle_jiffies; in islpci_mgt_transaction()
|
/drivers/media/radio/wl128x/ |
D | fmdrv_rx.c | 48 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()
|
D | fmdrv_tx.c | 257 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/ |
D | scsi_error.c | 795 unsigned long timeleft = timeout; in scsi_send_eh_cmnd() local 808 if (timeleft > stall_for) { in scsi_send_eh_cmnd() 810 timeleft -= stall_for; in scsi_send_eh_cmnd() 815 timeleft = 0; in scsi_send_eh_cmnd() 818 timeleft = wait_for_completion_timeout(&done, timeout); in scsi_send_eh_cmnd() 827 __func__, scmd, timeleft)); in scsi_send_eh_cmnd() 838 if (timeleft) { in scsi_send_eh_cmnd()
|
/drivers/mfd/ |
D | rtsx_pcr.c | 261 long timeleft; in rtsx_pci_send_cmd() local 282 timeleft = wait_for_completion_interruptible_timeout( in rtsx_pci_send_cmd() 284 if (timeleft <= 0) { in rtsx_pci_send_cmd() 339 long timeleft; in rtsx_pci_transfer_data() local 389 timeleft = wait_for_completion_interruptible_timeout( in rtsx_pci_transfer_data() 391 if (timeleft <= 0) { in rtsx_pci_transfer_data()
|
/drivers/scsi/isci/ |
D | task.c | 272 unsigned long timeleft; in isci_task_execute_tmf() local 326 timeleft = wait_for_completion_timeout(&completion, in isci_task_execute_tmf() 329 if (timeleft == 0) { in isci_task_execute_tmf()
|
/drivers/staging/keucr/ |
D | transport.c | 35 long timeleft; in usb_stor_msg_common() local 68 timeleft = wait_for_completion_interruptible_timeout(&urb_done, in usb_stor_msg_common() 72 if (timeleft <= 0) { in usb_stor_msg_common()
|
/drivers/scsi/mpt3sas/ |
D | mpt3sas_transport.c | 302 unsigned long timeleft; in _transport_expander_report_manufacture() local 396 timeleft = wait_for_completion_timeout(&ioc->transport_cmds.done, in _transport_expander_report_manufacture() 1084 unsigned long timeleft; in _transport_get_expander_phy_error_log() local 1180 timeleft = wait_for_completion_timeout(&ioc->transport_cmds.done, in _transport_get_expander_phy_error_log() 1394 unsigned long timeleft; in _transport_expander_phy_control() local 1510 timeleft = wait_for_completion_timeout(&ioc->transport_cmds.done, in _transport_expander_phy_control() 1887 unsigned long timeleft; in _transport_smp_handler() local 2030 timeleft = wait_for_completion_timeout(&ioc->transport_cmds.done, in _transport_smp_handler()
|
D | mpt3sas_ctl.c | 619 unsigned long timeout, timeleft; in _ctl_do_mpt_command() local 892 timeleft = wait_for_completion_timeout(&ioc->ctl_cmds.done, in _ctl_do_mpt_command() 1348 unsigned long timeleft; in _ctl_diag_register_2() local 1466 timeleft = wait_for_completion_timeout(&ioc->ctl_cmds.done, in _ctl_diag_register_2() 1767 unsigned long timeleft; in mpt3sas_send_diag_release() local 1815 timeleft = wait_for_completion_timeout(&ioc->ctl_cmds.done, in mpt3sas_send_diag_release() 1962 unsigned long timeleft, request_size, copy_size; in _ctl_diag_read_buffer() local 2083 timeleft = wait_for_completion_timeout(&ioc->ctl_cmds.done, in _ctl_diag_read_buffer()
|
/drivers/scsi/mpt2sas/ |
D | mpt2sas_transport.c | 298 unsigned long timeleft; in _transport_expander_report_manufacture() local 406 timeleft = wait_for_completion_timeout(&ioc->transport_cmds.done, in _transport_expander_report_manufacture() 1088 unsigned long timeleft; in _transport_get_expander_phy_error_log() local 1198 timeleft = wait_for_completion_timeout(&ioc->transport_cmds.done, in _transport_get_expander_phy_error_log() 1411 unsigned long timeleft; in _transport_expander_phy_control() local 1528 timeleft = wait_for_completion_timeout(&ioc->transport_cmds.done, in _transport_expander_phy_control() 1904 unsigned long timeleft; in _transport_smp_handler() local 2070 timeleft = wait_for_completion_timeout(&ioc->transport_cmds.done, in _transport_smp_handler()
|
D | mpt2sas_ctl.c | 620 unsigned long timeout, timeleft; in _ctl_do_mpt_command() local 896 timeleft = wait_for_completion_timeout(&ioc->ctl_cmds.done, in _ctl_do_mpt_command() 1353 unsigned long timeleft; in _ctl_diag_register_2() local 1457 timeleft = wait_for_completion_timeout(&ioc->ctl_cmds.done, in _ctl_diag_register_2() 1745 unsigned long timeleft; in _ctl_send_release() local 1789 timeleft = wait_for_completion_timeout(&ioc->ctl_cmds.done, in _ctl_send_release() 1930 unsigned long timeleft, request_size, copy_size; in _ctl_diag_read_buffer() local 2046 timeleft = wait_for_completion_timeout(&ioc->ctl_cmds.done, in _ctl_diag_read_buffer()
|
D | mpt2sas_base.c | 3169 unsigned long timeleft; in mpt2sas_base_sas_iounit_control() local 3222 timeleft = wait_for_completion_timeout(&ioc->base_cmds.done, in mpt2sas_base_sas_iounit_control() 3274 unsigned long timeleft; in mpt2sas_base_scsi_enclosure_processor() local 3324 timeleft = wait_for_completion_timeout(&ioc->base_cmds.done, in mpt2sas_base_scsi_enclosure_processor() 3619 unsigned long timeleft; in _base_send_port_enable() local 3647 timeleft = wait_for_completion_timeout(&ioc->port_enable_cmds.done, in _base_send_port_enable() 3800 unsigned long timeleft; in _base_event_notification() local 3832 timeleft = wait_for_completion_timeout(&ioc->base_cmds.done, 30*HZ); in _base_event_notification()
|
/drivers/usb/storage/ |
D | transport.c | 131 long timeleft; in usb_stor_msg_common() local 175 timeleft = wait_for_completion_interruptible_timeout( in usb_stor_msg_common() 180 if (timeleft <= 0) { in usb_stor_msg_common() 182 timeleft == 0 ? "Timeout" : "Signal"); in usb_stor_msg_common()
|
/drivers/usb/host/ |
D | xhci.c | 2554 int timeleft; in xhci_configure_endpoint() local 2626 timeleft = wait_for_completion_interruptible_timeout( in xhci_configure_endpoint() 2629 if (timeleft <= 0) { in xhci_configure_endpoint() 2631 timeleft == 0 ? "Timeout" : "Signal", in xhci_configure_endpoint() 3334 int timeleft; in xhci_discover_or_reset_device() local 3412 timeleft = wait_for_completion_interruptible_timeout( in xhci_discover_or_reset_device() 3415 if (timeleft <= 0) { in xhci_discover_or_reset_device() 3417 timeleft == 0 ? "Timeout" : "Signal"); in xhci_discover_or_reset_device() 3585 int timeleft; in xhci_alloc_dev() local 3601 timeleft = wait_for_completion_interruptible_timeout(&xhci->addr_dev, in xhci_alloc_dev() [all …]
|
D | xhci-hub.c | 272 int timeleft; in xhci_stop_device() local 296 timeleft = wait_for_completion_interruptible_timeout( in xhci_stop_device() 299 if (timeleft <= 0) { in xhci_stop_device() 301 timeleft == 0 ? "Timeout" : "Signal"); in xhci_stop_device()
|
/drivers/message/fusion/ |
D | mptctl.c | 809 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() 1849 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() 2436 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()
|
D | mptsas.c | 2090 unsigned long timeleft; in mptsas_phy_reset() local 2122 timeleft = wait_for_completion_timeout(&ioc->sas_mgmt.done, in mptsas_phy_reset() 2129 if (!timeleft) in mptsas_phy_reset() 2225 unsigned long timeleft; in mptsas_smp_handler() local 2310 timeleft = wait_for_completion_timeout(&ioc->sas_mgmt.done, 10 * HZ); in mptsas_smp_handler() 2317 if (!timeleft) in mptsas_smp_handler() 2848 unsigned long timeleft; in mptsas_exp_repmanufacture_info() local 2923 timeleft = wait_for_completion_timeout(&ioc->sas_mgmt.done, 10 * HZ); in mptsas_exp_repmanufacture_info() 2930 if (!timeleft) in mptsas_exp_repmanufacture_info() 4778 unsigned long timeleft; in mptsas_issue_tm() local [all …]
|
D | mptspi.c | 630 unsigned long timeleft; in mptscsih_quiesce_raid() local 665 timeleft = wait_for_completion_timeout(&ioc->internal_cmds.done, 10*HZ); in mptscsih_quiesce_raid() 672 if (!timeleft) { in mptscsih_quiesce_raid()
|
/drivers/i2c/busses/ |
D | i2c-pmcmsp.c | 428 unsigned long timeleft = wait_for_completion_timeout( in pmcmsptwi_do_xfer() local 430 if (timeleft == 0) { in pmcmsptwi_do_xfer()
|