Searched refs:IS_ALIGNED (Results 1 – 15 of 15) sorted by relevance
| /optee_os/core/arch/arm/plat-marvell/armada7k8k/ |
| H A D | hal_sec_perf.c | 159 if (!IS_ALIGNED(addr, SIZE_1M)) { in set_range() 165 if (!IS_ALIGNED(size, SIZE_1M)) { in set_range() 171 if (!IS_ALIGNED(addr, size)) { in set_range() 246 if (max_granule <= size && IS_ALIGNED(addr, max_granule)) in _find_granule()
|
| /optee_os/core/drivers/ |
| H A D | versal_mbox.c | 208 if (!IS_ALIGNED((uintptr_t)cmd->ibuf[i].mem.buf, in versal_mbox_write_req() 215 if (!IS_ALIGNED(cmd->ibuf[i].mem.alloc_len, CACHELINE_LEN)) { in versal_mbox_write_req() 254 if (!IS_ALIGNED((uintptr_t)cmd->ibuf[i].mem.buf, in versal_mbox_read_rsp() 261 if (!IS_ALIGNED(cmd->ibuf[i].mem.alloc_len, CACHELINE_LEN)) { in versal_mbox_read_rsp()
|
| H A D | zynqmp_csudma.c | 122 if (!IS_ALIGNED(phys, ZYNQMP_CSUDMA_ALIGN)) { in zynqmp_csudma_transfer()
|
| /optee_os/core/arch/arm/plat-marvell/armada3700/ |
| H A D | hal_sec_perf.c | 157 if (!IS_ALIGNED(addr, SIZE_1M)) { in set_range() 163 if (!IS_ALIGNED(size, SIZE_1M)) { in set_range()
|
| /optee_os/core/drivers/firewall/ |
| H A D | stm32_risab.c | 513 assert(IS_ALIGNED(address, _RISAB_PAGE_SIZE) && in parse_dt() 514 IS_ALIGNED(length, _RISAB_PAGE_SIZE)); in parse_dt() 626 if (!IS_ALIGNED(paddr, _RISAB_PAGE_SIZE) || in stm32_risab_check_access() 627 !IS_ALIGNED(size, _RISAB_PAGE_SIZE)) { in stm32_risab_check_access() 705 if (!IS_ALIGNED(paddr, _RISAB_PAGE_SIZE) || in stm32_risab_reconfigure_region() 706 !IS_ALIGNED(size, _RISAB_PAGE_SIZE)) { in stm32_risab_reconfigure_region()
|
| H A D | stm32_etzpc.c | 597 if (!IS_ALIGNED(paddr, SMALL_PAGE_SIZE) || in stm32_etzpc_configure_memory() 598 !IS_ALIGNED(size, SMALL_PAGE_SIZE)) in stm32_etzpc_configure_memory()
|
| /optee_os/core/kernel/ |
| H A D | transfer_list.c | 134 if (!IS_ALIGNED(pa, align) || !IS_ALIGNED(max_size, align) || in transfer_list_init() 537 if (!IS_ALIGNED(ev, TL_ALIGNMENT_FROM_ORDER(alignment))) { in transfer_list_add_with_align()
|
| H A D | user_access.c | 148 if (bb >= bbuf && IS_ALIGNED(bb, BB_ALIGNMENT)) { in bb_free_helper()
|
| /optee_os/lib/libutils/ext/include/ |
| H A D | util.h | 168 #define IS_ALIGNED(x, a) (((x) & ((a) - 1)) == 0) macro 172 IS_ALIGNED((uintptr_t)(x), __alignof__(__is_aligned_y)); \
|
| /optee_os/core/drivers/scmi-msg/ |
| H A D | smt.c | 149 IS_ALIGNED(SCMI_SEC_PAYLOAD_SIZE, sizeof(uint32_t))); in scmi_smt_init_agent_channel()
|
| /optee_os/core/arch/arm/plat-telechips/drivers/ |
| H A D | tcc_otp.c | 58 #define IS_16BYTE_ALIGNED(x) IS_ALIGNED(x, 16)
|
| /optee_os/core/pta/tests/ |
| H A D | transfer_list.c | 138 if (!IS_ALIGNED(mov_dis, TL_ALIGNMENT_FROM_ORDER(tl->alignment))) in test_set_te_data_size()
|
| /optee_os/core/drivers/bnxt/ |
| H A D | bnxt_fw.c | 44 #define ADDR_IS_4BYTE_ALIGNED(addr) IS_ALIGNED(addr, 4)
|
| /optee_os/core/arch/riscv/mm/ |
| H A D | core_mmu_arch.c | 42 #define IS_PAGE_ALIGNED(addr) IS_ALIGNED(addr, SMALL_PAGE_SIZE)
|
| /optee_os/core/arch/arm/kernel/ |
| H A D | boot.c | 1169 !IS_ALIGNED(transfer_list, TL_ALIGNMENT_FROM_ORDER(tl->alignment))) in boot_save_transfer_list()
|