Searched refs:aligned_size (Results 1 – 5 of 5) sorted by relevance
/Zephyr-Core-3.4.0/kernel/ |
D | mmu.c | 723 size_t aligned_size, align_boundary; in z_phys_map() local 732 addr_offset = k_mem_region_align(&aligned_phys, &aligned_size, in z_phys_map() 735 __ASSERT(aligned_size != 0U, "0-length mapping at 0x%lx", aligned_phys); in z_phys_map() 736 __ASSERT(aligned_phys < (aligned_phys + (aligned_size - 1)), in z_phys_map() 738 aligned_phys, aligned_size); in z_phys_map() 740 align_boundary = arch_virt_region_align(aligned_phys, aligned_size); in z_phys_map() 746 if (!(dest_addr + aligned_size < Z_VIRT_RAM_START || in z_phys_map() 748 num_bits = aligned_size / CONFIG_MMU_PAGE_SIZE; in z_phys_map() 749 offset = virt_to_bitmap_offset(dest_addr, aligned_size); in z_phys_map() 756 dest_addr = virt_region_alloc(aligned_size, align_boundary); in z_phys_map() [all …]
|
/Zephyr-Core-3.4.0/soc/xtensa/intel_adsp/common/include/ |
D | intel_adsp_hda.h | 161 uint32_t aligned_size = buf_size & HDA_ALIGN_MASK; in intel_adsp_hda_set_buffer() local 167 __ASSERT(aligned_size == buf_size, in intel_adsp_hda_set_buffer() 170 __ASSERT(aligned_addr + aligned_size < L2_SRAM_BASE + L2_SRAM_SIZE, in intel_adsp_hda_set_buffer() 182 *DGBS(base, regblock_size, sid) = aligned_size; in intel_adsp_hda_set_buffer()
|
/Zephyr-Core-3.4.0/include/zephyr/sys/ |
D | mem_manage.h | 370 size_t k_mem_region_align(uintptr_t *aligned_addr, size_t *aligned_size,
|
/Zephyr-Core-3.4.0/samples/drivers/flash_shell/src/ |
D | main.c | 229 size_t aligned_size = size_before + len + size_after; in do_write_unaligned() local 231 off_t last_page = start_page + aligned_size - page_size; in do_write_unaligned() 291 flash_erase(flash_device, start_page, aligned_size); in do_write_unaligned() 300 size_t middle_data_len = aligned_size; in do_write_unaligned()
|
/Zephyr-Core-3.4.0/arch/x86/core/ |
D | x86_mmu.c | 1432 size_t aligned_size; in arch_buffer_validate() local 1436 k_mem_region_align((uintptr_t *)&virt, &aligned_size, in arch_buffer_validate() 1439 for (size_t offset = 0; offset < aligned_size; in arch_buffer_validate()
|