]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Pci/UhciPei/UhcPeim.h
MdeModulePkg UhciPei: Remove redundant functions
[mirror_edk2.git] / MdeModulePkg / Bus / Pci / UhciPei / UhcPeim.h
index 33d4f2f65f05f68785cfdd7a5a107468f3a9027c..672abaa26cb7075eed6abb0bd2e3955d92a5cc31 100644 (file)
@@ -472,21 +472,6 @@ IsStatusOK (
   IN UINT32          StatusRegAddr\r
   );\r
 \r
-/**\r
-  Get Current Frame Number.\r
-\r
-  @param  UhcDev          The UHCI device.\r
-  @param  FrameNumberAddr The address of frame list register.\r
-\r
-  @retval The content of the frame list register.\r
-\r
-**/\r
-UINT16\r
-GetCurrentFrameNumber (\r
-  IN USB_UHC_DEV   *UhcDev,\r
-  IN UINT32        FrameNumberAddr\r
-  );\r
-\r
 /**\r
   Set Frame List Base Address.\r
 \r
@@ -531,19 +516,6 @@ SetQHHorizontalLinkPtr (
   IN VOID       *PtrNext\r
   );\r
 \r
-/**\r
-  Get the horizontal link pointer in QH.\r
-\r
-  @param  PtrQH     Place to store QH_STRUCT pointer.\r
-\r
-  @retval The horizontal link pointer in QH.\r
-\r
-**/\r
-VOID  *\r
-GetQHHorizontalLinkPtr (\r
-  IN QH_STRUCT  *PtrQH\r
-  );\r
-\r
 /**\r
   Set a QH or TD horizontally to be connected with a specific QH.\r
 \r
@@ -609,18 +581,6 @@ SetQHVerticalValidorInvalid (
   IN BOOLEAN    IsValid\r
   );\r
 \r
-/**\r
-  Get the vertical validor bit in QH.\r
-\r
-  @param  PtrQH      Place to store QH_STRUCT pointer.\r
-\r
-  @retval The vertical linker is valid or not.\r
-\r
-**/\r
-BOOLEAN\r
-GetQHHorizontalValidorInvalid (\r
-  IN QH_STRUCT  *PtrQH\r
-  );\r
 \r
 /**\r
   Allocate TD or QH Struct.\r
@@ -805,19 +765,6 @@ GetTDLinkPtr (
   IN  TD_STRUCT *PtrTDStruct\r
   );\r
 \r
-/**\r
-  Get the information about whether the Link Pointer field pointing to\r
-  a QH or a TD.\r
-\r
-  @param  PtrTDStruct     Place to store TD_STRUCT pointer.\r
-\r
-  @retval whether the Link Pointer field pointing to a QH or a TD.\r
-\r
-**/\r
-BOOLEAN\r
-IsTDLinkPtrQHOrTD (\r
-  IN  TD_STRUCT *PtrTDStruct\r
-  );\r
 \r
 /**\r
   Enable/Disable short packet detection mechanism.\r
@@ -1317,31 +1264,6 @@ InsertMemoryHeaderToList (
   IN MEMORY_MANAGE_HEADER  *NewMemoryHeader\r
   );\r
 \r
-/**\r
-  Judge the memory block in the memory header is empty or not.\r
-\r
-  @param  MemoryHeaderPtr   A pointer to the memory header list.\r
-\r
-  @retval Whether the memory block in the memory header is empty or not.\r
-\r
-**/\r
-BOOLEAN\r
-IsMemoryBlockEmptied (\r
-  IN MEMORY_MANAGE_HEADER  *MemoryHeaderPtr\r
-  );\r
-\r
-/**\r
-  remove a memory header from list.\r
-\r
-  @param  FirstMemoryHeader   A pointer to the memory header list.\r
-  @param  FreeMemoryHeader    A memory header to be removed into the list.\r
-\r
-**/\r
-VOID\r
-DelinkMemoryBlock (\r
-  IN MEMORY_MANAGE_HEADER    *FirstMemoryHeader,\r
-  IN MEMORY_MANAGE_HEADER    *FreeMemoryHeader\r
-  );\r
 \r
 /**\r
   Map address of request structure buffer.\r
@@ -1460,22 +1382,6 @@ IoMmuAllocateBuffer (
   OUT VOID                  **Mapping\r
   );\r
 \r
-/**\r
-  Frees memory that was allocated with AllocateBuffer().\r
-\r
-  @param IoMmu              Pointer to IOMMU PPI.\r
-  @param Pages              The number of pages to free.\r
-  @param HostAddress        The base system memory address of the allocated range.\r
-  @param Mapping            The mapping value returned from Map().\r
-\r
-**/\r
-VOID\r
-IoMmuFreeBuffer (\r
-  IN EDKII_IOMMU_PPI        *IoMmu,\r
-  IN UINTN                  Pages,\r
-  IN VOID                   *HostAddress,\r
-  IN VOID                   *Mapping\r
-  );\r
 \r
 /**\r
   Initialize IOMMU.\r