Searched refs:upg_align_pre (Results 1 – 2 of 2) sorted by relevance
102 #define upg_align_pre(val, a) ((val) & (~((a) - 1))) macro
561 erase_start_addr = upg_align_pre(erase_start_addr, UPG_FLASH_BLOCK_SIZE); in upg_get_cache_clear_info()602 erase_st_addr = upg_align_pre(erase_st_addr, UPG_FLASH_BLOCK_SIZE); in upg_get_backup_write_addr()