Searched refs:chipDev (Results 1 – 1 of 1) sorted by relevance
312 ChipDevice *chipDev = (ChipDevice *)OsalMemAlloc(sizeof(ChipDevice)); in ChipDeviceInstance() local313 if (chipDev == NULL) { in ChipDeviceInstance()317 (void)memset_s(chipDev, sizeof(ChipDevice), 0, sizeof(ChipDevice)); in ChipDeviceInstance()318 return chipDev; in ChipDeviceInstance()349 ChipDevice *chipDev = NULL; in HdfGoodixChipInit() local361 chipDev = ChipDeviceInstance(); in HdfGoodixChipInit()362 if (chipDev == NULL) { in HdfGoodixChipInit()366 chipDev->chipCfg = chipCfg; in HdfGoodixChipInit()367 chipDev->ops = &g_gt911ChipOps; in HdfGoodixChipInit()368 chipDev->chipName = chipCfg->chipName; in HdfGoodixChipInit()[all …]