Lines Matching refs:hook
68 timer->hook.cbFunc = RT_NULL; in rt_hs_timer_init()
69 timer->hook.userPtr = RT_NULL; in rt_hs_timer_init()
131 timer->hook.cbFunc = control->hook.cbFunc; in rt_hs_timer_control()
132 timer->hook.userPtr = control->hook.userPtr; in rt_hs_timer_control()
206 if (timer->hook.cbFunc != RT_NULL) in rt_hw_timer_isr()
208 (timer->hook.cbFunc)(timer->hook.userPtr); in rt_hw_timer_isr()
236 efm32_irq_hook_init_t hook; in rt_hw_timer_unit_init() local
300 hook.type = efm32_irq_type_timer; in rt_hw_timer_unit_init()
301 hook.unit = unitNumber; in rt_hw_timer_unit_init()
302 hook.cbFunc = rt_hw_timer_isr; in rt_hw_timer_unit_init()
303 hook.userPtr = device; in rt_hw_timer_unit_init()
304 efm32_irq_hook_register(&hook); in rt_hw_timer_unit_init()