Home
last modified time | relevance | path

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

1234

/Zephyr-Core-3.4.0/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()
76 uint64_t *ticks) in z_vrfy_counter_get_value_64()
151 uint32_t ticks, uint32_t flags) in z_vrfy_counter_set_guard_period()
Dcounter_ll_stm32_rtc.c72 uint32_t ticks; member
172 uint32_t rtc_date, rtc_time, ticks; in rtc_stm32_read() local
212 static int rtc_stm32_get_value(const struct device *dev, uint32_t *ticks) in rtc_stm32_get_value()
231 uint32_t ticks = alarm_cfg->ticks; in rtc_stm32_set_alarm() local
Dcounter_mcux_snvs.c57 static int mcux_snvs_get_value(const struct device *dev, uint32_t *ticks) in mcux_snvs_get_value()
78 uint32_t current, ticks; in mcux_snvs_set_alarm() local
234 int mcux_snvs_rtc_set(const struct device *dev, uint32_t ticks) in mcux_snvs_rtc_set()
Dcounter_mcux_lpc_rtc.c63 uint32_t ticks = RTC_GetSecondsTimerCount(config->base); in mcux_lpc_rtc_read() local
68 static int mcux_lpc_rtc_get_value(const struct device *dev, uint32_t *ticks) in mcux_lpc_rtc_get_value()
82 uint32_t ticks = alarm_cfg->ticks; in mcux_lpc_rtc_set_alarm() local
Dcounter_mcux_rtc.c71 uint32_t ticks = config->base->TSR; in mcux_rtc_read() local
87 static int mcux_rtc_get_value(const struct device *dev, uint32_t *ticks) in mcux_rtc_get_value()
101 uint32_t ticks = alarm_cfg->ticks; in mcux_rtc_set_alarm() local
Dcounter_esp32_rtc.c45 uint32_t ticks; member
86 static int counter_esp32_get_value(const struct device *dev, uint32_t *ticks) in counter_esp32_get_value()
Dcounter_gecko_stimer.c36 uint32_t ticks; member
43 uint32_t ticks; member
86 static int counter_gecko_get_value(const struct device *dev, uint32_t *ticks) in counter_gecko_get_value()
Dcounter_mcux_ctimer.c69 static int mcux_lpc_ctimer_get_value(const struct device *dev, uint32_t *ticks) in mcux_lpc_ctimer_get_value()
99 uint32_t ticks = alarm_cfg->ticks; in mcux_lpc_ctimer_set_alarm() local
227 uint32_t ticks = mcux_lpc_ctimer_read(config->base); in mcux_lpc_ctimer_isr() local
Dtimer_tmr_cmsdk_apb.c64 static int tmr_cmsdk_apb_get_value(const struct device *dev, uint32_t *ticks) in tmr_cmsdk_apb_get_value()
109 uint32_t ticks = data->load; in tmr_cmsdk_apb_get_top_value() local
/Zephyr-Core-3.4.0/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/
Dticker.h61 static inline void hal_ticker_remove_jitter(uint32_t *ticks, in hal_ticker_remove_jitter()
75 static inline void hal_ticker_add_jitter(uint32_t *ticks, uint32_t *remainder) in hal_ticker_add_jitter()
/Zephyr-Core-3.4.0/kernel/
Dtimeout.c102 k_ticks_t ticks = Z_TICK_ABS(timeout.ticks) - curr_tick; in z_add_timeout() local
145 k_ticks_t ticks = 0; in timeout_rem() local
163 k_ticks_t ticks = 0; in z_timeout_remaining() local
174 k_ticks_t ticks = 0; in z_timeout_expires() local
193 void sys_clock_announce(int32_t ticks) in sys_clock_announce()
/Zephyr-Core-3.4.0/drivers/timer/
Dsys_clock_init.c21 void __weak sys_clock_set_timeout(int32_t ticks, bool idle) in sys_clock_set_timeout()
Dxlnx_psttc_timer.c78 uint32_t ticks; in ttc_isr() local
106 void sys_clock_set_timeout(int32_t ticks, bool idle) in sys_clock_set_timeout()
Daltera_avalon_timer_hal.c32 static void wrapped_announce(int32_t ticks) in wrapped_announce()
Dsam0_rtc_timer.c163 uint32_t ticks = (count - rtc_last) / CYCLES_PER_TICK; in rtc_isr() local
185 void sys_clock_set_timeout(int32_t ticks, bool idle) in sys_clock_set_timeout()
Dnpcx_itim_timer.c55 #define EVT_CYCLES_FROM_TICKS(ticks) \ argument
137 static int npcx_itim_start_evt_tmr_by_tick(int32_t ticks) in npcx_itim_start_evt_tmr_by_tick()
232 void sys_clock_set_timeout(int32_t ticks, bool idle) in sys_clock_set_timeout()
Dapic_timer.c128 uint32_t ticks; in sys_clock_elapsed() local
145 int32_t ticks; in isr() local
Dnative_posix_timer.c76 void sys_clock_set_timeout(int32_t ticks, bool idle) in sys_clock_set_timeout()
/Zephyr-Core-3.4.0/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-3.4.0/soc/riscv/riscv-ite/common/
Dpolicy.c11 __weak const struct pm_state_info *pm_policy_next_state(uint8_t cpu, int32_t ticks) in pm_policy_next_state()
/Zephyr-Core-3.4.0/include/zephyr/drivers/
Dcounter.h135 uint32_t ticks; member
157 uint32_t ticks; member
285 uint64_t ticks = (us * z_impl_counter_get_frequency(dev)) / USEC_PER_SEC; in z_impl_counter_us_to_ticks() local
301 uint32_t ticks) in z_impl_counter_ticks_to_us()
371 uint32_t *ticks) in z_impl_counter_get_value()
390 uint64_t *ticks) in z_impl_counter_get_value_64()
606 uint32_t ticks, uint32_t flags) in z_impl_counter_set_guard_period()
/Zephyr-Core-3.4.0/include/zephyr/
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-3.4.0/tests/subsys/pm/device_wakeup_api/src/
Dmain.c61 const struct pm_state_info *pm_policy_next_state(uint8_t cpu, int32_t ticks) in pm_policy_next_state()
/Zephyr-Core-3.4.0/boards/arm/qemu_cortex_m0/
Dnrf_timer_timer.c132 static void set_protected_absolute_ticks(uint32_t ticks) in set_protected_absolute_ticks()
164 void sys_clock_set_timeout(int32_t ticks, bool idle) in sys_clock_set_timeout()
/Zephyr-Core-3.4.0/samples/kernel/metairq_dispatch/src/
Dmsgdev.c78 uint32_t ticks = rand32() % MAX_EVENT_DELAY_TICKS; in timeout_reset() local

1234