Searched refs:waitcnt (Results 1 – 4 of 4) sorted by relevance
77 static int wait_lpc_idle(void __iomem *mbase, unsigned int waitcnt) in wait_lpc_idle() argument86 } while (--waitcnt); in wait_lpc_idle()106 unsigned int waitcnt; in hisi_lpc_target_in() local114 waitcnt = LPC_PEROP_WAITCNT; in hisi_lpc_target_in()117 waitcnt = LPC_MAX_WAITCNT; in hisi_lpc_target_in()131 ret = wait_lpc_idle(lpcdev->membase, waitcnt); in hisi_lpc_target_in()158 unsigned int waitcnt; in hisi_lpc_target_out() local168 waitcnt = LPC_PEROP_WAITCNT; in hisi_lpc_target_out()171 waitcnt = LPC_MAX_WAITCNT; in hisi_lpc_target_out()186 ret = wait_lpc_idle(lpcdev->membase, waitcnt); in hisi_lpc_target_out()
407 int waitcnt = 0; in pv_wait_head_or_lock() local422 for (;; waitcnt++) { in pv_wait_head_or_lock()469 lockevent_cond_inc(pv_wait_again, waitcnt); in pv_wait_head_or_lock()
1258 u8 waitcnt = 100; in _rtl92s_set_sysclk() local1272 waitcnt = 100; in _rtl92s_set_sysclk()1276 waitcnt--; in _rtl92s_set_sysclk()1284 if (waitcnt == 0) in _rtl92s_set_sysclk()1289 if (waitcnt == 0) in _rtl92s_set_sysclk()
2149 int waitcnt = 0; in _nbu2ss_enable_controller() local2169 waitcnt++; in _nbu2ss_enable_controller()2171 if (waitcnt == EPC_PLL_LOCK_COUNT) { in _nbu2ss_enable_controller()