Home
last modified time | relevance | path

Searched refs:p_tle (Results 1 – 25 of 64) sorted by relevance

123

/external/libnfc-nci/src/gki/common/
Dgki_time.c654 void GKI_init_timer_list_entry (TIMER_LIST_ENT *p_tle) in GKI_init_timer_list_entry() argument
656 p_tle->p_next = NULL; in GKI_init_timer_list_entry()
657 p_tle->p_prev = NULL; in GKI_init_timer_list_entry()
658 p_tle->ticks = GKI_UNUSED_LIST_ENTRY; in GKI_init_timer_list_entry()
659 p_tle->in_use = FALSE; in GKI_init_timer_list_entry()
683 TIMER_LIST_ENT *p_tle; in GKI_update_timer_list() local
688 p_tle = p_timer_listq->p_first; in GKI_update_timer_list()
692 while ((p_tle) && (p_tle->ticks <= 0)) in GKI_update_timer_list()
695 p_tle = p_tle->p_next; in GKI_update_timer_list()
702 while ((p_tle != NULL) && (rem_ticks > 0)) in GKI_update_timer_list()
[all …]
/external/libnfc-nci/halimpl/bcm2079x/gki/common/
Dgki_time.c654 void GKI_init_timer_list_entry (TIMER_LIST_ENT *p_tle) in GKI_init_timer_list_entry() argument
656 p_tle->p_next = NULL; in GKI_init_timer_list_entry()
657 p_tle->p_prev = NULL; in GKI_init_timer_list_entry()
658 p_tle->ticks = GKI_UNUSED_LIST_ENTRY; in GKI_init_timer_list_entry()
659 p_tle->in_use = FALSE; in GKI_init_timer_list_entry()
683 TIMER_LIST_ENT *p_tle; in GKI_update_timer_list() local
688 p_tle = p_timer_listq->p_first; in GKI_update_timer_list()
692 while ((p_tle) && (p_tle->ticks <= 0)) in GKI_update_timer_list()
695 p_tle = p_tle->p_next; in GKI_update_timer_list()
702 while ((p_tle != NULL) && (rem_ticks > 0)) in GKI_update_timer_list()
[all …]
/external/libnfc-nci/src/nfc/nfc/
Dnfc_task.c59 void nfc_start_timer (TIMER_LIST_ENT *p_tle, UINT16 type, UINT32 timeout) in nfc_start_timer() argument
83 GKI_remove_from_timer_list (&nfc_cb.timer_queue, p_tle); in nfc_start_timer()
85 p_tle->event = type; in nfc_start_timer()
86 p_tle->ticks = timeout; /* Save the number of seconds for the timer */ in nfc_start_timer()
88 GKI_add_to_timer_list (&nfc_cb.timer_queue, p_tle); in nfc_start_timer()
100 UINT32 nfc_remaining_time (TIMER_LIST_ENT *p_tle) in nfc_remaining_time() argument
102 return (GKI_get_remaining_ticks (&nfc_cb.timer_queue, p_tle)); in nfc_remaining_time()
116 TIMER_LIST_ENT *p_tle; in nfc_process_timer_evt() local
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()
[all …]
/external/bluetooth/bluedroid/gki/common/
Dgki_time.c665 void GKI_init_timer_list_entry (TIMER_LIST_ENT *p_tle) in GKI_init_timer_list_entry() argument
667 p_tle->p_next = NULL; in GKI_init_timer_list_entry()
668 p_tle->p_prev = NULL; in GKI_init_timer_list_entry()
669 p_tle->ticks = GKI_UNUSED_LIST_ENTRY; in GKI_init_timer_list_entry()
670 p_tle->in_use = FALSE; in GKI_init_timer_list_entry()
694 TIMER_LIST_ENT *p_tle; in GKI_update_timer_list() local
699 p_tle = p_timer_listq->p_first; in GKI_update_timer_list()
703 while ((p_tle) && (p_tle->ticks <= 0)) in GKI_update_timer_list()
706 p_tle = p_tle->p_next; in GKI_update_timer_list()
713 while ((p_tle != NULL) && (rem_ticks > 0)) in GKI_update_timer_list()
[all …]
/external/bluetooth/bluedroid/stack/btu/
Dbtu_task.c149 typedef void (tUSER_TIMEOUT_FUNC) (TIMER_LIST_ENT *p_tle);
378 TIMER_LIST_ENT *p_tle; in btu_task() local
384 p_tle = btu_cb.timer_queue.p_first; in btu_task()
385 GKI_remove_from_timer_list (&btu_cb.timer_queue, p_tle); in btu_task()
387 switch (p_tle->event) in btu_task()
390 btm_dev_timeout(p_tle); in btu_task()
394 btm_acl_timeout(p_tle); in btu_task()
403 l2c_process_timeout (p_tle); in btu_task()
407 sdp_conn_timeout ((tCONN_CB *)p_tle->param); in btu_task()
417 rfcomm_process_timeout (p_tle); in btu_task()
[all …]
/external/libnfc-nci/src/nfa/sys/
Dnfa_sys_ptim.c63 TIMER_LIST_ENT *p_tle; in nfa_sys_ptim_timer_update() local
93 p_tle = p_cb->timer_queue.p_first; in nfa_sys_ptim_timer_update()
94 NFA_TRACE_DEBUG1 ("nfa_sys_ptim_timer_update expired: %08x", p_tle); in nfa_sys_ptim_timer_update()
95 GKI_remove_from_timer_list (&p_cb->timer_queue, p_tle); in nfa_sys_ptim_timer_update()
98 if (p_tle->p_cback) in nfa_sys_ptim_timer_update()
100 (*p_tle->p_cback) (p_tle); in nfa_sys_ptim_timer_update()
102 else if (p_tle->event) in nfa_sys_ptim_timer_update()
106 p_msg->event = p_tle->event; in nfa_sys_ptim_timer_update()
131 void nfa_sys_ptim_start_timer (tPTIM_CB *p_cb, TIMER_LIST_ENT *p_tle, UINT16 type, INT32 timeout) in nfa_sys_ptim_start_timer() argument
133 NFA_TRACE_DEBUG1 ("nfa_sys_ptim_start_timer %08x", p_tle); in nfa_sys_ptim_start_timer()
[all …]
Dnfa_sys_main.c373 void nfa_sys_start_timer (TIMER_LIST_ENT *p_tle, UINT16 type, INT32 timeout) in nfa_sys_start_timer() argument
375 nfa_sys_ptim_start_timer (&nfa_sys_cb.ptim_cb, p_tle, type, timeout); in nfa_sys_start_timer()
387 void nfa_sys_stop_timer (TIMER_LIST_ENT *p_tle) in nfa_sys_stop_timer() argument
389 nfa_sys_ptim_stop_timer (&nfa_sys_cb.ptim_cb, p_tle); in nfa_sys_stop_timer()
/external/bluetooth/bluedroid/bta/sys/
Dptim.c61 TIMER_LIST_ENT *p_tle; in ptim_timer_update() local
91 p_tle = p_cb->timer_queue.p_first; in ptim_timer_update()
92 GKI_remove_from_timer_list(&p_cb->timer_queue, p_tle); in ptim_timer_update()
95 if(p_tle->p_cback) in ptim_timer_update()
97 (*p_tle->p_cback)(p_tle); in ptim_timer_update()
99 else if(p_tle->event) in ptim_timer_update()
103 p_msg->event = p_tle->event; in ptim_timer_update()
127 void ptim_start_timer(tPTIM_CB *p_cb, TIMER_LIST_ENT *p_tle, UINT16 type, INT32 timeout) in ptim_start_timer() argument
136 GKI_remove_from_timer_list(&p_cb->timer_queue, p_tle); in ptim_start_timer()
138 p_tle->event = type; in ptim_start_timer()
[all …]
Dbta_sys_main.c610 void bta_sys_start_timer(TIMER_LIST_ENT *p_tle, UINT16 type, INT32 timeout) in bta_sys_start_timer() argument
612 ptim_start_timer(&bta_sys_cb.ptim_cb, p_tle, type, timeout); in bta_sys_start_timer()
624 void bta_sys_stop_timer(TIMER_LIST_ENT *p_tle) in bta_sys_stop_timer() argument
626 ptim_stop_timer(&bta_sys_cb.ptim_cb, p_tle); in bta_sys_stop_timer()
Dbta_sys.h253 extern void bta_sys_start_timer(TIMER_LIST_ENT *p_tle, UINT16 type, INT32 timeout);
254 extern void bta_sys_stop_timer(TIMER_LIST_ENT *p_tle);
/external/libnfc-nci/halimpl/bcm2079x/hal/hal/
Dnfc_hal_main.c54 static void nfc_hal_main_timeout_cback (void *p_tle);
260 static void nfc_hal_main_timeout_cback (void *p_tle) in nfc_hal_main_timeout_cback() argument
262 TIMER_LIST_ENT *p_tlent = (TIMER_LIST_ENT *) p_tle; in nfc_hal_main_timeout_cback()
340 void nfc_hal_main_start_quick_timer (TIMER_LIST_ENT *p_tle, UINT16 type, UINT32 timeout) in nfc_hal_main_start_quick_timer() argument
363 GKI_remove_from_timer_list (&nfc_hal_cb.quick_timer_queue, p_tle); in nfc_hal_main_start_quick_timer()
365 p_tle->event = type; in nfc_hal_main_start_quick_timer()
366 p_tle->ticks = timeout; /* Save the number of ticks for the timer */ in nfc_hal_main_start_quick_timer()
368 GKI_add_to_timer_list (&nfc_hal_cb.quick_timer_queue, p_tle); in nfc_hal_main_start_quick_timer()
380 void nfc_hal_main_stop_quick_timer (TIMER_LIST_ENT *p_tle) in nfc_hal_main_stop_quick_timer() argument
382 GKI_remove_from_timer_list (&nfc_hal_cb.quick_timer_queue, p_tle); in nfc_hal_main_stop_quick_timer()
[all …]
/external/bluetooth/bluedroid/stack/include/
Dbtu.h40 typedef void (*tBTU_TIMER_CALLBACK)(TIMER_LIST_ENT *p_tle);
193 TIMER_LIST_ENT *p_tle; /* timer entry */ member
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_TI…
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);
Dport_ext.h31 extern void rfcomm_process_timeout (TIMER_LIST_ENT *p_tle);
/external/bluetooth/bluedroid/stack/rfcomm/
Drfc_utils.c222 TIMER_LIST_ENT *p_tle = &p_mcb->tle; in rfc_timer_start() local
226 p_tle->param = (UINT32)p_mcb; in rfc_timer_start()
228 btu_start_timer (p_tle, BTU_TTYPE_RFCOMM_MFC, timeout); in rfc_timer_start()
256 TIMER_LIST_ENT *p_tle = &p_port->rfc.tle; in rfc_port_timer_start() local
260 p_tle->param = (UINT32)p_port; in rfc_port_timer_start()
262 btu_start_timer (p_tle, BTU_TTYPE_RFCOMM_PORT, timeout); in rfc_port_timer_start()
324 void rfcomm_process_timeout (TIMER_LIST_ENT *p_tle) in rfcomm_process_timeout() argument
326 switch (p_tle->event) in rfcomm_process_timeout()
329 rfc_mx_sm_execute ((tRFC_MCB *)p_tle->param, RFC_EVENT_TIMEOUT, NULL); in rfcomm_process_timeout()
333 rfc_port_sm_execute ((tPORT *)p_tle->param, RFC_EVENT_TIMEOUT, NULL); in rfcomm_process_timeout()
/external/libnfc-nci/src/nfc/llcp/
Dllcp_main.c143 void llcp_process_timeout (TIMER_LIST_ENT *p_tle) in llcp_process_timeout() argument
147 LLCP_TRACE_DEBUG1 ("llcp_process_timeout: event=%d", p_tle->event); in llcp_process_timeout()
149 switch (p_tle->event) in llcp_process_timeout()
163 llcp_dlsm_execute ((tLLCP_DLCB *) (p_tle->param), LLCP_DLC_EVENT_TIMEOUT, &reason); in llcp_process_timeout()
/external/libnfc-nci/src/nfc/int/
Dnfc_int.h269 void nfc_start_timer (TIMER_LIST_ENT *p_tle, UINT16 type, UINT32 timeout);
270 UINT32 nfc_remaining_time (TIMER_LIST_ENT *p_tle);
271 void nfc_stop_timer (TIMER_LIST_ENT *p_tle);
273 void nfc_start_quick_timer (TIMER_LIST_ENT *p_tle, UINT16 type, UINT32 timeout);
274 void nfc_stop_quick_timer (TIMER_LIST_ENT *p_tle);
Drw_int.h604 extern void rw_t1t_process_timeout (TIMER_LIST_ENT *p_tle);
618 extern void rw_t2t_process_timeout (TIMER_LIST_ENT *p_tle);
622 extern void rw_t3t_process_timeout (TIMER_LIST_ENT *p_tle);
627 extern void rw_t4t_process_timeout (TIMER_LIST_ENT *p_tle);
630 extern void rw_i93_process_timeout (TIMER_LIST_ENT *p_tle);
/external/libnfc-nci/src/nfa/int/
Dnfa_sys_ptim.h83 extern void nfa_sys_ptim_start_timer (tPTIM_CB *p_cb, TIMER_LIST_ENT *p_tle, UINT16 type, INT32 tim…
94 extern void nfa_sys_ptim_stop_timer (tPTIM_CB *p_cb, TIMER_LIST_ENT *p_tle);
Dnfa_sys.h124 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/bluetooth/bluedroid/bta/include/
Dptim.h82 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/hal/int/
Dnfc_hal_int.h445 void nfc_hal_main_start_quick_timer (TIMER_LIST_ENT *p_tle, UINT16 type, UINT32 timeout);
446 void nfc_hal_main_stop_quick_timer (TIMER_LIST_ENT *p_tle);
457 void nfc_hal_nci_cmd_timeout_cback (void *p_tle);
477 void nfc_hal_prm_process_timeout (void *p_tle);
486 void nfc_hal_hci_timeout_cback (void *p_tle);
/external/bluetooth/bluedroid/bta/ag/
Dbta_ag_main.c288 TIMER_LIST_ENT *p_tle = (TIMER_LIST_ENT *) p; in bta_ag_timer_cback() local
292 p_buf->event = p_tle->event; in bta_ag_timer_cback()
293 p_buf->layer_specific = bta_ag_scb_to_idx((tBTA_AG_SCB *) p_tle->param); in bta_ag_timer_cback()
553 static void bta_ag_colli_timer_cback (TIMER_LIST_ENT *p_tle) in bta_ag_colli_timer_cback() argument
559 if (p_tle) in bta_ag_colli_timer_cback()
561 p_scb = (tBTA_AG_SCB *)p_tle->param; in bta_ag_colli_timer_cback()
/external/bluetooth/bluedroid/stack/l2cap/
Dl2c_main.c888 void l2c_process_timeout (TIMER_LIST_ENT *p_tle) in l2c_process_timeout() argument
891 switch (p_tle->event) in l2c_process_timeout()
894 l2c_link_timeout ((tL2C_LCB *)p_tle->param); in l2c_process_timeout()
898 l2c_csm_execute (((tL2C_CCB *)p_tle->param), L2CEVT_TIMEOUT, NULL); in l2c_process_timeout()
902 l2c_csm_execute (((tL2C_CCB *)p_tle->param), L2CEVT_ACK_TIMEOUT, NULL); in l2c_process_timeout()
911 l2c_info_timeout((tL2C_LCB *)p_tle->param); in l2c_process_timeout()
/external/bluetooth/bluedroid/stack/hid/
Dhidh_int.h72 extern void hidh_proc_repage_timeout (TIMER_LIST_ENT *p_tle);
Dhidh_conn.c299 void hidh_proc_repage_timeout (TIMER_LIST_ENT *p_tle) in hidh_proc_repage_timeout() argument
301 hidh_conn_initiate( (UINT8) p_tle->param ) ; in hidh_proc_repage_timeout()
302 hh_cb.devices[p_tle->param].conn_tries++; in hidh_proc_repage_timeout()
303 …hh_cb.callback( (UINT8) p_tle->param, HID_HDEV_EVT_RETRYING, hh_cb.devices[p_tle->param].conn_trie… in hidh_proc_repage_timeout()

123