• Home
  • Raw
  • Download

Lines Matching refs:p_agf

77 static NFC_HDR* llcp_link_build_next_pdu(NFC_HDR* p_agf);
1090 static void llcp_link_proc_agf_pdu(NFC_HDR* p_agf) { in llcp_link_proc_agf_pdu() argument
1096 p_agf->len -= LLCP_PDU_HEADER_SIZE; in llcp_link_proc_agf_pdu()
1097 p_agf->offset += LLCP_PDU_HEADER_SIZE; in llcp_link_proc_agf_pdu()
1102 agf_length = p_agf->len; in llcp_link_proc_agf_pdu()
1103 p = (uint8_t*)(p_agf + 1) + p_agf->offset; in llcp_link_proc_agf_pdu()
1130 GKI_freebuf(p_agf); in llcp_link_proc_agf_pdu()
1137 agf_length = p_agf->len; in llcp_link_proc_agf_pdu()
1138 p = (uint8_t*)(p_agf + 1) + p_agf->offset; in llcp_link_proc_agf_pdu()
1161 GKI_freebuf(p_agf); in llcp_link_proc_agf_pdu()
1188 GKI_freebuf(p_agf); in llcp_link_proc_agf_pdu()
1479 NFC_HDR *p_agf = nullptr, *p_msg = nullptr, *p_next_pdu; in llcp_link_build_next_pdu() local
1497 p_agf = p_pdu; in llcp_link_build_next_pdu()
1514 if (!p_agf) { in llcp_link_build_next_pdu()
1517 p_agf = (NFC_HDR*)GKI_getpoolbuf(LLCP_POOL_ID); in llcp_link_build_next_pdu()
1518 if (p_agf) { in llcp_link_build_next_pdu()
1519 p_agf->offset = NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE; in llcp_link_build_next_pdu()
1521 p = (uint8_t*)(p_agf + 1) + p_agf->offset; in llcp_link_build_next_pdu()
1529 p_agf->len = LLCP_PDU_HEADER_SIZE + 2 + p_msg->len; in llcp_link_build_next_pdu()
1532 p_msg = p_agf; in llcp_link_build_next_pdu()
1543 if (p_agf->len - LLCP_PDU_HEADER_SIZE + 2 + next_pdu_length <= in llcp_link_build_next_pdu()
1548 p = (uint8_t*)(p_agf + 1) + p_agf->offset + p_agf->len; in llcp_link_build_next_pdu()
1554 p_agf->len += 2 + p_next_pdu->len; in llcp_link_build_next_pdu()
1565 if (p_agf) in llcp_link_build_next_pdu()
1566 return p_agf; in llcp_link_build_next_pdu()