/Zephyr-latest/drivers/syscon/ |
D | syscon_common.h | 27 *reg = ROUND_DOWN(*reg, reg_width); in syscon_sanitize_reg()
|
/Zephyr-latest/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-latest/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-latest/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-latest/drivers/mm/ |
D | mm_drv_intel_adsp.h | 52 ((ROUND_DOWN((hpsram_ebb_quantity) + 31u, 32u) / 32u) - 1u)
|
/Zephyr-latest/tests/kernel/mem_protect/demand_paging/ondemand_section/src/ |
D | main.c | 25 void *addr = (void *)ROUND_DOWN(&evictable_function, CONFIG_MMU_PAGE_SIZE); in ZTEST()
|
/Zephyr-latest/drivers/flash/ |
D | soc_flash_mcux.c | 256 ROUND_DOWN(addr, 4), in flash_mcux_read() 257 ROUND_DOWN(addr + len + 3, 4) - ROUND_DOWN(addr, 4)); in flash_mcux_read()
|
/Zephyr-latest/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-latest/include/zephyr/sys/ |
D | util.h | 329 #define ROUND_DOWN(x, align) \ macro 336 #define WB_DN(x) ROUND_DOWN(x, sizeof(void *))
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | blob_io_flash.c | 135 ROUND_DOWN(area_offset, WRITE_BLOCK_SIZE), in wr_chunk()
|
/Zephyr-latest/drivers/cache/ |
D | cache_andes_l2.h | 170 align_addr = ROUND_DOWN(addr, l2_cache_cfg.line_size); in nds_l2_cache_range()
|
D | cache_andes.c | 86 align_addr = ROUND_DOWN(addr, line_size); in nds_cctl_range_operations()
|
/Zephyr-latest/include/zephyr/kernel/ |
D | thread_stack.h | 71 return (char *)ROUND_DOWN(ptr, ARCH_STACK_PTR_ALIGN); in z_stack_ptr_align()
|
/Zephyr-latest/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-latest/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-latest/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() 2010 uintptr_t pos = ROUND_DOWN(addr, CONFIG_MMU_PAGE_SIZE); in mark_addr_page_reserved()
|
/Zephyr-latest/drivers/rtc/ |
D | rtc_ifx_cat1.c | 80 #define PPB_TO_WCO_PULSE_SETS(ppb) ((ROUND_DOWN((ppb * 9216 / 78125), 128)) / 128)
|
/Zephyr-latest/arch/xtensa/core/ |
D | mpu.c | 1017 aligned_addr = ROUND_DOWN((uintptr_t)addr, XCHAL_MPU_ALIGN); in arch_buffer_validate() 1088 aligned_addr = ROUND_DOWN((uintptr_t)addr, XCHAL_MPU_ALIGN); in xtensa_mem_kernel_has_access()
|
/Zephyr-latest/drivers/display/ |
D | ssd1322.c | 104 ROUND_DOWN((buf_out_size * SEGMENTS_PER_BYTE) / segments_per_pixel, 8)); in ssd1322_conv_mono01_grayscale()
|
/Zephyr-latest/tests/lib/heap/src/ |
D | main.c | 128 size_t chunk = ROUND_DOWN(addr - 1, 8); in testalloc()
|
/Zephyr-latest/cmake/sca/eclair/ECL/ |
D | zephyr_common_config.ecl | 75 -config=MC3R1.D4.9,macros+={questionable,"name(ROUND_DOWN)"}
|
/Zephyr-latest/drivers/can/ |
D | can_mcp251xfd.h | 18 ((flag_u32) >> ROUND_DOWN(LOG2((flag_u32)), 8))
|
/Zephyr-latest/subsys/ipc/ipc_service/backends/ |
D | ipc_icbmsg.c | 1336 #define GET_BLOCK_SIZE(i, total_size, local_blocks, remote_blocks) ROUND_DOWN( \ 1358 ROUND_DOWN(DT_REG_ADDR(DT_INST_PHANDLE(i, direction##_region)) + \
|
/Zephyr-latest/subsys/net/ip/ |
D | ipv6_fragment.c | 720 fit_len = ROUND_DOWN(fit_len, 8); in net_ipv6_send_fragmented_pkt()
|
/Zephyr-latest/doc/services/ipc/ipc_service/backends/ |
D | ipc_service_icbmsg.rst | 129 * ``region_end_aligned = ROUND_DOWN(region_end, alignment)`` 143 ``block_size = ROUND_DOWN(blocks_area_available_size / local_blocks, alignment)``
|