Searched refs:p_dlcb (Results 1 – 5 of 5) sorted by relevance
/system/nfc/src/nfc/llcp/ |
D | llcp_dlc.cc | 38 static tLLCP_STATUS llcp_dlsm_idle(tLLCP_DLCB* p_dlcb, tLLCP_DLC_EVENT event, 40 static tLLCP_STATUS llcp_dlsm_w4_remote_resp(tLLCP_DLCB* p_dlcb, 43 static tLLCP_STATUS llcp_dlsm_w4_local_resp(tLLCP_DLCB* p_dlcb, 46 static tLLCP_STATUS llcp_dlsm_connected(tLLCP_DLCB* p_dlcb, 48 static tLLCP_STATUS llcp_dlsm_w4_remote_dm(tLLCP_DLCB* p_dlcb, 66 tLLCP_STATUS llcp_dlsm_execute(tLLCP_DLCB* p_dlcb, tLLCP_DLC_EVENT event, in llcp_dlsm_execute() argument 71 << StringPrintf("DLC (0x%02X) - state: %s, evt: %s", p_dlcb->local_sap, in llcp_dlsm_execute() 72 llcp_dlsm_get_state_name(p_dlcb->state).c_str(), in llcp_dlsm_execute() 75 switch (p_dlcb->state) { in llcp_dlsm_execute() 77 status = llcp_dlsm_idle(p_dlcb, event, p_data); in llcp_dlsm_execute() [all …]
|
D | llcp_util.cc | 348 tLLCP_DLCB* p_dlcb = nullptr; in llcp_util_allocate_data_link() local 356 p_dlcb = &(llcp_cb.dlcb[idx]); in llcp_util_allocate_data_link() 358 memset(p_dlcb, 0, sizeof(tLLCP_DLCB)); in llcp_util_allocate_data_link() 363 if (!p_dlcb) { in llcp_util_allocate_data_link() 366 p_dlcb->p_app_cb = llcp_util_get_app_cb(reg_sap); in llcp_util_allocate_data_link() 367 p_dlcb->local_sap = reg_sap; in llcp_util_allocate_data_link() 368 p_dlcb->remote_sap = remote_sap; in llcp_util_allocate_data_link() 369 p_dlcb->timer.param = (uintptr_t)p_dlcb; in llcp_util_allocate_data_link() 377 p_dlcb->local_sap, p_dlcb->remote_sap, in llcp_util_allocate_data_link() 380 return p_dlcb; in llcp_util_allocate_data_link() [all …]
|
D | llcp_api.cc | 841 tLLCP_DLCB* p_dlcb; in LLCP_ConnectReq() local 892 p_dlcb = llcp_dlc_find_dlcb_by_sap(reg_sap, LLCP_INVALID_SAP); in LLCP_ConnectReq() 893 if (p_dlcb) { in LLCP_ConnectReq() 904 p_dlcb = llcp_util_allocate_data_link(reg_sap, dsap); in LLCP_ConnectReq() 906 if (p_dlcb) { in LLCP_ConnectReq() 908 llcp_dlsm_execute(p_dlcb, LLCP_DLC_EVENT_API_CONNECT_REQ, p_params); in LLCP_ConnectReq() 911 llcp_util_deallocate_data_link(p_dlcb); in LLCP_ConnectReq() 935 tLLCP_DLCB* p_dlcb; in LLCP_ConnectCfm() local 954 p_dlcb = llcp_dlc_find_dlcb_by_sap(local_sap, remote_sap); in LLCP_ConnectCfm() 956 if (p_dlcb) { in LLCP_ConnectCfm() [all …]
|
D | llcp_link.cc | 394 tLLCP_DLCB* p_dlcb; in llcp_link_deactivate() local 424 p_dlcb = &(llcp_cb.dlcb[idx]); in llcp_link_deactivate() 426 llcp_dlsm_execute(p_dlcb, LLCP_DLC_EVENT_LINK_ERROR, nullptr); in llcp_link_deactivate() 963 tLLCP_DLCB* p_dlcb; in llcp_link_proc_ui_pdu() local 967 p_dlcb = llcp_dlc_find_dlcb_by_sap(local_sap, remote_sap); in llcp_link_proc_ui_pdu() 968 if (p_dlcb) { in llcp_link_proc_ui_pdu() 969 llcp_util_send_frmr(p_dlcb, LLCP_FRMR_W_ERROR_FLAG, LLCP_PDU_UI_TYPE, 0); in llcp_link_proc_ui_pdu() 970 llcp_dlsm_execute(p_dlcb, LLCP_DLC_EVENT_FRAME_ERROR, nullptr); in llcp_link_proc_ui_pdu()
|
/system/nfc/src/nfc/include/ |
D | llcp_int.h | 320 void llcp_util_deallocate_data_link(tLLCP_DLCB* p_dlcb); 321 tLLCP_STATUS llcp_util_send_connect(tLLCP_DLCB* p_dlcb, 325 tLLCP_STATUS llcp_util_send_cc(tLLCP_DLCB* p_dlcb, 330 void llcp_util_build_info_pdu(tLLCP_DLCB* p_dlcb, NFC_HDR* p_msg); 331 tLLCP_STATUS llcp_util_send_frmr(tLLCP_DLCB* p_dlcb, uint8_t flags, 333 void llcp_util_send_rr_rnr(tLLCP_DLCB* p_dlcb); 338 tLLCP_STATUS llcp_dlsm_execute(tLLCP_DLCB* p_dlcb, tLLCP_DLC_EVENT event, 341 void llcp_dlc_flush_q(tLLCP_DLCB* p_dlcb); 347 bool llcp_dlc_is_rw_open(tLLCP_DLCB* p_dlcb); 348 NFC_HDR* llcp_dlc_get_next_pdu(tLLCP_DLCB* p_dlcb); [all …]
|