Searched refs:gpioDevice (Results 1 – 4 of 4) sorted by relevance
300 struct GpioDevice *gpioDevice = NULL; in AttachGpioDevice() local306 gpioDevice = (struct GpioDevice *)OsalMemAlloc(sizeof(struct GpioDevice)); in AttachGpioDevice()307 if (gpioDevice == NULL) { in AttachGpioDevice()312 ret = GetGpioDeviceResource(gpioDevice, device->property); in AttachGpioDevice()314 (void)OsalMemFree(gpioDevice); in AttachGpioDevice()318 gpioCntlr->count = gpioDevice->resource.pinNum; in AttachGpioDevice()
383 struct GpioDevice *gpioDevice = NULL; local393 gpioDevice = (struct GpioDevice *)OsalMemAlloc(sizeof(struct GpioDevice));394 if (gpioDevice == NULL) {399 ret = GetGpioDeviceResource(gpioDevice);401 ret = GetGpioDeviceResource(gpioDevice, device->property);404 (void)OsalMemFree(gpioDevice);408 (void)OsalMemFree(gpioDevice);409 gpioCntlr->count = gpioDevice->resource.pinNum;
267 struct GpioDevice *gpioDevice = NULL; local277 gpioDevice = (struct GpioDevice *)OsalMemAlloc(sizeof(struct GpioDevice));278 if (gpioDevice == NULL) {283 ret = GetGpioDeviceResource(gpioDevice);285 ret = GetGpioDeviceResource(gpioDevice, device->property);288 OsalMemFree(gpioDevice);292 gpioCntlr->count = gpioDevice->resource.pinNum;293 gpioCntlr->priv = (void *)gpioDevice;
354 GpioDevice *gpioDevice = NULL; local364 gpioDevice = (GpioDevice *)OsalMemAlloc(sizeof(GpioDevice));365 if (gpioDevice == NULL) {371 ret = GetGpioDeviceResource(gpioDevice);373 ret = GetGpioDeviceResource(gpioDevice, device->property);376 (void)OsalMemFree(gpioDevice);379 gpioCntlr->priv = gpioDevice;380 gpioCntlr->count = gpioDevice->pinNums;