Searched refs:sof_cycle_get_64 (Results 1 – 22 of 22) sorted by relevance
18 static inline uint64_t sof_cycle_get_64(void) in sof_cycle_get_64() function26 #define sof_cycle_get_64_safe() sof_cycle_get_64()27 #define sof_cycle_get_64_atomic() sof_cycle_get_64()
28 uint64_t timeout = sof_cycle_get_64() + number_of_clks; in wait_delay()30 while (sof_cycle_get_64() < timeout) in wait_delay()
63 uint64_t timeout = sof_cycle_get_64() + number_of_clks; in wait_delay()65 while (sof_cycle_get_64() < timeout) in wait_delay()
73 current = sof_cycle_get_64(); in validate()138 sof->sa->last_check = sof_cycle_get_64(); in sa_init()
156 r_counters->ts = sof_cycle_get_64(); in init_dsp_r_state()171 ts = sof_cycle_get_64(); in report_dsp_r_state()
51 #define perf_cnt_get_cpu_ts sof_cycle_get_6459 (pcd)->plat_ts = sof_cycle_get_64(); \127 (uint32_t)sof_cycle_get_64(); \
38 printk("%llu: " format "\n", sof_cycle_get_64(), \
81 time_start = sof_cycle_get_64(); in kwd_nn_detect_test()85 time_stop = sof_cycle_get_64(); in kwd_nn_detect_test()
253 posn->wallclock = sof_cycle_get_64() - posn->wallclock; in platform_dai_timestamp()261 *wallclock = sof_cycle_get_64(); in platform_dai_wallclock()
142 posn->wallclock = sof_cycle_get_64() - posn->wallclock; in platform_dai_timestamp()150 *wallclock = sof_cycle_get_64(); in platform_dai_wallclock()
106 static inline uint64_t sof_cycle_get_64(void) in sof_cycle_get_64() function
97 uint64_t deadline = sof_cycle_get_64() + k_us_to_cyc_ceil64(IDC_TIMEOUT); in idc_wait_in_blocking_mode()104 if (deadline < sof_cycle_get_64()) in idc_wait_in_blocking_mode()
325 uint64_t deadline = sof_cycle_get_64() + k_us_to_cyc_ceil64(HDA_DMA_TIMEOUT); in hda_dma_wait_for_buffer_full()328 if (deadline < sof_cycle_get_64()) { in hda_dma_wait_for_buffer_full()346 uint64_t deadline = sof_cycle_get_64() + k_us_to_cyc_ceil64(HDA_DMA_TIMEOUT); in hda_dma_wait_for_buffer_empty()349 if (deadline < sof_cycle_get_64()) { in hda_dma_wait_for_buffer_empty()729 status->timestamp = sof_cycle_get_64(); in hda_dma_status()
1337 timeout = sof_cycle_get_64() + k_ms_to_cyc_ceil64(1); in kpb_buffer_data()1350 current_time = sof_cycle_get_64(); in kpb_buffer_data()1686 size_t period_copy_start = sof_cycle_get_64(); in kpb_draining_task()1703 draining_time_start = sof_cycle_get_64(); in kpb_draining_task()1716 next_copy_time > sof_cycle_get_64()) { in kpb_draining_task()1718 period_copy_start = sof_cycle_get_64(); in kpb_draining_task()1721 period_copy_start = sof_cycle_get_64(); in kpb_draining_task()1768 current_time = sof_cycle_get_64(); in kpb_draining_task()1798 draining_time_end = sof_cycle_get_64(); in kpb_draining_task()
254 uint64_t current_dsp_time = sof_cycle_get_64(); in basefw_set_system_time()299 wallclk = sof_cycle_get_64(); in basefw_get_ext_system_time()
221 cycles0 = (uint32_t)sof_cycle_get_64(); in schedule_ll_tasks_execute()249 cycles1 = (uint32_t)sof_cycle_get_64(); in schedule_ll_tasks_execute()
320 status->timestamp = sof_cycle_get_64(); in dummy_dma_status()
236 status->timestamp = sof_cycle_get_64(); in edma_status()
562 status->timestamp = sof_cycle_get_64(); in sdma_status()
476 status->timestamp = sof_cycle_get_64(); in dw_dma_status()
632 timestamp = sof_cycle_get_64(); in probe_gen_header()
865 dmat->time_delta = k_ns_to_cyc_near64(params.timestamp_ns) - sof_cycle_get_64(); in ipc_dma_trace_config()