Searched refs:cycles_to_wait (Results 1 – 4 of 4) sorted by relevance
126 uint64_t cycles_to_wait = sys_clock_hw_cycles_per_sec() / USEC_PER_SEC * usec_to_wait; in arch_busy_wait() local132 if ((current_cycles - start_cycles) >= cycles_to_wait) { in arch_busy_wait()
81 static void i2c_delay(unsigned int cycles_to_wait) in i2c_delay() argument86 while (k_cycle_get_32() - start < cycles_to_wait) { in i2c_delay()
331 uint32_t cycles_to_wait = (uint32_t)( in z_impl_k_busy_wait() local341 if ((current_cycles - start_cycles) >= cycles_to_wait) { in z_impl_k_busy_wait()
719 static void usdhc_millsec_delay(unsigned int cycles_to_wait) in usdhc_millsec_delay() argument723 while (sys_clock_cycle_get_32() - start < (cycles_to_wait * 1000)) in usdhc_millsec_delay()