TianoCore EDK2 master
|
#include <Protocol/DevicePath.h>
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/DevicePathLib.h>
#include "Mmc.h"
Go to the source code of this file.
Functions | |
VOID | InitializeMmcHostPool (VOID) |
VOID | InsertMmcHost (IN MMC_HOST_INSTANCE *MmcHostInstance) |
VOID | RemoveMmcHost (IN MMC_HOST_INSTANCE *MmcHostInstance) |
MMC_HOST_INSTANCE * | CreateMmcHostInstance (IN EFI_MMC_HOST_PROTOCOL *MmcHost) |
EFI_STATUS | DestroyMmcHostInstance (IN MMC_HOST_INSTANCE *MmcHostInstance) |
EFI_STATUS EFIAPI | MmcDriverBindingSupported (IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE Controller, IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath) |
EFI_STATUS EFIAPI | MmcDriverBindingStart (IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE Controller, IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath) |
EFI_STATUS EFIAPI | MmcDriverBindingStop (IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE Controller, IN UINTN NumberOfChildren, IN EFI_HANDLE *ChildHandleBuffer) |
VOID EFIAPI | CheckCardsCallback (IN EFI_EVENT Event, IN VOID *Context) |
EFI_STATUS EFIAPI | MmcDxeInitialize (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
Variables | |
EFI_BLOCK_IO_MEDIA | mMmcMediaTemplate |
LIST_ENTRY | mMmcHostPool |
EFI_EVENT | gCheckCardsEvent |
EFI_DRIVER_BINDING_PROTOCOL | gMmcDriverBinding |
Main file of the MMC Dxe driver. The driver entrypoint is defined into this file.
Copyright (c) 2011-2013, ARM Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file Mmc.c.
MMC_HOST_INSTANCE * CreateMmcHostInstance | ( | IN EFI_MMC_HOST_PROTOCOL * | MmcHost | ) |
EFI_STATUS DestroyMmcHostInstance | ( | IN MMC_HOST_INSTANCE * | MmcHostInstance | ) |
VOID InitializeMmcHostPool | ( | VOID | ) |
VOID InsertMmcHost | ( | IN MMC_HOST_INSTANCE * | MmcHostInstance | ) |
EFI_STATUS EFIAPI MmcDriverBindingStart | ( | IN EFI_DRIVER_BINDING_PROTOCOL * | This, |
IN EFI_HANDLE | Controller, | ||
IN EFI_DEVICE_PATH_PROTOCOL * | RemainingDevicePath | ||
) |
EFI_STATUS EFIAPI MmcDriverBindingStop | ( | IN EFI_DRIVER_BINDING_PROTOCOL * | This, |
IN EFI_HANDLE | Controller, | ||
IN UINTN | NumberOfChildren, | ||
IN EFI_HANDLE * | ChildHandleBuffer | ||
) |
EFI_STATUS EFIAPI MmcDriverBindingSupported | ( | IN EFI_DRIVER_BINDING_PROTOCOL * | This, |
IN EFI_HANDLE | Controller, | ||
IN EFI_DEVICE_PATH_PROTOCOL * | RemainingDevicePath | ||
) |
EFI_STATUS EFIAPI MmcDxeInitialize | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable | ||
) |
VOID RemoveMmcHost | ( | IN MMC_HOST_INSTANCE * | MmcHostInstance | ) |
EFI_EVENT gCheckCardsEvent |
EFI_DRIVER_BINDING_PROTOCOL gMmcDriverBinding |
LIST_ENTRY mMmcHostPool |
EFI_BLOCK_IO_MEDIA mMmcMediaTemplate |