Home
last modified time | relevance | path

Searched refs:sof_cycle_get_64 (Results 1 – 22 of 22) sorted by relevance

/sof-3.4.0/zephyr/include/rtos/
Dtimer.h18 static inline uint64_t sof_cycle_get_64(void) in sof_cycle_get_64() function
26 #define sof_cycle_get_64_safe() sof_cycle_get_64()
27 #define sof_cycle_get_64_atomic() sof_cycle_get_64()
Dwait.h28 uint64_t timeout = sof_cycle_get_64() + number_of_clks; in wait_delay()
30 while (sof_cycle_get_64() < timeout) in wait_delay()
/sof-3.4.0/src/lib/
Dwait.c63 uint64_t timeout = sof_cycle_get_64() + number_of_clks; in wait_delay()
65 while (sof_cycle_get_64() < timeout) in wait_delay()
Dagent.c73 current = sof_cycle_get_64(); in validate()
138 sof->sa->last_check = sof_cycle_get_64(); in sa_init()
Dpm_runtime.c156 r_counters->ts = sof_cycle_get_64(); in init_dsp_r_state()
171 ts = sof_cycle_get_64(); in report_dsp_r_state()
/sof-3.4.0/xtos/include/sof/lib/
Dperf_cnt.h51 #define perf_cnt_get_cpu_ts sof_cycle_get_64
59 (pcd)->plat_ts = sof_cycle_get_64(); \
127 (uint32_t)sof_cycle_get_64(); \
/sof-3.4.0/zephyr/include/sof/trace/
Dtrace.h38 printk("%llu: " format "\n", sof_cycle_get_64(), \
/sof-3.4.0/src/samples/audio/
Dkwd_nn_detect_test.c81 time_start = sof_cycle_get_64(); in kwd_nn_detect_test()
85 time_stop = sof_cycle_get_64(); in kwd_nn_detect_test()
/sof-3.4.0/zephyr/
Dwrapper.c253 posn->wallclock = sof_cycle_get_64() - posn->wallclock; in platform_dai_timestamp()
261 *wallclock = sof_cycle_get_64(); in platform_dai_wallclock()
/sof-3.4.0/src/drivers/intel/cavs/
Dtimer.c142 posn->wallclock = sof_cycle_get_64() - posn->wallclock; in platform_dai_timestamp()
150 *wallclock = sof_cycle_get_64(); in platform_dai_wallclock()
/sof-3.4.0/xtos/include/rtos/
Dtimer.h106 static inline uint64_t sof_cycle_get_64(void) in sof_cycle_get_64() function
/sof-3.4.0/src/idc/
Didc.c97 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()
/sof-3.4.0/src/drivers/intel/hda/
Dhda-dma.c325 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()
/sof-3.4.0/src/audio/
Dkpb.c1337 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()
Dbase_fw.c254 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()
/sof-3.4.0/src/schedule/
Dll_schedule.c221 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()
/sof-3.4.0/src/drivers/generic/
Ddummy-dma.c320 status->timestamp = sof_cycle_get_64(); in dummy_dma_status()
/sof-3.4.0/src/drivers/imx/
Dedma.c236 status->timestamp = sof_cycle_get_64(); in edma_status()
Dsdma.c562 status->timestamp = sof_cycle_get_64(); in sdma_status()
/sof-3.4.0/src/drivers/dw/
Ddma.c476 status->timestamp = sof_cycle_get_64(); in dw_dma_status()
/sof-3.4.0/src/probe/
Dprobe.c632 timestamp = sof_cycle_get_64(); in probe_gen_header()
/sof-3.4.0/src/ipc/ipc3/
Dhandler.c865 dmat->time_delta = k_ns_to_cyc_near64(params.timestamp_ns) - sof_cycle_get_64(); in ipc_dma_trace_config()