Home
last modified time | relevance | path

Searched defs:ticks (Results 1 – 25 of 77) sorted by relevance

1234

/Zephyr-Core-2.7.6/kernel/
Didle.c29 int32_t ticks = z_get_next_timeout_expiry(); in pm_save_idle() local
51 void z_pm_save_idle_exit(int32_t ticks) in z_pm_save_idle_exit()
Dtimeout.c107 k_ticks_t ticks = Z_TICK_ABS(timeout.ticks) - curr_tick; in z_add_timeout() local
167 k_ticks_t ticks = 0; in timeout_rem() local
185 k_ticks_t ticks = 0; in z_timeout_remaining() local
196 k_ticks_t ticks = 0; in z_timeout_expires() local
215 void z_set_timeout_expiry(int32_t ticks, bool is_idle) in z_set_timeout_expiry()
239 void sys_clock_announce(int32_t ticks) in sys_clock_announce()
/Zephyr-Core-2.7.6/drivers/counter/
Dcounter_handlers.c59 uint32_t ticks) in z_vrfy_counter_ticks_to_us()
68 uint32_t *ticks) in z_vrfy_counter_get_value()
142 uint32_t ticks, uint32_t flags) in z_vrfy_counter_set_guard_period()
Dcounter_ll_stm32_rtc.c63 uint32_t ticks; member
104 uint32_t rtc_date, rtc_time, ticks; in rtc_stm32_read() local
136 static int rtc_stm32_get_value(const struct device *dev, uint32_t *ticks) in rtc_stm32_get_value()
151 uint32_t ticks = alarm_cfg->ticks; in rtc_stm32_set_alarm() local
Dcounter_mcux_lpc_rtc.c59 uint32_t ticks = RTC_GetSecondsTimerCount(config->base); in mcux_lpc_rtc_read() local
64 static int mcux_lpc_rtc_get_value(const struct device *dev, uint32_t *ticks) in mcux_lpc_rtc_get_value()
78 uint32_t ticks = alarm_cfg->ticks; in mcux_lpc_rtc_set_alarm() local
Dcounter_mcux_rtc.c68 uint32_t ticks = config->base->TSR; in mcux_rtc_read() local
84 static int mcux_rtc_get_value(const struct device *dev, uint32_t *ticks) in mcux_rtc_get_value()
98 uint32_t ticks = alarm_cfg->ticks; in mcux_rtc_set_alarm() local
Dcounter_mcux_ctimer.c60 static int mcux_lpc_ctimer_get_value(const struct device *dev, uint32_t *ticks) in mcux_lpc_ctimer_get_value()
73 uint32_t ticks = alarm_cfg->ticks; in mcux_lpc_ctimer_set_alarm() local
144 uint32_t ticks = mcux_lpc_ctimer_read(config->base); in mcux_lpc_ctimer_isr() local
Dtimer_dtmr_cmsdk_apb.c62 static int dtmr_cmsdk_apb_get_value(const struct device *dev, uint32_t *ticks) in dtmr_cmsdk_apb_get_value()
109 uint32_t ticks = data->load; in dtmr_cmsdk_apb_get_top_value() local
Dtimer_tmr_cmsdk_apb.c63 static int tmr_cmsdk_apb_get_value(const struct device *dev, uint32_t *ticks) in tmr_cmsdk_apb_get_value()
108 uint32_t ticks = data->load; in tmr_cmsdk_apb_get_top_value() local
/Zephyr-Core-2.7.6/subsys/pm/policy/
Dpolicy_dummy.c21 struct pm_state_info pm_policy_next_state(int32_t ticks) in pm_policy_next_state()
Dpolicy_residency.c19 struct pm_state_info pm_policy_next_state(int32_t ticks) in pm_policy_next_state()
/Zephyr-Core-2.7.6/subsys/portability/cmsis_rtos_v2/
Dkernel.c122 osStatus_t osDelay(uint32_t ticks) in osDelay()
136 osStatus_t osDelayUntil(uint32_t ticks) in osDelayUntil()
/Zephyr-Core-2.7.6/include/drivers/
Dcounter.h128 uint32_t ticks; member
150 uint32_t ticks; member
273 uint64_t ticks = (us * config->freq) / USEC_PER_SEC; in z_impl_counter_us_to_ticks() local
289 uint32_t ticks) in z_impl_counter_ticks_to_us()
362 uint32_t *ticks) in z_impl_counter_get_value()
550 uint32_t ticks, uint32_t flags) in z_impl_counter_set_guard_period()
/Zephyr-Core-2.7.6/drivers/timer/
Dxlnx_psttc_timer.c71 uint32_t ticks; in ttc_isr() local
156 void sys_clock_set_timeout(int32_t ticks, bool idle) in sys_clock_set_timeout()
Daltera_avalon_timer_hal.c27 static void wrapped_announce(int32_t ticks) in wrapped_announce()
Dnpcx_itim_timer.c52 #define EVT_CYCLES_FROM_TICKS(ticks) \ argument
134 static int npcx_itim_start_evt_tmr_by_tick(int32_t ticks) in npcx_itim_start_evt_tmr_by_tick()
229 void sys_clock_set_timeout(int32_t ticks, bool idle) in sys_clock_set_timeout()
Dsam0_rtc_timer.c156 uint32_t ticks = (count - rtc_last) / CYCLES_PER_TICK; in rtc_isr() local
255 void sys_clock_set_timeout(int32_t ticks, bool idle) in sys_clock_set_timeout()
Dsys_clock_init.c39 void __weak sys_clock_set_timeout(int32_t ticks, bool idle) in sys_clock_set_timeout()
Dapic_timer.c123 uint32_t ticks; in sys_clock_elapsed() local
140 int32_t ticks; in isr() local
Dnative_posix_timer.c91 void sys_clock_set_timeout(int32_t ticks, bool idle) in sys_clock_set_timeout()
/Zephyr-Core-2.7.6/include/
Dtimeout_q.h47 static inline void z_add_thread_timeout(struct k_thread *thread, k_timeout_t ticks) in z_add_thread_timeout()
/Zephyr-Core-2.7.6/tests/subsys/pm/device_wakeup_api/src/
Dmain.c60 struct pm_state_info pm_policy_next_state(int32_t ticks) in pm_policy_next_state()
/Zephyr-Core-2.7.6/boards/arm/qemu_cortex_m0/
Dnrf_timer_timer.c131 static void set_protected_absolute_ticks(uint32_t ticks) in set_protected_absolute_ticks()
188 void sys_clock_set_timeout(int32_t ticks, bool idle) in sys_clock_set_timeout()
/Zephyr-Core-2.7.6/tests/kernel/profiling/profiling_api/src/
Dmain.c26 struct pm_state_info pm_policy_next_state(int32_t ticks) in pm_policy_next_state()
/Zephyr-Core-2.7.6/samples/kernel/metairq_dispatch/src/
Dmsgdev.c78 uint32_t ticks = rand32() % MAX_EVENT_DELAY_TICKS; in timeout_reset() local

1234