Home
last modified time | relevance | path

Searched refs:tmr (Results 1 – 11 of 11) sorted by relevance

/Zephyr-latest/drivers/timer/
Dleon_gptimer.c71 volatile struct gptimer_timer_regs *tmr = &regs->timer[0]; in timer_isr() local
74 ctrl = tmr->ctrl; in timer_isr()
80 tmr->ctrl = GPTIMER_CTRL_IE | GPTIMER_CTRL_RS | in timer_isr()
94 volatile struct gptimer_timer_regs *tmr = &regs->timer[1]; in sys_clock_cycle_get_32() local
95 uint32_t counter = tmr->counter; in sys_clock_cycle_get_32()
100 static void init_downcounter(volatile struct gptimer_timer_regs *tmr) in init_downcounter() argument
102 tmr->reload = 0xFFFFFFFF; in init_downcounter()
103 tmr->ctrl = GPTIMER_CTRL_LD | GPTIMER_CTRL_RS | GPTIMER_CTRL_EN; in init_downcounter()
110 volatile struct gptimer_timer_regs *tmr = &regs->timer[0]; in sys_clock_driver_init() local
115 tmr->ctrl = GPTIMER_CTRL_IP; in sys_clock_driver_init()
[all …]
Dnpcx_itim_timer.c230 : [tmr] "r"(evt_tmr), [itcnt32_off] "i"(offsetof(struct itim32_reg, ITCNT32)) in npcx_itim_get_evt_cyc32()
/Zephyr-latest/dts/arm/nxp/
Dnxp_rt118x.dtsi363 compatible = "nxp,imx-tmr";
368 compatible = "nxp,imx-tmr";
373 compatible = "nxp,imx-tmr";
378 compatible = "nxp,imx-tmr";
390 compatible = "nxp,imx-tmr";
395 compatible = "nxp,imx-tmr";
400 compatible = "nxp,imx-tmr";
405 compatible = "nxp,imx-tmr";
417 compatible = "nxp,imx-tmr";
422 compatible = "nxp,imx-tmr";
[all …]
Dnxp_rt10xx.dtsi174 compatible = "nxp,imx-tmr";
179 compatible = "nxp,imx-tmr";
184 compatible = "nxp,imx-tmr";
189 compatible = "nxp,imx-tmr";
201 compatible = "nxp,imx-tmr";
206 compatible = "nxp,imx-tmr";
211 compatible = "nxp,imx-tmr";
216 compatible = "nxp,imx-tmr";
228 compatible = "nxp,imx-tmr";
233 compatible = "nxp,imx-tmr";
[all …]
/Zephyr-latest/tests/kernel/timer/starve/src/
Dmain.c38 static struct k_timer tmr; in ZTEST() local
51 k_timer_init(&tmr, handler, NULL); in ZTEST()
89 k_timer_start(&tmr, K_MSEC(TIMER_DELAY_ms), K_NO_WAIT); in ZTEST()
/Zephyr-latest/drivers/sensor/hp206c/
Dhp206c.h83 struct k_timer tmr; member
Dhp206c.c169 k_timer_start(&hp206c->tmr, K_MSEC(timeout_ms), K_NO_WAIT); in hp206c_wait_dev_ready()
170 k_timer_status_sync(&hp206c->tmr); in hp206c_wait_dev_ready()
300 k_timer_init(&hp206c->tmr, NULL, NULL); in hp206c_init()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/hal/RV32M1/radio/
Dradio.c157 uint32_t tmr = GENFSK->EVENT_TMR & GENFSK_EVENT_TMR_EVENT_TMR_MASK; in tmp_cb() local
160 isr_latency = (tmr - t2) & GENFSK_EVENT_TMR_EVENT_TMR_MASK; /* 24bit */ in tmp_cb()
317 uint32_t tmr = GENFSK->EVENT_TMR & GENFSK_EVENT_TMR_EVENT_TMR_MASK; in isr_radio() local
344 isr_tmr_end = tmr - isr_latency; in isr_radio()
390 tmr = isr_tmr_end + tmr_tifs - next_wu; in isr_radio()
392 GENFSK->T1_CMP = GENFSK_T1_CMP_T1_CMP(tmr) | in isr_radio()
845 uint32_t tmr = GENFSK->EVENT_TMR + RADIO_DISABLE_TMR; in radio_disable() local
847 GENFSK->T2_CMP = GENFSK_T2_CMP_T2_CMP(tmr) | GENFSK_T2_CMP_T2_CMP_EN(1); in radio_disable()
/Zephyr-latest/tests/kernel/timer/timer_api/src/
Dmain.c70 #define TIMER_ASSERT(exp, tmr) \ argument
73 k_timer_stop(tmr); \
/Zephyr-latest/drivers/counter/
Dmaxim_ds3231.c837 static void sync_timer_handler(struct k_timer *tmr) in sync_timer_handler() argument
839 struct ds3231_data *data = CONTAINER_OF(tmr, struct ds3231_data, in sync_timer_handler()
/Zephyr-latest/doc/releases/
Drelease-notes-3.1.rst886 * :dtcompatible:`nxp,imx-tmr`