/external/bluetooth/bluedroid/bta/sys/ |
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) 136 GKI_remove_from_timer_list(&p_cb->timer_queue, p_tle); [all...] |
/external/libnfc-nci/src/nfa/sys/ |
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, UINT16 type, INT32 timeout [all...] |
/external/libnfc-nci/src/nfc/nfc/ |
nfc_task.c | 59 void nfc_start_timer (TIMER_LIST_ENT *p_tle, UINT16 type, UINT32 timeout) 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) 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); 247 TIMER_LIST_ENT *p_tle; local [all...] |
/external/bluetooth/bluedroid/stack/btu/ |
btu_task.c | 149 typedef void (tUSER_TIMEOUT_FUNC) (TIMER_LIST_ENT *p_tle); 378 TIMER_LIST_ENT *p_tle; local 384 p_tle = btu_cb.timer_queue.p_first; 385 GKI_remove_from_timer_list (&btu_cb.timer_queue, p_tle); 387 switch (p_tle->event) 390 btm_dev_timeout(p_tle); 394 btm_acl_timeout(p_tle); 403 l2c_process_timeout (p_tle); 407 sdp_conn_timeout ((tCONN_CB *)p_tle->param); 417 rfcomm_process_timeout (p_tle); 754 TIMER_LIST_ENT *p_tle; local [all...] |
/external/bluetooth/bluedroid/stack/rfcomm/ |
rfc_utils.c | 222 TIMER_LIST_ENT *p_tle = &p_mcb->tle; local 226 p_tle->param = (UINT32)p_mcb; 228 btu_start_timer (p_tle, BTU_TTYPE_RFCOMM_MFC, timeout); 256 TIMER_LIST_ENT *p_tle = &p_port->rfc.tle; local 260 p_tle->param = (UINT32)p_port; 262 btu_start_timer (p_tle, BTU_TTYPE_RFCOMM_PORT, timeout); 324 void rfcomm_process_timeout (TIMER_LIST_ENT *p_tle) 326 switch (p_tle->event) 329 rfc_mx_sm_execute ((tRFC_MCB *)p_tle->param, RFC_EVENT_TIMEOUT, NULL); 333 rfc_port_sm_execute ((tPORT *)p_tle->param, RFC_EVENT_TIMEOUT, NULL) [all...] |
/external/bluetooth/bluedroid/gki/common/ |
gki_time.c | 660 ** Parameters p_tle - (input) pointer to a timer list queue entry 665 void GKI_init_timer_list_entry (TIMER_LIST_ENT *p_tle) 667 p_tle->p_next = NULL; 668 p_tle->p_prev = NULL; 669 p_tle->ticks = GKI_UNUSED_LIST_ENTRY; 670 p_tle->in_use = FALSE; 694 TIMER_LIST_ENT *p_tle; local 699 p_tle = p_timer_listq->p_first; 703 while ((p_tle) && (p_tle->ticks <= 0) 762 TIMER_LIST_ENT *p_tle; local [all...] |
/external/libnfc-nci/halimpl/bcm2079x/gki/common/ |
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) 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->ticks <= 0) 751 TIMER_LIST_ENT *p_tle; local [all...] |
/external/libnfc-nci/halimpl/bcm2079x/hal/hal/ |
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) 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) 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) 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/gki/common/ |
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) 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->ticks <= 0) 751 TIMER_LIST_ENT *p_tle; local [all...] |
/external/bluetooth/bluedroid/bta/ag/ |
bta_ag_main.c | 288 TIMER_LIST_ENT *p_tle = (TIMER_LIST_ENT *) p; local 292 p_buf->event = p_tle->event; 293 p_buf->layer_specific = bta_ag_scb_to_idx((tBTA_AG_SCB *) p_tle->param); 553 static void bta_ag_colli_timer_cback (TIMER_LIST_ENT *p_tle) 559 if (p_tle) 561 p_scb = (tBTA_AG_SCB *)p_tle->param; [all...] |
/external/bluetooth/bluedroid/stack/include/ |
btu.h | 40 typedef void (*tBTU_TIMER_CALLBACK)(TIMER_LIST_ENT *p_tle); 193 TIMER_LIST_ENT *p_tle; /* timer entry */ member in struct:__anon3312 267 BTU_API extern void btu_start_timer (TIMER_LIST_ENT *p_tle, UINT16 type, UINT32 timeout); 268 BTU_API extern void btu_stop_timer (TIMER_LIST_ENT *p_tle); 269 BTU_API extern void btu_register_timer (TIMER_LIST_ENT *p_tle, UINT16 type, UINT32 timeout, tBTU_TIMER_CALLBACK timer_cb); 270 BTU_API extern void btu_deregister_timer(TIMER_LIST_ENT *p_tle); 271 BTU_API extern UINT32 btu_remaining_time (TIMER_LIST_ENT *p_tle); 284 BTU_API extern void btu_start_quick_timer (TIMER_LIST_ENT *p_tle, UINT16 type, UINT32 timeout); 285 BTU_API extern void btu_stop_quick_timer (TIMER_LIST_ENT *p_tle);
|