Home
last modified time | relevance | path

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

/Zephyr-Core-3.6.0/drivers/syscon/
Dsyscon_common.h27 *reg = ROUND_DOWN(*reg, reg_width); in syscon_sanitize_reg()
/Zephyr-Core-3.6.0/include/zephyr/arch/xtensa/
Dcache.h32 size_t first = ROUND_DOWN(addr, step); in arch_dcache_flush_range()
48 size_t first = ROUND_DOWN(addr, step); in arch_dcache_flush_and_invd_range()
64 size_t first = ROUND_DOWN(addr, step); in arch_dcache_invd_range()
/Zephyr-Core-3.6.0/arch/arc/core/
Dcache.c81 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.6.0/soc/arm/intel_socfpga_std/cyclonev/
Dsoc.c25 uintptr_t pos = ROUND_DOWN(addr, CONFIG_MMU_PAGE_SIZE); in arch_reserved_pages_update()
/Zephyr-Core-3.6.0/drivers/mm/
Dmm_drv_intel_adsp.h55 ((ROUND_DOWN((hpsram_ebb_quantity) + 31u, 32u) / 32u) - 1u)
/Zephyr-Core-3.6.0/lib/libc/common/source/stdlib/
Dmalloc.c107 # 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.6.0/include/zephyr/sys/
Dutil.h295 #define ROUND_DOWN(x, align) \ macro
302 #define WB_DN(x) ROUND_DOWN(x, sizeof(void *))
/Zephyr-Core-3.6.0/subsys/bluetooth/mesh/
Dblob_io_flash.c129 ROUND_DOWN(area_offset, WRITE_BLOCK_SIZE), in wr_chunk()
/Zephyr-Core-3.6.0/include/zephyr/kernel/
Dthread_stack.h71 return (char *)ROUND_DOWN(ptr, ARCH_STACK_PTR_ALIGN); in z_stack_ptr_align()
/Zephyr-Core-3.6.0/drivers/disk/
Dflashdisk.c178 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.6.0/subsys/debug/
Dgdbstub.c323 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.6.0/arch/x86/core/
Dx86_mmu.c219 #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.6.0/tests/lib/heap/src/
Dmain.c128 size_t chunk = ROUND_DOWN(addr - 1, 8); in testalloc()
/Zephyr-Core-3.6.0/drivers/can/
Dcan_mcp251xfd.h18 ((flag_u32) >> ROUND_DOWN(LOG2((flag_u32)), 8))
/Zephyr-Core-3.6.0/kernel/
Dmmu.c875 *aligned_addr = ROUND_DOWN(addr, align); in k_mem_region_align()
889 uintptr_t pinned_start = ROUND_DOWN(POINTER_TO_UINT(start_addr), in mark_linker_section_pinned()
/Zephyr-Core-3.6.0/subsys/ipc/ipc_service/backends/
Dipc_icbmsg.c1177 #define GET_BLOCK_SIZE(i, total_size, local_blocks, remote_blocks) ROUND_DOWN( \
1199 ROUND_DOWN(DT_REG_ADDR(DT_INST_PHANDLE(i, direction##_region)) + \
/Zephyr-Core-3.6.0/drivers/flash/
Dflash_stm32h7x.c466 off_t flush_offset = ROUND_DOWN(offset, FLASH_SECTOR_SIZE); in flash_stm32h7_erase()
/Zephyr-Core-3.6.0/lib/heap/
Dheap.c503 uintptr_t end = ROUND_DOWN((uint8_t *)mem + bytes, CHUNK_UNIT); in sys_heap_init()
/Zephyr-Core-3.6.0/drivers/usb/udc/
Dudc_dwc2.c301 len = ROUND_DOWN(max_xfersize, cfg->mps); in dwc2_tx_fifo_write()