Home
last modified time | relevance | path

Searched refs:nfc_dev_node (Results 1 – 2 of 2) sorted by relevance

/hardware/nxp/nfc/halimpl/self-test/
DphNxpNciHal_SelfTest.cc1163 char* nfc_dev_node = NULL; in phNxpNciHal_TestMode_open() local
1181 nfc_dev_node = (char*)malloc(max_len * sizeof(char)); in phNxpNciHal_TestMode_open()
1182 if (nfc_dev_node == NULL) { in phNxpNciHal_TestMode_open()
1185 } else if (!GetNxpStrValue(NAME_NXP_NFC_DEV_NODE, nfc_dev_node, in phNxpNciHal_TestMode_open()
1186 sizeof(nfc_dev_node))) { in phNxpNciHal_TestMode_open()
1190 strcpy(nfc_dev_node, "/dev/pn54x"); in phNxpNciHal_TestMode_open()
1195 tTmlConfig.pDevName = (int8_t*)nfc_dev_node; in phNxpNciHal_TestMode_open()
1207 if (nfc_dev_node != NULL) { in phNxpNciHal_TestMode_open()
1208 free(nfc_dev_node); in phNxpNciHal_TestMode_open()
1209 nfc_dev_node = NULL; in phNxpNciHal_TestMode_open()
[all …]
/hardware/nxp/nfc/halimpl/hal/
DphNxpNciHal.cc546 char* nfc_dev_node = NULL; in phNxpNciHal_MinOpen() local
601 nfc_dev_node = (char*)malloc(max_len * sizeof(char)); in phNxpNciHal_MinOpen()
602 if (nfc_dev_node == NULL) { in phNxpNciHal_MinOpen()
605 } else if (!GetNxpStrValue(NAME_NXP_NFC_DEV_NODE, nfc_dev_node, in phNxpNciHal_MinOpen()
606 sizeof(nfc_dev_node))) { in phNxpNciHal_MinOpen()
610 strcpy(nfc_dev_node, "/dev/pn54x"); in phNxpNciHal_MinOpen()
616 tTmlConfig.pDevName = (int8_t*)nfc_dev_node; in phNxpNciHal_MinOpen()
627 if (nfc_dev_node != NULL) { in phNxpNciHal_MinOpen()
628 free(nfc_dev_node); in phNxpNciHal_MinOpen()
629 nfc_dev_node = NULL; in phNxpNciHal_MinOpen()
[all …]