TianoCore EDK2 master
|
#include <Protocol/UfsHostController.h>
Go to the source code of this file.
Data Structures | |
struct | EDKII_UIC_COMMAND |
struct | _EDKII_UFS_HC_DRIVER_INTERFACE |
struct | EDKII_UFS_HC_INFO |
struct | _EDKII_UFS_HC_PLATFORM_PROTOCOL |
Macros | |
#define | EDKII_UFS_HC_PLATFORM_PROTOCOL_VERSION 2 |
Typedefs | |
typedef struct _EDKII_UFS_HC_PLATFORM_PROTOCOL | EDKII_UFS_HC_PLATFORM_PROTOCOL |
typedef struct _EDKII_UFS_HC_DRIVER_INTERFACE | EDKII_UFS_HC_DRIVER_INTERFACE |
typedef EFI_STATUS(EFIAPI * | EDKII_UFS_EXEC_UIC_COMMAND) (IN EDKII_UFS_HC_DRIVER_INTERFACE *This, IN OUT EDKII_UIC_COMMAND *UicCommand) |
typedef EFI_STATUS(EFIAPI * | EDKII_UFS_HC_PLATFORM_OVERRIDE_HC_INFO) (IN EFI_HANDLE ControllerHandle, IN OUT EDKII_UFS_HC_INFO *HcInfo) |
typedef EFI_STATUS(EFIAPI * | EDKII_UFS_HC_PLATFORM_CALLBACK) (IN EFI_HANDLE ControllerHandle, IN EDKII_UFS_HC_PLATFORM_CALLBACK_PHASE CallbackPhase, IN OUT VOID *CallbackData) |
Variables | |
EFI_GUID | gEdkiiUfsHcPlatformProtocolGuid |
EDKII_UFS_HC_PLATFORM_PROTOCOL definition.
Copyright (c) 2019 - 2022, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file UfsHostControllerPlatform.h.
#define EDKII_UFS_HC_PLATFORM_PROTOCOL_VERSION 2 |
Definition at line 14 of file UfsHostControllerPlatform.h.
typedef EFI_STATUS(EFIAPI * EDKII_UFS_EXEC_UIC_COMMAND) (IN EDKII_UFS_HC_DRIVER_INTERFACE *This, IN OUT EDKII_UIC_COMMAND *UicCommand) |
Execute UIC command
[in] | This | Pointer to driver interface produced by the UFS controller. |
[in,out] | UicCommand | Descriptor of the command that will be executed. |
EFI_SUCCESS | Command executed successfully. |
EFI_INVALID_PARAMETER | This or UicCommand is NULL. |
Others | Command failed to execute. |
Definition at line 40 of file UfsHostControllerPlatform.h.
typedef struct _EDKII_UFS_HC_DRIVER_INTERFACE EDKII_UFS_HC_DRIVER_INTERFACE |
Definition at line 20 of file UfsHostControllerPlatform.h.
typedef EFI_STATUS(EFIAPI * EDKII_UFS_HC_PLATFORM_CALLBACK) (IN EFI_HANDLE ControllerHandle, IN EDKII_UFS_HC_PLATFORM_CALLBACK_PHASE CallbackPhase, IN OUT VOID *CallbackData) |
Callback function for platform driver.
[in] | ControllerHandle | Handle of the UFS controller. |
[in] | CallbackPhase | Specifies when the platform protocol is called |
[in,out] | CallbackData | Data specific to the callback phase. For PreHce and PostHce - EDKII_UFS_HC_DRIVER_INTERFACE. For PreLinkStartup and PostLinkStartup - EDKII_UFS_HC_DRIVER_INTERFACE. |
EFI_SUCCESS | Override function completed successfully. |
EFI_INVALID_PARAMETER | CallbackPhase is invalid or CallbackData is NULL when phase expects valid data. |
Others | Function failed to complete. |
Definition at line 107 of file UfsHostControllerPlatform.h.
typedef EFI_STATUS(EFIAPI * EDKII_UFS_HC_PLATFORM_OVERRIDE_HC_INFO) (IN EFI_HANDLE ControllerHandle, IN OUT EDKII_UFS_HC_INFO *HcInfo) |
Allows platform protocol to override host controller information
[in] | ControllerHandle | Handle of the UFS controller. |
[in,out] | HcInfo | Pointer EDKII_UFS_HC_INFO associated with host controller. |
EFI_SUCCESS | Function completed successfully. |
EFI_INVALID_PARAMETER | HcInfo is NULL. |
Others | Function failed to complete. |
Definition at line 73 of file UfsHostControllerPlatform.h.
typedef struct _EDKII_UFS_HC_PLATFORM_PROTOCOL EDKII_UFS_HC_PLATFORM_PROTOCOL |
Definition at line 18 of file UfsHostControllerPlatform.h.
enum EDKII_UFS_CARD_REF_CLK_FREQ_ATTRIBUTE |
Definition at line 86 of file UfsHostControllerPlatform.h.
enum EDKII_UFS_HC_PLATFORM_CALLBACK_PHASE |
Definition at line 79 of file UfsHostControllerPlatform.h.