Home
last modified time | relevance | path

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

/external/libnfc-nci/src/nfa/sys/
Dnfa_sys_ptim.c45 GKI_init_timer_list (&p_cb->timer_queue); in nfa_sys_ptim_init()
85 GKI_update_timer_list (&p_cb->timer_queue, GKI_TICKS_TO_MS (period_in_ticks)); in nfa_sys_ptim_timer_update()
90 while ((p_cb->timer_queue.p_first) && (p_cb->timer_queue.p_first->ticks <= 0)) in nfa_sys_ptim_timer_update()
93 p_tle = p_cb->timer_queue.p_first; in nfa_sys_ptim_timer_update()
95 GKI_remove_from_timer_list (&p_cb->timer_queue, p_tle); in nfa_sys_ptim_timer_update()
114 if (p_cb->timer_queue.p_first == NULL) in nfa_sys_ptim_timer_update()
136 if (p_cb->timer_queue.p_first == NULL) in nfa_sys_ptim_start_timer()
143 GKI_remove_from_timer_list (&p_cb->timer_queue, p_tle); in nfa_sys_ptim_start_timer()
148 GKI_add_to_timer_list (&p_cb->timer_queue, p_tle); in nfa_sys_ptim_start_timer()
164 GKI_remove_from_timer_list (&p_cb->timer_queue, p_tle); in nfa_sys_ptim_stop_timer()
[all …]
/external/libnfc-nci/src/nfc/nfc/
Dnfc_task.c64 if (nfc_cb.timer_queue.p_first == NULL) in nfc_start_timer()
83 GKI_remove_from_timer_list (&nfc_cb.timer_queue, p_tle); in nfc_start_timer()
88 GKI_add_to_timer_list (&nfc_cb.timer_queue, p_tle); in nfc_start_timer()
102 return (GKI_get_remaining_ticks (&nfc_cb.timer_queue, p_tle)); in nfc_remaining_time()
118 GKI_update_timer_list (&nfc_cb.timer_queue, 1); in nfc_process_timer_evt()
120 while ((nfc_cb.timer_queue.p_first) && (!nfc_cb.timer_queue.p_first->ticks)) in nfc_process_timer_evt()
122 p_tle = nfc_cb.timer_queue.p_first; in nfc_process_timer_evt()
123 GKI_remove_from_timer_list (&nfc_cb.timer_queue, p_tle); in nfc_process_timer_evt()
142 if (nfc_cb.timer_queue.p_first == NULL) in nfc_process_timer_evt()
159 GKI_remove_from_timer_list (&nfc_cb.timer_queue, p_tle); in nfc_stop_timer()
[all …]
/external/libnfc-nci/src/nfa/int/
Dnfa_sys_ptim.h36 TIMER_LIST_Q timer_queue; /* GKI timer queue */ member
/external/libnfc-nci/src/nfc/int/
Dnfc_int.h173 TIMER_LIST_Q timer_queue; /* 1-sec timer event queue */ member