/* Start specified slot in transfer list of a UFS device. */
VOID UfsStartExecCmd(IN UFS_PEIM_HC_PRIVATE_DATA *Private, IN UINT8 Slot)
/* Start specified slot in transfer list of a UFS device. */
VOID UfsStartExecCmd(IN UFS_PEIM_HC_PRIVATE_DATA *Private, IN UINT8 Slot)
{
  UINTN   UfsHcBase;
  UINTN   Address;
  UINT32  Data;
  UfsHcBase = Private->UfsHcBase;
  Address = UfsHcBase + UFS_HC_UTRLRSR_OFFSET;
  Data    = MmioRead32 (Address);
  if ((Data & UFS_HC_UTRLRSR) != UFS_HC_UTRLRSR) {
    MmioWrite32 (Address, UFS_HC_UTRLRSR);
  }
  Address = UfsHcBase + UFS_HC_UTRLDBR_OFFSET;
  MmioWrite32 (Address, BIT0 << Slot);
}