Searched refs:ALIGN_DOWN (Results 1 – 4 of 4) sorted by relevance
56 #ifndef ALIGN_DOWN57 #define ALIGN_DOWN(num, align) ((num) & ~((align) - 1)) macro
37 return ALIGN_DOWN(boot_magic_off(fap) - BOOT_MAX_ALIGN, BOOT_MAX_ALIGN); in boot_image_ok_off()
297 pad_off = ALIGN_DOWN(off, BOOT_MAX_ALIGN); in boot_write_magic()
34 #ifndef ALIGN_DOWN35 # define ALIGN_DOWN(num, align) ((num) & ~((align) - 1)) macro151 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()