Home
last modified time | relevance | path

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

/hardware/nxp/nfc/pn8x/halimpl/self-test/
DphNxpNciHal_SelfTest.cc1155 char* nfc_dev_node = NULL; in phNxpNciHal_TestMode_open() local
1173 nfc_dev_node = (char*)malloc(max_len * sizeof(char)); in phNxpNciHal_TestMode_open()
1174 if (nfc_dev_node == NULL) { in phNxpNciHal_TestMode_open()
1177 } else if (!GetNxpStrValue(NAME_NXP_NFC_DEV_NODE, nfc_dev_node, in phNxpNciHal_TestMode_open()
1178 sizeof(nfc_dev_node))) { in phNxpNciHal_TestMode_open()
1182 strlcpy(nfc_dev_node, "/dev/pn54x", (max_len * sizeof(char))); in phNxpNciHal_TestMode_open()
1187 tTmlConfig.pDevName = (int8_t*)nfc_dev_node; in phNxpNciHal_TestMode_open()
1199 if (nfc_dev_node != NULL) { in phNxpNciHal_TestMode_open()
1200 free(nfc_dev_node); in phNxpNciHal_TestMode_open()
1201 nfc_dev_node = NULL; in phNxpNciHal_TestMode_open()
[all …]
/hardware/nxp/nfc/snxxx/halimpl/self-test/
DphNxpNciHal_SelfTest.cc1155 char* nfc_dev_node = NULL; in phNxpNciHal_TestMode_open() local
1173 nfc_dev_node = (char*)malloc(max_len * sizeof(char)); in phNxpNciHal_TestMode_open()
1174 if (nfc_dev_node == NULL) { in phNxpNciHal_TestMode_open()
1177 } else if (!GetNxpStrValue(NAME_NXP_NFC_DEV_NODE, nfc_dev_node, max_len)) { in phNxpNciHal_TestMode_open()
1181 strlcpy(nfc_dev_node, "/dev/pn54x", (max_len * sizeof(char))); in phNxpNciHal_TestMode_open()
1186 tTmlConfig.pDevName = (int8_t*)nfc_dev_node; in phNxpNciHal_TestMode_open()
1198 if (nfc_dev_node != NULL) { in phNxpNciHal_TestMode_open()
1199 free(nfc_dev_node); in phNxpNciHal_TestMode_open()
1200 nfc_dev_node = NULL; in phNxpNciHal_TestMode_open()
1229 if (nfc_dev_node != NULL) { in phNxpNciHal_TestMode_open()
[all …]
/hardware/st/nfc/st21nfc/adaptation/
Di2clayer.cc265 char nfc_dev_node[64]; in I2cOpenLayer() local
269 if (!GetStrValue(NAME_ST_NFC_DEV_NODE, (char *)nfc_dev_node, in I2cOpenLayer()
270 sizeof(nfc_dev_node))) { in I2cOpenLayer()
272 strcpy(nfc_dev_node, "/dev/st21nfc"); in I2cOpenLayer()
286 fidI2c = open(nfc_dev_node, O_RDWR); in I2cOpenLayer()
288 STLOG_HAL_W("unable to open %s (%s) \n", nfc_dev_node, strerror(errno)); in I2cOpenLayer()
/hardware/nxp/nfc/pn8x/halimpl/hal/
DphNxpNciHal.cc553 char* nfc_dev_node = NULL; in phNxpNciHal_MinOpen() local
611 nfc_dev_node = (char*)malloc(max_len * sizeof(char)); in phNxpNciHal_MinOpen()
612 if (nfc_dev_node == NULL) { in phNxpNciHal_MinOpen()
615 } else if (!GetNxpStrValue(NAME_NXP_NFC_DEV_NODE, nfc_dev_node, max_len)) { in phNxpNciHal_MinOpen()
619 strlcpy(nfc_dev_node, "/dev/pn54x", (max_len * sizeof(char))); in phNxpNciHal_MinOpen()
625 tTmlConfig.pDevName = (int8_t*)nfc_dev_node; in phNxpNciHal_MinOpen()
636 if (nfc_dev_node != NULL) { in phNxpNciHal_MinOpen()
637 free(nfc_dev_node); in phNxpNciHal_MinOpen()
638 nfc_dev_node = NULL; in phNxpNciHal_MinOpen()
765 if (nfc_dev_node != NULL) { in phNxpNciHal_MinOpen()
[all …]