Searched refs:LOG2CEIL (Results 1 – 14 of 14) sorted by relevance
/Zephyr-Core-3.6.0/tests/unit/pot/ |
D | log2ceil.c | 10 static const uint8_t val = LOG2CEIL(42); 11 static const uint8_t val64 = LOG2CEIL(42 + BIT64(32)); 15 zassert_equal(0, LOG2CEIL(LLONG_MIN)); in ZTEST() 16 zassert_equal(0, LOG2CEIL(LONG_MIN)); in ZTEST() 17 zassert_equal(0, LOG2CEIL(INT_MIN)); in ZTEST() 18 zassert_equal(0, LOG2CEIL(-1)); in ZTEST() 19 zassert_equal(0, LOG2CEIL(0)); in ZTEST() 20 zassert_equal(0, LOG2CEIL(1)); in ZTEST() 21 zassert_equal(1, LOG2CEIL(2)); in ZTEST() 22 zassert_equal(2, LOG2CEIL(3)); in ZTEST() [all …]
|
D | log2ceil.cpp | 10 static constexpr uint8_t val = LOG2CEIL(32); 11 static constexpr uint8_t val64 = LOG2CEIL(42 + BIT64(32)); 15 return LOG2CEIL(x); in log2ceil() 20 zassert_equal(0, LOG2CEIL(LLONG_MIN)); in ZTEST() 21 zassert_equal(0, LOG2CEIL(LONG_MIN)); in ZTEST() 22 zassert_equal(0, LOG2CEIL(INT_MIN)); in ZTEST() 23 zassert_equal(0, LOG2CEIL(-1)); in ZTEST() 24 zassert_equal(0, LOG2CEIL(0)); in ZTEST() 25 zassert_equal(0, LOG2CEIL(1)); in ZTEST() 26 zassert_equal(1, LOG2CEIL(2)); in ZTEST() [all …]
|
/Zephyr-Core-3.6.0/arch/arm/core/ |
D | vector_table.ld | 19 . = ALIGN( 1 << LOG2CEIL(4 * 64) ); 24 . = ALIGN( 1 << LOG2CEIL(4 * 32) ); 37 . = ALIGN( 1 << LOG2CEIL(4 * (16 + CONFIG_NUM_IRQS)) );
|
/Zephyr-Core-3.6.0/arch/arm/core/cortex_m/tz/ |
D | secure_entry_functions.ld | 11 - MAX(32, (1 << LOG2CEIL(__sg_size)))) 48 || (((1 << LOG2CEIL(NRF_SG_SIZE)) == NRF_SG_SIZE) /* Pow of 2 */
|
/Zephyr-Core-3.6.0/arch/arm/core/cortex_m/ |
D | relay_vector_table.ld | 18 . = ALIGN( 1 << LOG2CEIL(4 * 32) ); 28 . = ALIGN( 1 << LOG2CEIL(4 * (16 + CONFIG_NUM_IRQS)) );
|
/Zephyr-Core-3.6.0/soc/arm/nxp_s32/s32k3/ |
D | sections.ld | 19 _rom_region_order = ((LOG2CEIL(__rom_region_end - __rom_region_start) - 1) << 1);
|
/Zephyr-Core-3.6.0/subsys/testsuite/coverage/ |
D | coverage_ram.ld | 61 . = ALIGN(1 << LOG2CEIL(. - __gcov_bss_start));
|
/Zephyr-Core-3.6.0/include/zephyr/sys/ |
D | util.h | 633 #define LOG2CEIL(x) ((x) < 1 ? 0 : __z_log2((x)-1) + 1) macro 647 #define NHPOT(x) ((x) < 1 ? 1 : ((x) > (1ULL<<63) ? 0 : 1ULL << LOG2CEIL(x)))
|
/Zephyr-Core-3.6.0/include/zephyr/arch/arm/cortex_a_r/scripts/ |
D | linker.ld | 76 . = ALIGN(1 << LOG2CEIL(region_size)) 234 _image_rom_end_order = (LOG2CEIL(__rom_region_end) - 1) << 1;
|
/Zephyr-Core-3.6.0/soc/riscv/andes_v5/ae350/ |
D | linker.ld | 65 . = ALIGN( 1 << LOG2CEIL(region_size)) 207 . = ALIGN( 1 << LOG2CEIL(region_size))
|
/Zephyr-Core-3.6.0/include/zephyr/arch/arc/v2/ |
D | linker.ld | 44 . = ALIGN( 1 << LOG2CEIL(region_size))
|
/Zephyr-Core-3.6.0/include/zephyr/arch/riscv/common/ |
D | linker.ld | 89 . = ALIGN( 1 << LOG2CEIL(region_size))
|
/Zephyr-Core-3.6.0/include/zephyr/arch/arm/cortex_m/scripts/ |
D | linker.ld | 78 . = ALIGN( 1 << LOG2CEIL(region_size))
|
/Zephyr-Core-3.6.0/soc/riscv/ite_ec/it8xxx2/ |
D | linker.ld | 58 . = ALIGN( 1 << LOG2CEIL(region_size))
|