Home
last modified time | relevance | path

Searched refs:p_cmd_buf (Results 1 – 4 of 4) sorted by relevance

/external/libnfc-nci/src/nfc/tags/
Drw_t3t.c233 BT_HDR *p_cmd_buf; in rw_t3t_process_error() local
252 if ((p_cmd_buf = rw_t3t_get_cmd_buf ()) != NULL) in rw_t3t_process_error()
254 …memcpy (p_cmd_buf, p_cb->p_cur_cmd_buf, sizeof (BT_HDR) + p_cb->p_cur_cmd_buf->offset + p_cb->p_cu… in rw_t3t_process_error()
256 if (rw_t3t_send_to_lower (p_cmd_buf) == NFC_STATUS_OK) in rw_t3t_process_error()
265 GKI_freebuf (p_cmd_buf); in rw_t3t_process_error()
616 BT_HDR *p_cmd_buf; in rw_t3t_get_cmd_buf() local
618 if ((p_cmd_buf = (BT_HDR *) GKI_getpoolbuf (NFC_RW_POOL_ID)) != NULL) in rw_t3t_get_cmd_buf()
621 p_cmd_buf->offset = NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE + 1; in rw_t3t_get_cmd_buf()
622 p_cmd_buf->len = 0; in rw_t3t_get_cmd_buf()
625 return (p_cmd_buf); in rw_t3t_get_cmd_buf()
[all …]
Drw_t2t.c520 BT_HDR *p_cmd_buf; in rw_t2t_process_error() local
537 if ((p_cmd_buf = (BT_HDR *) GKI_getpoolbuf (NFC_RW_POOL_ID)) != NULL) in rw_t2t_process_error()
539 …memcpy (p_cmd_buf, p_t2t->p_cur_cmd_buf, sizeof (BT_HDR) + p_t2t->p_cur_cmd_buf->offset + p_t2t->p… in rw_t2t_process_error()
542 rw_main_update_tx_stats (p_cmd_buf->len, TRUE); in rw_t2t_process_error()
544 if (NFC_SendData (NFC_RF_CONN_ID, p_cmd_buf) == NFC_STATUS_OK) in rw_t2t_process_error()
640 BT_HDR *p_cmd_buf; in rw_t2t_resume_op() local
653 if ((p_cmd_buf = (BT_HDR *) GKI_getpoolbuf (NFC_RW_POOL_ID)) != NULL) in rw_t2t_resume_op()
655 …memcpy (p_cmd_buf, p_t2t->p_sec_cmd_buf, sizeof (BT_HDR) + p_t2t->p_sec_cmd_buf->offset + p_t2t->p… in rw_t2t_resume_op()
660 rw_main_update_tx_stats (p_cmd_buf->len, TRUE); in rw_t2t_resume_op()
662 if (NFC_SendData (NFC_RF_CONN_ID, p_cmd_buf) == NFC_STATUS_OK) in rw_t2t_resume_op()
Dce_t3t.c147 BT_HDR *p_cmd_buf; in ce_t3t_get_rsp_buf() local
149 if ((p_cmd_buf = (BT_HDR *) GKI_getpoolbuf (NFC_CE_POOL_ID)) != NULL) in ce_t3t_get_rsp_buf()
152 p_cmd_buf->offset = NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE + 1; in ce_t3t_get_rsp_buf()
153 p_cmd_buf->len = 0; in ce_t3t_get_rsp_buf()
156 return (p_cmd_buf); in ce_t3t_get_rsp_buf()
Drw_t1t.c582 BT_HDR *p_cmd_buf; in rw_t1t_process_error() local
598 if ((p_cmd_buf = (BT_HDR *) GKI_getpoolbuf (NFC_RW_POOL_ID)) != NULL) in rw_t1t_process_error()
600 …memcpy (p_cmd_buf, p_t1t->p_cur_cmd_buf, sizeof (BT_HDR) + p_t1t->p_cur_cmd_buf->offset + p_t1t->p… in rw_t1t_process_error()
604 rw_main_update_tx_stats (p_cmd_buf->len, TRUE); in rw_t1t_process_error()
607 if (NFC_SendData (NFC_RF_CONN_ID, p_cmd_buf) == NFC_STATUS_OK) in rw_t1t_process_error()