Home
last modified time | relevance | path

Searched refs:timer (Results 51 – 75 of 737) sorted by relevance

12345678910>>...30

/Zephyr-latest/subsys/shell/backends/
Dshell_adsp_memory_window.c30 static void timer_handler(struct k_timer *timer) in timer_handler() argument
32 const struct shell_adsp_memory_window *sh_adsp_mw = k_timer_user_data_get(timer); in timer_handler()
69 k_timer_init(&sh_adsp_mw->timer, timer_handler, NULL); in init()
70 k_timer_user_data_set(&sh_adsp_mw->timer, (void *)sh_adsp_mw); in init()
71 k_timer_start(&sh_adsp_mw->timer, POLL_INTERVAL, POLL_INTERVAL); in init()
81 k_timer_stop(&sh_adsp_mw->timer); in uninit()
/Zephyr-latest/dts/arm/gd/gd32f4xx/
Dgd32f4xx.dtsi390 timer0: timer@40010000 {
391 compatible = "gd,gd32-timer";
408 timer1: timer@40000000 {
409 compatible = "gd,gd32-timer";
426 timer2: timer@40000400 {
427 compatible = "gd,gd32-timer";
443 timer3: timer@40000800 {
444 compatible = "gd,gd32-timer";
460 timer4: timer@40000c00 {
461 compatible = "gd,gd32-timer";
[all …]
/Zephyr-latest/soc/nxp/kinetis/ke1xf/
DKconfig47 bool "Keep watchdog timer enabled at boot"
49 Keep the watchdog timer enabled at boot with the internal
52 watchdog timer after boot and install a different timeout,
56 int "Initial timeout for the watchdog timer in milliseconds"
61 Initial timeout value for the watchdog timer in
/Zephyr-latest/drivers/timer/
DKconfig.stm32_lptim6 DT_CHOSEN_STDBY_TIMER := st,lptim-stdby-timer
68 Use an additional timer while entering Standby mode.
69 There are chips e.g. STM32WBAX family that use LPTIM as a system timer,
71 another timer that is not stopped, but it has lower frequency e.g.
72 RTC, thus it can't be used as a main system timer.
75 Use the Standby timer for timeout (wakeup) when the system is entering
78 The chosen Standby timer node has to support setting alarm from the
DKconfig.arcv212 This module implements a kernel device driver for the ARCv2 processor timer 0
16 int "ARC timer interrupt priority"
20 This option specifies the IRQ priority used by the ARC timer. Lower
/Zephyr-latest/drivers/clock_control/
Dclock_control_nrf2_hsfll.c51 struct k_timer timer; member
66 k_timer_stop(&dev_data->timer); in freq_setting_applied_cb()
72 static void hsfll_update_timeout_handler(struct k_timer *timer) in hsfll_update_timeout_handler() argument
75 CONTAINER_OF(timer, struct hsfll_dev_data, timer); in hsfll_update_timeout_handler()
100 k_timer_start(&dev_data->timer, NRFS_DVFS_TIMEOUT, K_NO_WAIT); in hsfll_work_handler()
198 k_timer_init(&dev_data->timer, hsfll_update_timeout_handler, NULL); in hsfll_init()
/Zephyr-latest/tests/posix/common/src/
Dtimer.c85 ZTEST(timer, test_CLOCK_REALTIME__SIGEV_SIGNAL) in ZTEST() argument
90 ZTEST(timer, test_CLOCK_REALTIME__SIGEV_THREAD) in ZTEST() argument
95 ZTEST(timer, test_CLOCK_MONOTONIC__SIGEV_SIGNAL) in ZTEST() argument
100 ZTEST(timer, test_CLOCK_MONOTONIC__SIGEV_THREAD) in ZTEST() argument
105 ZTEST(timer, test_timer_overrun) in ZTEST() argument
125 ZTEST(timer, test_one_shot__SIGEV_SIGNAL) in ZTEST() argument
168 ZTEST_SUITE(timer, NULL, NULL, before, after, NULL);
/Zephyr-latest/samples/subsys/rtio/sensor_batch_processing/src/
Dvnd_sensor.c24 struct k_timer timer; member
104 static void vnd_sensor_timer_expiry(struct k_timer *timer) in vnd_sensor_timer_expiry() argument
107 CONTAINER_OF(timer, struct vnd_sensor_data, timer); in vnd_sensor_timer_expiry()
122 k_timer_init(&data->timer, vnd_sensor_timer_expiry, NULL); in vnd_sensor_init()
124 k_timer_start(&data->timer, K_MSEC(sample_period), in vnd_sensor_init()
/Zephyr-latest/tests/subsys/rtio/rtio_api/src/
Drtio_iodev_test.h17 struct k_timer timer; member
56 k_timer_start(&data->timer, K_MSEC(10), K_NO_WAIT); in rtio_iodev_test_next()
71 k_timer_start(&data->timer, K_MSEC(10), K_NO_WAIT); in rtio_iodev_test_complete()
81 struct rtio_iodev_test_data *data = CONTAINER_OF(tm, struct rtio_iodev_test_data, timer); in rtio_iodev_timer_fn()
130 k_timer_init(&data->timer, rtio_iodev_timer_fn, NULL); in rtio_iodev_test_init()
/Zephyr-latest/tests/drivers/disk/disk_performance/boards/
Dmimxrt1064_evk.overlay7 /* Disable GPT timer and use systick for better timer accuracy
/Zephyr-latest/modules/openthread/platform/
Dalarm.c32 static void ot_timer_ms_fired(struct k_timer *timer) in ot_timer_ms_fired() argument
34 ARG_UNUSED(timer); in ot_timer_ms_fired()
40 static void ot_timer_us_fired(struct k_timer *timer) in ot_timer_us_fired() argument
42 ARG_UNUSED(timer); in ot_timer_us_fired()
/Zephyr-latest/drivers/adc/
Dadc_context.h58 struct k_timer timer; member
77 ._ctx_name.timer = Z_TIMER_INITIALIZER(_data._ctx_name.timer, \
95 k_timer_init(&ctx->timer, adc_context_on_timer_expired, NULL); in adc_context_init()
120 k_timer_start(&ctx->timer, K_NO_WAIT, K_USEC(ctx->options.interval_us)); in adc_context_enable_timer()
125 k_timer_stop(&ctx->timer); in adc_context_disable_timer()
131 CONTAINER_OF(timer_id, struct adc_context, timer); in adc_context_on_timer_expired()
/Zephyr-latest/tests/kernel/timer/starve/
DREADME.txt3 The purpose of the test is to detect whether the timer implementation
6 some implementations this may prevent the timer interrupt handler from
17 hardware timer counter, a timer driver internal calculation of
20 For example a system that uses a 32768-Hz internal timer counter with
/Zephyr-latest/scripts/native_simulator/common/src/include/
Dnsi_hws_models_if.h21 uint64_t *timer; member
42 .timer = &t, \
/Zephyr-latest/samples/subsys/shell/shell_module/src/
Duart_reinit.c66 static void uart_poll_timer_stopped(struct k_timer *timer) in uart_poll_timer_stopped() argument
71 static void uart_poll_timeout(struct k_timer *timer) in uart_poll_timeout() argument
74 const struct device *dev = k_timer_user_data_get(timer); in uart_poll_timeout()
80 k_timer_stop(timer); in uart_poll_timeout()
/Zephyr-latest/drivers/input/
Dinput_ft5336.c75 struct k_timer timer; member
159 static void ft5336_timer_handler(struct k_timer *timer) in ft5336_timer_handler() argument
161 struct ft5336_data *data = CONTAINER_OF(timer, struct ft5336_data, timer); in ft5336_timer_handler()
229 k_timer_init(&data->timer, ft5336_timer_handler, NULL); in ft5336_init()
230 k_timer_start(&data->timer, K_MSEC(CONFIG_INPUT_FT5336_PERIOD), in ft5336_init()
266 k_timer_stop(&data->timer); in ft5336_pm_action()
283 k_timer_start(&data->timer, in ft5336_pm_action()
/Zephyr-latest/boards/nxp/vmu_rt1170/
DCMakeLists.txt23 message(WARNING "You appear to be using the GPT hardware timer. "
24 "This timer will enable lower power modes, but at the cost of reduced "
25 "hardware timer resolution")
/Zephyr-latest/boards/arm/v2m_musca_b1/
Dv2m_musca_b1-common.dtsi19 timer: timer@10c000 { label
20 compatible = "arm,cmsdk-timer";
/Zephyr-latest/boards/arm/v2m_musca_s1/
Dv2m_musca_s1-common.dtsi19 timer: timer@10b000 { label
20 compatible = "arm,cmsdk-timer";
/Zephyr-latest/dts/riscv/gd/
Dgd32vf103.dtsi10 #include <zephyr/dt-bindings/timer/nuclei-systimer.h>
43 systimer: timer@d1000000 {
299 timer0: timer@40012c00 {
300 compatible = "gd,gd32-timer";
317 timer1: timer@40000000 {
318 compatible = "gd,gd32-timer";
334 timer2: timer@40000400 {
335 compatible = "gd,gd32-timer";
351 timer3: timer@40000800 {
352 compatible = "gd,gd32-timer";
[all …]
/Zephyr-latest/dts/riscv/sensry/
Dganymed-sy1xx.dtsi50 systick: timer@1a10b040 {
51 compatible = "sensry,sy1xx-sys-timer";
58 timer1: timer@1a10b044 {
59 compatible = "sensry,sy1xx-sys-timer";
/Zephyr-latest/scripts/native_simulator/common/src/
Dnsi_hw_scheduler.c104 next_timer_time = *__nsi_hw_events_start[0].timer; in nsi_hws_find_next_event()
107 if (next_timer_time > *__nsi_hw_events_start[i].timer) { in nsi_hws_find_next_event()
109 next_timer_time = *__nsi_hw_events_start[i].timer; in nsi_hws_find_next_event()
/Zephyr-latest/drivers/pwm/
DKconfig.cc13xx_cc26xx_timer5 bool "TI SimpleLink CC13xx/CC26xx GPT timer PWM driver"
10 Enables TI SimpleLink CC13xx/CC26xx GPT timer PWM driver.
/Zephyr-latest/soc/nordic/nrf52/
DKconfig.defconfig10 # If the kernel has timer support, enable the timer
/Zephyr-latest/soc/nordic/nrf53/
DKconfig.defconfig10 # If the kernel has timer support, enable the timer

12345678910>>...30