audk/MdeModulePkg/Bus/Ufs/UfsPassThruDxe
Feng Tian d945390d5f MdeModulePkg/Ufs: ensure the DBC field of UTP PRDT is dword-aligned
According to UFS Host Controller Spec(JESD223), the bits 1:0 of this
DataByteCount field shall be 11b to indicate Dword granularity.

But the size of UFS Request Sense Data Response defined in UFS Spec
(JESD220C) is 18 which is not Dword aligned, we would have to round
down to the multiple of 4 to fill the DBC field to avoid bring issue
on some UFS HCs.

Cc: Hao Wu <hao.a.wu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by:   Hao Wu <hao.a.wu@intel.com>
2016-11-09 15:30:10 +08:00
..
ComponentName.c
UfsPassThru.c MdeModulePkg: UfsPassThruDxe: remove set but unused variables 2016-03-25 10:52:26 +01:00
UfsPassThru.h MdeModulePkg/Bus: Fix typos in comments 2016-10-27 09:11:16 +08:00
UfsPassThru.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
UfsPassThruDxe.inf MdeModulePkg/Ufs: Refine EDKII_UFS_HOST_CONTROLLER_PROTOCOL interface 2015-05-28 07:42:05 +00:00
UfsPassThruExtra.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
UfsPassThruHci.c MdeModulePkg/Ufs: ensure the DBC field of UTP PRDT is dword-aligned 2016-11-09 15:30:10 +08:00
UfsPassThruHci.h