Lines Matching refs:timer
75 powman_set_bits(&powman_hw->timer, POWMAN_TIMER_USE_LPOSC_BITS); in powman_timer_set_1khz_tick_source_lposc_with_hz()
78 while(!(powman_hw->timer & POWMAN_TIMER_USING_LPOSC_BITS)); in powman_timer_set_1khz_tick_source_lposc_with_hz()
93 powman_set_bits(&powman_hw->timer, POWMAN_TIMER_USE_XOSC_BITS); in powman_timer_set_1khz_tick_source_xosc_with_hz()
96 while(!(powman_hw->timer & POWMAN_TIMER_USING_XOSC_BITS)); in powman_timer_set_1khz_tick_source_xosc_with_hz()
106 powman_set_bits(&powman_hw->timer, use); in powman_timer_use_gpio()
109 while(!(powman_hw->timer & using)); in powman_timer_use_gpio()
124 powman_clear_bits(&powman_hw->timer, POWMAN_TIMER_USE_GPIO_1HZ_BITS); in powman_timer_disable_gpio_1hz_sync()
204 powman_clear_bits(&powman_hw->timer, POWMAN_TIMER_ALARM_ENAB_BITS); in powman_timer_enable_alarm_at_ms()
212 powman_set_bits(&powman_hw->timer, POWMAN_TIMER_ALARM_ENAB_BITS); in powman_timer_enable_alarm_at_ms()
217 powman_clear_bits(&powman_hw->timer, POWMAN_TIMER_ALARM_ENAB_BITS); in powman_timer_disable_alarm()
222 powman_set_bits(&powman_hw->timer, POWMAN_TIMER_PWRUP_ON_ALARM_BITS); in powman_enable_alarm_wakeup_at_ms()
227 powman_clear_bits(&powman_hw->timer, POWMAN_TIMER_PWRUP_ON_ALARM_BITS); in powman_disable_alarm_wakeup()