Searched refs:IS_ALIGNED (Results 1 – 10 of 10) sorted by relevance
/device/linaro/bootloader/edk2/ArmPlatformPkg/Library/ArmTrustedMonitorLibNull/Arm/ |
D | ArmTrustedMonitorLibNull.c | 20 #define IS_ALIGNED(Address, Align) (((UINTN)Address & (Align-1)) == 0) macro
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/EbcDxe/ |
D | EbcExecute.h | 24 #define IS_ALIGNED(addr, size) !((UINT32) (addr) & (size - 1)) macro
|
D | EbcExecute.c | 2013 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/ |
D | UfsPassThru.c | 170 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()
|
D | UfsPassThru.h | 118 #define IS_ALIGNED(addr, size) (((UINTN) (addr) & (size - 1)) == 0) macro
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/ |
D | AtaAtapiPassThru.c | 1282 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()
|
D | AtaAtapiPassThru.h | 151 #define IS_ALIGNED(addr, size) (((UINTN) (addr) & (size - 1)) == 0) macro
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ufs/UfsBlockIoPei/ |
D | UfsBlockIoPei.h | 132 #define IS_ALIGNED(addr, size) (((UINTN) (addr) & (size - 1)) == 0) macro
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ata/AtaBusDxe/ |
D | AtaBus.h | 85 #define IS_ALIGNED(addr, size) (((UINTN) (addr) & (size - 1)) == 0) macro
|
D | AtaPassThruExecute.c | 1045 if ((AtaPassThru->Mode->IoAlign > 1) && !IS_ALIGNED (Buffer, AtaPassThru->Mode->IoAlign)) { in TrustTransferAtaDevice()
|