Lines Matching refs:bflb_timer
26 struct bflb_device_s *bflb_timer; member
84 bool hwtmr_stat = bflb_timer_get_compint_status(timer->bflb_timer, TIMER_COMP_ID_0); in _hwtmr_isr()
88 bflb_timer_compint_clear(timer->bflb_timer, TIMER_COMP_ID_0); in _hwtmr_isr()
106 bflb_timer_init(_gptmr->bflb_timer, &cfg); in _hwtimer_init()
126 bflb_timer_init(_gptmr->bflb_timer, &cfg); in _hwtimer_start()
127 bflb_irq_enable(_gptmr->bflb_timer->irq_num); in _hwtimer_start()
128 bflb_timer_start(_gptmr->bflb_timer); in _hwtimer_start()
136 bflb_timer_stop(_gptmr->bflb_timer); in _hwtimer_stop()
143 rt_uint32_t current_cnt = bflb_timer_get_countervalue(_gptmr->bflb_timer); in _hwtimer_count_get()
164 bflb_timer_stop(_gptmr->bflb_timer); in _hwtimer_control()
179 s_gptimers[i]->bflb_timer = bflb_device_get_by_name(s_gptimers[i]->name); in rt_hw_hwtimer_init()