Home
last modified time | relevance | path

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

/linux-2.6.39/arch/powerpc/kernel/
Drtas-rtc.c18 unsigned int wait_time; in rtas_get_boot_time() local
25 wait_time = rtas_busy_delay_time(error); in rtas_get_boot_time()
26 if (wait_time) { in rtas_get_boot_time()
28 udelay(wait_time*1000); in rtas_get_boot_time()
30 } while (wait_time && (get_tb() < max_wait_tb)); in rtas_get_boot_time()
49 unsigned int wait_time; in rtas_get_rtc_time() local
56 wait_time = rtas_busy_delay_time(error); in rtas_get_rtc_time()
57 if (wait_time) { in rtas_get_rtc_time()
64 msleep(wait_time); in rtas_get_rtc_time()
66 } while (wait_time && (get_tb() < max_wait_tb)); in rtas_get_rtc_time()
[all …]
/linux-2.6.39/arch/powerpc/platforms/pseries/
Dscanlog.c54 unsigned int wait_time; in scanlog_read() local
75 wait_time = 500; /* default wait if no data */ in scanlog_read()
105 wait_time = rtas_busy_delay_time(status); in scanlog_read()
106 if (!wait_time) { in scanlog_read()
113 msleep_interruptible(wait_time); in scanlog_read()
/linux-2.6.39/drivers/usb/host/
Dpci-quirks.c479 int wait_time = 500; /* arbitrary; 5 seconds */ in quirk_usb_handoff_ohci() local
482 while (wait_time > 0 && in quirk_usb_handoff_ohci()
484 wait_time -= 10; in quirk_usb_handoff_ohci()
487 if (wait_time <= 0) in quirk_usb_handoff_ohci()
508 int wait_time, delta; in quirk_usb_disable_ehci() local
618 wait_time = 2000; in quirk_usb_disable_ehci()
623 wait_time -= delta; in quirk_usb_disable_ehci()
628 } while (wait_time > 0); in quirk_usb_disable_ehci()
/linux-2.6.39/drivers/staging/msm/
Dmdp_dma.c365 ktime_t wait_time; in mdp_dma_schedule() local
367 wait_time.tv.sec = 0; in mdp_dma_schedule()
368 wait_time.tv.nsec = usec_wait_time * 1000; in mdp_dma_schedule()
374 hrtimer_start(&mfd->dma_hrtimer, wait_time, HRTIMER_MODE_REL); in mdp_dma_schedule()
/linux-2.6.39/drivers/net/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()
/linux-2.6.39/drivers/scsi/
Dnsp32.c2501 int wait_time = 0; in nsp32_wait_req() local
2514 "wait_time: %d", wait_time); in nsp32_wait_req()
2518 wait_time++; in nsp32_wait_req()
2519 } while (wait_time < REQSACK_TIMEOUT_TIME); in nsp32_wait_req()
2530 int wait_time = 0; in nsp32_wait_sack() local
2543 "wait_time: %d", wait_time); in nsp32_wait_sack()
2547 wait_time++; in nsp32_wait_sack()
2548 } while (wait_time < REQSACK_TIMEOUT_TIME); in nsp32_wait_sack()
/linux-2.6.39/drivers/scsi/qla2xxx/
Dqla_init.c1883 uint16_t wait_time; /* Wait time if loop is coming ready */ in qla2x00_fw_ready() local
1896 if ((wait_time = (ha->retry_count*ha->login_timeout) + 5) < min_wait) { in qla2x00_fw_ready()
1897 wait_time = min_wait; in qla2x00_fw_ready()
1904 wtime = jiffies + (wait_time * HZ); in qla2x00_fw_ready()
3807 uint32_t wait_time; in qla2x00_loop_resync() local
3822 wait_time = 256; in qla2x00_loop_resync()
3835 wait_time--; in qla2x00_loop_resync()
3838 && wait_time && (test_bit(LOOP_RESYNC_NEEDED, in qla2x00_loop_resync()
4185 uint32_t wait_time; in qla2x00_restart_isp() local
4214 wait_time = 256; in qla2x00_restart_isp()
[all …]
Dqla_mbx.c45 unsigned long wait_time; in qla2x00_mailbox_command() local
197 wait_time = jiffies + mcp->tov * HZ; /* wait at most tov secs */ in qla2x00_mailbox_command()
199 if (time_after(jiffies, wait_time)) in qla2x00_mailbox_command()
212 (uint)((jiffies - (wait_time - (mcp->tov * HZ)))/HZ))); in qla2x00_mailbox_command()
/linux-2.6.39/drivers/net/wireless/ath/ath9k/
Dmac.c178 int wait_time = ATH9K_TX_STOP_DMA_TIMEOUT / ATH9K_TIME_QUANTUM; in ath9k_hw_stop_dma_queue() local
183 for (wait = wait_time; wait != 0; wait--) { in ath9k_hw_stop_dma_queue()
184 if (wait != wait_time) in ath9k_hw_stop_dma_queue()
/linux-2.6.39/drivers/scsi/megaraid/
Dmegaraid_sas_base.c1709 u32 wait_time = MEGASAS_RESET_WAIT_TIME; in megasas_wait_for_outstanding() local
1730 for (i = 0; i < wait_time; i++) { in megasas_wait_for_outstanding()
1781 for (i = 0; i < wait_time; i++) { in megasas_wait_for_outstanding()
1828 for (i = 0; i < wait_time; i++) { in megasas_wait_for_outstanding()
4766 u32 wait_time = MEGASAS_RESET_WAIT_TIME; in megasas_mgmt_ioctl_fw() local
4802 for (i = 0; i < wait_time; i++) { in megasas_mgmt_ioctl_fw()
4845 u32 wait_time = MEGASAS_RESET_WAIT_TIME; in megasas_mgmt_ioctl_aen() local
4869 for (i = 0; i < wait_time; i++) { in megasas_mgmt_ioctl_aen()
Dmegaraid_sas_fusion.c1972 u32 fw_state, wait_time = MEGASAS_RESET_WAIT_TIME; in megasas_wait_for_outstanding_fusion() local
1974 for (i = 0; i < wait_time; i++) { in megasas_wait_for_outstanding_fusion()
/linux-2.6.39/arch/s390/hypfs/
Dhypfs_diag.c197 __u64 wait_time; member
/linux-2.6.39/drivers/scsi/qla4xxx/
Dql4_os.c1314 uint8_t wait_time = RESET_INTR_TOV; in qla4xxx_do_dpc() local
1318 if (--wait_time == 0) in qla4xxx_do_dpc()
1322 if (wait_time == 0) in qla4xxx_do_dpc()
/linux-2.6.39/drivers/scsi/lpfc/
Dlpfc_init.c7719 int wait_time = 0; in lpfc_sli4_xri_exchange_busy_wait() local
7724 if (wait_time > LPFC_XRI_EXCH_BUSY_WAIT_TMO) { in lpfc_sli4_xri_exchange_busy_wait()
7729 wait_time/1000); in lpfc_sli4_xri_exchange_busy_wait()
7734 wait_time/1000); in lpfc_sli4_xri_exchange_busy_wait()
7736 wait_time += LPFC_XRI_EXCH_BUSY_WAIT_T2; in lpfc_sli4_xri_exchange_busy_wait()
7739 wait_time += LPFC_XRI_EXCH_BUSY_WAIT_T1; in lpfc_sli4_xri_exchange_busy_wait()
/linux-2.6.39/drivers/staging/brcm80211/brcmsmac/phy/
Dwlc_phy_int.h1178 u16 num_samps, u8 wait_time,
Dwlc_phy_lcn.c1001 u8 wait_time, lcnphy_iq_est_t *iq_est);
3147 u8 wait_time, lcnphy_iq_est_t *iq_est) in wlc_lcnphy_rx_iq_est() argument
3160 mod_phy_reg(pi, 0x481, (0xff << 0), ((u16) wait_time) << 0); in wlc_lcnphy_rx_iq_est()
Dwlc_phy_cmn.c2595 u8 wait_time = 32; in wlc_phy_noise_sample_request() local
2609 wlc_phy_rx_iq_est_nphy(pi, est, num_samps, wait_time, in wlc_phy_noise_sample_request()
Dwlc_phy_n.c24534 u8 wait_time, u8 wait_for_crs) in wlc_phy_rx_iq_est_nphy() argument
24539 mod_phy_reg(pi, 0x12a, (0xff << 0), (wait_time << 0)); in wlc_phy_rx_iq_est_nphy()
/linux-2.6.39/drivers/infiniband/core/
Dcm.c800 int wait_time; in cm_enter_timewait() local
814 wait_time = cm_convert_to_ms(cm_id_priv->av.timeout); in cm_enter_timewait()
816 msecs_to_jiffies(wait_time)); in cm_enter_timewait()
/linux-2.6.39/Documentation/cgroups/
Dblkio-controller.txt217 the wait_time for its individual IOs. For devices with queue_depth > 1