TianoCore EDK2 master
|
#include <Protocol/SdMmcPassThru.h>
Go to the source code of this file.
Data Structures | |
union | EDKII_SD_MMC_DRIVER_STRENGTH |
struct | EDKII_SD_MMC_OPERATING_PARAMETERS |
struct | _EDKII_SD_MMC_OVERRIDE |
Macros | |
#define | EDKII_SD_MMC_OVERRIDE_PROTOCOL_GUID { 0xeaf9e3c1, 0xc9cd, 0x46db, { 0xa5, 0xe5, 0x5a, 0x12, 0x4c, 0x83, 0x23, 0x23 } } |
#define | EDKII_SD_MMC_OVERRIDE_PROTOCOL_VERSION 0x3 |
#define | EDKII_SD_MMC_BUS_WIDTH_IGNORE MAX_UINT8 |
#define | EDKII_SD_MMC_CLOCK_FREQ_IGNORE MAX_UINT32 |
#define | EDKII_SD_MMC_DRIVER_STRENGTH_IGNORE MAX_UINT8 |
Typedefs | |
typedef struct _EDKII_SD_MMC_OVERRIDE | EDKII_SD_MMC_OVERRIDE |
typedef EFI_STATUS(EFIAPI * | EDKII_SD_MMC_CAPABILITY) (IN EFI_HANDLE ControllerHandle, IN UINT8 Slot, IN OUT VOID *SdMmcHcSlotCapability, IN OUT UINT32 *BaseClkFreq) |
typedef EFI_STATUS(EFIAPI * | EDKII_SD_MMC_NOTIFY_PHASE) (IN EFI_HANDLE ControllerHandle, IN UINT8 Slot, IN EDKII_SD_MMC_PHASE_TYPE PhaseType, IN OUT VOID *PhaseData) |
Variables | |
EFI_GUID | gEdkiiSdMmcOverrideProtocolGuid |
Protocol to describe overrides required to support non-standard SDHCI implementations
Copyright (c) 2017 - 2018, Linaro, Ltd. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file SdMmcOverride.h.
#define EDKII_SD_MMC_BUS_WIDTH_IGNORE MAX_UINT8 |
Definition at line 23 of file SdMmcOverride.h.
#define EDKII_SD_MMC_CLOCK_FREQ_IGNORE MAX_UINT32 |
Definition at line 24 of file SdMmcOverride.h.
#define EDKII_SD_MMC_DRIVER_STRENGTH_IGNORE MAX_UINT8 |
Definition at line 25 of file SdMmcOverride.h.
#define EDKII_SD_MMC_OVERRIDE_PROTOCOL_GUID { 0xeaf9e3c1, 0xc9cd, 0x46db, { 0xa5, 0xe5, 0x5a, 0x12, 0x4c, 0x83, 0x23, 0x23 } } |
Definition at line 16 of file SdMmcOverride.h.
#define EDKII_SD_MMC_OVERRIDE_PROTOCOL_VERSION 0x3 |
Definition at line 19 of file SdMmcOverride.h.
typedef EFI_STATUS(EFIAPI * EDKII_SD_MMC_CAPABILITY) (IN EFI_HANDLE ControllerHandle, IN UINT8 Slot, IN OUT VOID *SdMmcHcSlotCapability, IN OUT UINT32 *BaseClkFreq) |
Override function for SDHCI capability bits
[in] | ControllerHandle | The EFI_HANDLE of the controller. |
[in] | Slot | The 0 based slot index. |
[in,out] | SdMmcHcSlotCapability | The SDHCI capability structure. |
[in,out] | BaseClkFreq | The base clock frequency value that optionally can be updated. |
EFI_SUCCESS | The override function completed successfully. |
EFI_NOT_FOUND | The specified controller or slot does not exist. |
EFI_INVALID_PARAMETER | SdMmcHcSlotCapability is NULL |
Definition at line 111 of file SdMmcOverride.h.
typedef EFI_STATUS(EFIAPI * EDKII_SD_MMC_NOTIFY_PHASE) (IN EFI_HANDLE ControllerHandle, IN UINT8 Slot, IN EDKII_SD_MMC_PHASE_TYPE PhaseType, IN OUT VOID *PhaseData) |
Override function for SDHCI controller operations
[in] | ControllerHandle | The EFI_HANDLE of the controller. |
[in] | Slot | The 0 based slot index. |
[in] | PhaseType | The type of operation and whether the hook is invoked right before (pre) or right after (post) |
[in,out] | PhaseData | The pointer to a phase-specific data. |
EFI_SUCCESS | The override function completed successfully. |
EFI_NOT_FOUND | The specified controller or slot does not exist. |
EFI_INVALID_PARAMETER | PhaseType is invalid |
Definition at line 135 of file SdMmcOverride.h.
typedef struct _EDKII_SD_MMC_OVERRIDE EDKII_SD_MMC_OVERRIDE |
Definition at line 21 of file SdMmcOverride.h.
enum EDKII_SD_MMC_PHASE_TYPE |
Definition at line 86 of file SdMmcOverride.h.
enum EMMC_DRIVER_STRENGTH_TYPE |
Definition at line 35 of file SdMmcOverride.h.
enum SD_DRIVER_STRENGTH_TYPE |
Definition at line 27 of file SdMmcOverride.h.
enum SD_MMC_BUS_MODE |
Definition at line 71 of file SdMmcOverride.h.