Searched refs:start_cycles (Results 1 – 7 of 7) sorted by relevance
43 uint32_t start_cycles; in spi_nrfx_wake_request() local61 start_cycles = k_cycle_get_32(); in spi_nrfx_wake_request()63 uint32_t elapsed_cycles = k_cycle_get_32() - start_cycles; in spi_nrfx_wake_request()
23 uint32_t start_cycles = k_cycle_get_32(); in z_impl_k_busy_wait() local36 if ((current_cycles - start_cycles) >= cycles_to_wait) { in z_impl_k_busy_wait()
172 uint64_t start_cycles = arm_arch_timer_count(); in arch_busy_wait() local180 if ((current_cycles - start_cycles) >= cycles_to_wait) { in arch_busy_wait()
41 uint32_t start_cycles = k_cycle_get_32(); in dht_measure_signal_duration() local46 elapsed_cycles = k_cycle_get_32() - start_cycles; in dht_measure_signal_duration()
670 uint32_t start_cycles = k_cycle_get_32(); in host_c2h_wait_write_done() local675 elapsed_cycles = k_cycle_get_32() - start_cycles; in host_c2h_wait_write_done()687 uint32_t start_cycles = k_cycle_get_32(); in host_c2h_wait_read_done() local692 elapsed_cycles = k_cycle_get_32() - start_cycles; in host_c2h_wait_read_done()
345 static bool poll_expired(uint32_t start_cycles, int32_t *timeout) in poll_expired() argument351 microsecs_spent = CLOCK_32K_HW_CYCLES_TO_US(now_cycles - start_cycles); in poll_expired()
335 static bool poll_expired(uint32_t start_cycles, int64_t *timeout) in poll_expired() argument342 cycles_spent = stop_cycles - start_cycles; in poll_expired()