Update XhcWaitOpRegBit to take Timout argument as microsecond.
Signed-off-by: Elvin Li <elvin.li@intel.com> Reviewed-by: Feng Tian <feng.tian@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15020 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -399,7 +399,7 @@ XhcClearOpRegBit (
|
||||
@param Offset The offset of the operational register.
|
||||
@param Bit The bit of the register to wait for.
|
||||
@param WaitToSet Wait the bit to set or clear.
|
||||
@param Timeout The time to wait before abort (in millisecond, ms).
|
||||
@param Timeout The time to wait before abort (in microsecond, us).
|
||||
|
||||
@retval EFI_SUCCESS The bit successfully changed by host controller.
|
||||
@retval EFI_TIMEOUT The time out occurred.
|
||||
@@ -521,7 +521,7 @@ XhcIsSysError (
|
||||
Reset the XHCI host controller.
|
||||
|
||||
@param Xhc The XHCI Instance.
|
||||
@param Timeout Time to wait before abort (in millisecond, ms).
|
||||
@param Timeout Time to wait before abort (in microsecond, us).
|
||||
|
||||
@retval EFI_SUCCESS The XHCI host controller is reset.
|
||||
@return Others Failed to reset the XHCI before Timeout.
|
||||
@@ -537,7 +537,7 @@ XhcResetHC (
|
||||
Halt the XHCI host controller.
|
||||
|
||||
@param Xhc The XHCI Instance.
|
||||
@param Timeout Time to wait before abort (in millisecond, ms).
|
||||
@param Timeout Time to wait before abort (in microsecond, us).
|
||||
|
||||
@return EFI_SUCCESS The XHCI host controller is halt.
|
||||
@return EFI_TIMEOUT Failed to halt the XHCI before Timeout.
|
||||
@@ -553,7 +553,7 @@ XhcHaltHC (
|
||||
Set the XHCI host controller to run.
|
||||
|
||||
@param Xhc The XHCI Instance.
|
||||
@param Timeout Time to wait before abort (in millisecond, ms).
|
||||
@param Timeout Time to wait before abort (in microsecond, us).
|
||||
|
||||
@return EFI_SUCCESS The XHCI host controller is running.
|
||||
@return EFI_TIMEOUT Failed to set the XHCI to run before Timeout.
|
||||
|
Reference in New Issue
Block a user