/external/libnfc-nci/src/include/ |
D | trace_api.h | 36 BT_API extern void DispAMPFrame (BT_HDR *p_buf, BOOLEAN is_recv, BD_ADDR bd_addr); 37 BT_API extern void DispRFCOMMFrame (BT_HDR *p_buf, BOOLEAN is_recv); 38 BT_API extern void DispL2CCmd(BT_HDR *p_buf, BOOLEAN is_recv); 41 BT_API extern void DispTcsMsg (BT_HDR *p_buf, BOOLEAN is_recv); 42 BT_API extern void DispHciEvt (BT_HDR *p_buf); 43 BT_API extern void DispHciAclData (BT_HDR *p_buf, BOOLEAN is_rcvd); 44 BT_API extern void DispHciScoData (BT_HDR *p_buf, BOOLEAN is_rcvd); 45 BT_API extern void DispHciCmd (BT_HDR *p_buf); 46 BT_API extern void DispBnep (BT_HDR *p_buf, BOOLEAN is_recv); 47 BT_API extern void DispAvdtMsg (BT_HDR *p_buf, BOOLEAN is_recv); [all …]
|
/external/libnfc-nci/src/nfc/llcp/ |
D | llcp_api.c | 675 BT_HDR *p_buf) in LLCP_SendUI() argument 700 if (p_buf->len <= llcp_cb.lcb.peer_miu) in LLCP_SendUI() 702 if (p_buf->offset >= LLCP_MIN_OFFSET) in LLCP_SendUI() 704 status = llcp_util_send_ui (ssap, dsap, p_app_cb, p_buf); in LLCP_SendUI() 709 p_buf->offset, LLCP_MIN_OFFSET ); in LLCP_SendUI() 724 GKI_freebuf (p_buf); in LLCP_SendUI() 751 BT_HDR *p_buf; in LLCP_ReadLogicalLinkData() local 767 p_buf = (BT_HDR *) p_app_cb->ui_rx_q.p_first; in LLCP_ReadLogicalLinkData() 768 p_ui_pdu = (UINT8*) (p_buf + 1) + p_buf->offset; in LLCP_ReadLogicalLinkData() 778 p_ui_pdu += p_buf->layer_specific; in LLCP_ReadLogicalLinkData() [all …]
|
/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
D | android_logmsg.cpp | 199 void DispHciCmd (BT_HDR *p_buf) in DispHciCmd() argument 201 UINT32 nBytes = ((BT_HDR_SIZE + p_buf->offset + p_buf->len)*2)+1; in DispHciCmd() 202 UINT8* data = (UINT8*) p_buf; in DispHciCmd() 203 int data_len = BT_HDR_SIZE + p_buf->offset + p_buf->len; in DispHciCmd() 217 void DispHciEvt (BT_HDR *p_buf) in DispHciEvt() argument 219 UINT32 nBytes = ((BT_HDR_SIZE + p_buf->offset + p_buf->len)*2)+1; in DispHciEvt() 220 UINT8* data = (UINT8*) p_buf; in DispHciEvt() 221 int data_len = BT_HDR_SIZE + p_buf->offset + p_buf->len; in DispHciEvt() 243 void DispLLCP (BT_HDR *p_buf, BOOLEAN is_recv) in DispLLCP() argument 245 UINT32 nBytes = ((BT_HDR_SIZE + p_buf->offset + p_buf->len)*2)+1; in DispLLCP() [all …]
|
D | NonVolatileStore.cpp | 63 void nfc_hal_nv_co_read (UINT8 *p_buf, UINT16 nbytes, UINT8 block) in nfc_hal_nv_co_read() argument 82 size_t actualReadData = read (fileStream, p_buf, nbytes); in nfc_hal_nv_co_read() 121 void nfc_hal_nv_co_write (const UINT8 *p_buf, UINT16 nbytes, UINT8 block) in nfc_hal_nv_co_write() argument 139 unsigned short checksum = crcChecksumCompute (p_buf, nbytes); in nfc_hal_nv_co_write() 141 size_t actualWrittenData = write (fileStream, p_buf, nbytes); in nfc_hal_nv_co_write()
|
D | userial_linux.c | 745 extern BOOLEAN gki_chk_buf_damage(void *p_buf); 765 BT_HDR *p_buf = NULL; in userial_read_thread() local 774 BT_HDR *p_buf; in userial_read_thread() local 777 if ((p_buf = (BT_HDR *) GKI_getpoolbuf( USERIAL_POOL_ID ) )!= NULL) in userial_read_thread() 779 p_buf->offset = 0; in userial_read_thread() 780 p_buf->layer_specific = 0; in userial_read_thread() 782 current_packet = (UINT8 *) (p_buf + 1); in userial_read_thread() 788 …al_read_thread(): unable to get buffer from GKI p_buf = %p poolid = %d\n", p_buf, USERIAL_POOL_ID); in userial_read_thread() 800 p_buf->len = (UINT16)rx_length; in userial_read_thread() 801 GKI_enqueue(&Userial_in_q, p_buf); in userial_read_thread() [all …]
|
/external/libnfc-nci/halimpl/bcm2079x/hal/hal/ |
D | nfc_hal_nci.c | 723 void nfc_hal_nci_send_cmd (NFC_HDR *p_buf) in nfc_hal_nci_send_cmd() argument 737 nci_brcm_check_cmd_create_hcp_connection ((NFC_HDR*) p_buf); in nfc_hal_nci_send_cmd() 746 nfc_hal_cb.ncit_cb.p_pend_cmd = p_buf; in nfc_hal_nci_send_cmd() 751 buf_len = p_buf->len; in nfc_hal_nci_send_cmd() 752 offset = p_buf->offset; in nfc_hal_nci_send_cmd() 757 DISP_NCI ((UINT8 *) (p_buf + 1) + p_buf->offset, p_buf->len, FALSE); in nfc_hal_nci_send_cmd() 760 ps = (UINT8 *) (p_buf + 1) + p_buf->offset; in nfc_hal_nci_send_cmd() 768 p_buf->len = max_len; in nfc_hal_nci_send_cmd() 769 ps = (UINT8 *) (p_buf + 1) + p_buf->offset; in nfc_hal_nci_send_cmd() 777 nfc_hal_nci_add_nfc_pkt_type (p_buf); in nfc_hal_nci_send_cmd() [all …]
|
D | nfc_hal_dm.c | 781 NFC_HDR *p_buf; in nfc_hal_dm_send_nci_cmd() local 792 if ((p_buf = (NFC_HDR *)GKI_getpoolbuf (NFC_HAL_NCI_POOL_ID)) != NULL) in nfc_hal_dm_send_nci_cmd() 796 p_buf->offset = NFC_HAL_NCI_MSG_OFFSET_SIZE; in nfc_hal_dm_send_nci_cmd() 797 p_buf->event = NFC_HAL_EVT_TO_NFC_NCI; in nfc_hal_dm_send_nci_cmd() 798 p_buf->len = len; in nfc_hal_dm_send_nci_cmd() 800 memcpy ((UINT8*) (p_buf + 1) + p_buf->offset, p_data, len); in nfc_hal_dm_send_nci_cmd() 805 ps = (UINT8 *)(p_buf + 1) + p_buf->offset; in nfc_hal_dm_send_nci_cmd() 812 nfc_hal_nci_send_cmd (p_buf); in nfc_hal_dm_send_nci_cmd() 831 NFC_HDR *p_buf = nfc_hal_cb.ncit_cb.p_pend_cmd; in nfc_hal_dm_send_pend_cmd() local 834 if (p_buf == NULL) in nfc_hal_dm_send_pend_cmd() [all …]
|
/external/libnfc-nci/src/nfa/hci/ |
D | nfa_hci_utils.c | 37 static void handle_debug_loopback (BT_HDR *p_buf, UINT8 pipe, UINT8 type, UINT8 instruction); 318 BT_HDR *p_buf; in nfa_hciu_send_msg() local 340 if ((p_buf = (BT_HDR *) GKI_getpoolbuf (NFC_RW_POOL_ID)) != NULL) in nfa_hciu_send_msg() 342 p_buf->offset = NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE; in nfa_hciu_send_msg() 347 p_data = (UINT8 *) (p_buf + 1) + p_buf->offset; in nfa_hciu_send_msg() 360 p_buf->len = 1; in nfa_hciu_send_msg() 367 p_buf->len++; in nfa_hciu_send_msg() 374 p_buf->len += data_len; in nfa_hciu_send_msg() 381 …DispHcp (((UINT8 *) (p_buf + 1) + p_buf->offset), p_buf->len, FALSE, (BOOLEAN) ((p_buf->len - data… in nfa_hciu_send_msg() 385 handle_debug_loopback (p_buf, pipe_id, type, instruction); in nfa_hciu_send_msg() [all …]
|
/external/libnfc-nci/halimpl/bcm2079x/include/ |
D | android_logmsg.h | 49 void DispHciCmd (BT_HDR* p_buf); 50 void DispHciEvt (BT_HDR* p_buf); 51 void DispLLCP (BT_HDR *p_buf, BOOLEAN is_recv); 53 void DispSNEP (UINT8 local_sap, UINT8 remote_sap, BT_HDR *p_buf, BOOLEAN is_first, BOOLEAN is_rx); 56 void DispRWT4Tags (BT_HDR *p_buf, BOOLEAN is_rx); 57 void DispCET4Tags (BT_HDR *p_buf, BOOLEAN is_rx); 58 void DispRWI93Tag (BT_HDR *p_buf, BOOLEAN is_rx, UINT8 command_to_respond);
|
/external/libnfc-nci/src/gki/common/ |
D | gki_buffer.c | 586 void GKI_freebuf (void *p_buf) in GKI_freebuf() argument 592 if (!p_buf || gki_chk_buf_damage(p_buf)) in GKI_freebuf() 599 p_hdr = (BUFFER_HDR_T *) ((UINT8 *)p_buf - BUFFER_HDR_SIZE); in GKI_freebuf() 602 …LOGD("GKI_freebuf() freeing, %x, %x, func:%s(line=%d)", p_buf, p_hdr, p_hdr->_function, p_hdr->_li… in GKI_freebuf() 652 UINT16 GKI_get_buf_size (void *p_buf) in GKI_get_buf_size() argument 656 p_hdr = (BUFFER_HDR_T *)((UINT8 *) p_buf - BUFFER_HDR_SIZE); in GKI_get_buf_size() 678 BOOLEAN gki_chk_buf_damage(void *p_buf) in gki_chk_buf_damage() argument 683 magic = (UINT32 *)((UINT8 *) p_buf + GKI_get_buf_size(p_buf)); in gki_chk_buf_damage() 774 void *p_buf = NULL; in GKI_read_mbox() local 790 p_buf = (UINT8 *)p_hdr + BUFFER_HDR_SIZE; in GKI_read_mbox() [all …]
|
/external/libnfc-nci/halimpl/bcm2079x/gki/common/ |
D | gki_buffer.c | 586 void GKI_freebuf (void *p_buf) in GKI_freebuf() argument 592 if (!p_buf || gki_chk_buf_damage(p_buf)) in GKI_freebuf() 599 p_hdr = (BUFFER_HDR_T *) ((UINT8 *)p_buf - BUFFER_HDR_SIZE); in GKI_freebuf() 602 …LOGD("GKI_freebuf() freeing, %x, %x, func:%s(line=%d)", p_buf, p_hdr, p_hdr->_function, p_hdr->_li… in GKI_freebuf() 652 UINT16 GKI_get_buf_size (void *p_buf) in GKI_get_buf_size() argument 656 p_hdr = (BUFFER_HDR_T *)((UINT8 *) p_buf - BUFFER_HDR_SIZE); in GKI_get_buf_size() 678 BOOLEAN gki_chk_buf_damage(void *p_buf) in gki_chk_buf_damage() argument 683 magic = (UINT32 *)((UINT8 *) p_buf + GKI_get_buf_size(p_buf)); in gki_chk_buf_damage() 774 void *p_buf = NULL; in GKI_read_mbox() local 790 p_buf = (UINT8 *)p_hdr + BUFFER_HDR_SIZE; in GKI_read_mbox() [all …]
|
/external/libnfc-nci/src/nfc/nfc/ |
D | nfc_utils.c | 167 void *p_buf; in nfc_free_conn_cb() local 172 while ((p_buf = GKI_dequeue (&p_cb->rx_q)) != NULL) in nfc_free_conn_cb() 173 GKI_freebuf (p_buf); in nfc_free_conn_cb() 175 while ((p_buf = GKI_dequeue (&p_cb->tx_q)) != NULL) in nfc_free_conn_cb() 176 GKI_freebuf (p_buf); in nfc_free_conn_cb()
|
D | nfc_ncif.c | 257 void nfc_ncif_check_cmd_queue (BT_HDR *p_buf) in nfc_ncif_check_cmd_queue() argument 262 if (p_buf) in nfc_ncif_check_cmd_queue() 266 GKI_enqueue (&nfc_cb.nci_cmd_xmit_q, p_buf); in nfc_ncif_check_cmd_queue() 267 p_buf = NULL; in nfc_ncif_check_cmd_queue() 275 if (!p_buf) in nfc_ncif_check_cmd_queue() 276 p_buf = (BT_HDR *)GKI_dequeue (&nfc_cb.nci_cmd_xmit_q); in nfc_ncif_check_cmd_queue() 278 if (p_buf) in nfc_ncif_check_cmd_queue() 281 ps = (UINT8 *)(p_buf + 1) + p_buf->offset; in nfc_ncif_check_cmd_queue() 284 if (p_buf->layer_specific == NFC_WAIT_RSP_VSC) in nfc_ncif_check_cmd_queue() 287 nfc_cb.p_vsc_cback = (void *)((tNFC_NCI_VS_MSG *)p_buf)->p_cback; in nfc_ncif_check_cmd_queue() [all …]
|
/external/libnfc-nci/src/static-lib-adapt/ |
D | ProtoDispBluetoothHci.c | 136 void ProtoDispBluetoothHciCmd (BT_HDR *p_buf) in ProtoDispBluetoothHciCmd() argument 140 UINT8 * p = (UINT8 *)(p_buf + 1) + p_buf->offset; in ProtoDispBluetoothHciCmd()
|
/external/libnfc-nci/src/nfa/include/ |
D | nfa_nv_co.h | 91 NFC_API extern void nfa_nv_co_read (UINT8 *p_buf, UINT16 nbytes, UINT8 block); 111 NFC_API extern void nfa_nv_co_write (const UINT8 *p_buf, UINT16 nbytes, UINT8 block);
|
D | nfa_mem_co.h | 67 NFC_API extern void nfa_mem_co_free (void *p_buf);
|
/external/libnfc-nci/src/hal/int/ |
D | nfc_hal_nv_co.h | 89 void nfc_hal_nv_co_read (UINT8 *p_buf, UINT16 nbytes, UINT8 block); 109 void nfc_hal_nv_co_write (const UINT8 *p_buf, UINT16 nbytes, UINT8 block);
|
D | nfc_hal_int.h | 471 void nfc_hal_nci_send_cmd (NFC_HDR *p_buf); 521 void DispHciCmd (BT_HDR *p_buf); 522 void DispHciEvt (BT_HDR *p_buf);
|
/external/libnfc-nci/src/udrv/include/ |
D | uamp_api.h | 131 BT_API UINT16 UAMP_Write(tUAMP_ID amp_id, UINT8 *p_buf, UINT16 num_bytes, tUAMP_CH channel); 162 BT_API UINT16 UAMP_Read(tUAMP_ID amp_id, UINT8 *p_buf, UINT16 buf_size, tUAMP_CH channel);
|
D | uipc.h | 127 UDRV_API extern BOOLEAN UIPC_Send(tUIPC_CH_ID ch_id, UINT16 msg_evt, UINT8 *p_buf, UINT16 msglen); 138 UDRV_API extern UINT32 UIPC_Read(tUIPC_CH_ID ch_id, UINT16 *p_msg_evt, UINT8 *p_buf, UINT32 len);
|
/external/libnfc-nci/src/nfc/int/ |
D | nfc_int.h | 224 void nfc_ncif_send (BT_HDR *p_buf, BOOLEAN is_cmd); 230 NFC_API extern void nfc_ncif_check_cmd_queue (BT_HDR *p_buf); 231 NFC_API extern void nfc_ncif_send_cmd (BT_HDR *p_buf);
|
D | ce_int.h | 54 UINT8 *p_buf; /* Current contents for READs */ member
|
/external/libnfc-nci/src/nfc/tags/ |
D | ce_t3t.c | 516 …ARRAY_TO_STREAM (p_dst, (&p_cb->ndef_info.p_buf[(block_number-1) * T3T_MSG_BLOCKSIZE]), T3T_MSG_BL… in ce_t3t_handle_check_cmd() 914 UINT8 *p_buf, in CE_T3tSetLocalNDEFMsg() argument 929 if (!p_buf) in CE_T3tSetLocalNDEFMsg() 942 p_cb->ndef_info.p_buf = p_buf; in CE_T3tSetLocalNDEFMsg() 950 memcpy (p_scratch_buf, p_buf, p_cb->ndef_info.ln); in CE_T3tSetLocalNDEFMsg()
|
/external/libnfc-nci/src/nfc/include/ |
D | llcp_api.h | 405 LLCP_API extern tLLCP_STATUS LLCP_SendUI (UINT8 ssap, UINT8 dsap, BT_HDR *p_buf); 518 BT_HDR *p_buf);
|
D | ce_api.h | 104 UINT8 *p_buf,
|