Searched refs:devInfo (Results 1 – 1 of 1) sorted by relevance
59 FT_DEVICE_LIST_INFO_NODE* devInfo = NULL; in mraa_ftdi_ft4222_init() local71 devInfo = calloc((size_t) numDevs, sizeof(FT_DEVICE_LIST_INFO_NODE)); in mraa_ftdi_ft4222_init()72 if (devInfo == NULL) { in mraa_ftdi_ft4222_init()77 ftStatus = FT_GetDeviceInfoList(devInfo, &numDevs); in mraa_ftdi_ft4222_init()95 if (devInfo[0].Type == FT_DEVICE_4222H_0) in mraa_ftdi_ft4222_init()96 locationIdI2c = devInfo[0].LocId; in mraa_ftdi_ft4222_init()97 if (devInfo[1].Type == FT_DEVICE_4222H_0) in mraa_ftdi_ft4222_init()98 locationIdGpio = devInfo[1].LocId; in mraa_ftdi_ft4222_init()147 if (devInfo != NULL) in mraa_ftdi_ft4222_init()148 free(devInfo); in mraa_ftdi_ft4222_init()