Home
last modified time | relevance | path

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

12345678

/linux-2.4.37.9/arch/parisc/kernel/
Dfirmware.c171 __pa(pdc_result), __pa(pdc_result2), len); in pdc_chassis_info()
194 retval = mem_pdc_call(PDC_PAT_CHASSIS_LOG, PDC_PAT_CHASSIS_WRITE_LOG, __pa(&state), __pa(&data)); in pdc_pat_chassis_send_log()
230 retval = mem_pdc_call(PDC_COPROC, PDC_COPROC_CFG, __pa(pdc_result)); in pdc_coproc_cfg()
258 retval = mem_pdc_call(PDC_IODC, PDC_IODC_READ, __pa(pdc_result), hpa, in pdc_iodc_read()
259 index, __pa(pdc_result2), iodc_data_size); in pdc_iodc_read()
283 retval = mem_pdc_call(PDC_SYSTEM_MAP, PDC_FIND_MODULE, __pa(pdc_result), in pdc_system_map_find_mods()
284 __pa(pdc_result2), mod_index); in pdc_system_map_find_mods()
309 retval = mem_pdc_call(PDC_SYSTEM_MAP, PDC_FIND_ADDRESS, __pa(pdc_result), in pdc_system_map_find_addrs()
330 retval = mem_pdc_call(PDC_MODEL, PDC_MODEL_INFO, __pa(pdc_result), 0); in pdc_model_info()
349 retval = mem_pdc_call(PDC_MODEL, PDC_MODEL_SYSMODEL, __pa(pdc_result), in pdc_model_sysmodel()
[all …]
/linux-2.4.37.9/arch/ia64/kernel/
Dfw-emu.c428 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()
430 efi_systab->runtime = __pa(efi_runtime); in sys_fw_init()
432 efi_systab->tables = __pa(efi_tables); in sys_fw_init()
437 efi_runtime->get_time = __pa(&efi_get_time); in sys_fw_init()
438 efi_runtime->set_time = __pa(&efi_unimplemented); in sys_fw_init()
439 efi_runtime->get_wakeup_time = __pa(&efi_unimplemented); in sys_fw_init()
440 efi_runtime->set_wakeup_time = __pa(&efi_unimplemented); in sys_fw_init()
441 efi_runtime->set_virtual_address_map = __pa(&efi_unimplemented); in sys_fw_init()
442 efi_runtime->get_variable = __pa(&efi_unimplemented); in sys_fw_init()
443 efi_runtime->get_next_variable = __pa(&efi_unimplemented); in sys_fw_init()
[all …]
Defivars.c378 length += sprintf(proc_buffer + length, "MPS=0x%lx\n", __pa(efi.mps)); in efi_systab_read()
380 length += sprintf(proc_buffer + length, "ACPI20=0x%lx\n", __pa(efi.acpi20)); in efi_systab_read()
382 length += sprintf(proc_buffer + length, "ACPI=0x%lx\n", __pa(efi.acpi)); in efi_systab_read()
384 length += sprintf(proc_buffer + length, "SMBIOS=0x%lx\n", __pa(efi.smbios)); in efi_systab_read()
386 length += sprintf(proc_buffer + length, "SAL=0x%lx\n", __pa(efi.sal_systab)); in efi_systab_read()
388 length += sprintf(proc_buffer + length, "HCDP=0x%lx\n", __pa(efi.hcdp)); in efi_systab_read()
390 length += sprintf(proc_buffer + length, "BOOTINFO=0x%lx\n", __pa(efi.boot_info)); in efi_systab_read()
Defi.c186 STUB_GET_TIME(phys, __pa) in STUB_GET_TIME() argument
187 STUB_SET_TIME(phys, __pa) in STUB_GET_TIME()
188 STUB_GET_WAKEUP_TIME(phys, __pa) in STUB_GET_TIME()
189 STUB_SET_WAKEUP_TIME(phys, __pa) in STUB_GET_TIME()
190 STUB_GET_VARIABLE(phys, __pa) in STUB_GET_TIME()
191 STUB_GET_NEXT_VARIABLE(phys, __pa) in STUB_GET_TIME()
192 STUB_SET_VARIABLE(phys, __pa) in STUB_GET_TIME()
193 STUB_GET_NEXT_HIGH_MONO_COUNT(phys, __pa) in STUB_GET_TIME()
194 STUB_RESET_SYSTEM(phys, __pa) in STUB_GET_TIME()
/linux-2.4.37.9/arch/parisc/mm/
Dinit.c276 bootmap_start_pfn = PAGE_ALIGN(__pa((unsigned long) &_end)) >> PAGE_SHIFT; in setup_bootmem()
321 reserve_bootmem_node(NODE_DATA(0),__pa((unsigned long)&_text), in setup_bootmem()
340 if (__pa(initrd_start) < mem_max) { in setup_bootmem()
343 if (__pa(initrd_end) > mem_max) { in setup_bootmem()
344 initrd_reserve = mem_max - __pa(initrd_start); in setup_bootmem()
349 …printk(KERN_INFO "initrd: reserving %08lx-%08lx (mem_max %08lx)\n", __pa(initrd_start), __pa(initr… in setup_bootmem()
351 reserve_bootmem_node(NODE_DATA(0),__pa(initrd_start), initrd_reserve); in setup_bootmem()
520 ro_start = __pa((unsigned long)&_text); in map_pages()
521 ro_end = __pa((unsigned long)&data_start); in map_pages()
522 fv_addr = __pa((unsigned long)&fault_vector_20) & PAGE_MASK; in map_pages()
[all …]
/linux-2.4.37.9/arch/ia64/drivers/
Dsimscsi.c154 req.addr = __pa(sc->request_buffer); in simscsi_readwrite()
164 ia64_ssc(stat.fd, 1, __pa(&req), offset, mode); in simscsi_readwrite()
165 ia64_ssc(__pa(&stat), 0, 0, 0, SSC_WAIT_COMPLETION); in simscsi_readwrite()
185 req.addr = __pa(sl->address); in simscsi_sg_readwrite()
191 ia64_ssc(stat.fd, 1, __pa(&req), offset, mode); in simscsi_sg_readwrite()
192 ia64_ssc(__pa(&stat), 0, 0, 0, SSC_WAIT_COMPLETION); in simscsi_sg_readwrite()
236 req.addr = __pa(&buf); in simscsi_get_disk_size()
238 ia64_ssc(fd, 1, __pa(&req), ((sectors | bit) - 1)*512, SSC_READ); in simscsi_get_disk_size()
240 ia64_ssc(__pa(&stat), 0, 0, 0, SSC_WAIT_COMPLETION); in simscsi_get_disk_size()
283 desc[sc->target] = ia64_ssc(__pa(fname), SSC_READ_ACCESS|SSC_WRITE_ACCESS, in simscsi_queuecommand()
/linux-2.4.37.9/include/linux/
Dbootmem.h39 __alloc_bootmem((x), SMP_CACHE_BYTES, __pa(MAX_DMA_ADDRESS))
43 __alloc_bootmem((x), PAGE_SIZE, __pa(MAX_DMA_ADDRESS))
54 __alloc_bootmem_node((pgdat), (x), SMP_CACHE_BYTES, __pa(MAX_DMA_ADDRESS))
56 __alloc_bootmem_node((pgdat), (x), PAGE_SIZE, __pa(MAX_DMA_ADDRESS))
/linux-2.4.37.9/arch/s390/mm/
Dinit.c128 unsigned long pgdir_k = (__pa(swapper_pg_dir) & PAGE_MASK) | _KERNSEG_TABLE; in paging_init()
151 pg_dir->pgd0 = (_PAGE_TABLE | __pa(pg_table)); in paging_init()
152 pg_dir->pgd1 = (_PAGE_TABLE | (__pa(pg_table)+1024)); in paging_init()
153 pg_dir->pgd2 = (_PAGE_TABLE | (__pa(pg_table)+2048)); in paging_init()
154 pg_dir->pgd3 = (_PAGE_TABLE | (__pa(pg_table)+3072)); in paging_init()
/linux-2.4.37.9/arch/ia64/mm/
Ddiscontig.c68 epfn = GRANULEROUNDUP(__pa(end)) >> PAGE_SHIFT; in build_maps()
69 cstart = GRANULEROUNDDOWN(__pa(start)); in build_maps()
117 pstart = __pa(start); in find_pernode_space()
203 free_bootmem_node(BOOT_NODE_DATA(node), __pa(start), end - start); in discontig_free_bootmem_node()
224 base = __pa(bdp->node_bootmem_map); in discontig_reserve_bootmem()
228 base = __pa(boot_pernode[node]); in discontig_reserve_bootmem()
Dinit.c323 pte_val(mk_pte_phys(__pa(my_cpu_data), PAGE_KERNEL)), PAGE_SHIFT); in ia64_mmu_init()
379 ia64_mca_tlb_list[cpu].percpu_paddr = pte_val(mk_pte_phys(__pa(my_cpu_data), PAGE_KERNEL)); in ia64_mmu_init()
418 node = paddr_to_nid(__pa(blk_start)); in create_mem_map_page_table()
421 blk_start = (unsigned long) __va(min(end, memblk_endpaddr(__pa(blk_start)))); in create_mem_map_page_table()
436 set_pte(pte, mk_pte_phys(__pa(alloc_bootmem_pages_node(NODE_DATA(node), PAGE_SIZE)), in create_mem_map_page_table()
531 start = __pa(start); in count_pages()
532 end = __pa(end); in count_pages()
535 if (start <= __pa(MAX_DMA_ADDRESS)) in count_pages()
536 cdata.num_dma_physpages += (min(end, __pa(MAX_DMA_ADDRESS)) - start) >> PAGE_SHIFT; in count_pages()
537 start = GRANULEROUNDDOWN(__pa(start)); in count_pages()
[all …]
/linux-2.4.37.9/include/asm-ppc64/
Dpage.h154 #define __pa(x) ((unsigned long)(x)-PAGE_OFFSET) macro
222 #define __v2p(x) ((void *) __pa(x))
223 #define __v2a(x) ((void *) phys_to_absolute(__pa(x)))
229 #define virt_to_page(kaddr) (mem_map+(__pa((unsigned long)kaddr) >> PAGE_SHIFT))
233 #define MAP_NR(addr) (__pa(addr) >> PAGE_SHIFT)
/linux-2.4.37.9/include/asm-x86_64/
Dmmzone.h67 #define KVADDR_TO_NID(kaddr) phys_to_nid(__pa(kaddr))
122 unsigned long lpfn = paddr_to_local_pfn(__pa(kaddr),&lmemmap,0); \
134 int nodeid = phys_to_nid(__pa(page)); \
141 unsigned long phys = __pa(page_ptr); \
Dpage.h120 #define __pa(x) (((unsigned long)(x)>=__START_KERNEL_map)?(unsigned long)(x) - (unsigned long)__S… macro
130 __pa(v); })
134 #define virt_to_page(kaddr) (mem_map + (__pa(kaddr) >> PAGE_SHIFT))
Dmmu_context.h53 *read_pda(level4_pgt) = __pa(next->pgd) | _PAGE_TABLE; in switch_mm()
66 *read_pda(level4_pgt) = __pa(next->pgd) | _PAGE_TABLE; in switch_mm()
/linux-2.4.37.9/arch/sh64/kernel/
Dsetup.c179 code_resource.start = __pa(&_text); in setup_arch()
180 code_resource.end = __pa(&_etext)-1; in setup_arch()
181 data_resource.start = __pa(&_etext); in setup_arch()
182 data_resource.end = __pa(&_edata)-1; in setup_arch()
197 start_pfn = PFN_UP(__pa(&_end)); in setup_arch()
/linux-2.4.37.9/arch/i386/mm/
Dinit.c184 set_pgd(pgd, __pgd(__pa(pmd) + 0x1)); in fixrange_init()
195 set_pmd(pmd, __pmd(_KERNPG_TABLE + __pa(pte))); in fixrange_init()
222 set_pgd(pgd_base + i, __pgd(1 + __pa(empty_zero_page))); in pagetable_init()
233 set_pgd(pgd, __pgd(__pa(pmd) + 0x1)); in pagetable_init()
248 __pe = _KERNPG_TABLE + _PAGE_PSE + __pa(vaddr); in pagetable_init()
264 *pte = mk_pte_phys(__pa(vaddr), PAGE_KERNEL); in pagetable_init()
266 set_pmd(pmd, __pmd(_KERNPG_TABLE + __pa(pte_base))); in pagetable_init()
316 set_pgd(swapper_pg_dir+i, __pgd(1 + __pa(empty_zero_page))); in zap_low_mappings()
/linux-2.4.37.9/arch/s390x/mm/
Dinit.c55 *pgd_slot = __pa(pmd) | _PGD_ENTRY_MASK | in __pgd_populate()
63 *pgd_slot = (__pa(pmd) - 0x2000) | _PGD_ENTRY_MASK | in __pgd_populate()
128 *pgd_slot = __pa(new) | _PGD_ENTRY_MASK | in pgd_populate()
260 *((unsigned long *) pg_dir) = __pa(pm_dir) | _PGD_ENTRY_MASK | in paging_init()
291 : :"m" (__pa(swapper_pg_dir) | _KERN_REGION_TABLE), in paging_init()
/linux-2.4.37.9/include/asm-s390/
Dpgalloc.h95 pmd_val(pmd[0]) = _PAGE_TABLE + __pa(pte); in pmd_populate()
96 pmd_val(pmd[1]) = _PAGE_TABLE + __pa(pte+256); in pmd_populate()
97 pmd_val(pmd[2]) = _PAGE_TABLE + __pa(pte+512); in pmd_populate()
98 pmd_val(pmd[3]) = _PAGE_TABLE + __pa(pte+768); in pmd_populate()
/linux-2.4.37.9/include/asm-m68k/
Dsun3_pgalloc.h46 pmd_val(*pmd) = _KERNPG_TABLE + __pa(page); in pte_alloc_kernel()
49 pmd_val(*pmd) = _KERNPG_TABLE + __pa((unsigned long)BAD_PAGETABLE); in pte_alloc_kernel()
57 pmd_val(*pmd) = _KERNPG_TABLE + __pa((unsigned long)BAD_PAGETABLE); in pte_alloc_kernel()
100 #define pmd_populate(mm, pmd, pte) (pmd_val(*pmd) = __pa((unsigned long)pte))
Dpage.h134 #define __pa(vaddr) ((unsigned long)(vaddr)+m68k_memoffset) macro
137 #define __pa(vaddr) virt_to_phys((void *)vaddr) macro
143 #define __pa(x) ___pa((unsigned long)x) macro
/linux-2.4.37.9/arch/m68k/sun3/
Dconfig.c117 start_page = __pa(memory_start) >> PAGE_SHIFT; in sun3_bootmem_alloc()
118 num_pages = __pa(memory_end) >> PAGE_SHIFT; in sun3_bootmem_alloc()
126 free_bootmem(__pa(availmem), memory_end - (availmem)); in sun3_bootmem_alloc()
/linux-2.4.37.9/arch/ia64/boot/
Dbootloader.c182 req.addr = __pa(elf_phdr->p_vaddr); in _start()
185 memset((char *)__pa(elf_phdr->p_vaddr) + elf_phdr->p_filesz, 0, in _start()
201 :: "b"(e_entry), "r"(bp), "r"(__pa(&stack))); in _start()
/linux-2.4.37.9/arch/mips/sibyte/sb1250/
Dprom.c57 initrd_pstart = __pa(initrd_start); in prom_meminit()
58 initrd_pend = __pa(initrd_end); in prom_meminit()
/linux-2.4.37.9/include/asm-sparc64/
Dpage.h117 #define __pa(x) ((unsigned long)(x) - PAGE_OFFSET) macro
119 #define virt_to_page(kaddr) (mem_map + ((__pa(kaddr)-phys_base) >> PAGE_SHIFT))
122 #define virt_to_phys __pa
/linux-2.4.37.9/arch/arm/mm/
Dinit.c163 #define V_PFN_DOWN(x) O_PFN_DOWN(__pa(x))
166 #define V_PFN_UP(x) O_PFN_UP(__pa(x))
352 reserve_bootmem_node(pgdat, __pa(&_stext), &_end - &_stext); in reserve_node_zero()
359 reserve_bootmem_node(pgdat, __pa(swapper_pg_dir), in reserve_node_zero()
376 reserve_bootmem_node(pgdat, 0, __pa(swapper_pg_dir)); in reserve_node_zero()
393 reserve_bootmem_node(pgdat, PHYS_OFFSET, __pa(swapper_pg_dir)-PHYS_OFFSET); in reserve_node_zero()

12345678