Searched refs:ROUND_DOWN (Results 1 – 4 of 4) sorted by relevance
14 #define ROUND_DOWN(a,b) (((a) / (b)) * (b)) macro44 start_addr = ROUND_DOWN((partition_info->partition_start_addr + off_set), SPI_FLASH_SEC_SIZE); in hal_flash_erase()45 …end_addr = ROUND_DOWN((partition_info->partition_start_addr + off_set + size - 1), SPI_FLASH_SEC_S… in hal_flash_erase()
29 start_addr = ROUND_DOWN(offset, SECTOR_SIZE); in flash_erase()30 end_addr = ROUND_DOWN((offset + len - 1), SECTOR_SIZE); in flash_erase()
15 #define ROUND_DOWN(a,b) (((a) / (b)) * (b)) macro
74 #define ROUND_DOWN(x, align) \ macro79 #define WB_DN(x) ROUND_DOWN(x, sizeof(void *))
Completed in 10 milliseconds