Searched refs:wait_cnt (Results 1 – 9 of 9) sorted by relevance
/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_rcb.c | 43 int i, wait_cnt; in hns_rcb_wait_fbd_clean() local 46 for (wait_cnt = i = 0; i < q_num; wait_cnt++) { in hns_rcb_wait_fbd_clean() 57 if (wait_cnt >= 10000) in hns_rcb_wait_fbd_clean() 72 u32 wait_cnt; in hns_rcb_reset_ring_hw() local 91 wait_cnt = 0; in hns_rcb_reset_ring_hw() 92 while (!could_ret && (wait_cnt < RCB_RESET_WAIT_TIMES)) { in hns_rcb_reset_ring_hw() 100 wait_cnt++; in hns_rcb_reset_ring_hw()
|
/drivers/mmc/host/ |
D | sdhci-msm.c | 69 u32 wait_cnt = 50; in msm_dll_poll_ck_out_en() local 78 if (--wait_cnt == 0) { in msm_dll_poll_ck_out_en() 291 int wait_cnt = 50; in msm_init_cm_dll() local 333 if (--wait_cnt == 0) { in msm_init_cm_dll()
|
/drivers/power/ |
D | abx500_chargalg.c | 202 int wait_cnt; member 887 di->ccm.wait_cnt); in abx500_chargalg_chg_curr_maxim() 888 if (di->ccm.wait_cnt == 0) { in abx500_chargalg_chg_curr_maxim() 890 di->ccm.wait_cnt++; in abx500_chargalg_chg_curr_maxim() 900 di->ccm.wait_cnt = (di->ccm.wait_cnt + 1) % 3; in abx500_chargalg_chg_curr_maxim() 905 di->ccm.wait_cnt = 0; in abx500_chargalg_chg_curr_maxim()
|
/drivers/scsi/qla2xxx/ |
D | qla_sup.c | 190 uint32_t nv_cmd, wait_cnt; in qla2x00_write_nvram_word() local 221 wait_cnt = NVR_WAIT_CNT; in qla2x00_write_nvram_word() 223 if (!--wait_cnt) { in qla2x00_write_nvram_word() 310 uint32_t word, wait_cnt; in qla2x00_clear_nvram_protection() local 352 wait_cnt = NVR_WAIT_CNT; in qla2x00_clear_nvram_protection() 354 if (!--wait_cnt) { in qla2x00_clear_nvram_protection() 363 if (wait_cnt) in qla2x00_clear_nvram_protection() 375 uint32_t word, wait_cnt; in qla2x00_set_nvram_protection() local 412 wait_cnt = NVR_WAIT_CNT; in qla2x00_set_nvram_protection() 414 if (!--wait_cnt) { in qla2x00_set_nvram_protection()
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_nvm.c | 150 u32 srctl, wait_cnt; in i40e_poll_sr_srctl_done_bit() local 153 for (wait_cnt = 0; wait_cnt < I40E_SRRD_SRCTL_ATTEMPTS; wait_cnt++) { in i40e_poll_sr_srctl_done_bit()
|
/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
D | halbtc8192e2ant.c | 2174 static int up, dn, m, n, wait_cnt; in halbtc8192e2ant_tdma_duration_adjust() local 2287 wait_cnt = 0; in halbtc8192e2ant_tdma_duration_adjust() 2295 up, dn, m, n, wait_cnt); in halbtc8192e2ant_tdma_duration_adjust() 2297 wait_cnt++; in halbtc8192e2ant_tdma_duration_adjust() 2307 wait_cnt = 0; in halbtc8192e2ant_tdma_duration_adjust() 2324 if (wait_cnt <= 2) in halbtc8192e2ant_tdma_duration_adjust() 2335 wait_cnt = 0; in halbtc8192e2ant_tdma_duration_adjust() 2342 if (wait_cnt == 1) in halbtc8192e2ant_tdma_duration_adjust() 2353 wait_cnt = 0; in halbtc8192e2ant_tdma_duration_adjust()
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed_hw.c | 548 u32 wait_cnt = 0; in qed_dmae_operation_wait() local 556 if (++wait_cnt > wait_cnt_limit) { in qed_dmae_operation_wait()
|
/drivers/scsi/bnx2fc/ |
D | bnx2fc_fcoe.c | 1927 int wait_cnt = 0; in bnx2fc_start_disc() local 1950 if (++wait_cnt > 12) in bnx2fc_start_disc()
|
/drivers/scsi/lpfc/ |
D | lpfc_init.c | 9305 int wait_cnt = 0; in lpfc_sli4_hba_unset() local 9324 if (++wait_cnt > LPFC_ACTIVE_MBOX_WAIT_CNT) in lpfc_sli4_hba_unset()
|