Searched refs:p_pkt (Results 1 – 6 of 6) sorted by relevance
/system/nfc/src/nfc/tags/ |
D | rw_t1t.cc | 43 static tRW_EVENT rw_t1t_handle_rid_rsp(NFC_HDR* p_pkt); 67 NFC_HDR* p_pkt; in rw_t1t_data_cback() local 73 p_pkt = (NFC_HDR*)(p_data->data.p_data); in rw_t1t_data_cback() 74 if (p_pkt == nullptr) return; in rw_t1t_data_cback() 76 p = (uint8_t*)(p_pkt + 1) + p_pkt->offset; in rw_t1t_data_cback() 93 (p_t1t->prev_cmd_rsp_info.rsp_len == p_pkt->len) && in rw_t1t_data_cback() 104 GKI_freebuf(p_pkt); in rw_t1t_data_cback() 107 evt_data.data.p_data = p_pkt; in rw_t1t_data_cback() 115 rw_main_update_rx_stats(p_pkt->len); in rw_t1t_data_cback() 118 if ((p_pkt->len != p_cmd_rsp_info->rsp_len) || in rw_t1t_data_cback() [all …]
|
D | rw_t2t.cc | 64 NFC_HDR* p_pkt = p_data->p_data; in rw_t2t_proc_data() local 76 p_pkt->len, in rw_t2t_proc_data() 79 evt_data.p_data = p_pkt; in rw_t2t_proc_data() 87 rw_main_update_rx_stats(p_pkt->len); in rw_t2t_proc_data() 96 if (((p_pkt->len != p_cmd_rsp_info->rsp_len) && in rw_t2t_proc_data() 97 (p_pkt->len != p_cmd_rsp_info->nack_rsp_len) && in rw_t2t_proc_data() 107 GKI_freebuf(p_pkt); in rw_t2t_proc_data() 113 p = (uint8_t*)(p_pkt + 1) + p_pkt->offset; in rw_t2t_proc_data() 117 p_t2t->state, conn_id, p_pkt->len, *p); in rw_t2t_proc_data() 136 } else if ((p_pkt->len != p_cmd_rsp_info->rsp_len) || in rw_t2t_proc_data() [all …]
|
D | rw_t3t.cc | 1509 NFC_HDR* p_pkt = p_data->p_data; in rw_t3t_act_handle_raw_senddata_rsp() local 1512 p_pkt->len, in rw_t3t_act_handle_raw_senddata_rsp() 1517 evt_data.p_data = p_pkt; in rw_t3t_act_handle_raw_senddata_rsp()
|
/system/nfc/src/nfa/hci/ |
D | nfa_hci_main.cc | 690 NFC_HDR* p_pkt = (NFC_HDR*)p_data->data.p_data; in nfa_hci_conn_cback() local 722 if ((event != NFC_DATA_CEVT) || (p_pkt == nullptr)) return; in nfa_hci_conn_cback() 734 p = (uint8_t*)(p_pkt + 1) + p_pkt->offset; in nfa_hci_conn_cback() 735 pkt_len = p_pkt->len; in nfa_hci_conn_cback() 741 GKI_freebuf(p_pkt); in nfa_hci_conn_cback() 754 GKI_freebuf(p_pkt); in nfa_hci_conn_cback() 802 (uint8_t)chaining_bit, (uint8_t)nfa_hci_cb.assembling, p_pkt->len); in nfa_hci_conn_cback() 807 GKI_freebuf(p_pkt); in nfa_hci_conn_cback() 850 p_pkt->event = NFA_HCI_CHECK_QUEUE_EVT; in nfa_hci_conn_cback() 851 p_pkt->len = 0; in nfa_hci_conn_cback() [all …]
|
/system/nfc/src/nfa/ee/ |
D | nfa_ee_act.cc | 1674 NFC_HDR* p_pkt; in nfa_ee_api_send_data() local 1681 p_pkt = (NFC_HDR*)GKI_getbuf(size); in nfa_ee_api_send_data() 1682 if (p_pkt) { in nfa_ee_api_send_data() 1683 p_pkt->offset = NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE; in nfa_ee_api_send_data() 1684 p_pkt->len = p_data->send_data.data_len; in nfa_ee_api_send_data() 1685 p = (uint8_t*)(p_pkt + 1) + p_pkt->offset; in nfa_ee_api_send_data() 1686 memcpy(p, p_data->send_data.p_data, p_pkt->len); in nfa_ee_api_send_data() 1687 NFC_SendData(p_cb->conn_id, p_pkt); in nfa_ee_api_send_data() 2382 NFC_HDR* p_pkt = nullptr; in nfa_ee_nci_conn() local 2391 if (p_cbk->event == NFC_DATA_CEVT) p_pkt = p_conn->data.p_data; in nfa_ee_nci_conn() [all …]
|
/system/nfc/src/nfa/include/ |
D | nfa_hci_int.h | 523 uint8_t* p_pkt);
|