Home
last modified time | relevance | path

Searched defs:timer (Results 1 – 21 of 21) sorted by relevance

/sof-3.4.0/src/arch/xtensa/include/arch/drivers/
Dtimer.h19 struct timer { struct
22 int logical_irq; /* used for external timers */ argument
24 void (*handler)(void *data); /* optional timer handler */ argument
25 void *data; /* optional timer handler's data */ argument
26 uint32_t hitime; /* high end of 64bit timer */ argument
33 int timer64_register(struct timer *timer, void (*handler)(void *arg), argument
37 static inline int arch_timer_register(struct timer *timer, in arch_timer_register()
52 static inline void arch_timer_unregister(struct timer *timer) in arch_timer_unregister()
57 static inline void arch_timer_enable(struct timer *timer) in arch_timer_enable()
62 static inline void arch_timer_disable(struct timer *timer) in arch_timer_disable()
[all …]
/sof-3.4.0/src/arch/host/include/arch/drivers/
Dtimer.h15 struct timer { struct
20 static inline int arch_timer_register(struct timer *timer, in arch_timer_register()
22 static inline void arch_timer_unregister(struct timer *timer) {} in arch_timer_unregister()
23 static inline void arch_timer_enable(struct timer *timer) {} in arch_timer_enable()
24 static inline void arch_timer_disable(struct timer *timer) {} in arch_timer_disable()
25 static inline uint64_t arch_timer_get_system(struct timer *timer) {return 0; } in arch_timer_get_system()
26 static inline int64_t arch_timer_set(struct timer *timer, in arch_timer_set()
28 static inline void arch_timer_clear(struct timer *timer) {} in arch_timer_clear()
/sof-3.4.0/src/drivers/amd/rembrandt/
Dtimer.c19 void platform_timer_start(struct timer *timer) in platform_timer_start()
24 void platform_timer_stop(struct timer *timer) in platform_timer_stop()
29 int64_t platform_timer_set(struct timer *timer, uint64_t ticks) in platform_timer_set()
34 void platform_timer_clear(struct timer *timer) in platform_timer_clear()
39 uint64_t platform_timer_get(struct timer *timer) in platform_timer_get()
44 uint64_t platform_timer_get_atomic(struct timer *timer) in platform_timer_get_atomic()
77 int timer_register(struct timer *timer, void(*handler)(void *arg), void *arg) in timer_register()
88 void timer_unregister(struct timer *timer, void *arg) in timer_unregister()
93 void timer_enable(struct timer *timer, void *arg, int core) in timer_enable()
98 void timer_disable(struct timer *timer, void *arg, int core) in timer_disable()
Dacp_dmic_dma.c87 struct timer *timer = timer_get(); in acp_dmic_dma_start() local
154 struct timer *timer = timer_get(); in acp_dmic_dma_stop() local
Dacp_dma.c279 struct timer *timer = timer_get(); in acp_dma_start() local
/sof-3.4.0/src/drivers/amd/renoir/
Dtimer.c20 void platform_timer_start(struct timer *timer) in platform_timer_start()
25 void platform_timer_stop(struct timer *timer) in platform_timer_stop()
30 int64_t platform_timer_set(struct timer *timer, uint64_t ticks) in platform_timer_set()
35 void platform_timer_clear(struct timer *timer) in platform_timer_clear()
40 uint64_t platform_timer_get(struct timer *timer) in platform_timer_get()
45 uint64_t platform_timer_get_atomic(struct timer *timer) in platform_timer_get_atomic()
78 int timer_register(struct timer *timer, void(*handler)(void *arg), void *arg) in timer_register()
89 void timer_unregister(struct timer *timer, void *arg) in timer_unregister()
94 void timer_enable(struct timer *timer, void *arg, int core) in timer_enable()
99 void timer_disable(struct timer *timer, void *arg, int core) in timer_disable()
Dacp_dmic_dma.c87 struct timer *timer = timer_get(); in acp_dmic_dma_start() local
156 struct timer *timer = timer_get(); in acp_dmic_dma_stop() local
Dacp_dma.c272 struct timer *timer = timer_get(); in acp_dma_start() local
/sof-3.4.0/src/drivers/imx/
Dtimer.c16 void platform_timer_start(struct timer *timer) in platform_timer_start()
21 void platform_timer_stop(struct timer *timer) in platform_timer_stop()
26 int64_t platform_timer_set(struct timer *timer, uint64_t ticks) in platform_timer_set()
31 void platform_timer_clear(struct timer *timer) in platform_timer_clear()
36 uint64_t platform_timer_get(struct timer *timer) in platform_timer_get()
42 uint64_t platform_timer_get_atomic(struct timer *timer) in platform_timer_get_atomic()
82 int timer_register(struct timer *timer, void(*handler)(void *arg), void *arg) in timer_register()
99 void timer_unregister(struct timer *timer, void *arg) in timer_unregister()
104 void timer_enable(struct timer *timer, void *arg, int core) in timer_enable()
109 void timer_disable(struct timer *timer, void *arg, int core) in timer_disable()
/sof-3.4.0/src/drivers/mediatek/mt818x/
Dtimer.c19 void platform_timer_start(struct timer *timer) in platform_timer_start()
35 void platform_timer_stop(struct timer *timer) in platform_timer_stop()
45 uint64_t platform_timer_get_atomic(struct timer *timer) in platform_timer_get_atomic()
50 int64_t platform_timer_set(struct timer *timer, uint64_t ticks) in platform_timer_set()
94 void platform_timer_clear(struct timer *timer) in platform_timer_clear()
103 uint64_t platform_timer_get(struct timer *timer) in platform_timer_get()
164 struct timer *timer = arg; in platform_timer_handler() local
176 static int platform_timer_register(struct timer *timer, void (*handler)(void *arg), void *arg) in platform_timer_register()
186 int timer_register(struct timer *timer, void(*handler)(void *arg), void *arg) in timer_register()
199 void timer_unregister(struct timer *timer, void *arg) in timer_unregister()
[all …]
/sof-3.4.0/src/drivers/intel/cavs/
Dtimer.c24 void platform_timer_start(struct timer *timer) in platform_timer_start()
32 void platform_timer_stop(struct timer *timer) in platform_timer_stop()
40 int64_t platform_timer_set(struct timer *timer, uint64_t ticks) in platform_timer_set()
74 void platform_timer_clear(struct timer *timer) in platform_timer_clear()
80 uint64_t platform_timer_get(struct timer *timer) in platform_timer_get()
105 uint64_t platform_timer_get_atomic(struct timer *timer) in platform_timer_get_atomic()
154 static int platform_timer_register(struct timer *timer, in platform_timer_register()
174 int timer_register(struct timer *timer, void (*handler)(void *arg), void *arg) in timer_register()
198 static void platform_timer_unregister(struct timer *timer, void *arg) in platform_timer_unregister()
207 void timer_unregister(struct timer *timer, void *arg) in timer_unregister()
[all …]
/sof-3.4.0/src/drivers/mediatek/mt8195/
Dtimer.c19 void platform_timer_start(struct timer *timer) in platform_timer_start()
29 void platform_timer_stop(struct timer *timer) in platform_timer_stop()
39 uint64_t platform_timer_get_atomic(struct timer *timer) in platform_timer_get_atomic()
44 int64_t platform_timer_set(struct timer *timer, uint64_t ticks) in platform_timer_set()
81 void platform_timer_clear(struct timer *timer) in platform_timer_clear()
89 uint64_t platform_timer_get(struct timer *timer) in platform_timer_get()
151 struct timer *timer = arg; in platform_timer_handler() local
159 static int platform_timer_register(struct timer *timer, void (*handler)(void *arg), void *arg) in platform_timer_register()
180 int timer_register(struct timer *timer, void(*handler)(void *arg), void *arg) in timer_register()
193 void timer_unregister(struct timer *timer, void *arg) in timer_unregister()
[all …]
/sof-3.4.0/src/arch/xtensa/drivers/
Dtimer.c17 struct timer *timer = arg; in timer_64_handler() local
49 int timer64_register(struct timer *timer, void(*handler)(void *arg), void *arg) in timer64_register()
62 uint64_t arch_timer_get_system(struct timer *timer) in arch_timer_get_system()
98 int64_t arch_timer_set(struct timer *timer, uint64_t ticks) in arch_timer_set()
/sof-3.4.0/src/drivers/host/
Dtimer.c32 uint64_t platform_timer_get(struct timer *timer) in platform_timer_get()
37 uint64_t platform_timer_get_atomic(struct timer *timer) in platform_timer_get_atomic()
42 void platform_timer_stop(struct timer *timer) in platform_timer_stop()
/sof-3.4.0/xtos/include/rtos/
Dtimer.h42 static inline int64_t timer_set(struct timer *timer, uint64_t ticks) in timer_set()
49 static inline void timer_clear(struct timer *timer) in timer_clear()
58 static inline uint64_t timer_get_system(struct timer *timer) in timer_get_system()
68 static inline uint64_t platform_safe_get_time(struct timer *timer) in platform_safe_get_time()
/sof-3.4.0/src/platform/library/
Dplatform.c17 static SHARED_DATA struct timer timer = {}; variable
/sof-3.4.0/src/platform/amd/rembrandt/
Dplatform.c126 static SHARED_DATA struct timer timer = { variable
/sof-3.4.0/src/schedule/
Dtimer_domain.c26 struct timer *timer; member
154 struct ll_schedule_domain *timer_domain_init(struct timer *timer, int clk) in timer_domain_init()
Dzephyr_domain.c51 struct k_timer timer; member
103 static void zephyr_domain_timer_fn(struct k_timer *timer) in zephyr_domain_timer_fn()
/sof-3.4.0/test/cmocka/src/
Dcommon_mocks.c168 uint64_t WEAK platform_timer_get(struct timer *timer) in platform_timer_get()
176 uint64_t WEAK arch_timer_get_system(struct timer *timer) in arch_timer_get_system()
/sof-3.4.0/src/include/sof/schedule/
Dll_schedule_domain.h219 #define timer_domain_init(timer, clk) zephyr_domain_init(clk) argument