/Zephyr-latest/arch/xtensa/include/ |
D | xtensa_mmu_priv.h | 104 #define XTENSA_MMU_L2_POS(vaddr) \ argument 105 (((vaddr) & XTENSA_MMU_L2_MASK) >> 12U) 108 #define XTENSA_MMU_L1_POS(vaddr) \ argument 109 ((vaddr) >> 22U) 191 #define XTENSA_MMU_PTE_ENTRY_VADDR(base, vaddr) \ argument 192 ((base) + (((vaddr) / KB(4)) * 4)) 401 uint32_t vaddr; in xtensa_dtlb_vaddr_read() local 403 __asm__ volatile("rdtlb0 %0, %1\n\t" : "=a" (vaddr) : "a" (entry)); in xtensa_dtlb_vaddr_read() 404 return (void *)(vaddr & XTENSA_MMU_PTE_VPN_MASK); in xtensa_dtlb_vaddr_read() 427 uint32_t vaddr; in xtensa_itlb_vaddr_read() local [all …]
|
/Zephyr-latest/arch/xtensa/core/ |
D | ptables.c | 366 static bool l2_page_table_map(uint32_t *l1_table, void *vaddr, uintptr_t phys, in l2_page_table_map() argument 369 uint32_t l1_pos = XTENSA_MMU_L1_POS((uint32_t)vaddr); in l2_page_table_map() 370 uint32_t l2_pos = XTENSA_MMU_L2_POS((uint32_t)vaddr); in l2_page_table_map() 404 void *vaddr, *vaddr_uc; in __arch_mem_map() local 410 vaddr = va; in __arch_mem_map() 413 vaddr = sys_cache_cached_ptr_get(va); in __arch_mem_map() 428 vaddr = va; in __arch_mem_map() 433 ret = l2_page_table_map(xtensa_kernel_ptables, (void *)vaddr, paddr, in __arch_mem_map() 455 ret = l2_page_table_map(domain->ptables, (void *)vaddr, paddr, in __arch_mem_map() 458 vaddr, domain); in __arch_mem_map() [all …]
|
D | vector_handlers.c | 224 uint32_t ps, vaddr; in print_fatal_exception() local 227 __asm__ volatile("rsr.excvaddr %0" : "=r"(vaddr)); in print_fatal_exception() 244 LOG_ERR(" ** VADDR %p Invalid SP %p", (void *)vaddr, print_stack); in print_fatal_exception() 251 LOG_ERR(" ** PC %p VADDR %p", pc, (void *)vaddr); in print_fatal_exception()
|
/Zephyr-latest/soc/espressif/esp32c6/ |
D | soc.h | 55 extern int esp_rom_Cache_Dbus_MMU_Set(uint32_t ext_ram, uint32_t vaddr, uint32_t paddr, 57 extern int esp_rom_Cache_Ibus_MMU_Set(uint32_t ext_ram, uint32_t vaddr, uint32_t paddr,
|
/Zephyr-latest/soc/espressif/esp32c2/ |
D | soc.h | 43 extern int esp_rom_Cache_Dbus_MMU_Set(uint32_t ext_ram, uint32_t vaddr, uint32_t paddr, 45 extern int esp_rom_Cache_Ibus_MMU_Set(uint32_t ext_ram, uint32_t vaddr, uint32_t paddr,
|
/Zephyr-latest/soc/espressif/esp32c3/ |
D | soc.h | 43 extern int esp_rom_Cache_Dbus_MMU_Set(uint32_t ext_ram, uint32_t vaddr, uint32_t paddr, 45 extern int esp_rom_Cache_Ibus_MMU_Set(uint32_t ext_ram, uint32_t vaddr, uint32_t paddr,
|
/Zephyr-latest/soc/espressif/esp32s3/ |
D | soc.h | 67 extern int esp_rom_Cache_Dbus_MMU_Set(uint32_t ext_ram, uint32_t vaddr, uint32_t paddr, 69 extern int esp_rom_Cache_Ibus_MMU_Set(uint32_t ext_ram, uint32_t vaddr, uint32_t paddr,
|
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/ |
D | test_friendship.c | 745 uint16_t vaddr; in test_lpn_group() local 760 TEST_MOD_ID, &vaddr, &status); in test_lpn_group() 767 ASSERT_EQUAL(vaddr, va->addr); in test_lpn_group() 851 uint16_t vaddr; in test_lpn_loopback() local 866 TEST_MOD_ID, &vaddr, &status); in test_lpn_loopback() 873 ASSERT_EQUAL(vaddr, va->addr); in test_lpn_loopback() 1045 uint16_t vaddr; in test_lpn_va_collision() local 1055 TEST_MOD_ID, &vaddr, &status); in test_lpn_va_collision() 1060 ASSERT_EQUAL(test_va_col_addr, vaddr); in test_lpn_va_collision() 1064 ASSERT_EQUAL(vaddr, va[i]->addr); in test_lpn_va_collision() [all …]
|
D | test_brg.c | 645 uint16_t vaddr; in test_tester_simple_va() local 658 TEST_MOD_ID, &vaddr, &status); in test_tester_simple_va() 663 ASSERT_EQUAL(vaddr, va_entry->addr); in test_tester_simple_va()
|
/Zephyr-latest/subsys/ipc/ipc_service/lib/ |
D | ipc_static_vrings.c | 86 vr->rvrings[RPMSG_VQ_0].info.vaddr = (void *) vr->tx_addr; in vq_setup() 92 vr->rvrings[RPMSG_VQ_1].info.vaddr = (void *) vr->rx_addr; in vq_setup()
|
/Zephyr-latest/soc/espressif/esp32s2/ |
D | soc.h | 66 extern int esp_rom_Cache_Ibus_MMU_Set(uint32_t ext_ram, uint32_t vaddr, uint32_t paddr,
|
/Zephyr-latest/subsys/ipc/rpmsg_service/ |
D | rpmsg_backend.c | 238 rvrings[0].info.vaddr = (void *)VRING_TX_ADDRESS; in rpmsg_backend_init() 244 rvrings[1].info.vaddr = (void *)VRING_RX_ADDRESS; in rpmsg_backend_init()
|
/Zephyr-latest/samples/subsys/ipc/openamp/remote/src/ |
D | main.c | 175 rvrings[0].info.vaddr = (void *)VRING_TX_ADDRESS; in app_task() 181 rvrings[1].info.vaddr = (void *)VRING_RX_ADDRESS; in app_task()
|
/Zephyr-latest/samples/subsys/ipc/openamp/src/ |
D | main.c | 198 rvrings[0].info.vaddr = (void *)VRING_TX_ADDRESS; in app_task() 204 rvrings[1].info.vaddr = (void *)VRING_RX_ADDRESS; in app_task()
|
/Zephyr-latest/drivers/mm/ |
D | mm_drv_intel_adsp_tlb.c | 61 static uint32_t get_tlb_entry_idx(uintptr_t vaddr) in get_tlb_entry_idx() argument 63 return (POINTER_TO_UINT(vaddr) - CONFIG_KERNEL_VM_BASE) / in get_tlb_entry_idx()
|
D | mm_drv_intel_adsp_mtl_tlb.c | 71 static uint32_t get_tlb_entry_idx(uintptr_t vaddr) in get_tlb_entry_idx() argument 73 return (POINTER_TO_UINT(vaddr) - CONFIG_KERNEL_VM_BASE) / in get_tlb_entry_idx()
|
/Zephyr-latest/arch/x86/ |
D | gen_mmu.py | 397 for vaddr in range(virt_base, virt_base + size, 4096): 398 if self.is_mapped(vaddr, level): 482 vaddr = virt_base + (paddr - phys_base) 484 self.map_page(vaddr, paddr, flags, False, level)
|
/Zephyr-latest/kernel/ |
D | mmu.c | 207 static inline size_t virt_to_bitmap_offset(void *vaddr, size_t size) in virt_to_bitmap_offset() argument 210 - POINTER_TO_UINT(vaddr) - size) / CONFIG_MMU_PAGE_SIZE; in virt_to_bitmap_offset() 240 static void virt_region_free(void *vaddr, size_t size) in virt_region_free() argument 243 uint8_t *vaddr_u8 = (uint8_t *)vaddr; in virt_region_free() 263 offset = virt_to_bitmap_offset(vaddr, size); in virt_region_free()
|
/Zephyr-latest/soc/intel/intel_adsp/tools/ |
D | cavstool.py | 352 vaddr = ctypes.addressof(ctypes.c_int.from_buffer(mem)) 353 vpagenum = vaddr >> 12
|