Home
last modified time | relevance | path

Searched refs:__pa (Results 1 – 25 of 328) sorted by relevance

12345678910>>...14

/arch/xtensa/kernel/
Dsetup.c448 initrd_is_mapped = mem_reserve(__pa(initrd_start), in setup_arch()
449 __pa(initrd_end)) == 0; in setup_arch()
456 mem_reserve(__pa(&_stext), __pa(&_end)); in setup_arch()
458 mem_reserve(__pa(&_WindowVectors_text_start), in setup_arch()
459 __pa(&_WindowVectors_text_end)); in setup_arch()
461 mem_reserve(__pa(&_DebugInterruptVector_literal_start), in setup_arch()
462 __pa(&_DebugInterruptVector_text_end)); in setup_arch()
464 mem_reserve(__pa(&_KernelExceptionVector_literal_start), in setup_arch()
465 __pa(&_KernelExceptionVector_text_end)); in setup_arch()
467 mem_reserve(__pa(&_UserExceptionVector_literal_start), in setup_arch()
[all …]
/arch/parisc/kernel/
Dfirmware.c158 __pa(pdc_result), 0); in set_firmware_width_unlocked()
242 __pa(pdc_result), __pa(pdc_result2), len); in pdc_chassis_info()
266 retval = mem_pdc_call(PDC_PAT_CHASSIS_LOG, PDC_PAT_CHASSIS_WRITE_LOG, __pa(&state), __pa(&data)); in pdc_pat_chassis_send_log()
299 retval = mem_pdc_call(PDC_CHASSIS, PDC_CHASSIS_WARN, __pa(pdc_result)); in pdc_chassis_warn()
310 ret = mem_pdc_call(PDC_COPROC, PDC_COPROC_CFG, __pa(pdc_result)); in pdc_coproc_cfg_unlocked()
357 retval = mem_pdc_call(PDC_IODC, PDC_IODC_READ, __pa(pdc_result), hpa, in pdc_iodc_read()
358 index, __pa(pdc_result2), iodc_data_size); in pdc_iodc_read()
384 retval = mem_pdc_call(PDC_SYSTEM_MAP, PDC_FIND_MODULE, __pa(pdc_result), in pdc_system_map_find_mods()
385 __pa(pdc_result2), mod_index); in pdc_system_map_find_mods()
411 retval = mem_pdc_call(PDC_SYSTEM_MAP, PDC_FIND_ADDRESS, __pa(pdc_result), in pdc_system_map_find_addrs()
[all …]
/arch/ia64/hp/sim/boot/
Dfw-emu.c284 efi_systab->fw_vendor = __pa("H\0e\0w\0l\0e\0t\0t\0-\0P\0a\0c\0k\0a\0r\0d\0\0"); in sys_fw_init()
286 efi_systab->runtime = (void *) __pa(efi_runtime); in sys_fw_init()
288 efi_systab->tables = __pa(efi_tables); in sys_fw_init()
293 efi_runtime->get_time = (void *)__pa(&fw_efi_get_time); in sys_fw_init()
294 efi_runtime->set_time = (void *)__pa(&efi_unimplemented); in sys_fw_init()
295 efi_runtime->get_wakeup_time = (void *)__pa(&efi_unimplemented); in sys_fw_init()
296 efi_runtime->set_wakeup_time = (void *)__pa(&efi_unimplemented); in sys_fw_init()
297 efi_runtime->set_virtual_address_map = (void *)__pa(&efi_unimplemented); in sys_fw_init()
298 efi_runtime->get_variable = (void *)__pa(&efi_unimplemented); in sys_fw_init()
299 efi_runtime->get_next_variable = (void *)__pa(&efi_unimplemented); in sys_fw_init()
[all …]
/arch/arm/mach-omap2/
Domap-secure.c54 outer_clean_range(__pa(param), __pa(param + 5)); in omap_secure_dispatcher()
55 ret = omap_smc2(idx, flag, __pa(param)); in omap_secure_dispatcher()
86 param[1] = __pa(addr); /* Physical address for saving */ in omap3_save_secure_ram()
91 ret = save_secure_ram_context(__pa(param)); in omap3_save_secure_ram()
129 outer_clean_range(__pa(param), __pa(param + 5)); in rx51_secure_dispatcher()
130 ret = omap_smc3(idx, process, flag, __pa(param)); in rx51_secure_dispatcher()
/arch/score/kernel/
Dsetup.c49 start_pfn = PFN_UP(__pa(&_end)); in bootmem_init()
73 if (__pa(initrd_end) > PFN_PHYS(max_low_pfn)) { in bootmem_init()
79 reserve_bootmem(__pa(initrd_start), size, BOOTMEM_DEFAULT); in bootmem_init()
95 code_resource.start = __pa(&_text); in resource_init()
96 code_resource.end = __pa(&_etext) - 1; in resource_init()
97 data_resource.start = __pa(&_etext); in resource_init()
98 data_resource.end = __pa(&_edata) - 1; in resource_init()
/arch/x86/include/asm/
Dpage.h40 #ifndef __pa
41 #define __pa(x) __phys_addr((unsigned long)(x)) macro
62 #define __boot_pa(x) __pa(x)
68 #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT)
Dpgalloc.h65 paravirt_alloc_pte(mm, __pa(pte) >> PAGE_SHIFT); in pmd_populate_kernel()
66 set_pmd(pmd, __pmd(__pa(pte) | _PAGE_TABLE)); in pmd_populate_kernel()
118 paravirt_alloc_pmd(mm, __pa(pmd) >> PAGE_SHIFT); in pud_populate()
119 set_pud(pud, __pud(_PAGE_TABLE | __pa(pmd))); in pud_populate()
126 paravirt_alloc_pud(mm, __pa(pud) >> PAGE_SHIFT); in pgd_populate()
127 set_pgd(pgd, __pgd(_PAGE_TABLE | __pa(pud))); in pgd_populate()
/arch/x86/kernel/
Dmachine_kexec_32.c111 set_pgd(pgd, __pgd(__pa(pmd) | _PAGE_PRESENT)); in machine_kexec_page_table_set_one()
116 set_pmd(pmd, __pmd(__pa(pte) | _PAGE_TABLE)); in machine_kexec_page_table_set_one()
132 (unsigned long)control_page, __pa(control_page)); in machine_kexec_prepare_page_tables()
138 __pa(control_page), __pa(control_page)); in machine_kexec_prepare_page_tables()
222 page_list[PA_CONTROL_PAGE] = __pa(control_page); in machine_kexec()
224 page_list[PA_PGD] = __pa(image->arch.pgd); in machine_kexec()
Despfix_64.c137 __pgd(_KERNPG_TABLE | __pa((pud_t *)espfix_pud_page))); in init_espfix_bsp()
186 pud = __pud(__pa(pmd_p) | (PGTABLE_PROT & ptemask)); in init_espfix_ap()
187 paravirt_alloc_pmd(&init_mm, __pa(pmd_p) >> PAGE_SHIFT); in init_espfix_ap()
198 pmd = __pmd(__pa(pte_p) | (PGTABLE_PROT & ptemask)); in init_espfix_ap()
199 paravirt_alloc_pte(&init_mm, __pa(pte_p) >> PAGE_SHIFT); in init_espfix_ap()
206 pte = __pte(__pa(stack_page) | (__PAGE_KERNEL_RO & ptemask)); in init_espfix_ap()
/arch/um/kernel/
Dphysmem.c83 unsigned long pfn = PFN_UP(__pa(reserve_end)); in setup_physmem()
112 os_seek_file(physmem_fd, __pa(__syscall_stub_start)); in setup_physmem()
117 free_bootmem(__pa(reserve_end) + bootmap_size, in setup_physmem()
129 else if (phys < __pa(end_iomem)) { in phys_mapping()
142 else if (phys < __pa(end_iomem) + highmem) { in phys_mapping()
214 region->phys = __pa(region->virt); in setup_iomem()
/arch/powerpc/kernel/
Dsuspend.c20 unsigned long nosave_begin_pfn = __pa(&__nosave_begin) >> PAGE_SHIFT; in pfn_is_nosave()
21 unsigned long nosave_end_pfn = PAGE_ALIGN(__pa(&__nosave_end)) >> PAGE_SHIFT; in pfn_is_nosave()
/arch/hexagon/include/asm/
Dpage.h99 #define __pa(x) ((unsigned long)(x) - PAGE_OFFSET + PHYS_OFFSET) macro
106 #define virt_to_page(kaddr) pfn_to_page(PFN_DOWN(__pa(kaddr)))
113 #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT)
143 #define virt_to_pfn(kaddr) (__pa(kaddr) >> PAGE_SHIFT)
/arch/cris/include/arch-v10/arch/
Dpage.h21 #define __pa(x) ((unsigned long)(x) & 0xdfffffff) macro
25 #define __pa(x) ((unsigned long)(x) & 0x7fffffff) macro
/arch/sh/kernel/
Dswsusp.c24 unsigned long begin_pfn = __pa(&__nosave_begin) >> PAGE_SHIFT; in pfn_is_nosave()
25 unsigned long end_pfn = PAGE_ALIGN(__pa(&__nosave_end)) >> PAGE_SHIFT; in pfn_is_nosave()
/arch/x86/xen/
Dp2m.c344 paravirt_alloc_pte(&init_mm, __pa(p2m_missing_pte) >> PAGE_SHIFT); in xen_rebuild_p2m_list()
346 paravirt_alloc_pte(&init_mm, __pa(p2m_identity_pte) >> PAGE_SHIFT); in xen_rebuild_p2m_list()
349 pfn_pte(PFN_DOWN(__pa(p2m_missing)), PAGE_KERNEL_RO)); in xen_rebuild_p2m_list()
351 pfn_pte(PFN_DOWN(__pa(p2m_identity)), PAGE_KERNEL_RO)); in xen_rebuild_p2m_list()
388 pfn_pte(PFN_DOWN(__pa(mfns)), PAGE_KERNEL)); in xen_rebuild_p2m_list()
398 pfn_pte(PFN_DOWN(__pa(mfns)), PAGE_KERNEL_RO)); in xen_rebuild_p2m_list()
408 set_pmd(pmdp, __pmd(__pa(ptep) | _KERNPG_TABLE)); in xen_rebuild_p2m_list()
457 if (pte_pfn(*ptep) == PFN_DOWN(__pa(p2m_identity))) in get_phys_to_machine()
495 paravirt_alloc_pte(&init_mm, __pa(pte_newpg[i]) >> PAGE_SHIFT); in alloc_p2m_pmd()
507 __pmd(__pa(pte_newpg[i]) | _KERNPG_TABLE)); in alloc_p2m_pmd()
[all …]
/arch/m68k/include/asm/
Dvirtconvert.h20 return __pa(address); in virt_to_phys()
31 __pa(PAGE_OFFSET + (((page) - pg_data_map[0].node_mem_map) << PAGE_SHIFT))
/arch/parisc/mm/
Dinit.c95 search_addr = PAGE_ALIGN(__pa((unsigned long) &_end)); in get_memblock()
338 memblock_reserve(__pa(KERNEL_BINARY_TEXT_START), in setup_bootmem()
354 if (__pa(initrd_start) < mem_max) { in setup_bootmem()
357 if (__pa(initrd_end) > mem_max) { in setup_bootmem()
358 initrd_reserve = mem_max - __pa(initrd_start); in setup_bootmem()
363 …printk(KERN_INFO "initrd: reserving %08lx-%08lx (mem_max %08lx)\n", __pa(initrd_start), __pa(initr… in setup_bootmem()
365 memblock_reserve(__pa(initrd_start), initrd_reserve); in setup_bootmem()
415 ro_start = __pa((unsigned long)_text); in map_pages()
416 ro_end = __pa((unsigned long)&data_start); in map_pages()
417 kernel_end = __pa((unsigned long)&_end); in map_pages()
[all …]
/arch/s390/mm/
Dpgalloc.c96 mm->context.asce = __pa(mm->pgd) | _ASCE_TABLE_LENGTH | in crst_table_upgrade()
120 mm->context.asce = __pa(mm->pgd) | _ASCE_TABLE_LENGTH | in crst_table_downgrade()
225 page = pfn_to_page(__pa(table) >> PAGE_SHIFT); in page_table_free()
228 bit = (__pa(table) & ~PAGE_MASK)/(PTRS_PER_PTE*sizeof(pte_t)); in page_table_free()
253 page = pfn_to_page(__pa(table) >> PAGE_SHIFT); in page_table_free_rcu()
256 table = (unsigned long *) (__pa(table) | 3); in page_table_free_rcu()
260 bit = (__pa(table) & ~PAGE_MASK) / (PTRS_PER_PTE*sizeof(pte_t)); in page_table_free_rcu()
268 table = (unsigned long *) (__pa(table) | (1U << bit)); in page_table_free_rcu()
276 struct page *page = pfn_to_page(__pa(table) >> PAGE_SHIFT); in __tlb_remove_table()
/arch/mips/power/
Dcpu.c39 unsigned long nosave_begin_pfn = PFN_DOWN(__pa(&__nosave_begin)); in pfn_is_nosave()
40 unsigned long nosave_end_pfn = PFN_UP(__pa(&__nosave_end)); in pfn_is_nosave()
/arch/parisc/include/asm/
Dpgalloc.h37 + (__u32)(__pa((unsigned long)pgd) >> PxD_VALUE_SHIFT)); in pgd_alloc()
61 (__u32)(__pa((unsigned long)pmd) >> PxD_VALUE_SHIFT)); in pgd_populate()
112 + (__u32)(__pa((unsigned long)pte) >> PxD_VALUE_SHIFT)); in pmd_populate_kernel()
116 + (__u32)(__pa((unsigned long)pte) >> PxD_VALUE_SHIFT)); in pmd_populate_kernel()
/arch/s390/kernel/
Dsuspend.c139 unsigned long nosave_begin_pfn = PFN_DOWN(__pa(&__nosave_begin)); in pfn_is_nosave()
140 unsigned long nosave_end_pfn = PFN_DOWN(__pa(&__nosave_end)); in pfn_is_nosave()
141 unsigned long eshared_pfn = PFN_DOWN(__pa(&_eshared)) - 1; in pfn_is_nosave()
142 unsigned long stext_pfn = PFN_DOWN(__pa(&_stext)); in pfn_is_nosave()
/arch/ia64/hp/sim/
Dsimscsi.c134 req.addr = __pa(sg_virt(sl)); in simscsi_sg_readwrite()
140 ia64_ssc(stat.fd, 1, __pa(&req), offset, mode); in simscsi_sg_readwrite()
141 ia64_ssc(__pa(&stat), 0, 0, 0, SSC_WAIT_COMPLETION); in simscsi_sg_readwrite()
181 req.addr = __pa(&buf); in simscsi_get_disk_size()
183 ia64_ssc(fd, 1, __pa(&req), ((sectors | bit) - 1)*512, SSC_READ); in simscsi_get_disk_size()
185 ia64_ssc(__pa(&stat), 0, 0, 0, SSC_WAIT_COMPLETION); in simscsi_get_disk_size()
229 desc[target_id] = ia64_ssc(__pa(fname), SSC_READ_ACCESS|SSC_WRITE_ACCESS, in simscsi_queuecommand_lck()
/arch/avr32/include/asm/
Dpage.h76 #define __pa(x) PHYSADDR(x) macro
91 #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT)
92 #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT)
/arch/m32r/include/asm/
Dpage.h69 #define __pa(x) ((unsigned long)(x) - PAGE_OFFSET) macro
78 #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT)
79 #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT)
/arch/sparc/include/asm/
Dpage_64.h136 #define __pa(x) ((unsigned long)(x) - PAGE_OFFSET) macro
141 #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr)>>PAGE_SHIFT)
143 #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT)
145 #define virt_to_phys __pa

12345678910>>...14