TianoCore EDK2 master
Loading...
Searching...
No Matches
UfsPciHcPei.h File Reference

Go to the source code of this file.

Data Structures

struct  UFS_HC_PEI_PRIVATE_DATA
 

Macros

#define UFS_HC_PEI_SIGNATURE   SIGNATURE_32 ('U', 'F', 'S', 'P')
 
#define MAX_UFS_HCS   8
 
#define UFS_HC_PEI_PRIVATE_DATA_FROM_THIS(a)   CR (a, UFS_HC_PEI_PRIVATE_DATA, UfsHostControllerPpi, UFS_HC_PEI_SIGNATURE)
 

Functions

EFI_STATUS EFIAPI GetUfsHcMmioBar (IN EDKII_UFS_HOST_CONTROLLER_PPI *This, IN UINT8 ControllerId, OUT UINTN *MmioBar)
 

Detailed Description

Copyright (c) 2014, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file UfsPciHcPei.h.

Macro Definition Documentation

◆ MAX_UFS_HCS

#define MAX_UFS_HCS   8

Definition at line 25 of file UfsPciHcPei.h.

◆ UFS_HC_PEI_PRIVATE_DATA_FROM_THIS

#define UFS_HC_PEI_PRIVATE_DATA_FROM_THIS (   a)    CR (a, UFS_HC_PEI_PRIVATE_DATA, UfsHostControllerPpi, UFS_HC_PEI_SIGNATURE)

Definition at line 35 of file UfsPciHcPei.h.

◆ UFS_HC_PEI_SIGNATURE

#define UFS_HC_PEI_SIGNATURE   SIGNATURE_32 ('U', 'F', 'S', 'P')

Definition at line 24 of file UfsPciHcPei.h.

Function Documentation

◆ GetUfsHcMmioBar()

EFI_STATUS EFIAPI GetUfsHcMmioBar ( IN EDKII_UFS_HOST_CONTROLLER_PPI This,
IN UINT8  ControllerId,
OUT UINTN MmioBar 
)

Get the MMIO base address of UFS host controller.

Parameters
[in]ThisThe protocol instance pointer.
[in]ControllerIdThe ID of the UFS host controller.
[out]MmioBarPointer to the UFS host controller MMIO base address.
Return values
EFI_SUCCESSThe operation succeeds.
EFI_INVALID_PARAMETERThe parameters are invalid.

Definition at line 33 of file UfsPciHcPei.c.