Home
last modified time | relevance | path

Searched refs:MAX (Results 1 – 25 of 25) sorted by relevance

/optee_os/lib/libutils/isoc/newlib/
H A Dstr-two-way.h90 #define MAX(a, b) ((a < b) ? (b) : (a)) macro
255 i = MAX (suffix, memory); in two_way_short_needle()
284 period = MAX (suffix, needle_len - suffix) + 1; in two_way_short_needle()
377 i = MAX (suffix, memory); in two_way_long_needle()
407 period = MAX (suffix, needle_len - suffix) + 1; in two_way_long_needle()
446 #undef MAX
/optee_os/lib/libutils/compiler-rt/lib/builtins/
H A Dint_mulo_impl.inc22 const fixint_t MAX = ~MIN;
42 if (abs_a > MAX / abs_b)
/optee_os/lib/libutils/ext/include/
H A Dutil.h23 #ifndef MAX
25 #define MAX(a, b) \ macro
35 #define MAX(a, b) (((a) > (b)) ? (a) : (b)) macro
/optee_os/core/drivers/clk/sam/
H A Dat91_clk.h41 #define CLK_RANGE(MIN, MAX) {.min = MIN, .max = MAX,} argument
/optee_os/core/drivers/scmi-msg/
H A Dclock_generic.c44 max_id = MAX(max_id, clk->scmi_id); in plat_scmi_clock_count()
/optee_os/core/mm/
H A Dboot_mem.c66 align = MAX(align, ASAN_BLOCK_SIZE); in mem_alloc_tmp()
108 align = MAX(align, ASAN_BLOCK_SIZE); in mem_alloc()
H A Dphys_mem.c135 pa = MAX(base, pool->lo); in partial_carve_out()
H A Dvm.c162 begin = MAX(begin, in rem_um_region()
185 vaddr_t va = MAX(r->va, ti->va_base); in set_reg_in_table()
264 granul = MAX(align, SMALL_PAGE_SIZE); in umap_add_region()
1176 granule = MAX(region->mobj->phys_granule, in tee_mmu_user_va2pa_attr()
H A Dpgt_cache.c240 vaddr_t b = MAX(p->vabase, begin); in pgt_clear_range()
745 vaddr_t b = MAX(p->vabase, begin); in clear_ctx_range_from_list()
H A Dcore_mmu.c726 paddr_t end_pa = MAX(dst->pa + dst->size - 1, src->pa + src->size - 1); in merge_mmaps()
/optee_os/core/lib/libtomcrypt/src/pk/ecc/
H A Dltc_ecc_mul2add.c60 len = MAX(lenA, lenB); in ltc_ecc_mul2add()
/optee_os/core/pta/tests/
H A Dtransfer_list.c48 if (tl->alignment != MAX(old_tl_align, align)) in test_add_te()
/optee_os/core/lib/libtomcrypt/src/headers/
H A Dtomcrypt_macros.h444 #ifndef MAX
445 #define MAX(x, y) ( ((x)>(y))?(x):(y) ) macro
/optee_os/core/lib/scmi-server/
H A Dscmi_server_scpfw.c250 agent_cfg_count = MAX(agent_cfg_count, agent_ctx->agent_id); in optee_scmi_server_probe()
/optee_os/core/lib/libtomcrypt/src/ciphers/
H A Drc5.c92 s = 3 * MAX(t, j); in s_rc5_setup()
H A Drc6.c82 s = 3 * MAX(44, j); in s_rc6_setup()
/optee_os/core/drivers/crypto/crypto_api/acipher/
H A Drsassa.c363 msg_db = malloc(MAX(db_size, msg_size)); in emsa_pss_encode()
554 msg_db = malloc(MAX(db_size, msg_size)); in emsa_pss_verify()
/optee_os/core/drivers/
H A Dstm32_omm.c256 clk_rate_max = MAX(clk_get_rate(ospi_d->clock), clk_rate_max); in stm32_omm_configure()
H A Dstm32_gpio.c1248 bank->ngpios = MAX(bank->ngpios, in dt_stm32_gpio_bank()
/optee_os/core/drivers/crypto/caam/utils/
H A Dutils_dmaobj.c804 size = MAX(min_length, dcache_get_line_size()); in caam_dmaobj_output_sgtbuf()
1169 alloc_size = MAX(min_size, alloc_size / 2); in try_allocate_dmabuf_max_size()
/optee_os/core/tee/
H A Dentry_std.c57 if (!core_is_buffer_inside(pa, MAX(sz, 1UL), b, mobj->size)) in param_mem_from_mobj()
H A Dtee_rpmb_fs.c2604 size_t new_size = MAX(end, fh->fat_entry.data_size); in rpmb_fs_write_primitive()
/optee_os/lib/libutils/isoc/
H A Dbget_malloc.c229 requested_size = MAX(requested_size, SizeQuant); in maybe_tag_buf()
/optee_os/lib/libutee/
H A Dtee_api_arith_mpi.c897 rc = mbedtls_mpi_is_prime_ext(&mpi_op, MAX(confidenceLevel, 80U), in TEE_BigIntIsProbablePrime()
/optee_os/core/drivers/crypto/stm32/
H A Dstm32_pka.c963 for (i = MAX(a->size, b->size); i > U(0); i--) { in is_smaller()