/Zephyr-latest/modules/nrf_wifi/os/ |
D | timer.h | 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);
|
/Zephyr-latest/drivers/timer/ |
D | Kconfig.x86 | 15 bool "HPET timer" 24 system timer. 27 bool "Local APIC timer" 39 bool "Local APIC timer using TSC deadline mode" 44 Extremely simple timer driver based the local APIC TSC 55 bool "Local APIC timer using TSC time source" 65 timer frequency. 72 int "Local APIC timer IRQ" 75 This option specifies the IRQ used by the local APIC timer. 77 last IO-APIC IRQ (the timer is the first entry in the APIC [all …]
|
D | Kconfig.cortex_m_systick | 6 DT_CHOSEN_IDLE_TIMER := zephyr,cortex-m-idle-timer 9 bool "Cortex-M SYSTICK timer" 21 SYSTICK timer and provides the standard "system clock driver" interfaces. 31 bool "Cortex-M SYSTICK timer with sys_clock_cycle_get_64() support" 47 bool "Use an additional timer while entering IDLE" 53 There are chips e.g. STMFX family that use SysTick as a system timer, 55 another timer that is not stopped, but it has lower frequency e.g. 56 RTC, thus it can't be used as a main system timer. 58 Use the IDLE timer for timeout (wakeup) when the system is entering 61 The chosen IDLE timer node has to support setting alarm from the
|
D | Kconfig.arm_arch | 7 bool "ARM architected timer" 14 timer which provides per-cpu timers attached to a GIC to deliver its 18 bool "ARM architected timer is affected by ARM erratum 740657" 21 This option indicates that the ARM architected timer as implemented 25 indication upon every actual timer interrupt. This option activates 26 the workaround for the erratum within the timer driver.
|
D | Kconfig.mec5 | 5 bool "Microchip MEC5 HAL kernel timer" 12 This module implements a kernel timer device driver for the 14 The 32-bit 32 KHz based RTOS timer which is operational in 15 full power and deep sleep. Basic timer 5 is a 48 MHz based
|
D | Kconfig.xlnx_psttc | 7 bool "Xilinx PS ttc timer support" 14 If unchecked, no timer will be used. 17 int "Xilinx PS ttc timer index" 22 This is the index of TTC timer picked to provide system clock.
|
D | leon_gptimer.c | 40 struct gptimer_timer_regs timer[GPTIMER_MAX_SUBTIMERS]; member 71 volatile struct gptimer_timer_regs *tmr = ®s->timer[0]; in timer_isr() 94 volatile struct gptimer_timer_regs *tmr = ®s->timer[1]; in sys_clock_cycle_get_32() 110 volatile struct gptimer_timer_regs *tmr = ®s->timer[0]; in sys_clock_driver_init() 112 init_downcounter(®s->timer[1]); in sys_clock_driver_init()
|
/Zephyr-latest/subsys/profiling/perf/ |
D | perf.c | 19 struct k_timer timer; member 30 static void perf_tracer(struct k_timer *timer); 33 .timer = Z_TIMER_INITIALIZER(perf_data.timer, perf_tracer, NULL), 37 static void perf_tracer(struct k_timer *timer) in perf_tracer() argument 40 (struct perf_data_t *)k_timer_user_data_get(timer); in perf_tracer() 65 k_timer_stop(&perf_data_ptr->timer); in perf_dwork_handler() 90 k_timer_user_data_set(&perf_data.timer, &perf_data); in cmd_perf_record() 91 k_timer_start(&perf_data.timer, K_NO_WAIT, period); in cmd_perf_record()
|
/Zephyr-latest/tests/kernel/timer/timer_api/src/ |
D | main.c | 52 static void duration_expire(struct k_timer *timer); 53 static void duration_stop(struct k_timer *timer); 113 static void duration_expire(struct k_timer *timer) in duration_expire() argument 120 TIMER_ASSERT(interval_check(interval, DURATION), timer); in duration_expire() 122 TIMER_ASSERT(interval_check(interval, PERIOD), timer); in duration_expire() 126 k_timer_stop(timer); in duration_expire() 130 static void duration_stop(struct k_timer *timer) in duration_stop() argument 135 static void period0_expire(struct k_timer *timer) in period0_expire() argument 140 static void status_expire(struct k_timer *timer) in status_expire() argument 143 TIMER_ASSERT(k_timer_status_get(timer) == 1, timer); in status_expire() [all …]
|
/Zephyr-latest/subsys/net/lib/lwm2m/ |
D | ipso_timer.c | 104 static int start_timer(struct ipso_timer_data *timer) in start_timer() argument 107 struct lwm2m_obj_path path = LWM2M_OBJ(IPSO_OBJECT_TIMER_ID, timer->obj_inst_id, in start_timer() 111 if (timer->timer_mode == TIMER_MODE_OFF || timer->active || in start_timer() 112 !timer->enabled) { in start_timer() 117 temp = timer->min_off_time * MSEC_PER_SEC; in start_timer() 118 if (k_uptime_get() < timer->trigger_offset + temp) { in start_timer() 124 timer->trigger_offset = k_uptime_get(); in start_timer() 125 timer->trigger_counter += 1U; in start_timer() 129 temp = timer->delay_duration * MSEC_PER_SEC; in start_timer() 130 k_work_reschedule(&timer->timer_work, K_MSEC(temp)); in start_timer() [all …]
|
/Zephyr-latest/dts/arm/gd/gd32e10x/ |
D | gd32e10x.dtsi | 240 timer0: timer@40012c00 { 241 compatible = "gd,gd32-timer"; 258 timer1: timer@40000000 { 259 compatible = "gd,gd32-timer"; 275 timer2: timer@40000400 { 276 compatible = "gd,gd32-timer"; 292 timer3: timer@40000800 { 293 compatible = "gd,gd32-timer"; 309 timer4: timer@40000c00 { 310 compatible = "gd,gd32-timer"; [all …]
|
/Zephyr-latest/drivers/watchdog/ |
D | Kconfig.gd32 | 5 bool "GD32 Free watchdog timer (FWDGT) driver" 11 Enable the Free watchdog timer (FWDGT) driver for GD32 SoCs. 14 bool "GD32 Window watchdog timer (WWDGT) Driver" 19 Enable the Window watchdog timer (WWDGT) driver for GD32 SoCs.
|
/Zephyr-latest/dts/arm/ti/ |
D | cc13xx_cc26xx.dtsi | 99 gpt0: timer@40010000 { 100 compatible = "ti,cc13xx-cc26xx-timer"; 107 compatible = "ti,cc13xx-cc26xx-timer-pwm"; 113 gpt1: timer@40011000 { 114 compatible = "ti,cc13xx-cc26xx-timer"; 121 compatible = "ti,cc13xx-cc26xx-timer-pwm"; 127 gpt2: timer@40012000 { 128 compatible = "ti,cc13xx-cc26xx-timer"; 135 compatible = "ti,cc13xx-cc26xx-timer-pwm"; 141 gpt3: timer@40013000 { [all …]
|
/Zephyr-latest/soc/st/stm32/stm32wbax/hci_if/ |
D | stm32_timer.c | 14 static struct k_timer timer; variable 41 k_timer_user_data_set(&timer, timer_object); in UTIL_TIMER_Start() 42 k_timer_start(&timer, K_TICKS(timer_object->ReloadValue), in UTIL_TIMER_Start() 55 k_timer_stop(&timer); in UTIL_TIMER_Stop()
|
/Zephyr-latest/tests/kernel/common/src/ |
D | timeout_order.c | 13 static struct k_timer timer[NUM_TIMEOUTS]; variable 25 k_timer_status_sync(&timer[id]); in thread() 59 k_timer_init(&timer[ii], 0, 0); in ZTEST() 73 k_timer_start(&timer[ii], K_MSEC(100), K_NO_WAIT); in ZTEST() 86 k_timer_stop(&timer[ii]); in ZTEST()
|
/Zephyr-latest/include/zephyr/tracing/ |
D | tracking.h | 67 #define sys_port_track_k_timer_stop(timer) argument 68 #define sys_port_track_k_timer_start(timer, duration, period) argument 69 #define sys_port_track_k_timer_init(timer) \ argument 70 sys_track_k_timer_init(timer) 101 void sys_track_k_timer_init(struct k_timer *timer); 128 #define sys_port_track_k_timer_stop(timer) argument 129 #define sys_port_track_k_timer_start(timer, duration, period) argument 130 #define sys_port_track_k_timer_init(timer) argument
|
/Zephyr-latest/drivers/counter/ |
D | Kconfig.gd32 | 1 # GD32 counter timer configuration options 7 bool "GD32 timer counter driver" 12 Enable counter timer driver for GD32 series devices.
|
D | Kconfig.dtmr_cmsdk_apb | 1 # Counter and timer configuration options 11 The dualtimer (DTMR) present in the platform is used as a timer. 12 This option enables the support for the timer.
|
D | counter_rpi_pico_timer.c | 35 timer_hw_t *timer; member 46 config->timer->pause = 0; in counter_rpi_pico_timer_start() 55 config->timer->pause = 1u; in counter_rpi_pico_timer_stop() 56 config->timer->timelw = 0; in counter_rpi_pico_timer_stop() 57 config->timer->timehw = 0; in counter_rpi_pico_timer_stop() 85 update_us_since_boot(&alarm_at, config->timer->timerawl + target); in counter_rpi_pico_timer_set_alarm() 98 missed = timer_hardware_alarm_set_target(config->timer, id, alarm_at); in counter_rpi_pico_timer_set_alarm() 102 timer_hardware_alarm_force_irq(config->timer, id); in counter_rpi_pico_timer_set_alarm() 120 timer_hardware_alarm_cancel(config->timer, id); in counter_rpi_pico_timer_cancel_alarm() 226 .timer = (timer_hw_t *)DT_INST_REG_ADDR(inst), \
|
/Zephyr-latest/dts/arm/gd/gd32f403/ |
D | gd32f403.dtsi | 298 timer0: timer@40012c00 { 299 compatible = "gd,gd32-timer"; 316 timer2: timer@40000400 { 317 compatible = "gd,gd32-timer"; 333 timer3: timer@40000800 { 334 compatible = "gd,gd32-timer"; 350 timer5: timer@40001000 { 351 compatible = "gd,gd32-timer"; 361 timer6: timer@40001400 { 362 compatible = "gd,gd32-timer"; [all …]
|
/Zephyr-latest/tests/subsys/logging/log_backend_init/src/ |
D | main.c | 25 struct k_timer timer; member 63 static void expire_cb(struct k_timer *timer) in expire_cb() argument 65 void *ctx = k_timer_user_data_get(timer); in expire_cb() 75 k_timer_init(&context->timer, expire_cb, NULL); in backend_init() 76 k_timer_user_data_set(&context->timer, (void *)context); in backend_init() 77 k_timer_start(&context->timer, K_MSEC(context->delay), K_NO_WAIT); in backend_init()
|
/Zephyr-latest/doc/kernel/timing_functions/ |
D | index.rst | 9 Please note that the timing functions may use a different timer 10 than the default kernel timer, where the timer being used is 24 1. Call :c:func:`timing_init` to initialize the timer. 27 timing information. This usually starts the timer. 35 5. Call :c:func:`timing_cycles_get` to get the number of timer cycles 45 timing information. This usually stops the timer.
|
/Zephyr-latest/subsys/shell/backends/ |
D | shell_rtt.c | 37 static void timer_handler(struct k_timer *timer) in timer_handler() argument 39 const struct shell_rtt *sh_rtt = k_timer_user_data_get(timer); in timer_handler() 56 k_timer_init(&sh_rtt->timer, timer_handler, NULL); in init() 57 k_timer_user_data_set(&sh_rtt->timer, (void *)sh_rtt); in init() 58 k_timer_start(&sh_rtt->timer, K_MSEC(CONFIG_SHELL_RTT_RX_POLL_PERIOD), in init() 78 k_timer_stop(&sh_rtt->timer); in uninit() 91 k_timer_stop(&sh_rtt->timer); in enable()
|
/Zephyr-latest/tests/benchmarks/footprints/src/ |
D | timer.c | 31 static void timer_init(struct k_timer *timer, k_timer_expiry_t expiry_fn, in timer_init() argument 34 k_object_access_grant(timer, k_current_get()); in timer_init() 35 k_timer_init(timer, expiry_fn, stop_fn); in timer_init() 38 static void timer_stop(struct k_timer *timer) in timer_stop() argument 43 static void timer_expire(struct k_timer *timer) in timer_expire() argument
|
/Zephyr-latest/modules/hal_infineon/abstraction-rtos/source/COMPONENT_ZEPHYR/ |
D | cyabs_rtos_zephyr.c | 771 static void zephyr_timer_event_handler(struct k_timer *timer) in zephyr_timer_event_handler() argument 773 cy_timer_t *_timer = (cy_timer_t *)timer; in zephyr_timer_event_handler() 779 cy_rslt_t cy_rtos_init_timer(cy_timer_t *timer, cy_timer_trigger_type_t type, in cy_rtos_init_timer() argument 784 if ((timer == NULL) || (fun == NULL)) { in cy_rtos_init_timer() 787 timer->callback_function = (void *)fun; in cy_rtos_init_timer() 788 timer->trigger_type = (uint32_t)type; in cy_rtos_init_timer() 789 timer->arg = (void *)arg; in cy_rtos_init_timer() 791 k_timer_init(&timer->z_timer, zephyr_timer_event_handler, NULL); in cy_rtos_init_timer() 797 cy_rslt_t cy_rtos_start_timer(cy_timer_t *timer, cy_time_t num_ms) in cy_rtos_start_timer() argument 801 if (timer == NULL) { in cy_rtos_start_timer() [all …]
|