Home
last modified time | relevance | path

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

12345678910>>...12

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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
42 #define virt_to_bus virt_to_phys
/kernel/linux/linux-5.10/arch/sh/kernel/
Dsetup.c302 code_resource.start = virt_to_phys(_text); in setup_arch()
303 code_resource.end = virt_to_phys(_etext)-1; in setup_arch()
304 data_resource.start = virt_to_phys(_etext); in setup_arch()
305 data_resource.end = virt_to_phys(_edata)-1; in setup_arch()
306 bss_resource.start = virt_to_phys(__bss_start); in setup_arch()
307 bss_resource.end = virt_to_phys(__bss_stop)-1; in setup_arch()
/kernel/linux/linux-5.10/arch/m68k/emu/
Dnatfeat.c50 return nf_get_id_phys(virt_to_phys(name_copy)); in nf_get_id()
62 nf_call(nf_get_id("NF_STDERR"), virt_to_phys(buf)); in nfprint()
87 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()
/kernel/linux/linux-5.10/arch/ia64/include/asm/
Dio.h81 virt_to_phys (volatile void *address) in virt_to_phys() function
85 #define virt_to_phys virt_to_phys macro
104 #define virt_to_bus virt_to_phys
/kernel/linux/linux-5.10/arch/alpha/mm/
Dnuma.c141 end_kernel_pfn = PFN_UP(virt_to_phys(kernel_end)); in setup_memory_node()
175 kernel_size = virt_to_phys(kernel_end) - KERNEL_START_PHYS; in setup_memory()
195 memblock_reserve(virt_to_phys((void *)initrd_start), in setup_memory()
214 dma_local_pfn = virt_to_phys((char *)MAX_DMA_ADDRESS) >> PAGE_SHIFT; in paging_init()
/kernel/linux/linux-5.10/lib/
Dtest_debug_virtual.c28 pa = virt_to_phys(va); in test_debug_virtual_init()
36 pa = virt_to_phys(foo); in test_debug_virtual_init()
/kernel/linux/linux-5.10/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.h98 # define virt_to_page(vaddr) pfn_to_page(PFN_DOWN(virt_to_phys(vaddr)))
99 # define virt_addr_valid(vaddr) pfn_valid(PFN_DOWN(virt_to_phys(vaddr)))
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dio.h129 static inline phys_addr_t virt_to_phys(volatile void *address) in virt_to_phys() function
133 #define virt_to_phys virt_to_phys macro
166 return (unsigned int)virt_to_phys(address); in isa_virt_to_bus()
176 #define virt_to_bus virt_to_phys
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dmmu_context.h55 cpu_do_switch_mm(virt_to_phys(pgd),mm); in cpu_switch_mm()
144 phys_addr_t ttbr1 = phys_to_ttbr(virt_to_phys(pgdp)); in cpu_replace_ttbr1()
197 ttbr = phys_to_ttbr(virt_to_phys(mm->pgd)) | ASID(mm) << 48; in update_saved_ttbr0()
Dmemory.h279 #define virt_to_phys virt_to_phys macro
280 static inline phys_addr_t virt_to_phys(const volatile void *x) in virt_to_phys() function
/kernel/linux/linux-5.10/arch/microblaze/include/asm/
Dcacheflush.h73 addr = (u32)virt_to_phys((void *)addr); \
84 u32 addr = virt_to_phys(dst); in copy_to_user_page()
/kernel/linux/linux-5.10/drivers/virt/
Dfsl_hypervisor.c291 virt_to_phys(sg_list), num_pages); in ioctl_memcpy()
376 virt_to_phys(path), in ioctl_dtprop()
377 virt_to_phys(propname), in ioctl_dtprop()
378 virt_to_phys(propval), in ioctl_dtprop()
382 virt_to_phys(path), in ioctl_dtprop()
383 virt_to_phys(propname), in ioctl_dtprop()
384 virt_to_phys(propval), in ioctl_dtprop()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/staging/media/ipu3/
Dipu3-mmu.c203 pteval = IPU3_ADDR2PTE(virt_to_phys(new_l2pt)); in imgu_mmu_get_l2pt()
450 pteval = IPU3_ADDR2PTE(virt_to_phys(mmu->dummy_page)); in imgu_mmu_init()
460 pteval = IPU3_ADDR2PTE(virt_to_phys(mmu->dummy_l2pt)); in imgu_mmu_init()
476 pteval = IPU3_ADDR2PTE(virt_to_phys(mmu->l1pt)); in imgu_mmu_init()
532 pteval = IPU3_ADDR2PTE(virt_to_phys(mmu->l1pt)); in imgu_mmu_resume()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/arm/include/asm/
Dmemory.h326 #define virt_to_phys virt_to_phys macro
327 static inline phys_addr_t virt_to_phys(const volatile void *x) in virt_to_phys() function
/kernel/linux/linux-5.10/drivers/platform/x86/
Ddell_rbu.c157 if ((unsigned long)virt_to_phys(packet_data_temp_buf) in create_packet()
160 (unsigned long)virt_to_phys( in create_packet()
177 (unsigned long)virt_to_phys(newpacket->data)); in create_packet()
196 (unsigned long)virt_to_phys(invalid_addr_packet_array[idx])); in create_packet()
414 img_buf_phys_addr = (unsigned long)virt_to_phys(image_update_buffer); in img_update_realloc()
/kernel/linux/linux-5.10/drivers/s390/char/
Ddiag_ftp.c115 : [cmd] "0" (cmd), [addr] "d" (virt_to_phys(fpl)), in diag_ftp_2c4()
171 ldfpl->bufaddr = virt_to_phys(ftp->buf); in diag_ftp_cmd()
/kernel/linux/linux-5.10/drivers/iommu/
Dexynos-iommu.c181 #define ZERO_LV2LINK mk_lv1ent_page(virt_to_phys(zero_lv2_table))
730 dma_sync_single_for_cpu(dma_dev, virt_to_phys(ent), sizeof(*ent), in exynos_iommu_set_pte()
733 dma_sync_single_for_device(dma_dev, virt_to_phys(ent), sizeof(*ent), in exynos_iommu_set_pte()
772 BUG_ON(handle != virt_to_phys(domain->pgtable)); in exynos_iommu_domain_alloc()
823 dma_unmap_single(dma_dev, virt_to_phys(domain->pgtable), LV1TABLE_SIZE, in exynos_iommu_domain_free()
846 phys_addr_t pagetable = virt_to_phys(domain->pgtable); in exynos_iommu_detach_device()
885 phys_addr_t pagetable = virt_to_phys(domain->pgtable); in exynos_iommu_attach_device()
940 exynos_iommu_set_pte(sent, mk_lv1ent_page(virt_to_phys(pent))); in alloc_lv2entry()
1029 dma_addr_t pent_base = virt_to_phys(pent); in lv2set_page()
1190 dma_sync_single_for_cpu(dma_dev, virt_to_phys(ent), in exynos_iommu_unmap()
[all …]
/kernel/linux/linux-5.10/arch/mips/kernel/
Dvdso.c161 gic_pfn = virt_to_phys(mips_gic_base + MIPS_GIC_USER_OFS) >> PAGE_SHIFT; in arch_setup_additional_pages()
171 virt_to_phys(vdso_data) >> PAGE_SHIFT, in arch_setup_additional_pages()
Drelocate.c341 unsigned long fdt_phys = virt_to_phys(fdt); in relocate_kernel()
352 if (fdt_phys >= virt_to_phys(RELOCATED(&_text)) && in relocate_kernel()
353 fdt_phys <= virt_to_phys(RELOCATED(&_end))) { in relocate_kernel()

12345678910>>...12