/arch/parisc/kernel/ |
D | firmware.c | 158 __pa(pdc_result), 0); in set_firmware_width_unlocked() 240 __pa(pdc_result), __pa(pdc_result2), len); in pdc_chassis_info() 264 retval = mem_pdc_call(PDC_PAT_CHASSIS_LOG, PDC_PAT_CHASSIS_WRITE_LOG, __pa(&state), __pa(&data)); in pdc_pat_chassis_send_log() 297 retval = mem_pdc_call(PDC_CHASSIS, PDC_CHASSIS_WARN, __pa(pdc_result)); in pdc_chassis_warn() 308 ret = mem_pdc_call(PDC_COPROC, PDC_COPROC_CFG, __pa(pdc_result)); in pdc_coproc_cfg_unlocked() 355 retval = mem_pdc_call(PDC_IODC, PDC_IODC_READ, __pa(pdc_result), hpa, in pdc_iodc_read() 356 index, __pa(pdc_result2), iodc_data_size); in pdc_iodc_read() 382 retval = mem_pdc_call(PDC_SYSTEM_MAP, PDC_FIND_MODULE, __pa(pdc_result), in pdc_system_map_find_mods() 383 __pa(pdc_result2), mod_index); in pdc_system_map_find_mods() 409 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/ |
D | fw-emu.c | 284 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 = __pa(&fw_efi_get_time); in sys_fw_init() 294 efi_runtime->set_time = __pa(&efi_unimplemented); in sys_fw_init() 295 efi_runtime->get_wakeup_time = __pa(&efi_unimplemented); in sys_fw_init() 296 efi_runtime->set_wakeup_time = __pa(&efi_unimplemented); in sys_fw_init() 297 efi_runtime->set_virtual_address_map = __pa(&efi_unimplemented); in sys_fw_init() 298 efi_runtime->get_variable = __pa(&efi_unimplemented); in sys_fw_init() 299 efi_runtime->get_next_variable = __pa(&efi_unimplemented); in sys_fw_init() [all …]
|
/arch/xtensa/kernel/ |
D | setup.c | 263 initrd_is_mapped = mem_reserve(__pa(initrd_start), in setup_arch() 264 __pa(initrd_end), 0); in setup_arch() 271 mem_reserve(__pa(&_stext),__pa(&_end), 1); in setup_arch() 273 mem_reserve(__pa(&_WindowVectors_text_start), in setup_arch() 274 __pa(&_WindowVectors_text_end), 0); in setup_arch() 276 mem_reserve(__pa(&_DebugInterruptVector_literal_start), in setup_arch() 277 __pa(&_DebugInterruptVector_text_end), 0); in setup_arch() 279 mem_reserve(__pa(&_KernelExceptionVector_literal_start), in setup_arch() 280 __pa(&_KernelExceptionVector_text_end), 0); in setup_arch() 282 mem_reserve(__pa(&_UserExceptionVector_literal_start), in setup_arch() [all …]
|
/arch/score/kernel/ |
D | setup.c | 49 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/ |
D | page.h | 36 #define __pa(x) __phys_addr((unsigned long)(x)) macro 47 #define __pa_symbol(x) __pa(__phys_reloc_hide((unsigned long)(x))) 52 #define __boot_pa(x) __pa(x) 58 #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT)
|
D | pgalloc.h | 65 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() 105 paravirt_alloc_pmd(mm, __pa(pmd) >> PAGE_SHIFT); in pud_populate() 106 set_pud(pud, __pud(_PAGE_TABLE | __pa(pmd))); in pud_populate() 113 paravirt_alloc_pud(mm, __pa(pud) >> PAGE_SHIFT); in pgd_populate() 114 set_pgd(pgd, __pgd(_PAGE_TABLE | __pa(pud))); in pgd_populate()
|
/arch/arm/mach-omap2/ |
D | omap-secure.c | 52 outer_clean_range(__pa(param), __pa(param + 5)); in omap_secure_dispatcher() 53 ret = omap_smc2(idx, flag, __pa(param)); in omap_secure_dispatcher()
|
/arch/powerpc/kernel/ |
D | suspend.c | 22 unsigned long nosave_begin_pfn = __pa(&__nosave_begin) >> PAGE_SHIFT; in pfn_is_nosave() 23 unsigned long nosave_end_pfn = PAGE_ALIGN(__pa(&__nosave_end)) >> PAGE_SHIFT; in pfn_is_nosave()
|
/arch/cris/include/arch-v10/arch/ |
D | page.h | 21 #define __pa(x) ((unsigned long)(x) & 0xdfffffff) macro 25 #define __pa(x) ((unsigned long)(x) & 0x7fffffff) macro
|
/arch/x86/kernel/ |
D | machine_kexec_32.c | 111 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()
|
D | machine_kexec_64.c | 40 set_pgd(pgd, __pgd(__pa(pud) | _KERNPG_TABLE)); in init_one_level2_page() 49 set_pud(pud, __pud(__pa(pmd) | _KERNPG_TABLE)); in init_one_level2_page() 91 set_pud(level3p++, __pud(__pa(level2p) | _KERNPG_TABLE)); in init_level3_page() 126 set_pgd(level4p++, __pgd(__pa(level3p) | _KERNPG_TABLE)); in init_level4_page() 154 paddr = __pa(page_address(image->control_code_page)+PAGE_SIZE); in init_transition_pgtable() 161 set_pgd(pgd, __pgd(__pa(pud) | _KERNPG_TABLE)); in init_transition_pgtable() 169 set_pud(pud, __pud(__pa(pmd) | _KERNPG_TABLE)); in init_transition_pgtable() 177 set_pmd(pmd, __pmd(__pa(pte) | _KERNPG_TABLE)); in init_transition_pgtable() 308 (unsigned long)__pa(page_address(image->control_code_page)); in machine_kexec()
|
/arch/sh/kernel/ |
D | swsusp.c | 24 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/cris/include/arch-v32/arch/ |
D | page.h | 15 #define __pa(x) ((unsigned long)(x) & 0x7fffffff) macro 18 #define __pa(x) ((unsigned long)(x) & 0x3fffffff) macro
|
/arch/parisc/mm/ |
D | init.c | 258 bootmap_start_pfn = PAGE_ALIGN(__pa((unsigned long) &_end)) >> PAGE_SHIFT; in setup_bootmem() 318 reserve_bootmem_node(NODE_DATA(0), __pa((unsigned long)_text), in setup_bootmem() 339 if (__pa(initrd_start) < mem_max) { in setup_bootmem() 342 if (__pa(initrd_end) > mem_max) { in setup_bootmem() 343 initrd_reserve = mem_max - __pa(initrd_start); in setup_bootmem() 348 …printk(KERN_INFO "initrd: reserving %08lx-%08lx (mem_max %08lx)\n", __pa(initrd_start), __pa(initr… in setup_bootmem() 350 reserve_bootmem_node(NODE_DATA(0), __pa(initrd_start), in setup_bootmem() 393 ro_start = __pa((unsigned long)_text); in map_pages() 394 ro_end = __pa((unsigned long)&data_start); in map_pages() 395 fv_addr = __pa((unsigned long)&fault_vector_20) & PAGE_MASK; in map_pages() [all …]
|
/arch/um/kernel/ |
D | physmem.c | 84 int pfn = PFN_UP(__pa(reserve_end)); in setup_physmem() 104 os_seek_file(physmem_fd, __pa(&__syscall_stub_start)); in setup_physmem() 108 free_bootmem(__pa(reserve_end) + bootmap_size, in setup_physmem() 120 else if (phys < __pa(end_iomem)) { in phys_mapping() 133 else if (phys < __pa(end_iomem) + highmem) { in phys_mapping() 205 region->phys = __pa(region->virt); in setup_iomem()
|
/arch/m68k/include/asm/ |
D | virtconvert.h | 20 return __pa(address); in virt_to_phys() 32 __pa(PAGE_OFFSET + (((page) - pg_data_map[0].node_mem_map) << PAGE_SHIFT))
|
/arch/mips/power/ |
D | cpu.c | 39 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/ia64/include/asm/xen/ |
D | page.h | 47 return __pa(virt) >> PAGE_SHIFT; in virt_to_mfn() 53 return __pa(virt); in virt_to_machine()
|
/arch/powerpc/platforms/powernv/ |
D | pci-p5ioc2.c | 115 pr_devel(" TCE AT : 0x%016lx\n", __pa(tce_mem)); in pnv_pci_init_p5ioc2_phb() 118 rc = opal_pci_set_phb_tce_memory(phb_id, __pa(tce_mem), tce_size); in pnv_pci_init_p5ioc2_phb() 201 __pa(MAX_DMA_ADDRESS)); in pnv_pci_init_p5ioc2_hub() 207 __pa(tce_mem), __pa(tce_mem) + P5IOC2_TCE_MEMORY - 1); in pnv_pci_init_p5ioc2_hub() 208 rc = opal_pci_set_hub_tce_memory(hub_id, __pa(tce_mem), in pnv_pci_init_p5ioc2_hub()
|
/arch/parisc/include/asm/ |
D | pgalloc.h | 37 + (__u32)(__pa((unsigned long)pgd) >> PxD_VALUE_SHIFT)); in pgd_alloc() 61 (__u32)(__pa((unsigned long)pmd) >> PxD_VALUE_SHIFT)); in pgd_populate() 109 + (__u32)(__pa((unsigned long)pte) >> PxD_VALUE_SHIFT)); in pmd_populate_kernel() 113 + (__u32)(__pa((unsigned long)pte) >> PxD_VALUE_SHIFT)); in pmd_populate_kernel()
|
/arch/x86/power/ |
D | hibernate_64.c | 59 set_pud(pud, __pud(__pa(pmd) | _KERNPG_TABLE)); in res_phys_pud_init() 97 if ((error = res_phys_pud_init(pud, __pa(start), __pa(next)))) in set_up_temporary_mappings() 100 mk_kernel_pgd(__pa(pud))); in set_up_temporary_mappings()
|
/arch/x86/lguest/ |
D | boot.c | 367 lazy_hcall2(LHCALL_LOAD_TLS, __pa(&t->tls_array), cpu); in lguest_load_tls() 555 if (cr3 != __pa(swapper_pg_dir) && cr3 != __pa(initial_page_table)) in lguest_write_cr3() 672 lazy_hcall4(LHCALL_SET_PTE, __pa(mm->pgd), addr, in lguest_pte_update() 675 lazy_hcall3(LHCALL_SET_PTE, __pa(mm->pgd), addr, ptep->pte_low); in lguest_pte_update() 700 lazy_hcall2(LHCALL_SET_PGD, __pa(pudp) & 0xFFFFFFE0, in lguest_set_pud() 701 (__pa(pudp) & 0x1F) / sizeof(pud_t)); in lguest_set_pud() 707 lazy_hcall2(LHCALL_SET_PMD, __pa(pmdp) & PAGE_MASK, in lguest_set_pmd() 708 (__pa(pmdp) & (PAGE_SIZE - 1)) / sizeof(pmd_t)); in lguest_set_pmd() 716 lazy_hcall2(LHCALL_SET_PGD, __pa(pmdp) & PAGE_MASK, in lguest_set_pmd() 717 (__pa(pmdp) & (PAGE_SIZE - 1)) / sizeof(pmd_t)); in lguest_set_pmd() [all …]
|
/arch/sparc/include/asm/ |
D | page_64.h | 118 #define __pa(x) ((unsigned long)(x) - PAGE_OFFSET) macro 123 #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr)>>PAGE_SHIFT) 125 #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT) 127 #define virt_to_phys __pa
|
/arch/hexagon/include/asm/ |
D | page.h | 99 #define __pa(x) ((unsigned long)(x) - PAGE_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)
|
/arch/m32r/include/asm/ |
D | page.h | 69 #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)
|