Home
last modified time | relevance | path

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

/system/nfc/src/gki/common/
Dgki_time.cc587 void GKI_init_timer_list(TIMER_LIST_Q* p_timer_listq) { in GKI_init_timer_list() argument
588 p_timer_listq->p_first = nullptr; in GKI_init_timer_list()
589 p_timer_listq->p_last = nullptr; in GKI_init_timer_list()
590 p_timer_listq->last_ticks = 0; in GKI_init_timer_list()
636 uint16_t GKI_update_timer_list(TIMER_LIST_Q* p_timer_listq, in GKI_update_timer_list() argument
643 p_tle = p_timer_listq->p_first; in GKI_update_timer_list()
673 if (p_timer_listq->last_ticks > 0) { in GKI_update_timer_list()
674 p_timer_listq->last_ticks -= num_units_since_last_update; in GKI_update_timer_list()
680 if (p_timer_listq->last_ticks < 0) p_timer_listq->last_ticks = 0; in GKI_update_timer_list()
701 uint32_t GKI_get_remaining_ticks(TIMER_LIST_Q* p_timer_listq, in GKI_get_remaining_ticks() argument
[all …]