/Zephyr-Core-3.7.0/drivers/syscon/ |
D | syscon_common.h | 27 *reg = ROUND_DOWN(*reg, reg_width); in syscon_sanitize_reg()
|
/Zephyr-Core-3.7.0/include/zephyr/arch/xtensa/ |
D | cache.h | 32 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.7.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.7.0/soc/intel/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.7.0/drivers/mm/ |
D | mm_drv_intel_adsp.h | 52 ((ROUND_DOWN((hpsram_ebb_quantity) + 31u, 32u) / 32u) - 1u)
|
/Zephyr-Core-3.7.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.7.0/include/zephyr/sys/ |
D | util.h | 313 #define ROUND_DOWN(x, align) \ macro 320 #define WB_DN(x) ROUND_DOWN(x, sizeof(void *))
|
/Zephyr-Core-3.7.0/subsys/bluetooth/mesh/ |
D | blob_io_flash.c | 136 ROUND_DOWN(area_offset, WRITE_BLOCK_SIZE), in wr_chunk()
|
/Zephyr-Core-3.7.0/drivers/cache/ |
D | cache_andes_l2.h | 168 align_addr = ROUND_DOWN(addr, line_size); in nds_l2_cache_range()
|
D | cache_andes.c | 85 align_addr = ROUND_DOWN(addr, line_size); in nds_cctl_range_operations()
|
/Zephyr-Core-3.7.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.7.0/drivers/disk/ |
D | flashdisk.c | 222 fl_addr = ROUND_DOWN(fl_addr, ctx->page_size); in disk_flash_access_read() 322 fl_addr = ROUND_DOWN(start_addr, ctx->page_size); in flashdisk_cache_write()
|
/Zephyr-Core-3.7.0/subsys/debug/gdbstub/ |
D | gdbstub.c | 333 mem_ptr = UINT_TO_POINTER(ROUND_DOWN(addr, align)); in gdb_mem_read_aligned() 476 mem_ptr = UINT_TO_POINTER(ROUND_DOWN(addr, align)); in gdb_mem_write_aligned()
|
/Zephyr-Core-3.7.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)) 741 uint8_t *virtmap = (uint8_t *)ROUND_DOWN(virt, get_entry_scope(level)); in dump_entry() 2003 uintptr_t pos = ROUND_DOWN(addr, CONFIG_MMU_PAGE_SIZE); in mark_addr_page_reserved()
|
/Zephyr-Core-3.7.0/arch/xtensa/core/ |
D | mpu.c | 984 aligned_addr = ROUND_DOWN((uintptr_t)addr, XCHAL_MPU_ALIGN); in arch_buffer_validate() 1055 aligned_addr = ROUND_DOWN((uintptr_t)addr, XCHAL_MPU_ALIGN); in xtensa_mem_kernel_has_access()
|
/Zephyr-Core-3.7.0/tests/lib/heap/src/ |
D | main.c | 128 size_t chunk = ROUND_DOWN(addr - 1, 8); in testalloc()
|
/Zephyr-Core-3.7.0/drivers/can/ |
D | can_mcp251xfd.h | 18 ((flag_u32) >> ROUND_DOWN(LOG2((flag_u32)), 8))
|
/Zephyr-Core-3.7.0/subsys/ipc/ipc_service/backends/ |
D | ipc_icbmsg.c | 1205 #define GET_BLOCK_SIZE(i, total_size, local_blocks, remote_blocks) ROUND_DOWN( \ 1227 ROUND_DOWN(DT_REG_ADDR(DT_INST_PHANDLE(i, direction##_region)) + \
|
/Zephyr-Core-3.7.0/kernel/ |
D | mmu.c | 958 *aligned_addr = ROUND_DOWN(addr, align); in k_mem_region_align() 972 uintptr_t pinned_start = ROUND_DOWN(POINTER_TO_UINT(start_addr), in mark_linker_section_pinned()
|
/Zephyr-Core-3.7.0/drivers/flash/ |
D | flash_stm32h7x.c | 507 off_t flush_offset = ROUND_DOWN(offset, FLASH_SECTOR_SIZE);
|
/Zephyr-Core-3.7.0/lib/heap/ |
D | heap.c | 503 uintptr_t end = ROUND_DOWN((uint8_t *)mem + bytes, CHUNK_UNIT); in sys_heap_init()
|
/Zephyr-Core-3.7.0/drivers/usb/udc/ |
D | udc_dwc2.c | 318 len = ROUND_DOWN(max_xfersize, cfg->mps); in dwc2_tx_fifo_write() 433 size = ROUND_DOWN(priv->max_xfersize, cfg->mps); in dwc2_rx_xfer_size()
|
/Zephyr-Core-3.7.0/drivers/tee/optee/ |
D | optee.c | 941 buf_page = (uint8_t *)ROUND_DOWN((uintptr_t)buf, page_size); in optee_construct_page_list()
|