Searched refs:timer (Results 1 – 13 of 13) sorted by relevance
23 struct timer_list *timer; in timer_expiry_function() local25 timer = (struct timer_list *)CONTAINER_OF(work, struct timer_list, work.work); in timer_expiry_function()27 timer->function(timer->data); in timer_expiry_function()30 void init_timer(struct timer_list *timer) in init_timer() argument32 k_work_init_delayable(&timer->work, timer_expiry_function); in init_timer()35 void mod_timer(struct timer_list *timer, int msec) in mod_timer() argument37 k_work_schedule(&timer->work, K_MSEC(msec)); in mod_timer()40 void del_timer_sync(struct timer_list *timer) in del_timer_sync() argument42 k_work_cancel_delayable(&timer->work); in del_timer_sync()
20 void init_timer(struct timer_list *timer);22 void mod_timer(struct timer_list *timer, int msec);24 void del_timer_sync(struct timer_list *timer);
1138 struct timer_list *timer = NULL; in zep_shim_timer_alloc() local1140 timer = zep_shim_mem_zalloc(sizeof(*timer)); in zep_shim_timer_alloc()1142 if (!timer) { in zep_shim_timer_alloc()1146 return timer; in zep_shim_timer_alloc()1152 ((struct timer_list *)timer)->data = data; in zep_shim_timer_init()1154 init_timer(timer); in zep_shim_timer_init()1157 static void zep_shim_timer_free(void *timer) in zep_shim_timer_free() argument1159 zep_shim_mem_free(timer); in zep_shim_timer_free()1164 mod_timer(timer, duration); in zep_shim_timer_schedule()1167 static void zep_shim_timer_kill(void *timer) in zep_shim_timer_kill() argument[all …]
15 timer.c
16 struct k_timer *timer; member24 static void argus_timer_handler(struct k_timer *timer);29 .timer = &argus_timer,32 static void argus_timer_handler(struct k_timer *timer) in argus_timer_handler() argument68 k_timer_stop(platform_timer.timer); in Timer_SetInterval()74 k_timer_start(platform_timer.timer, in Timer_SetInterval()
759 cy_timer_t *_timer = (cy_timer_t *)timer; in zephyr_timer_event_handler()770 if ((timer == NULL) || (fun == NULL)) { in cy_rtos_init_timer()773 timer->callback_function = (void *)fun; in cy_rtos_init_timer()774 timer->trigger_type = (uint32_t)type; in cy_rtos_init_timer()775 timer->arg = (void *)arg; in cy_rtos_init_timer()787 if (timer == NULL) { in cy_rtos_start_timer()806 if (timer == NULL) { in cy_rtos_stop_timer()810 k_timer_stop(&timer->z_timer); in cy_rtos_stop_timer()820 if ((timer == NULL) || (state == NULL)) { in cy_rtos_is_running_timer()834 if (timer == NULL) { in cy_rtos_deinit_timer()[all …]
32 static void ot_timer_ms_fired(struct k_timer *timer) in ot_timer_ms_fired() argument34 ARG_UNUSED(timer); in ot_timer_ms_fired()40 static void ot_timer_us_fired(struct k_timer *timer) in ot_timer_us_fired() argument42 ARG_UNUSED(timer); in ot_timer_us_fired()
190 static void dvfs_service_handler_scaling_finish_delay_timeout(struct k_timer *timer) in dvfs_service_handler_scaling_finish_delay_timeout() argument194 *(enum dvfs_frequency_setting *)k_timer_user_data_get(timer)); in dvfs_service_handler_scaling_finish_delay_timeout()
111 __weak void ld_dvfs_secure_downscale_timeout(struct k_timer *timer) in ld_dvfs_secure_downscale_timeout() argument113 ARG_UNUSED(timer); in ld_dvfs_secure_downscale_timeout()
14 ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/system/timer.c
127 ${rp2_common_dir}/hardware_timer/timer.c)
173 disable this option if periodic calls of LV timer
452 built on system timer).
Completed in 64 milliseconds