HomeSort by relevance Sort by last modified time
    Searched refs:mGpio (Results 1 - 3 of 3) sorted by null

  /device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey/HiKeyUsbDxe/
HiKeyUsbDxe.c 41 STATIC EMBEDDED_GPIO *mGpio;
55 Status = gBS->LocateProtocol (&gEmbeddedGpioProtocolGuid, NULL, (VOID **)&mGpio);
57 Status = mGpio->Set (mGpio, USB_SEL_GPIO0_3, GPIO_MODE_OUTPUT_0);
59 Status = mGpio->Set (mGpio, USB_5V_HUB_EN, GPIO_MODE_OUTPUT_0);
63 Status = mGpio->Set (mGpio, USB_ID_DET_GPIO2_5, GPIO_MODE_INPUT);
65 Status = mGpio->Set (mGpio, USB_VBUS_DET_GPIO2_6, GPIO_MODE_INPUT);
    [all...]
  /device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey/HiKeyDxe/
HiKeyDxe.c 57 STATIC EMBEDDED_GPIO *mGpio;
265 (VOID **) &mGpio
281 if (mGpio == NULL) {
284 Status = mGpio->Set (mGpio, DETECT_J15_FASTBOOT, GPIO_MODE_INPUT);
297 if ((VirtualKey == NULL) || (mGpio == NULL)) {
303 Status = mGpio->Get (mGpio, DETECT_J15_FASTBOOT, &Value);
  /device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey960/HiKey960Dxe/
HiKey960Dxe.c 110 STATIC EMBEDDED_GPIO *mGpio;
561 (VOID **) &mGpio
577 if (mGpio == NULL) {
582 Status = mGpio->Set (mGpio, DETECT_SW_FASTBOOT, GPIO_MODE_INPUT);
595 if ((VirtualKey == NULL) || (mGpio == NULL)) {
605 Status = mGpio->Get (mGpio, DETECT_SW_FASTBOOT, &Value);

Completed in 93 milliseconds