Lines Matching refs:wait_cnt
251 uint32_t wait_cnt = 0; in pmu_bus_idle_req() local
258 if (++wait_cnt > BUS_IDLE_LOOP) in pmu_bus_idle_req()
263 if (wait_cnt > BUS_IDLE_LOOP) in pmu_bus_idle_req()
271 uint32_t wait_cnt = 0; in pmu_qch_pwr_ctlr() local
280 if (++wait_cnt > QCH_PWR_LOOP) in pmu_qch_pwr_ctlr()
285 if (wait_cnt > BUS_IDLE_LOOP) in pmu_qch_pwr_ctlr()
774 int wait_cnt; in nonboot_cpus_off() local
782 wait_cnt = NONBOOT_CPUS_OFF_LOOP; in nonboot_cpus_off()
785 wait_cnt--; in nonboot_cpus_off()
788 } while (tmp != exp_st && wait_cnt); in nonboot_cpus_off()
807 wait_cnt = NONBOOT_CPUS_OFF_LOOP; in nonboot_cpus_off()
809 wait_cnt--; in nonboot_cpus_off()
812 } while (tmp != CLUSTER_STS_NONBOOT_CPUS_DWN && wait_cnt); in nonboot_cpus_off()