Home
last modified time | relevance | path

Searched refs:p_cur_cmd_buf (Results 1 – 5 of 5) sorted by relevance

/system/nfc/src/nfc/tags/
Drw_t1t.cc251 if (p_t1t->p_cur_cmd_buf) { in rw_t1t_conn_cback()
252 GKI_freebuf(p_t1t->p_cur_cmd_buf); in rw_t1t_conn_cback()
253 p_t1t->p_cur_cmd_buf = nullptr; in rw_t1t_conn_cback()
349 memcpy(p_t1t->p_cur_cmd_buf, p_data, in rw_t1t_send_static_cmd()
414 memcpy(p_t1t->p_cur_cmd_buf, p_data, in rw_t1t_send_dyn_cmd()
500 if (p_t1t->p_cur_cmd_buf == nullptr) { in rw_t1t_select()
501 p_t1t->p_cur_cmd_buf = (NFC_HDR*)GKI_getpoolbuf(NFC_RW_POOL_ID); in rw_t1t_select()
502 if (p_t1t->p_cur_cmd_buf == nullptr) { in rw_t1t_select()
591 memcpy(p_cmd_buf, p_t1t->p_cur_cmd_buf, sizeof(NFC_HDR) + in rw_t1t_process_error()
592 p_t1t->p_cur_cmd_buf->offset + in rw_t1t_process_error()
[all …]
Drw_t2t.cc266 if (p_t2t->p_cur_cmd_buf) { in rw_t2t_conn_cback()
267 GKI_freebuf(p_t2t->p_cur_cmd_buf); in rw_t2t_conn_cback()
268 p_t2t->p_cur_cmd_buf = nullptr; in rw_t2t_conn_cback()
374 memcpy(p_t2t->p_cur_cmd_buf, p_data, in rw_t2t_send_cmd()
501 memcpy(p_cmd_buf, p_t2t->p_cur_cmd_buf, sizeof(NFC_HDR) + in rw_t2t_process_error()
502 p_t2t->p_cur_cmd_buf->offset + in rw_t2t_process_error()
503 p_t2t->p_cur_cmd_buf->len); in rw_t2t_process_error()
615 memcpy(p_t2t->p_cur_cmd_buf, p_t2t->p_sec_cmd_buf, in rw_t2t_resume_op()
824 if (p_t2t->p_cur_cmd_buf == nullptr) { in rw_t2t_select()
825 p_t2t->p_cur_cmd_buf = (NFC_HDR*)GKI_getpoolbuf(NFC_RW_POOL_ID); in rw_t2t_select()
[all …]
Drw_mfc.cc550 if (p_mfc->p_cur_cmd_buf == NULL) { in rw_mfc_select()
552 p_mfc->p_cur_cmd_buf = (NFC_HDR*)GKI_getpoolbuf(NFC_RW_POOL_ID); in rw_mfc_select()
553 if (p_mfc->p_cur_cmd_buf == NULL) { in rw_mfc_select()
590 memcpy(p_mfc->p_cur_cmd_buf, p_data, in rw_mfc_send_to_lower()
658 if (p_mfc->p_cur_cmd_buf) { in rw_mfc_conn_cback()
659 GKI_freebuf(p_mfc->p_cur_cmd_buf); in rw_mfc_conn_cback()
660 p_mfc->p_cur_cmd_buf = NULL; in rw_mfc_conn_cback()
1358 memcpy(p_cmd_buf, p_mfc->p_cur_cmd_buf, in rw_mfc_process_error()
1359 sizeof(NFC_HDR) + p_mfc->p_cur_cmd_buf->offset + in rw_mfc_process_error()
1360 p_mfc->p_cur_cmd_buf->len); in rw_mfc_process_error()
Drw_t3t.cc264 memcpy(p_cmd_buf, p_cb->p_cur_cmd_buf, sizeof(NFC_HDR) + in rw_t3t_process_error()
265 p_cb->p_cur_cmd_buf->offset + in rw_t3t_process_error()
266 p_cb->p_cur_cmd_buf->len); in rw_t3t_process_error()
610 memcpy(p_cb->p_cur_cmd_buf, p_cmd_buf, in rw_t3t_send_cmd()
2338 if (p_cb->p_cur_cmd_buf == nullptr) { in rw_t3t_select()
2339 p_cb->p_cur_cmd_buf = (NFC_HDR*)GKI_getpoolbuf(NFC_RW_POOL_ID); in rw_t3t_select()
2340 if (p_cb->p_cur_cmd_buf == nullptr) { in rw_t3t_select()
2374 if (p_cb->p_cur_cmd_buf) { in rw_t3t_unselect()
2375 GKI_freebuf(p_cb->p_cur_cmd_buf); in rw_t3t_unselect()
2376 p_cb->p_cur_cmd_buf = nullptr; in rw_t3t_unselect()
/system/nfc/src/nfc/include/
Drw_int.h181 p_cur_cmd_buf; /* Buffer to hold cur sent command for retransmission */ member
403 NFC_HDR* p_cur_cmd_buf; /* Copy of current command, for retx/send after sector member
509 NFC_HDR* p_cur_cmd_buf; /* Copy of current command, for retransmission */ member
644 NFC_HDR* p_cur_cmd_buf; /* Copy of current command, for retx/send after sector member