Home
last modified time | relevance | path

Searched refs:wait_time (Results 1 – 16 of 16) sorted by relevance

/drivers/usb/host/
Dpci-quirks.c492 int wait_time = 500; /* arbitrary; 5 seconds */ in quirk_usb_handoff_ohci() local
495 while (wait_time > 0 && in quirk_usb_handoff_ohci()
497 wait_time -= 10; in quirk_usb_handoff_ohci()
500 if (wait_time <= 0) in quirk_usb_handoff_ohci()
634 int wait_time, count = 256/4; in quirk_usb_disable_ehci() local
679 wait_time = 2000; in quirk_usb_disable_ehci()
683 wait_time -= 100; in quirk_usb_disable_ehci()
688 } while (wait_time > 0); in quirk_usb_disable_ehci()
/drivers/net/ethernet/qlogic/qlge/
Dqlge_mpi.c917 long wait_time = 1 * HZ; in ql_idc_wait() local
923 wait_time = in ql_idc_wait()
925 wait_time); in ql_idc_wait()
926 if (!wait_time) { in ql_idc_wait()
937 wait_time += (mbcp->mbox_out[1] >> 8) & 0x0000000f; in ql_idc_wait()
949 } while (wait_time); in ql_idc_wait()
/drivers/scsi/
Dnsp32.c2500 int wait_time = 0; in nsp32_wait_req() local
2513 "wait_time: %d", wait_time); in nsp32_wait_req()
2517 wait_time++; in nsp32_wait_req()
2518 } while (wait_time < REQSACK_TIMEOUT_TIME); in nsp32_wait_req()
2529 int wait_time = 0; in nsp32_wait_sack() local
2542 "wait_time: %d", wait_time); in nsp32_wait_sack()
2546 wait_time++; in nsp32_wait_sack()
2547 } while (wait_time < REQSACK_TIMEOUT_TIME); in nsp32_wait_sack()
/drivers/scsi/qla2xxx/
Dqla_init.c1842 uint16_t wait_time; /* Wait time if loop is coming ready */ in qla2x00_fw_ready() local
1855 if ((wait_time = (ha->retry_count*ha->login_timeout) + 5) < min_wait) { in qla2x00_fw_ready()
1856 wait_time = min_wait; in qla2x00_fw_ready()
1863 wtime = jiffies + (wait_time * HZ); in qla2x00_fw_ready()
3696 uint32_t wait_time; in qla2x00_loop_resync() local
3710 wait_time = 256; in qla2x00_loop_resync()
3721 wait_time--; in qla2x00_loop_resync()
3724 && wait_time && (test_bit(LOOP_RESYNC_NEEDED, in qla2x00_loop_resync()
4065 uint32_t wait_time; in qla2x00_restart_isp() local
4094 wait_time = 256; in qla2x00_restart_isp()
[all …]
Dqla_mbx.c45 unsigned long wait_time; in qla2x00_mailbox_command() local
205 wait_time = jiffies + mcp->tov * HZ; /* wait at most tov secs */ in qla2x00_mailbox_command()
207 if (time_after(jiffies, wait_time)) in qla2x00_mailbox_command()
220 (uint)((jiffies - (wait_time - (mcp->tov * HZ)))/HZ)); in qla2x00_mailbox_command()
/drivers/net/wireless/ath/ath9k/
Dmac.c166 int wait_time = ATH9K_TX_STOP_DMA_TIMEOUT / ATH9K_TIME_QUANTUM; in ath9k_hw_stop_dma_queue() local
171 for (wait = wait_time; wait != 0; wait--) { in ath9k_hw_stop_dma_queue()
172 if (wait != wait_time) in ath9k_hw_stop_dma_queue()
/drivers/net/wireless/brcm80211/brcmfmac/
Dusb.c910 u16 wait = 0, wait_time; in brcmf_usb_resetcfg() local
918 wait_time = BRCMF_USB_DLIMAGE_SPINWAIT; in brcmf_usb_resetcfg()
920 mdelay(wait_time); in brcmf_usb_resetcfg()
921 wait += wait_time; in brcmf_usb_resetcfg()
/drivers/scsi/megaraid/
Dmegaraid_sas_base.c1704 u32 wait_time = MEGASAS_RESET_WAIT_TIME; in megasas_wait_for_outstanding() local
1725 for (i = 0; i < wait_time; i++) { in megasas_wait_for_outstanding()
1775 for (i = 0; i < wait_time; i++) { in megasas_wait_for_outstanding()
1822 for (i = 0; i < wait_time; i++) { in megasas_wait_for_outstanding()
4851 u32 wait_time = MEGASAS_RESET_WAIT_TIME; in megasas_mgmt_ioctl_fw() local
4887 for (i = 0; i < wait_time; i++) { in megasas_mgmt_ioctl_fw()
4930 u32 wait_time = MEGASAS_RESET_WAIT_TIME; in megasas_mgmt_ioctl_aen() local
4954 for (i = 0; i < wait_time; i++) { in megasas_mgmt_ioctl_aen()
Dmegaraid_sas_fusion.c2068 u32 fw_state, wait_time = MEGASAS_RESET_WAIT_TIME; in megasas_wait_for_outstanding_fusion() local
2070 for (i = 0; i < wait_time; i++) { in megasas_wait_for_outstanding_fusion()
/drivers/net/wireless/brcm80211/brcmsmac/phy/
Dphy_int.h1108 u16 num_samps, u8 wait_time,
Dphy_cmn.c2421 u8 wait_time = 32; in wlc_phy_noise_sample_request() local
2435 wlc_phy_rx_iq_est_nphy(pi, est, num_samps, wait_time, in wlc_phy_noise_sample_request()
Dphy_lcn.c1198 u8 wait_time, struct lcnphy_iq_est *iq_est) in wlc_lcnphy_rx_iq_est() argument
1211 mod_phy_reg(pi, 0x481, (0xff << 0), ((u16) wait_time) << 0); in wlc_lcnphy_rx_iq_est()
Dphy_n.c26274 u16 num_samps, u8 wait_time, u8 wait_for_crs) in wlc_phy_rx_iq_est_nphy() argument
26279 mod_phy_reg(pi, 0x12a, (0xff << 0), (wait_time << 0)); in wlc_phy_rx_iq_est_nphy()
/drivers/scsi/lpfc/
Dlpfc_init.c8247 int wait_time = 0; in lpfc_sli4_xri_exchange_busy_wait() local
8252 if (wait_time > LPFC_XRI_EXCH_BUSY_WAIT_TMO) { in lpfc_sli4_xri_exchange_busy_wait()
8257 wait_time/1000); in lpfc_sli4_xri_exchange_busy_wait()
8262 wait_time/1000); in lpfc_sli4_xri_exchange_busy_wait()
8264 wait_time += LPFC_XRI_EXCH_BUSY_WAIT_T2; in lpfc_sli4_xri_exchange_busy_wait()
8267 wait_time += LPFC_XRI_EXCH_BUSY_WAIT_T1; in lpfc_sli4_xri_exchange_busy_wait()
/drivers/infiniband/core/
Dcm.c801 int wait_time; in cm_enter_timewait() local
815 wait_time = cm_convert_to_ms(cm_id_priv->av.timeout); in cm_enter_timewait()
817 msecs_to_jiffies(wait_time)); in cm_enter_timewait()
/drivers/scsi/qla4xxx/
Dql4_os.c3343 uint8_t wait_time = RESET_INTR_TOV; in qla4xxx_do_dpc() local
3347 if (--wait_time == 0) in qla4xxx_do_dpc()
3351 if (wait_time == 0) in qla4xxx_do_dpc()