Home
last modified time | relevance | path

Searched refs:ALIGN_DOWN (Results 1 – 4 of 4) sorted by relevance

/mcuboot-latest/boot/bootutil/include/bootutil/
Dbootutil_public.h56 #ifndef ALIGN_DOWN
57 #define ALIGN_DOWN(num, align) ((num) & ~((align) - 1)) macro
/mcuboot-latest/boot/bootutil/src/
Dbootutil_misc.h37 return ALIGN_DOWN(boot_magic_off(fap) - BOOT_MAX_ALIGN, BOOT_MAX_ALIGN); in boot_image_ok_off()
Dbootutil_public.c297 pad_off = ALIGN_DOWN(off, BOOT_MAX_ALIGN); in boot_write_magic()
/mcuboot-latest/boot/espressif/port/
Desp_mcuboot.c34 #ifndef ALIGN_DOWN
35 # define ALIGN_DOWN(num, align) ((num) & ~((align) - 1)) macro
151 const uint32_t aligned_addr = ALIGN_DOWN(addr, 4); in aligned_flash_read()
227 const uint32_t aligned_addr = ALIGN_DOWN(dest_addr, 4); in aligned_flash_write()