/external/bluetooth/bluedroid/stack/include/ |
H A D | port_ext.h | 31 extern void rfcomm_process_timeout (TIMER_LIST_ENT *p_tle);
|
H A D | btu.h | 40 typedef void (*tBTU_TIMER_CALLBACK)(TIMER_LIST_ENT *p_tle); 196 TIMER_LIST_ENT *p_tle; /* timer entry */ member in struct:__anon1511 271 BTU_API extern void btu_start_timer (TIMER_LIST_ENT *p_tle, UINT16 type, UINT32 timeout); 272 BTU_API extern void btu_stop_timer (TIMER_LIST_ENT *p_tle); 273 BTU_API extern void btu_start_timer_oneshot(TIMER_LIST_ENT *p_tle, UINT16 type, UINT32 timeout); 274 BTU_API extern void btu_stop_timer_oneshot(TIMER_LIST_ENT *p_tle); 276 BTU_API extern UINT32 btu_remaining_time (TIMER_LIST_ENT *p_tle); 286 BTU_API extern void btu_start_quick_timer (TIMER_LIST_ENT *p_tle, UINT16 type, UINT32 timeout); 287 BTU_API extern void btu_stop_quick_timer (TIMER_LIST_ENT *p_tle);
|
/external/libnfc-nci/src/nfa/sys/ |
H A D | nfa_sys_ptim.c | 63 TIMER_LIST_ENT *p_tle; local 93 p_tle = p_cb->timer_queue.p_first; 94 NFA_TRACE_DEBUG1 ("nfa_sys_ptim_timer_update expired: %08x", p_tle); 95 GKI_remove_from_timer_list (&p_cb->timer_queue, p_tle); 98 if (p_tle->p_cback) 100 (*p_tle->p_cback) (p_tle); 102 else if (p_tle->event) 106 p_msg->event = p_tle->event; 131 void nfa_sys_ptim_start_timer (tPTIM_CB *p_cb, TIMER_LIST_ENT *p_tle, UINT1 argument 160 nfa_sys_ptim_stop_timer(tPTIM_CB *p_cb, TIMER_LIST_ENT *p_tle) argument [all...] |
H A D | nfa_sys_main.c | 373 void nfa_sys_start_timer (TIMER_LIST_ENT *p_tle, UINT16 type, INT32 timeout) argument 375 nfa_sys_ptim_start_timer (&nfa_sys_cb.ptim_cb, p_tle, type, timeout); 387 void nfa_sys_stop_timer (TIMER_LIST_ENT *p_tle) argument 389 nfa_sys_ptim_stop_timer (&nfa_sys_cb.ptim_cb, p_tle);
|
/external/bluetooth/bluedroid/bta/sys/ |
H A D | ptim.c | 61 TIMER_LIST_ENT *p_tle; local 91 p_tle = p_cb->timer_queue.p_first; 92 GKI_remove_from_timer_list(&p_cb->timer_queue, p_tle); 95 if(p_tle->p_cback) 97 (*p_tle->p_cback)(p_tle); 99 else if(p_tle->event) 103 p_msg->event = p_tle->event; 127 void ptim_start_timer(tPTIM_CB *p_cb, TIMER_LIST_ENT *p_tle, UINT16 type, INT32 timeout) argument 136 GKI_remove_from_timer_list(&p_cb->timer_queue, p_tle); 154 ptim_stop_timer(tPTIM_CB *p_cb, TIMER_LIST_ENT *p_tle) argument [all...] |
H A D | bta_sys_main.c | 612 void bta_sys_start_timer(TIMER_LIST_ENT *p_tle, UINT16 type, INT32 timeout) argument 614 ptim_start_timer(&bta_sys_cb.ptim_cb, p_tle, type, timeout); 626 void bta_sys_stop_timer(TIMER_LIST_ENT *p_tle) argument 628 ptim_stop_timer(&bta_sys_cb.ptim_cb, p_tle);
|
H A D | bta_sys.h | 256 extern void bta_sys_start_timer(TIMER_LIST_ENT *p_tle, UINT16 type, INT32 timeout); 257 extern void bta_sys_stop_timer(TIMER_LIST_ENT *p_tle);
|
/external/bluetooth/bluedroid/stack/btu/ |
H A D | btu_task.c | 150 typedef void (tUSER_TIMEOUT_FUNC) (TIMER_LIST_ENT *p_tle); 403 TIMER_LIST_ENT *p_tle = GKI_timer_getfirst(&btu_cb.timer_queue); local 404 if (p_tle->ticks != 0) 407 GKI_remove_from_timer_list(&btu_cb.timer_queue, p_tle); 409 switch (p_tle->event) { 411 btm_dev_timeout(p_tle); 415 btm_acl_timeout(p_tle); 423 l2c_process_timeout (p_tle); 427 sdp_conn_timeout ((tCONN_CB *)p_tle->param); 437 rfcomm_process_timeout (p_tle); 586 TIMER_LIST_ENT *p_tle = GKI_timer_getfirst(&btu_cb.timer_queue_oneshot); local 592 TIMER_LIST_ENT *p_tle = GKI_timer_getfirst(&btu_cb.timer_queue_oneshot); local 622 TIMER_LIST_ENT *p_tle = GKI_timer_getfirst(&btu_cb.timer_queue_oneshot); local 648 btu_start_timer(TIMER_LIST_ENT *p_tle, UINT16 type, UINT32 timeout) argument 691 btu_remaining_time(TIMER_LIST_ENT *p_tle) argument 705 btu_stop_timer(TIMER_LIST_ENT *p_tle) argument 746 btu_start_quick_timer(TIMER_LIST_ENT *p_tle, UINT16 type, UINT32 timeout) argument 788 btu_stop_quick_timer(TIMER_LIST_ENT *p_tle) argument 832 TIMER_LIST_ENT *p_tle; local 858 btu_start_timer_oneshot(TIMER_LIST_ENT *p_tle, UINT16 type, UINT32 timeout_in_secs) argument 888 btu_stop_timer_oneshot(TIMER_LIST_ENT *p_tle) argument [all...] |
/external/bluetooth/bluedroid/gki/common/ |
H A D | gki_time.c | 537 TIMER_LIST_ENT *p_tle; local 542 p_tle = p_timer_listq->p_first; 546 while ((p_tle) && (p_tle->ticks <= 0)) 549 p_tle = p_tle->p_next; 556 while ((p_tle != NULL) && (rem_ticks > 0)) 558 temp_ticks = p_tle->ticks; 559 p_tle->ticks -= rem_ticks; 562 if (p_tle 594 TIMER_LIST_ENT *p_tle; local 638 GKI_add_to_timer_list(TIMER_LIST_Q *p_timer_listq, TIMER_LIST_ENT *p_tle) argument 699 GKI_remove_from_timer_list(TIMER_LIST_Q *p_timer_listq, TIMER_LIST_ENT *p_tle) argument [all...] |
H A D | gki.h | 81 typedef void (TIMER_CBACK)(void *p_tle);
|
/external/libnfc-nci/src/nfc/nfc/ |
H A D | nfc_task.c | 59 void nfc_start_timer (TIMER_LIST_ENT *p_tle, UINT16 type, UINT32 timeout) argument 83 GKI_remove_from_timer_list (&nfc_cb.timer_queue, p_tle); 85 p_tle->event = type; 86 p_tle->ticks = timeout; /* Save the number of seconds for the timer */ 88 GKI_add_to_timer_list (&nfc_cb.timer_queue, p_tle); 100 UINT32 nfc_remaining_time (TIMER_LIST_ENT *p_tle) argument 102 return (GKI_get_remaining_ticks (&nfc_cb.timer_queue, p_tle)); 116 TIMER_LIST_ENT *p_tle; local 122 p_tle = nfc_cb.timer_queue.p_first; 123 GKI_remove_from_timer_list (&nfc_cb.timer_queue, p_tle); 157 nfc_stop_timer(TIMER_LIST_ENT *p_tle) argument 181 nfc_start_quick_timer(TIMER_LIST_ENT *p_tle, UINT16 type, UINT32 timeout) argument 225 nfc_stop_quick_timer(TIMER_LIST_ENT *p_tle) argument 247 TIMER_LIST_ENT *p_tle; local [all...] |
/external/libnfc-nci/halimpl/bcm2079x/gki/common/ |
H A D | gki_time.c | 649 ** Parameters p_tle - (input) pointer to a timer list queue entry 654 void GKI_init_timer_list_entry (TIMER_LIST_ENT *p_tle) argument 656 p_tle->p_next = NULL; 657 p_tle->p_prev = NULL; 658 p_tle->ticks = GKI_UNUSED_LIST_ENTRY; 659 p_tle->in_use = FALSE; 683 TIMER_LIST_ENT *p_tle; local 688 p_tle = p_timer_listq->p_first; 692 while ((p_tle) && (p_tle 751 TIMER_LIST_ENT *p_tle; local 800 GKI_add_to_timer_list(TIMER_LIST_Q *p_timer_listq, TIMER_LIST_ENT *p_tle) argument 903 GKI_remove_from_timer_list(TIMER_LIST_Q *p_timer_listq, TIMER_LIST_ENT *p_tle) argument [all...] |
/external/libnfc-nci/src/gki/common/ |
H A D | gki_time.c | 649 ** Parameters p_tle - (input) pointer to a timer list queue entry 654 void GKI_init_timer_list_entry (TIMER_LIST_ENT *p_tle) argument 656 p_tle->p_next = NULL; 657 p_tle->p_prev = NULL; 658 p_tle->ticks = GKI_UNUSED_LIST_ENTRY; 659 p_tle->in_use = FALSE; 683 TIMER_LIST_ENT *p_tle; local 688 p_tle = p_timer_listq->p_first; 692 while ((p_tle) && (p_tle 751 TIMER_LIST_ENT *p_tle; local 800 GKI_add_to_timer_list(TIMER_LIST_Q *p_timer_listq, TIMER_LIST_ENT *p_tle) argument 903 GKI_remove_from_timer_list(TIMER_LIST_Q *p_timer_listq, TIMER_LIST_ENT *p_tle) argument [all...] |
/external/bluetooth/bluedroid/bta/include/ |
H A D | ptim.h | 82 extern void ptim_start_timer(tPTIM_CB *p_cb, TIMER_LIST_ENT *p_tle, UINT16 type, INT32 timeout); 93 extern void ptim_stop_timer(tPTIM_CB *p_cb, TIMER_LIST_ENT *p_tle);
|
/external/libnfc-nci/src/nfa/int/ |
H A D | nfa_sys_ptim.h | 83 extern void nfa_sys_ptim_start_timer (tPTIM_CB *p_cb, TIMER_LIST_ENT *p_tle, UINT16 type, INT32 timeout); 94 extern void nfa_sys_ptim_stop_timer (tPTIM_CB *p_cb, TIMER_LIST_ENT *p_tle);
|
H A D | nfa_sys.h | 124 extern void nfa_sys_start_timer (TIMER_LIST_ENT *p_tle, UINT16 type, INT32 timeout); 125 extern void nfa_sys_stop_timer (TIMER_LIST_ENT *p_tle);
|
/external/libnfc-nci/halimpl/bcm2079x/hal/hal/ |
H A D | nfc_hal_main.c | 54 static void nfc_hal_main_timeout_cback (void *p_tle); 260 static void nfc_hal_main_timeout_cback (void *p_tle) argument 262 TIMER_LIST_ENT *p_tlent = (TIMER_LIST_ENT *) p_tle; 340 void nfc_hal_main_start_quick_timer (TIMER_LIST_ENT *p_tle, UINT16 type, UINT32 timeout) argument 363 GKI_remove_from_timer_list (&nfc_hal_cb.quick_timer_queue, p_tle); 365 p_tle->event = type; 366 p_tle->ticks = timeout; /* Save the number of ticks for the timer */ 368 GKI_add_to_timer_list (&nfc_hal_cb.quick_timer_queue, p_tle); 380 void nfc_hal_main_stop_quick_timer (TIMER_LIST_ENT *p_tle) argument 382 GKI_remove_from_timer_list (&nfc_hal_cb.quick_timer_queue, p_tle); 402 TIMER_LIST_ENT *p_tle; local [all...] |
/external/libnfc-nci/src/nfc/llcp/ |
H A D | llcp_main.c | 143 void llcp_process_timeout (TIMER_LIST_ENT *p_tle) argument 147 LLCP_TRACE_DEBUG1 ("llcp_process_timeout: event=%d", p_tle->event); 149 switch (p_tle->event) 163 llcp_dlsm_execute ((tLLCP_DLCB *) (p_tle->param), LLCP_DLC_EVENT_TIMEOUT, &reason);
|
/external/bluetooth/bluedroid/stack/rfcomm/ |
H A D | rfc_utils.c | 223 TIMER_LIST_ENT *p_tle = &p_mcb->tle; local 227 p_tle->param = (UINT32)p_mcb; 229 btu_start_timer (p_tle, BTU_TTYPE_RFCOMM_MFC, timeout); 257 TIMER_LIST_ENT *p_tle = &p_port->rfc.tle; local 261 p_tle->param = (UINT32)p_port; 263 btu_start_timer (p_tle, BTU_TTYPE_RFCOMM_PORT, timeout); 325 void rfcomm_process_timeout (TIMER_LIST_ENT *p_tle) argument 327 switch (p_tle->event) 330 rfc_mx_sm_execute ((tRFC_MCB *)p_tle->param, RFC_EVENT_TIMEOUT, NULL); 334 rfc_port_sm_execute ((tPORT *)p_tle [all...] |
/external/libnfc-nci/src/nfc/int/ |
H A D | nfc_int.h | 271 void nfc_start_timer (TIMER_LIST_ENT *p_tle, UINT16 type, UINT32 timeout); 272 UINT32 nfc_remaining_time (TIMER_LIST_ENT *p_tle); 273 void nfc_stop_timer (TIMER_LIST_ENT *p_tle); 275 void nfc_start_quick_timer (TIMER_LIST_ENT *p_tle, UINT16 type, UINT32 timeout); 276 void nfc_stop_quick_timer (TIMER_LIST_ENT *p_tle);
|
H A D | ce_int.h | 168 extern void ce_t4t_process_timeout (TIMER_LIST_ENT *p_tle);
|
H A D | rw_int.h | 608 extern void rw_t1t_process_timeout (TIMER_LIST_ENT *p_tle); 622 extern void rw_t2t_process_timeout (TIMER_LIST_ENT *p_tle); 626 extern void rw_t3t_process_timeout (TIMER_LIST_ENT *p_tle); 631 extern void rw_t4t_process_timeout (TIMER_LIST_ENT *p_tle); 634 extern void rw_i93_process_timeout (TIMER_LIST_ENT *p_tle);
|
/external/bluetooth/bluedroid/stack/hid/ |
H A D | hidh_int.h | 72 extern void hidh_proc_repage_timeout (TIMER_LIST_ENT *p_tle);
|
/external/libnfc-nci/src/hal/int/ |
H A D | nfc_hal_int.h | 460 void nfc_hal_main_start_quick_timer (TIMER_LIST_ENT *p_tle, UINT16 type, UINT32 timeout); 461 void nfc_hal_main_stop_quick_timer (TIMER_LIST_ENT *p_tle); 472 void nfc_hal_nci_cmd_timeout_cback (void *p_tle); 494 void nfc_hal_prm_process_timeout (void *p_tle); 504 void nfc_hal_hci_timeout_cback (void *p_tle);
|
/external/bluetooth/bluedroid/bta/ag/ |
H A D | bta_ag_main.c | 289 TIMER_LIST_ENT *p_tle = (TIMER_LIST_ENT *) p; local 293 p_buf->event = p_tle->event; 294 p_buf->layer_specific = bta_ag_scb_to_idx((tBTA_AG_SCB *) p_tle->param); 559 static void bta_ag_colli_timer_cback (TIMER_LIST_ENT *p_tle) argument 565 if (p_tle) 567 p_scb = (tBTA_AG_SCB *)p_tle->param;
|