Home
last modified time | relevance | path

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

/system/nfc/halimpl/pn54x/self-test/
DphNxpNciHal_SelfTest.c1272 char* nfc_dev_node = NULL; in phNxpNciHal_TestMode_open() local
1291 nfc_dev_node = (char*)malloc(max_len * sizeof(char)); in phNxpNciHal_TestMode_open()
1292 if (nfc_dev_node == NULL) { in phNxpNciHal_TestMode_open()
1295 } else if (!GetNxpStrValue(NAME_NXP_NFC_DEV_NODE, nfc_dev_node, in phNxpNciHal_TestMode_open()
1296 sizeof(nfc_dev_node))) { in phNxpNciHal_TestMode_open()
1300 strcpy(nfc_dev_node, "/dev/pn54x"); in phNxpNciHal_TestMode_open()
1305 tTmlConfig.pDevName = (int8_t*)nfc_dev_node; in phNxpNciHal_TestMode_open()
1317 if (nfc_dev_node != NULL) { in phNxpNciHal_TestMode_open()
1318 free(nfc_dev_node); in phNxpNciHal_TestMode_open()
1319 nfc_dev_node = NULL; in phNxpNciHal_TestMode_open()
[all …]
/system/nfc/halimpl/pn54x/hal/
DphNxpNciHal.c422 char* nfc_dev_node = NULL; in phNxpNciHal_open() local
465 nfc_dev_node = (char*)malloc(max_len * sizeof(char)); in phNxpNciHal_open()
466 if (nfc_dev_node == NULL) { in phNxpNciHal_open()
469 } else if (!GetNxpStrValue(NAME_NXP_NFC_DEV_NODE, nfc_dev_node, in phNxpNciHal_open()
470 sizeof(nfc_dev_node))) { in phNxpNciHal_open()
474 strcpy(nfc_dev_node, "/dev/pn54x"); in phNxpNciHal_open()
480 tTmlConfig.pDevName = (int8_t*)nfc_dev_node; in phNxpNciHal_open()
496 if (nfc_dev_node != NULL) { in phNxpNciHal_open()
497 free(nfc_dev_node); in phNxpNciHal_open()
498 nfc_dev_node = NULL; in phNxpNciHal_open()
[all …]