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.c528 BT_HDR *p_cmd_buf; in rw_t2t_process_error() local
545 if ((p_cmd_buf = (BT_HDR *) GKI_getpoolbuf (NFC_RW_POOL_ID)) != NULL) in rw_t2t_process_error()
547 …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()
550 rw_main_update_tx_stats (p_cmd_buf->len, TRUE); in rw_t2t_process_error()
552 if (NFC_SendData (NFC_RF_CONN_ID, p_cmd_buf) == NFC_STATUS_OK) in rw_t2t_process_error()
648 BT_HDR *p_cmd_buf; in rw_t2t_resume_op() local
661 if ((p_cmd_buf = (BT_HDR *) GKI_getpoolbuf (NFC_RW_POOL_ID)) != NULL) in rw_t2t_resume_op()
663 …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()
668 rw_main_update_tx_stats (p_cmd_buf->len, TRUE); in rw_t2t_resume_op()
670 if (NFC_SendData (NFC_RF_CONN_ID, p_cmd_buf) == NFC_STATUS_OK) in rw_t2t_resume_op()
Dce_t3t.c158 BT_HDR *p_cmd_buf; in ce_t3t_get_rsp_buf() local
160 if ((p_cmd_buf = (BT_HDR *) GKI_getpoolbuf (NFC_CE_POOL_ID)) != NULL) in ce_t3t_get_rsp_buf()
163 p_cmd_buf->offset = NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE + 1; in ce_t3t_get_rsp_buf()
164 p_cmd_buf->len = 0; in ce_t3t_get_rsp_buf()
167 return (p_cmd_buf); in ce_t3t_get_rsp_buf()
Drw_t1t.c590 BT_HDR *p_cmd_buf; in rw_t1t_process_error() local
606 if ((p_cmd_buf = (BT_HDR *) GKI_getpoolbuf (NFC_RW_POOL_ID)) != NULL) in rw_t1t_process_error()
608 …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()
612 rw_main_update_tx_stats (p_cmd_buf->len, TRUE); in rw_t1t_process_error()
615 if (NFC_SendData (NFC_RF_CONN_ID, p_cmd_buf) == NFC_STATUS_OK) in rw_t1t_process_error()