Home
last modified time | relevance | path

Searched refs:IS_ALIGNED (Results 1 – 10 of 10) sorted by relevance

/device/linaro/bootloader/edk2/ArmPlatformPkg/Library/ArmTrustedMonitorLibNull/Arm/
DArmTrustedMonitorLibNull.c20 #define IS_ALIGNED(Address, Align) (((UINTN)Address & (Align-1)) == 0) macro
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/EbcDxe/
DEbcExecute.h24 #define IS_ALIGNED(addr, size) !((UINT32) (addr) & (size - 1)) macro
DEbcExecute.c2013 if (!IS_ALIGNED ((UINTN) Data64, sizeof (UINT16))) { in ExecuteJMP()
2068 if (!IS_ALIGNED ((UINTN) Addr, sizeof (UINT16))) { in ExecuteJMP()
2091 if (!IS_ALIGNED ((UINTN) Addr, sizeof (UINT16))) { in ExecuteJMP()
3137 if (!IS_ALIGNED ((UINTN) VmPtr->Gpr[0], sizeof (UINT16))) { in ExecuteRET()
4702 if (IS_ALIGNED (Addr, sizeof (UINT16))) { in VmWriteMem16()
4765 if (IS_ALIGNED (Addr, sizeof (UINT32))) { in VmWriteMem32()
4828 if (IS_ALIGNED (Addr, sizeof (UINT64))) { in VmWriteMem64()
4894 if (IS_ALIGNED (Addr, sizeof (UINTN))) { in VmWriteMemN()
4958 if (IS_ALIGNED ((UINTN) VmPtr->Ip + Offset, sizeof (INT16))) { in VmReadImmed16()
5002 if (IS_ALIGNED ((UINTN) VmPtr->Ip + Offset, sizeof (UINT32))) { in VmReadImmed32()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ufs/UfsPassThruDxe/
DUfsPassThru.c170 if ((This->Mode->IoAlign > 1) && !IS_ALIGNED(Packet->InDataBuffer, This->Mode->IoAlign)) { in UfsPassThruPassThru()
174 if ((This->Mode->IoAlign > 1) && !IS_ALIGNED(Packet->OutDataBuffer, This->Mode->IoAlign)) { in UfsPassThruPassThru()
178 if ((This->Mode->IoAlign > 1) && !IS_ALIGNED(Packet->SenseData, This->Mode->IoAlign)) { in UfsPassThruPassThru()
DUfsPassThru.h118 #define IS_ALIGNED(addr, size) (((UINTN) (addr) & (size - 1)) == 0) macro
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/
DAtaAtapiPassThru.c1282 if ((This->Mode->IoAlign > 1) && !IS_ALIGNED(Packet->InDataBuffer, This->Mode->IoAlign)) { in AtaPassThruPassThru()
1286 if ((This->Mode->IoAlign > 1) && !IS_ALIGNED(Packet->OutDataBuffer, This->Mode->IoAlign)) { in AtaPassThruPassThru()
1290 if ((This->Mode->IoAlign > 1) && !IS_ALIGNED(Packet->Asb, This->Mode->IoAlign)) { in AtaPassThruPassThru()
2013 if ((This->Mode->IoAlign > 1) && !IS_ALIGNED(Packet->InDataBuffer, This->Mode->IoAlign)) { in ExtScsiPassThruPassThru()
2017 if ((This->Mode->IoAlign > 1) && !IS_ALIGNED(Packet->OutDataBuffer, This->Mode->IoAlign)) { in ExtScsiPassThruPassThru()
2021 if ((This->Mode->IoAlign > 1) && !IS_ALIGNED(Packet->SenseData, This->Mode->IoAlign)) { in ExtScsiPassThruPassThru()
DAtaAtapiPassThru.h151 #define IS_ALIGNED(addr, size) (((UINTN) (addr) & (size - 1)) == 0) macro
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ufs/UfsBlockIoPei/
DUfsBlockIoPei.h132 #define IS_ALIGNED(addr, size) (((UINTN) (addr) & (size - 1)) == 0) macro
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ata/AtaBusDxe/
DAtaBus.h85 #define IS_ALIGNED(addr, size) (((UINTN) (addr) & (size - 1)) == 0) macro
DAtaPassThruExecute.c1045 if ((AtaPassThru->Mode->IoAlign > 1) && !IS_ALIGNED (Buffer, AtaPassThru->Mode->IoAlign)) { in TrustTransferAtaDevice()