Searched refs:nfc_dev_node (Results 1 – 7 of 7) sorted by relevance
/hardware/nxp/nfc/snxxx/halimpl/recovery/ |
D | phNxpNciHal_Recovery.cc | 468 static int phnxpNciHal_partialOpenCleanUp(char* nfc_dev_node) { in phnxpNciHal_partialOpenCleanUp() argument 469 if (nfc_dev_node != NULL) { in phnxpNciHal_partialOpenCleanUp() 470 free(nfc_dev_node); in phnxpNciHal_partialOpenCleanUp() 471 nfc_dev_node = NULL; in phnxpNciHal_partialOpenCleanUp() 492 char* nfc_dev_node = NULL; in phnxpNciHal_partialOpen() local 522 nfc_dev_node = (char*)malloc(NXP_MAX_CONFIG_STRING_LEN * sizeof(char)); in phnxpNciHal_partialOpen() 523 if (nfc_dev_node == NULL) { in phnxpNciHal_partialOpen() 526 return phnxpNciHal_partialOpenCleanUp(nfc_dev_node); in phnxpNciHal_partialOpen() 527 } else if (!GetNxpStrValue(NAME_NXP_NFC_DEV_NODE, nfc_dev_node, in phnxpNciHal_partialOpen() 532 strlcpy(nfc_dev_node, "/dev/pn54x", in phnxpNciHal_partialOpen() [all …]
|
/hardware/nxp/nfc/pn8x/halimpl/self-test/ |
D | phNxpNciHal_SelfTest.cc | 1155 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/ |
D | phNxpNciHal_SelfTest.cc | 1154 char* nfc_dev_node = NULL; in phNxpNciHal_TestMode_open() local 1172 nfc_dev_node = (char*)malloc(max_len * sizeof(char)); in phNxpNciHal_TestMode_open() 1173 if (nfc_dev_node == NULL) { in phNxpNciHal_TestMode_open() 1176 } else if (!GetNxpStrValue(NAME_NXP_NFC_DEV_NODE, nfc_dev_node, max_len)) { in phNxpNciHal_TestMode_open() 1180 strlcpy(nfc_dev_node, "/dev/pn54x", (max_len * sizeof(char))); in phNxpNciHal_TestMode_open() 1185 tTmlConfig.pDevName = (int8_t*)nfc_dev_node; in phNxpNciHal_TestMode_open() 1197 if (nfc_dev_node != NULL) { in phNxpNciHal_TestMode_open() 1198 free(nfc_dev_node); in phNxpNciHal_TestMode_open() 1199 nfc_dev_node = NULL; in phNxpNciHal_TestMode_open() 1228 if (nfc_dev_node != NULL) { in phNxpNciHal_TestMode_open() [all …]
|
/hardware/st/nfc/st21nfc/adaptation/ |
D | i2clayer.cc | 277 char nfc_dev_node[64]; in I2cOpenLayer() local 281 if (!GetStrValue(NAME_ST_NFC_DEV_NODE, (char *)nfc_dev_node, in I2cOpenLayer() 282 sizeof(nfc_dev_node))) { in I2cOpenLayer() 284 strcpy(nfc_dev_node, "/dev/st21nfc"); in I2cOpenLayer() 298 fidI2c = open(nfc_dev_node, O_RDWR); in I2cOpenLayer() 300 STLOG_HAL_W("unable to open %s (%s) \n", nfc_dev_node, strerror(errno)); in I2cOpenLayer()
|
/hardware/nxp/nfc/snxxx/halimpl/hal/ |
D | phNxpNciHal.cc | 169 static int phNxpNciHal_MinOpen_Clean(char* nfc_dev_node); 655 static int phNxpNciHal_MinOpen_Clean(char* nfc_dev_node) { in phNxpNciHal_MinOpen_Clean() argument 656 if (nfc_dev_node != NULL) { in phNxpNciHal_MinOpen_Clean() 657 free(nfc_dev_node); in phNxpNciHal_MinOpen_Clean() 658 nfc_dev_node = NULL; in phNxpNciHal_MinOpen_Clean() 685 char* nfc_dev_node = NULL; in phNxpNciHal_MinOpen() local 724 return phNxpNciHal_MinOpen_Clean(nfc_dev_node); in phNxpNciHal_MinOpen() 733 nfc_dev_node = (char*)malloc(max_len * sizeof(char)); in phNxpNciHal_MinOpen() 734 if (nfc_dev_node == NULL) { in phNxpNciHal_MinOpen() 737 return phNxpNciHal_MinOpen_Clean(nfc_dev_node); in phNxpNciHal_MinOpen() [all …]
|
/hardware/nxp/nfc/pn8x/halimpl/hal/ |
D | phNxpNciHal.cc | 564 char* nfc_dev_node = NULL; in phNxpNciHal_MinOpen() local 622 nfc_dev_node = (char*)malloc(max_len * sizeof(char)); in phNxpNciHal_MinOpen() 623 if (nfc_dev_node == NULL) { in phNxpNciHal_MinOpen() 626 } else if (!GetNxpStrValue(NAME_NXP_NFC_DEV_NODE, nfc_dev_node, max_len)) { in phNxpNciHal_MinOpen() 630 strlcpy(nfc_dev_node, "/dev/pn54x", (max_len * sizeof(char))); in phNxpNciHal_MinOpen() 636 tTmlConfig.pDevName = (int8_t*)nfc_dev_node; in phNxpNciHal_MinOpen() 647 if (nfc_dev_node != NULL) { in phNxpNciHal_MinOpen() 648 free(nfc_dev_node); in phNxpNciHal_MinOpen() 649 nfc_dev_node = NULL; in phNxpNciHal_MinOpen() 779 if (nfc_dev_node != NULL) { in phNxpNciHal_MinOpen() [all …]
|
/hardware/nxp/nfc/snxxx/halimpl/dnld/ |
D | phNxpNciHal_Dnld.cc | 1822 char nfc_dev_node[max_len] = {}; in phNxpNciHal_releasePendingRead() local 1823 if (!GetNxpStrValue(NAME_NXP_NFC_DEV_NODE, nfc_dev_node, in phNxpNciHal_releasePendingRead() 1824 sizeof(nfc_dev_node))) { in phNxpNciHal_releasePendingRead() 1828 strlcpy(nfc_dev_node, "/dev/pn54x", (sizeof(nfc_dev_node))); in phNxpNciHal_releasePendingRead() 1830 tTmlConfig.pDevName = (int8_t*)nfc_dev_node; in phNxpNciHal_releasePendingRead()
|