Home
last modified time | relevance | path

Searched refs:start_cycles (Results 1 – 6 of 6) sorted by relevance

/Zephyr-latest/drivers/spi/
Dspi_nrfx_common.c42 uint32_t start_cycles; in spi_nrfx_wake_request() local
60 start_cycles = k_cycle_get_32(); in spi_nrfx_wake_request()
62 uint32_t elapsed_cycles = k_cycle_get_32() - start_cycles; in spi_nrfx_wake_request()
/Zephyr-latest/kernel/
Dbusy_wait.c23 uint32_t start_cycles = k_cycle_get_32(); in z_impl_k_busy_wait() local
30 if ((current_cycles - start_cycles) >= cycles_to_wait) { in z_impl_k_busy_wait()
/Zephyr-latest/drivers/sensor/hc_sr04/
Dhc_sr04.c24 uint32_t start_cycles; member
111 data->start_cycles = k_cycle_get_32(); in hcsr04_gpio_callback()
113 atomic_set(&data->echo_high_cycles, k_cycle_get_32() - data->start_cycles); in hcsr04_gpio_callback()
177 .start_cycles = 0, \
/Zephyr-latest/drivers/timer/
Darm_arch_timer.c201 uint64_t start_cycles = arm_arch_timer_count(); in arch_busy_wait() local
209 if ((current_cycles - start_cycles) >= cycles_to_wait) { in arch_busy_wait()
/Zephyr-latest/drivers/sensor/aosong/dht/
Ddht.c41 uint32_t start_cycles = k_cycle_get_32(); in dht_measure_signal_duration() local
46 elapsed_cycles = k_cycle_get_32() - start_cycles; in dht_measure_signal_duration()
/Zephyr-latest/drivers/espi/
Dhost_subs_npcx.c683 uint32_t start_cycles = k_cycle_get_32(); in host_c2h_wait_write_done() local
688 elapsed_cycles = k_cycle_get_32() - start_cycles; in host_c2h_wait_write_done()
700 uint32_t start_cycles = k_cycle_get_32(); in host_c2h_wait_read_done() local
705 elapsed_cycles = k_cycle_get_32() - start_cycles; in host_c2h_wait_read_done()