Searched refs:tmr (Results 1 – 7 of 7) sorted by relevance
/Zephyr-Core-2.7.6/drivers/timer/ |
D | leon_gptimer.c | 69 volatile struct gptimer_timer_regs *tmr = ®s->timer[0]; in timer_isr() local 72 ctrl = tmr->ctrl; in timer_isr() 78 tmr->ctrl = GPTIMER_CTRL_IE | GPTIMER_CTRL_RS | in timer_isr() 92 volatile struct gptimer_timer_regs *tmr = ®s->timer[1]; in sys_clock_cycle_get_32() local 93 uint32_t counter = tmr->counter; in sys_clock_cycle_get_32() 98 static void init_downcounter(volatile struct gptimer_timer_regs *tmr) in init_downcounter() argument 100 tmr->reload = 0xFFFFFFFF; in init_downcounter() 101 tmr->ctrl = GPTIMER_CTRL_LD | GPTIMER_CTRL_RS | GPTIMER_CTRL_EN; in init_downcounter() 109 volatile struct gptimer_timer_regs *tmr = ®s->timer[0]; in sys_clock_driver_init() local 114 tmr->ctrl = GPTIMER_CTRL_IP; in sys_clock_driver_init() [all …]
|
/Zephyr-Core-2.7.6/tests/kernel/timer/starve/src/ |
D | main.c | 38 static struct k_timer tmr; in test_starve() local 51 k_timer_init(&tmr, handler, NULL); in test_starve() 89 k_timer_start(&tmr, K_MSEC(TIMER_DELAY_ms), K_NO_WAIT); in test_starve()
|
/Zephyr-Core-2.7.6/drivers/sensor/hp206c/ |
D | hp206c.c | 172 k_timer_start(&hp206c->tmr, K_MSEC(timeout_ms), K_NO_WAIT); in hp206c_wait_dev_ready() 173 k_timer_status_sync(&hp206c->tmr); in hp206c_wait_dev_ready() 303 k_timer_init(&hp206c->tmr, NULL, NULL); in hp206c_init()
|
D | hp206c.h | 80 struct k_timer tmr; member
|
/Zephyr-Core-2.7.6/subsys/bluetooth/controller/ll_sw/openisa/hal/RV32M1/radio/ |
D | radio.c | 150 uint32_t tmr = GENFSK->EVENT_TMR & GENFSK_EVENT_TMR_EVENT_TMR_MASK; in tmp_cb() local 153 isr_latency = (tmr - t2) & GENFSK_EVENT_TMR_EVENT_TMR_MASK; /* 24bit */ in tmp_cb() 310 uint32_t tmr = GENFSK->EVENT_TMR & GENFSK_EVENT_TMR_EVENT_TMR_MASK; in isr_radio() local 337 isr_tmr_end = tmr - isr_latency; in isr_radio() 383 tmr = isr_tmr_end + tmr_tifs - next_wu; in isr_radio() 385 GENFSK->T1_CMP = GENFSK_T1_CMP_T1_CMP(tmr) | in isr_radio() 838 uint32_t tmr = GENFSK->EVENT_TMR + RADIO_DISABLE_TMR; in radio_disable() local 840 GENFSK->T2_CMP = GENFSK_T2_CMP_T2_CMP(tmr) | GENFSK_T2_CMP_T2_CMP_EN(1); in radio_disable()
|
/Zephyr-Core-2.7.6/tests/kernel/timer/timer_api/src/ |
D | main.c | 72 #define TIMER_ASSERT(exp, tmr) \ argument 75 k_timer_stop(tmr); \
|
/Zephyr-Core-2.7.6/drivers/counter/ |
D | maxim_ds3231.c | 845 static void sync_timer_handler(struct k_timer *tmr) in sync_timer_handler() argument 847 struct ds3231_data *data = CONTAINER_OF(tmr, struct ds3231_data, in sync_timer_handler()
|