TianoCore EDK2 master
|
Go to the source code of this file.
Functions | |
EFI_STATUS | PeiUsbClearDeviceFeature (IN EFI_PEI_SERVICES **PeiServices, IN PEI_USB_IO_PPI *UsbIoPpi, IN EFI_USB_RECIPIENT Recipient, IN UINT16 Value, IN UINT16 Target) |
EFI_STATUS | PeiUsbClearEndpointHalt (IN EFI_PEI_SERVICES **PeiServices, IN PEI_USB_IO_PPI *UsbIoPpi, IN UINT8 EndpointAddress) |
Common Library for PEI USB.
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file PeiUsbLib.c.
EFI_STATUS PeiUsbClearDeviceFeature | ( | IN EFI_PEI_SERVICES ** | PeiServices, |
IN PEI_USB_IO_PPI * | UsbIoPpi, | ||
IN EFI_USB_RECIPIENT | Recipient, | ||
IN UINT16 | Value, | ||
IN UINT16 | Target | ||
) |
Clear a given usb feature.
PeiServices | General-purpose services that are available to every PEIM. |
UsbIoPpi | Indicates the PEI_USB_IO_PPI instance. |
Recipient | The recipient of ClearFeature Request, should be one of Device/Interface/Endpoint. |
Value | Request Value. |
Target | Request Index. |
EFI_SUCCESS | Usb feature is cleared successfully. |
EFI_DEVICE_ERROR | Cannot clear the usb feature due to a hardware error. |
Others | Other failure occurs. |
Definition at line 28 of file PeiUsbLib.c.
EFI_STATUS PeiUsbClearEndpointHalt | ( | IN EFI_PEI_SERVICES ** | PeiServices, |
IN PEI_USB_IO_PPI * | UsbIoPpi, | ||
IN UINT8 | EndpointAddress | ||
) |
Clear Endpoint Halt.
PeiServices | General-purpose services that are available to every PEIM. |
UsbIoPpi | Indicates the PEI_USB_IO_PPI instance. |
EndpointAddress | The endpoint address. |
EFI_SUCCESS | Endpoint halt is cleared successfully. |
EFI_DEVICE_ERROR | Cannot clear the endpoint halt status due to a hardware error. |
Others | Other failure occurs. |
Definition at line 83 of file PeiUsbLib.c.