Lines Matching refs:timer_handle
580 k_status_t csi_kernel_timer_del(k_timer_handle_t timer_handle) in csi_kernel_timer_del() argument
582 if (timer_handle == NULL) { in csi_kernel_timer_del()
589 kstat_t ret = krhino_timer_dyn_del((ktimer_t *)timer_handle); in csi_kernel_timer_del()
592 free(((ktimer_t *)timer_handle)->timer_cb_arg); in csi_kernel_timer_del()
602 k_status_t csi_kernel_timer_start(k_timer_handle_t timer_handle, uint32_t ticks) in csi_kernel_timer_start() argument
604 if (timer_handle == NULL || ticks == 0) { in csi_kernel_timer_start()
609 ktimer_t *handle = (ktimer_t *)timer_handle; in csi_kernel_timer_start()
637 k_status_t csi_kernel_timer_stop(k_timer_handle_t timer_handle) in csi_kernel_timer_stop() argument
639 if (timer_handle == NULL) { in csi_kernel_timer_stop()
643 ktimer_t *handle = (ktimer_t *)timer_handle; in csi_kernel_timer_stop()
654 k_timer_stat_t csi_kernel_timer_get_stat(k_timer_handle_t timer_handle) in csi_kernel_timer_get_stat() argument
656 if (timer_handle == NULL) { in csi_kernel_timer_get_stat()
660 ktimer_t *handle = (ktimer_t *)(timer_handle); in csi_kernel_timer_get_stat()