Home
last modified time | relevance | path

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

/AliOS-Things-master/hardware/chip/rtl872xd/hal/
A Dflash.c14 #define ROUND_DOWN(a,b) (((a) / (b)) * (b)) macro
44 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()
/AliOS-Things-master/hardware/chip/haas1000/hal/2ndboot/
A Dflash.c29 start_addr = ROUND_DOWN(offset, SECTOR_SIZE); in flash_erase()
30 end_addr = ROUND_DOWN((offset + len - 1), SECTOR_SIZE); in flash_erase()
/AliOS-Things-master/components/ota/2ndboot/include/
A D2ndboot.h15 #define ROUND_DOWN(a,b) (((a) / (b)) * (b)) macro
/AliOS-Things-master/components/ble_host/bt_host/port/include/misc/
A Dutil.h74 #define ROUND_DOWN(x, align) \ macro
79 #define WB_DN(x) ROUND_DOWN(x, sizeof(void *))

Completed in 10 milliseconds