Home
last modified time | relevance | path

Searched refs:virt_to_phys (Results 1 – 25 of 148) sorted by relevance

123456

/arch/m68k/include/asm/
Dvirtconvert.h19 #define virt_to_phys virt_to_phys macro
20 static inline unsigned long virt_to_phys(void *address) in virt_to_phys() function
39 #define virt_to_bus virt_to_phys
/arch/arm/kernel/
Dsuspend.c79 *save_ptr = virt_to_phys(ptr); in __cpu_suspend_save()
82 *ptr++ = virt_to_phys(idmap_pgd); in __cpu_suspend_save()
84 *ptr++ = virt_to_phys(cpu_do_resume); in __cpu_suspend_save()
103 outer_clean_range(virt_to_phys(save_ptr), in __cpu_suspend_save()
104 virt_to_phys(save_ptr) + sizeof(*save_ptr)); in __cpu_suspend_save()
118 sleep_save_sp.save_ptr_stash_phys = virt_to_phys(ctx_ptr); in cpu_suspend_alloc_sp()
/arch/powerpc/platforms/pseries/
Dplpks.c147 virt_to_phys(password), maxpwsize); in plpks_gen_password()
266 rc = plpar_hcall(H_PKS_GET_CONFIG, retbuf, virt_to_phys(config), size); in _plpks_get_config()
402 virt_to_phys(auth), virt_to_phys(label), in plpks_confirm_object_flushed()
459 virt_to_phys(auth), virt_to_phys(label), in plpks_signed_update_var()
461 virt_to_phys(var->data), var->datalen, in plpks_signed_update_var()
508 rc = plpar_hcall(H_PKS_WRITE_OBJECT, retbuf, virt_to_phys(auth), in plpks_write_var()
509 virt_to_phys(label), label->size, var.policy, in plpks_write_var()
510 virt_to_phys(var.data), var.datalen); in plpks_write_var()
543 rc = plpar_hcall(H_PKS_REMOVE_OBJECT, retbuf, virt_to_phys(auth), in plpks_remove_var()
544 virt_to_phys(label), label->size); in plpks_remove_var()
[all …]
/arch/m68k/emu/
Dnatfeat.c51 return nf_get_id_phys(virt_to_phys(name_copy)); in nf_get_id()
63 nf_call(nf_get_id("NF_STDERR"), virt_to_phys(buf)); in nfprint()
88 nf_call(id, virt_to_phys(buf), 256); in nf_init()
Dnfeth.c118 nf_call(nfEtherID + XIF_READBLOCK, priv->ethX, virt_to_phys(skb->data), in recv_packet()
160 nf_call(nfEtherID + XIF_WRITEBLOCK, priv->ethX, virt_to_phys(data), in nfeth_xmit()
192 if (!nf_call(nfEtherID + XIF_GET_MAC, unit, virt_to_phys(mac), in nfeth_probe()
215 virt_to_phys(host_ip), sizeof(host_ip)); in nfeth_probe()
217 virt_to_phys(local_ip), sizeof(local_ip)); in nfeth_probe()
Dnfcon.c29 unsigned long phys = virt_to_phys(buf); in nfputs()
84 nf_call(stderr_id, virt_to_phys(temp)); in nfcon_tty_put_char()
/arch/sh/kernel/
Dsetup.c300 code_resource.start = virt_to_phys(_text); in setup_arch()
301 code_resource.end = virt_to_phys(_etext)-1; in setup_arch()
302 data_resource.start = virt_to_phys(_etext); in setup_arch()
303 data_resource.end = virt_to_phys(_edata)-1; in setup_arch()
304 bss_resource.start = virt_to_phys(__bss_start); in setup_arch()
305 bss_resource.end = virt_to_phys(__bss_stop)-1; in setup_arch()
/arch/riscv/mm/
Dpmem.c16 noncoherent_cache_ops.wback(virt_to_phys(addr), size); in arch_wb_cache_pmem()
28 noncoherent_cache_ops.inv(virt_to_phys(addr), size); in arch_invalidate_pmem()
/arch/nios2/include/asm/
Dio.h32 #define page_to_phys(page) virt_to_phys(page_to_virt(page))
38 #define virt_to_phys(vaddr) \ macro
Dpage.h89 # define virt_to_page(vaddr) pfn_to_page(PFN_DOWN(virt_to_phys(vaddr)))
90 # define virt_addr_valid(vaddr) pfn_valid(PFN_DOWN(virt_to_phys(vaddr)))
/arch/s390/kvm/
Dpci.c76 zpci_aipb->aipb.faisb = virt_to_phys(aift->sbv->vector); in zpci_setup_aipb()
77 zpci_aipb->aipb.gait = virt_to_phys(aift->gait); in zpci_setup_aipb()
168 fib.fmt0.aibv = virt_to_phys(zdev->aibv->vector); in kvm_zpci_set_airq()
170 fib.fmt0.aisb = virt_to_phys(aift->sbv->vector + (zdev->aisb / 64) * 8); in kvm_zpci_set_airq()
300 gaite->gisa = (u32)virt_to_phys(&kvm->arch.sie_page2->gisa); in kvm_s390_pci_aif_enable()
307 gaite->aisb = virt_to_phys(page_address(aisb_page) + (fib->fmt0.aisb & in kvm_s390_pci_aif_enable()
314 fib->fmt0.aisb = virt_to_phys(aift->sbv->vector + (zdev->aisb / 64) * 8); in kvm_s390_pci_aif_enable()
482 zdev->gisa = (u32)virt_to_phys(&kvm->arch.sie_page2->gisa); in kvm_s390_pci_register_kvm()
490 virt_to_phys(zdev->dma_table), &status); in kvm_s390_pci_register_kvm()
559 virt_to_phys(zdev->dma_table), &status); in kvm_s390_pci_unregister_kvm()
/arch/s390/mm/
Dmaccess.c136 lc = virt_to_phys(lowcore_ptr[cpu]); in get_swapped_owner()
175 ptr = (void *)(addr - virt_to_phys(lowcore_ptr[cpu])); in xlate_dev_mem_ptr()
191 if (addr != virt_to_phys(ptr)) in unxlate_dev_mem_ptr()
/arch/arm64/include/asm/
Dmmu_context.h60 cpu_do_switch_mm(virt_to_phys(pgd),mm); in cpu_switch_mm()
163 phys_addr_t ttbr1 = phys_to_ttbr(virt_to_phys(pgdp)); in cpu_replace_ttbr1()
224 ttbr = phys_to_ttbr(virt_to_phys(mm->pgd)) | ASID(mm) << 48; in update_saved_ttbr0()
Dmemory.h334 #define virt_to_phys virt_to_phys macro
335 static inline phys_addr_t virt_to_phys(const volatile void *x) in virt_to_phys() function
351 return __phys_to_pfn(virt_to_phys(kaddr)); in virt_to_pfn()
/arch/ia64/include/asm/
Dio.h77 virt_to_phys (volatile void *address) in virt_to_phys() function
81 #define virt_to_phys virt_to_phys macro
/arch/x86/platform/intel-quark/
Dimr_selftest.c61 phys_addr_t base = virt_to_phys(&_text); in imr_self_test()
62 size_t size = virt_to_phys(&__end_rodata) - base; in imr_self_test()
/arch/microblaze/include/asm/
Dcacheflush.h73 addr = (u32)virt_to_phys((void *)addr); \
92 u32 addr = virt_to_phys(dst); in copy_to_user_page()
/arch/x86/include/asm/
Dio.h128 static inline phys_addr_t virt_to_phys(volatile void *address) in virt_to_phys() function
132 #define virt_to_phys virt_to_phys macro
165 return (unsigned int)virt_to_phys(address); in isa_virt_to_bus()
/arch/arm/mach-milbeaut/
Dplatsmp.c112 phys_reset = (phys_reset_t)(unsigned long)virt_to_phys(cpu_reset); in m10v_die()
113 phys_reset(virt_to_phys(cpu_resume)); in m10v_die()
/arch/arm/include/asm/
Dmemory.h318 #define virt_to_phys virt_to_phys macro
319 static inline phys_addr_t virt_to_phys(const volatile void *x) in virt_to_phys() function
/arch/arm64/hyperv/
Dhv_core.c30 input_address = input ? virt_to_phys(input) : 0; in hv_do_hypercall()
31 output_address = output ? virt_to_phys(output) : 0; in hv_do_hypercall()
/arch/alpha/include/asm/
Dswitch_to.h11 (L) = alpha_switch_to(virt_to_phys(&task_thread_info(N)->pcb), (P)); \
/arch/hexagon/include/asm/
Dio.h47 static inline unsigned long virt_to_phys(volatile void *address) in virt_to_phys() function
320 #define virt_to_phys virt_to_phys macro
/arch/mips/loongson64/
Dvbios_quirk.c20 res->start = virt_to_phys((void *) loongson_sysconf.vgabios_addr); in pci_fixup_video()
/arch/arm64/geniezone/
Dvgic.c16 virt_to_phys(gzvm_dev), 0, 0, 0, 0, 0, in gzvm_arch_create_device()

123456