Home
last modified time | relevance | path

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

/optee_os/core/arch/arm/plat-marvell/armada7k8k/
H A Dhal_sec_perf.c159 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 Dversal_mbox.c208 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 Dzynqmp_csudma.c122 if (!IS_ALIGNED(phys, ZYNQMP_CSUDMA_ALIGN)) { in zynqmp_csudma_transfer()
/optee_os/core/arch/arm/plat-marvell/armada3700/
H A Dhal_sec_perf.c157 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 Dstm32_risab.c513 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 Dstm32_etzpc.c597 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 Dtransfer_list.c134 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 Duser_access.c148 if (bb >= bbuf && IS_ALIGNED(bb, BB_ALIGNMENT)) { in bb_free_helper()
/optee_os/lib/libutils/ext/include/
H A Dutil.h168 #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 Dsmt.c149 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 Dtcc_otp.c58 #define IS_16BYTE_ALIGNED(x) IS_ALIGNED(x, 16)
/optee_os/core/pta/tests/
H A Dtransfer_list.c138 if (!IS_ALIGNED(mov_dis, TL_ALIGNMENT_FROM_ORDER(tl->alignment))) in test_set_te_data_size()
/optee_os/core/drivers/bnxt/
H A Dbnxt_fw.c44 #define ADDR_IS_4BYTE_ALIGNED(addr) IS_ALIGNED(addr, 4)
/optee_os/core/arch/riscv/mm/
H A Dcore_mmu_arch.c42 #define IS_PAGE_ALIGNED(addr) IS_ALIGNED(addr, SMALL_PAGE_SIZE)
/optee_os/core/arch/arm/kernel/
H A Dboot.c1169 !IS_ALIGNED(transfer_list, TL_ALIGNMENT_FROM_ORDER(tl->alignment))) in boot_save_transfer_list()