Home
last modified time | relevance | path

Searched refs:pa (Results 1 – 14 of 14) sorted by relevance

/Zephyr-Core-3.5.0/tests/boards/intel_adsp/mm/src/
Dmain.c36 uintptr_t pa[N_PAGES]; local
44 pa[i] = POINTER_TO_UINT(&page_buf[i]);
48 ret = sys_mm_drv_map_region(va, pa[0], N_PAGES * PAGE_SZ, 0U);
71 sys_cache_data_invd_range(UINT_TO_POINTER(pa[i]), PAGE_SZ);
76 zassert_equal(vps[i].mem[0], *(uint32_t *)pa[i],
78 vps[i].mem[0], *(uint32_t *)pa[i]);
95 zassert_equal(vps2[i].mem[0], *(uint32_t *)pa[i],
121 zassert_equal(vps3[i].mem[0], *(uint32_t *)pa[i],
123 vps3[i].mem[0], *(uint32_t *)pa[i]);
138 zassert_equal(*(int *)pa[i], markers[i],
[all …]
/Zephyr-Core-3.5.0/drivers/mm/
Dmm_drv_intel_adsp_mtl_tlb.c80 static uint32_t get_hpsram_bank_idx(uintptr_t pa) in get_hpsram_bank_idx() argument
82 uint32_t phys_offset = pa - L2_SRAM_BASE; in get_hpsram_bank_idx()
184 uintptr_t pa = POINTER_TO_UINT(z_soc_cached_ptr(UINT_TO_POINTER(phys))); in sys_mm_drv_map_page() local
216 pa = POINTER_TO_UINT(z_soc_cached_ptr(phys_block_ptr)); in sys_mm_drv_map_page()
220 CHECKIF((pa < L2_SRAM_BASE) || in sys_mm_drv_map_page()
221 (pa >= (L2_SRAM_BASE + L2_SRAM_SIZE))) { in sys_mm_drv_map_page()
227 CHECKIF(!sys_mm_drv_is_addr_aligned(pa)) { in sys_mm_drv_map_page()
241 bank_idx = get_hpsram_bank_idx(pa); in sys_mm_drv_map_page()
259 entry = pa_to_tlb_entry(pa); in sys_mm_drv_map_page()
287 uintptr_t pa; in sys_mm_drv_map_region() local
[all …]
Dmm_drv_ti_rat.c103 uintptr_t pa = (uintptr_t) virt; in sys_mm_drv_page_phys_get() local
124 if (pa >= start_addr && pa <= end_addr) { in sys_mm_drv_page_phys_get()
132 pa - translate_config.region_config[regionId].system_addr; in sys_mm_drv_page_phys_get()
137 *va = pa; in sys_mm_drv_page_phys_get()
Dmm_drv_common.c99 uintptr_t pa = phys + offset; in sys_mm_drv_simple_map_region() local
101 int ret2 = sys_mm_drv_map_page(va, pa, flags); in sys_mm_drv_simple_map_region()
104 __ASSERT(false, "cannot map 0x%lx to %p\n", pa, va); in sys_mm_drv_simple_map_region()
225 uintptr_t pa; in sys_mm_drv_simple_remap_region() local
234 (void)sys_mm_drv_page_phys_get(va_old, &pa); in sys_mm_drv_simple_remap_region()
261 ret2 = sys_mm_drv_map_page(va_new, pa, flags); in sys_mm_drv_simple_remap_region()
263 __ASSERT(false, "cannot map 0x%lx to %p\n", pa, va_new); in sys_mm_drv_simple_remap_region()
311 uintptr_t pa = phys_new + offset; in sys_mm_drv_simple_move_region() local
326 ret2 = sys_mm_drv_map_page(va_new, pa, flags); in sys_mm_drv_simple_move_region()
328 __ASSERT(false, "cannot map 0x%lx to %p\n", pa, va_new); in sys_mm_drv_simple_move_region()
Dmm_drv_intel_adsp.h69 static inline uint16_t pa_to_tlb_entry(uintptr_t pa) in pa_to_tlb_entry() argument
71 return (((pa) / CONFIG_MM_DRV_PAGE_SIZE) & TLB_PADDR_MASK); in pa_to_tlb_entry()
Dmm_drv_intel_adsp_tlb.c83 uintptr_t pa = POINTER_TO_UINT(z_soc_cached_ptr(UINT_TO_POINTER(phys))); in sys_mm_drv_map_page() local
89 CHECKIF(!sys_mm_drv_is_addr_aligned(pa) || in sys_mm_drv_map_page()
96 CHECKIF((pa < L2_SRAM_BASE) || in sys_mm_drv_map_page()
97 (pa >= (L2_SRAM_BASE + L2_SRAM_SIZE))) { in sys_mm_drv_map_page()
126 entry = ((pa / CONFIG_MM_DRV_PAGE_SIZE) & TLB_PADDR_MASK); in sys_mm_drv_map_page()
/Zephyr-Core-3.5.0/arch/arm/core/mmu/
Darm_mmu.c106 static void arm_mmu_l2_map_page(uint32_t va, uint32_t pa,
399 static void arm_mmu_l1_map_section(uint32_t va, uint32_t pa, in arm_mmu_l1_map_section() argument
408 va, pa); in arm_mmu_l1_map_section()
427 (pa >> ARM_MMU_PTE_L1_INDEX_PA_SHIFT); in arm_mmu_l1_map_section()
548 static void arm_mmu_l2_map_page(uint32_t va, uint32_t pa, in arm_mmu_l2_map_page() argument
565 l2_page_table = arm_mmu_assign_l2_table(pa); in arm_mmu_l2_map_page()
660 ((pa >> ARM_MMU_PTE_L2_SMALL_PAGE_ADDR_SHIFT) & in arm_mmu_l2_map_page()
733 uint32_t pa; in z_arm_mmu_init() local
747 pa = mmu_zephyr_ranges[mem_range].start; in z_arm_mmu_init()
748 rem_size = mmu_zephyr_ranges[mem_range].end - pa; in z_arm_mmu_init()
[all …]
/Zephyr-Core-3.5.0/samples/boards/nrf/battery/src/
Dbattery.c225 const struct battery_level_point *pa = pb - 1; in battery_level_pptt() local
228 + ((pa->lvl_pptt - pb->lvl_pptt) in battery_level_pptt()
230 / (pa->lvl_mV - pb->lvl_mV)); in battery_level_pptt()
/Zephyr-Core-3.5.0/dts/arm/acsip/
Ds76s.dtsi37 power-amplifier-output = "pa-boost";
/Zephyr-Core-3.5.0/arch/xtensa/core/
Dxtensa_mmu.c396 uint32_t pa = (uint32_t)phys; in arch_mem_map() local
431 bool ret = l2_page_table_map((void *)va, pa, xtensa_flags); in arch_mem_map()
437 pa += KB(4); in arch_mem_map()
/Zephyr-Core-3.5.0/boards/arm/adafruit_feather_m0_lora/
Dadafruit_feather_m0_lora.dts85 power-amplifier-output = "pa-boost";
/Zephyr-Core-3.5.0/boards/arm/96b_wistrio/
D96b_wistrio.dts122 power-amplifier-output = "pa-boost";
/Zephyr-Core-3.5.0/boards/xtensa/heltec_wifi_lora32_v2/
Dheltec_wifi_lora32_v2.dts111 power-amplifier-output = "pa-boost";
/Zephyr-Core-3.5.0/boards/arm/b_l072z_lrwan1/
Db_l072z_lrwan1.dts129 pa-boost-enable-gpios = <&gpioc 1 GPIO_ACTIVE_HIGH>;