/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);
|
/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/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/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/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...] |
/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/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/dm/ |
H A D | bta_dm_pm.c | 38 static void bta_dm_pm_timer_cback(void *p_tle); 696 static void bta_dm_pm_timer_cback(void *p_tle) argument 709 if(&bta_dm_cb.pm_timer[i].timer == (TIMER_LIST_ENT*) p_tle)
|
/external/bluetooth/bluedroid/stack/bnep/ |
H A D | bnep_main.c | 674 void bnep_process_timeout (TIMER_LIST_ENT *p_tle) argument 678 if (!p_tle->param) 690 p_bcb = (tBNEP_CONN *)p_tle->param;
|
/external/bluetooth/bluedroid/stack/hid/ |
H A D | hidh_conn.c | 302 void hidh_proc_repage_timeout (TIMER_LIST_ENT *p_tle) argument 304 hidh_conn_initiate( (UINT8) p_tle->param ) ; 305 hh_cb.devices[p_tle->param].conn_tries++; 306 hh_cb.callback( (UINT8) p_tle->param, hh_cb.devices[p_tle->param].addr, 307 HID_HDEV_EVT_RETRYING, hh_cb.devices[p_tle->param].conn_tries, NULL ) ;
|
/external/bluetooth/bluedroid/stack/l2cap/ |
H A D | l2c_main.c | 919 void l2c_process_timeout (TIMER_LIST_ENT *p_tle) argument 922 switch (p_tle->event) 925 l2c_link_timeout ((tL2C_LCB *)p_tle->param); 929 l2c_csm_execute (((tL2C_CCB *)p_tle->param), L2CEVT_TIMEOUT, NULL); 933 l2c_csm_execute (((tL2C_CCB *)p_tle->param), L2CEVT_ACK_TIMEOUT, NULL); 942 l2c_info_timeout((tL2C_LCB *)p_tle->param);
|
/external/bluetooth/bluedroid/stack/mcap/ |
H A D | mca_api.c | 50 void mca_process_timeout(TIMER_LIST_ENT *p_tle) argument 52 if(p_tle->event == BTU_TTYPE_MCA_CCB_RSP) 54 p_tle->event = 0; 55 mca_ccb_event ((tMCA_CCB *) p_tle->param, MCA_CCB_RSP_TOUT_EVT, NULL);
|
/external/libnfc-nci/halimpl/bcm2079x/hal/hal/ |
H A D | nfc_hal_hci.c | 803 void nfc_hal_hci_timeout_cback (void *p_tle) argument 805 TIMER_LIST_ENT *p_tlent = (TIMER_LIST_ENT *)p_tle;
|
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...] |
H A D | nfc_hal_nci.c | 827 void nfc_hal_nci_cmd_timeout_cback (void *p_tle) argument 829 TIMER_LIST_ENT *p_tlent = (TIMER_LIST_ENT *)p_tle;
|
/external/libnfc-nci/src/nfa/p2p/ |
H A D | nfa_p2p_main.c | 185 static void nfa_p2p_update_active_listen_timeout_cback (TIMER_LIST_ENT *p_tle) argument
|
/external/libnfc-nci/src/nfc/tags/ |
H A D | ce_t4t.c | 564 void ce_t4t_process_timeout (TIMER_LIST_ENT *p_tle) argument 569 CE_TRACE_DEBUG1 ("ce_t4t_process_timeout () event=%d", p_tle->event); 571 if (p_tle->event == NFC_TTYPE_CE_T4T_UPDATE) 585 CE_TRACE_ERROR1 ("ce_t4t_process_timeout () unknown event=%d", p_tle->event);
|
H A D | rw_t1t.c | 527 void rw_t1t_process_timeout (TIMER_LIST_ENT *p_tle) argument
|
H A D | rw_t2t.c | 436 void rw_t2t_process_timeout (TIMER_LIST_ENT *p_tle) argument
|
/external/bluetooth/bluedroid/bta/ag/ |
H A D | bta_ag_sco.c | 650 static void bta_ag_cn_timer_cback (TIMER_LIST_ENT *p_tle) argument 654 if (p_tle) 656 p_scb = (tBTA_AG_SCB *)p_tle->param;
|
/external/bluetooth/bluedroid/bta/hf_client/ |
H A D | bta_hf_client_main.c | 298 static void bta_hf_client_colli_timer_cback (TIMER_LIST_ENT *p_tle) argument 302 if (p_tle)
|