Home
last modified time | relevance | path

Searched refs:wait_cnt (Results 1 – 8 of 8) sorted by relevance

/drivers/mmc/host/
Dsdhci-msm.c62 u32 wait_cnt = 50; in msm_dll_poll_ck_out_en() local
71 if (--wait_cnt == 0) { in msm_dll_poll_ck_out_en()
284 int wait_cnt = 50; in msm_init_cm_dll() local
326 if (--wait_cnt == 0) { in msm_init_cm_dll()
/drivers/net/ethernet/intel/i40e/
Di40e_nvm.c151 u32 srctl, wait_cnt; in i40e_poll_sr_srctl_done_bit() local
154 for (wait_cnt = 0; wait_cnt < I40E_SRRD_SRCTL_ATTEMPTS; wait_cnt++) { in i40e_poll_sr_srctl_done_bit()
/drivers/power/
Dabx500_chargalg.c205 int wait_cnt; member
890 di->ccm.wait_cnt); in abx500_chargalg_chg_curr_maxim()
891 if (di->ccm.wait_cnt == 0) { in abx500_chargalg_chg_curr_maxim()
893 di->ccm.wait_cnt++; in abx500_chargalg_chg_curr_maxim()
903 di->ccm.wait_cnt = (di->ccm.wait_cnt + 1) % 3; in abx500_chargalg_chg_curr_maxim()
908 di->ccm.wait_cnt = 0; in abx500_chargalg_chg_curr_maxim()
/drivers/scsi/qla2xxx/
Dqla_sup.c190 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/wireless/rtlwifi/btcoexist/
Dhalbtc8192e2ant.c2174 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/scsi/bnx2fc/
Dbnx2fc_io.c1117 int wait_cnt = 0; in bnx2fc_expl_logo() local
1144 if (wait_cnt++ > BNX2FC_RELOGIN_WAIT_CNT) { in bnx2fc_expl_logo()
Dbnx2fc_fcoe.c1929 int wait_cnt = 0; in bnx2fc_start_disc() local
1952 if (++wait_cnt > 12) in bnx2fc_start_disc()
/drivers/scsi/lpfc/
Dlpfc_init.c9166 int wait_cnt = 0; in lpfc_sli4_hba_unset() local
9185 if (++wait_cnt > LPFC_ACTIVE_MBOX_WAIT_CNT) in lpfc_sli4_hba_unset()