Searched refs:ROUND_DOWN (Results 1 – 18 of 18) sorted by relevance
/Zephyr-Core-3.5.0/include/zephyr/arch/xtensa/ |
D | cache.h | 30 size_t first = ROUND_DOWN(addr, step); in arch_dcache_flush_range() 45 size_t first = ROUND_DOWN(addr, step); in arch_dcache_flush_and_invd_range() 60 size_t first = ROUND_DOWN(addr, step); in arch_dcache_invd_range()
|
/Zephyr-Core-3.5.0/drivers/syscon/ |
D | syscon_common.h | 27 *reg = ROUND_DOWN(*reg, reg_width); in syscon_sanitize_reg()
|
/Zephyr-Core-3.5.0/arch/arc/core/ |
D | cache.c | 81 start_addr = ROUND_DOWN(start_addr, line_size); in arch_dcache_flush_range() 116 start_addr = ROUND_DOWN(start_addr, line_size); in arch_dcache_invd_range()
|
/Zephyr-Core-3.5.0/soc/xtensa/dc233c/ |
D | mmu.c | 61 vecbase = ROUND_DOWN(vecbase, MB(1)); in arch_xtensa_mmu_post_init()
|
/Zephyr-Core-3.5.0/soc/arm/intel_socfpga_std/cyclonev/ |
D | soc.c | 25 uintptr_t pos = ROUND_DOWN(addr, CONFIG_MMU_PAGE_SIZE); in arch_reserved_pages_update()
|
/Zephyr-Core-3.5.0/drivers/mm/ |
D | mm_drv_intel_adsp.h | 55 ((ROUND_DOWN((hpsram_ebb_quantity) + 31u, 32u) / 32u) - 1u)
|
/Zephyr-Core-3.5.0/lib/libc/common/source/stdlib/ |
D | malloc.c | 107 # define HEAP_SIZE ROUND_DOWN((POINTER_TO_UINT(_heap_sentry) - HEAP_BASE), HEAP_ALIGN) 109 # define HEAP_SIZE ROUND_DOWN((KB((size_t) CONFIG_SRAM_SIZE) - \
|
/Zephyr-Core-3.5.0/include/zephyr/sys/ |
D | util.h | 263 #define ROUND_DOWN(x, align) \ macro 270 #define WB_DN(x) ROUND_DOWN(x, sizeof(void *))
|
/Zephyr-Core-3.5.0/subsys/bluetooth/mesh/ |
D | blob_io_flash.c | 129 ROUND_DOWN(area_offset, WRITE_BLOCK_SIZE), in wr_chunk()
|
/Zephyr-Core-3.5.0/include/zephyr/kernel/ |
D | thread_stack.h | 71 return (char *)ROUND_DOWN(ptr, ARCH_STACK_PTR_ALIGN); in z_stack_ptr_align()
|
/Zephyr-Core-3.5.0/subsys/debug/ |
D | gdbstub.c | 323 mem_ptr = UINT_TO_POINTER(ROUND_DOWN(addr, align)); in gdb_mem_read_aligned() 466 mem_ptr = UINT_TO_POINTER(ROUND_DOWN(addr, align)); in gdb_mem_write_aligned()
|
/Zephyr-Core-3.5.0/drivers/disk/ |
D | flashdisk.c | 178 fl_addr = ROUND_DOWN(fl_addr, ctx->page_size); in disk_flash_access_read() 276 fl_addr = ROUND_DOWN(start_addr, ctx->page_size); in flashdisk_cache_write()
|
/Zephyr-Core-3.5.0/arch/x86/core/ |
D | x86_mmu.c | 219 #define PT_START ((uintptr_t)ROUND_DOWN(VM_ADDR, PT_AREA)) 231 #define PD_START ((uintptr_t)ROUND_DOWN(VM_ADDR, PD_AREA)) 246 #define PDPT_START ((uintptr_t)ROUND_DOWN(VM_ADDR, PDPT_AREA)) 737 uint8_t *virtmap = (uint8_t *)ROUND_DOWN(virt, get_entry_scope(level)); in dump_entry() 1996 uintptr_t pos = ROUND_DOWN(addr, CONFIG_MMU_PAGE_SIZE); in mark_addr_page_reserved()
|
/Zephyr-Core-3.5.0/tests/lib/heap/src/ |
D | main.c | 128 size_t chunk = ROUND_DOWN(addr - 1, 8); in testalloc()
|
/Zephyr-Core-3.5.0/drivers/can/ |
D | can_mcp251xfd.h | 18 ((flag_u32) >> ROUND_DOWN(LOG2((flag_u32)), 8))
|
/Zephyr-Core-3.5.0/kernel/ |
D | mmu.c | 864 *aligned_addr = ROUND_DOWN(addr, align); in k_mem_region_align() 878 uintptr_t pinned_start = ROUND_DOWN(POINTER_TO_UINT(start_addr), in mark_linker_section_pinned()
|
/Zephyr-Core-3.5.0/drivers/flash/ |
D | flash_stm32h7x.c | 466 off_t flush_offset = ROUND_DOWN(offset, FLASH_SECTOR_SIZE); in flash_stm32h7_erase()
|
/Zephyr-Core-3.5.0/lib/os/ |
D | heap.c | 503 uintptr_t end = ROUND_DOWN((uint8_t *)mem + bytes, CHUNK_UNIT); in sys_heap_init()
|