Home
last modified time | relevance | path

Searched refs:p_cmd_data (Results 1 – 8 of 8) sorted by relevance

/system/nfc/halimpl/pn54x/hal/
DphNxpNciHal_dta.c82 NFCSTATUS phNxpNHal_DtaUpdate(uint16_t* cmd_len, uint8_t* p_cmd_data, in phNxpNHal_DtaUpdate() argument
88 if (p_cmd_data[0] == 0x20 && p_cmd_data[1] == 0x02 && in phNxpNHal_DtaUpdate()
89 p_cmd_data[2] == 0x17 && p_cmd_data[3] == 0x01 && in phNxpNHal_DtaUpdate()
90 p_cmd_data[4] == 0x29 && p_cmd_data[5] == 0x14) { in phNxpNHal_DtaUpdate()
93 phNxpNciHal_print_packet("DTASEND", p_cmd_data, *cmd_len); in phNxpNHal_DtaUpdate()
107 } else if (p_cmd_data[0] == 0x21 && p_cmd_data[1] == 0x08 && in phNxpNHal_DtaUpdate()
108 p_cmd_data[2] == 0x04 && p_cmd_data[3] == 0xFF && in phNxpNHal_DtaUpdate()
109 p_cmd_data[4] == 0xFF) { in phNxpNHal_DtaUpdate()
119 } else if (p_cmd_data[0] == 0x20 && p_cmd_data[1] == 0x02 && in phNxpNHal_DtaUpdate()
120 p_cmd_data[2] == 0x10 && p_cmd_data[3] == 0x05 && in phNxpNHal_DtaUpdate()
[all …]
DphNxpNciHal_ext.c513 NFCSTATUS phNxpNciHal_write_ext(uint16_t* cmd_len, uint8_t* p_cmd_data, in phNxpNciHal_write_ext() argument
521 phNxpNciHal_NfcDep_cmd_ext(p_cmd_data, cmd_len); in phNxpNciHal_write_ext()
524 status = phNxpNHal_DtaUpdate(cmd_len, p_cmd_data, rsp_len, p_rsp_data); in phNxpNciHal_write_ext()
527 if (p_cmd_data[0] == PROPRIETARY_CMD_FELICA_READER_MODE && in phNxpNciHal_write_ext()
528 p_cmd_data[1] == PROPRIETARY_CMD_FELICA_READER_MODE && in phNxpNciHal_write_ext()
529 p_cmd_data[2] == PROPRIETARY_CMD_FELICA_READER_MODE) { in phNxpNciHal_write_ext()
531 p_cmd_data[3]); in phNxpNciHal_write_ext()
532 gFelicaReaderMode = p_cmd_data[3]; in phNxpNciHal_write_ext()
540 } else if (p_cmd_data[0] == 0x20 && p_cmd_data[1] == 0x02 && in phNxpNciHal_write_ext()
541 p_cmd_data[2] == 0x05 && p_cmd_data[3] == 0x01 && in phNxpNciHal_write_ext()
[all …]
DphNxpNciHal_NfcDepSWPrio.c56 static void phNxpNciHal_NfcDep_store_ntf(uint8_t* p_cmd_data, uint16_t cmd_len);
338 static void phNxpNciHal_NfcDep_store_ntf(uint8_t* p_cmd_data, in phNxpNciHal_NfcDep_store_ntf() argument
347 memcpy(p_iso_ntf_buff, p_cmd_data, cmd_len); in phNxpNciHal_NfcDep_store_ntf()
360 NFCSTATUS phNxpNciHal_NfcDep_comapre_ntf(uint8_t* p_cmd_data, in phNxpNciHal_NfcDep_comapre_ntf() argument
366 ret_val = memcmp(p_cmd_data, p_iso_ntf_buff, cmd_len); in phNxpNciHal_NfcDep_comapre_ntf()
536 void phNxpNciHal_NfcDep_cmd_ext(uint8_t* p_cmd_data, uint16_t* cmd_len) { in phNxpNciHal_NfcDep_cmd_ext() argument
537 if (p_cmd_data[0] == 0x21 && p_cmd_data[1] == 0x03) { in phNxpNciHal_NfcDep_cmd_ext()
538 if (*cmd_len == 6 && p_cmd_data[3] == 0x01 && p_cmd_data[4] == 0x02 && in phNxpNciHal_NfcDep_cmd_ext()
539 p_cmd_data[5] == 0x01) { in phNxpNciHal_NfcDep_cmd_ext()
545 memcpy(&cmd_poll, p_cmd_data, cmd_poll_len); in phNxpNciHal_NfcDep_cmd_ext()
DphNxpNciHal_NfcDepSWPrio.h32 extern void phNxpNciHal_NfcDep_cmd_ext(uint8_t* p_cmd_data, uint16_t* cmd_len);
33 extern NFCSTATUS phNxpNciHal_NfcDep_comapre_ntf(uint8_t* p_cmd_data,
DphNxpNciHal.h71 uint8_t p_cmd_data[NCI_MAX_DATA_LEN]; member
128 void phNxpNciHal_discovery_cmd_ext(uint8_t* p_cmd_data, uint16_t cmd_len);
DphNxpNciHal_ext.h26 NFCSTATUS phNxpNciHal_write_ext(uint16_t* cmd_len, uint8_t* p_cmd_data,
DphNxpNciHal_dta.h32 NFCSTATUS phNxpNHal_DtaUpdate(uint16_t* cmd_len, uint8_t* p_cmd_data,
DphNxpNciHal.c519 nxpncihal_ctrl.p_cmd_data, NCI_MAX_DATA_LEN, in phNxpNciHal_open()
598 nxpncihal_ctrl.p_cmd_data, NCI_MAX_DATA_LEN, in phNxpNciHal_open()
703 memcpy(nxpncihal_ctrl.p_cmd_data, p_data, data_len); in phNxpNciHal_write()
729 phNxpNciHal_write_ext(&nxpncihal_ctrl.cmd_len, nxpncihal_ctrl.p_cmd_data, in phNxpNciHal_write()
744 nxpncihal_ctrl.p_cmd_data); in phNxpNciHal_write()
784 memcpy(nxpncihal_ctrl.p_cmd_data, p_data, data_len); in phNxpNciHal_write_unlocked()
792 (uint8_t*)nxpncihal_ctrl.p_cmd_data, (uint16_t)nxpncihal_ctrl.cmd_len, in phNxpNciHal_write_unlocked()
1751 nxpncihal_ctrl.p_cmd_data, NCI_MAX_DATA_LEN, in phNxpNciHalRFConfigCmdRecSequence()
2573 void phNxpNciHal_discovery_cmd_ext(uint8_t* p_cmd_data, uint16_t cmd_len) { in phNxpNciHal_discovery_cmd_ext() argument
2576 memcpy(discovery_cmd, p_cmd_data, cmd_len); in phNxpNciHal_discovery_cmd_ext()