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 strlcpy(nfc_dev_node, "/dev/pn54x", (max_len * sizeof(char))); 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.cc554 char* nfc_dev_node = NULL; in phNxpNciHal_MinOpen() local
613 nfc_dev_node = (char*)malloc(max_len * sizeof(char)); in phNxpNciHal_MinOpen()
614 if (nfc_dev_node == NULL) { in phNxpNciHal_MinOpen()
617 } else if (!GetNxpStrValue(NAME_NXP_NFC_DEV_NODE, nfc_dev_node, in phNxpNciHal_MinOpen()
622 strlcpy(nfc_dev_node, "/dev/pn54x", (max_len * sizeof(char))); in phNxpNciHal_MinOpen()
628 tTmlConfig.pDevName = (int8_t*)nfc_dev_node; in phNxpNciHal_MinOpen()
639 if (nfc_dev_node != NULL) { in phNxpNciHal_MinOpen()
640 free(nfc_dev_node); in phNxpNciHal_MinOpen()
641 nfc_dev_node = NULL; in phNxpNciHal_MinOpen()
755 if (nfc_dev_node != NULL) { in phNxpNciHal_MinOpen()
[all …]