Searched refs:ALIGN_UP (Results 1 – 3 of 3) sorted by relevance
| /bsp/allwinner/libraries/sunxi-hal/hal/source/spinor/ |
| A D | hal_spinor.c | 121 #define ALIGN_UP(size, align) (((size) + (align) - 1) & ~((align) - 1)) in get_rtos_toc_package_size() macro 122 len = ALIGN_UP(head->valid_len, page_bytes); in get_rtos_toc_package_size()
|
| /bsp/frdm-k64f/device/MK64F12/ |
| A D | fsl_flash.c | 45 #ifndef ALIGN_UP 46 #define ALIGN_UP(x, a) (-((int32_t)((uint32_t)(-((int32_t)(x))) & (uint32_t)(-((int32_t)(a)))))) macro 1117 uint32_t endAddressOfCurrentSector = ALIGN_UP(start, sectorSize); in FLASH_ProgramSection() 1487 nextBlockStartAddress = ALIGN_UP(start, blockSize); in FLASH_VerifyErase() 1827 uint32_t alignedEndAddress = ALIGN_UP(endAddress, flashAccessInfo.SegmentSize); in FLASH_IsExecuteOnly()
|
| /bsp/rv32m1_vega/rv32m1_sdk_riscv/devices/RV32M1/drivers/ |
| A D | fsl_flash.c | 24 #ifndef ALIGN_UP 25 #define ALIGN_UP(x, a) (-((int32_t)((uint32_t)(-((int32_t)(x))) & (uint32_t)(-((int32_t)(a)))))) macro 1211 uint32_t endAddressOfCurrentSector = ALIGN_UP(start, sectorSize); in FLASH_ProgramSection() 1575 nextBlockStartAddress = ALIGN_UP(start, blockSize); in FLASH_VerifyErase() 1915 uint32_t alignedEndAddress = ALIGN_UP(endAddress, flashAccessInfo.SegmentSize); in FLASH_IsExecuteOnly()
|
Completed in 15 milliseconds