| /linux/arch/arm/kernel/ |
| H A D | suspend.c | 87 *save_ptr = virt_to_phys(ptr); in __cpu_suspend_save() 90 *ptr++ = virt_to_phys(idmap_pgd); in __cpu_suspend_save() 92 *ptr++ = virt_to_phys(cpu_do_resume); in __cpu_suspend_save() 111 outer_clean_range(virt_to_phys(save_ptr), in __cpu_suspend_save() 112 virt_to_phys(save_ptr) + sizeof(*save_ptr)); in __cpu_suspend_save() 126 sleep_save_sp.save_ptr_stash_phys = virt_to_phys(ctx_ptr); in cpu_suspend_alloc_sp()
|
| /linux/tools/include/linux/ |
| H A D | mm.h | 30 #define virt_to_phys virt_to_phys in virt_to_phys() 31 static inline phys_addr_t virt_to_phys(volatile void *address) in virt_to_phys() 28 #define virt_to_phys virt_to_phys global() macro 29 static inline phys_addr_t virt_to_phys(volatile void *address) virt_to_phys() function
|
| /linux/arch/sh/kernel/ |
| H A D | setup.c | 295 code_resource.start = virt_to_phys(_text); in setup_arch() 296 code_resource.end = virt_to_phys(_etext)-1; in setup_arch() 297 data_resource.start = virt_to_phys(_etext); in setup_arch() 298 data_resource.end = virt_to_phys(_edata)-1; in setup_arch() 299 bss_resource.start = virt_to_phys(__bss_start); in setup_arch() 300 bss_resource.end = virt_to_phys(__bss_stop)-1; in setup_arch()
|
| /linux/arch/m68k/emu/ |
| H A D | natfeat.c | 51 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()
|
| H A D | nfeth.c | 118 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()
|
| H A D | nfcon.c | 29 unsigned long phys = virt_to_phys(buf); in nfputs() 84 nf_call(stderr_id, virt_to_phys(temp)); in nfcon_tty_put_char()
|
| /linux/arch/riscv/mm/ |
| H A D | pmem.c | 16 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()
|
| /linux/lib/ |
| H A D | test_debug_virtual.c | 28 pa = virt_to_phys(va); in test_debug_virtual_init() 36 pa = virt_to_phys(foo); in test_debug_virtual_init()
|
| /linux/drivers/iommu/ |
| H A D | iommu-pages.c | 168 if (WARN_ON(dma != virt_to_phys(virt))) { in iommu_pages_start_incoherent() 227 dma_unmap_single(dma_dev, virt_to_phys(folio_address(folio)), in iommu_pages_stop_incoherent_list() 246 dma_unmap_single(dma_dev, virt_to_phys(virt), in iommu_pages_free_incoherent()
|
| H A D | exynos-iommu.c | 179 #define ZERO_LV2LINK mk_lv1ent_page(virt_to_phys(zero_lv2_table)) 886 dma_sync_single_for_cpu(dma_dev, virt_to_phys(ent), sizeof(*ent), in exynos_iommu_set_pte() 889 dma_sync_single_for_device(dma_dev, virt_to_phys(ent), sizeof(*ent), in exynos_iommu_set_pte() 921 BUG_ON(handle != virt_to_phys(domain->pgtable)); in exynos_iommu_domain_alloc_paging() 968 dma_unmap_single(dma_dev, virt_to_phys(domain->pgtable), LV1TABLE_SIZE, in exynos_iommu_domain_free() 1000 pagetable = virt_to_phys(domain->pgtable); in exynos_iommu_identity_attach() 1045 phys_addr_t pagetable = virt_to_phys(domain->pgtable); in exynos_iommu_attach_device() 1099 exynos_iommu_set_pte(sent, mk_lv1ent_page(virt_to_phys(pent))); in alloc_lv2entry() 1188 dma_addr_t pent_base = virt_to_phys(pent); in lv2set_page() 1351 dma_sync_single_for_cpu(dma_dev, virt_to_phys(ent), in exynos_iommu_unmap() [all …]
|
| /linux/arch/powerpc/platforms/pseries/ |
| H A D | htmdump.c | 104 htmtype, H_HTM_OP_DUMP_DATA, virt_to_phys(htm_buf_data), in htmdump_read() 152 htmtype, H_HTM_OP_DUMP_SYSMEM_CONF, virt_to_phys(htm_mem_data), in htmsystem_mem_read() 313 htmtype, H_HTM_OP_STATUS, virt_to_phys(htm_status_data), in htmstatus_read() 372 htmtype, H_HTM_OP_DUMP_SYSPROC_CONF, virt_to_phys(htm_info_data), in htminfo_read() 409 htmtype, H_HTM_OP_CAPABILITIES, virt_to_phys(htm_caps_data), in htmcaps_read()
|
| /linux/drivers/virt/ |
| H A D | fsl_hypervisor.c | 291 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()
|
| /linux/drivers/staging/media/ipu3/ |
| H A D | ipu3-mmu.c | 203 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()
|
| /linux/arch/microblaze/include/asm/ |
| H A D | cacheflush.h | 73 addr = (u32)virt_to_phys((void *)addr); \ 92 u32 addr = virt_to_phys(dst); in copy_to_user_page()
|
| /linux/tools/virtio/linux/ |
| H A D | dma-mapping.h | 27 #define dma_map_single(d, p, s, dir) (virt_to_phys(p)) 28 #define dma_map_single_attrs(d, p, s, dir, a) (virt_to_phys(p))
|
| /linux/arch/arm/mach-milbeaut/ |
| H A D | platsmp.c | 112 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()
|
| /linux/drivers/virt/acrn/ |
| H A D | vm.c | 30 ret = hcall_create_vm(virt_to_phys(vm_param)); in acrn_vm_create() 120 ret = hcall_inject_msi(vm->vmid, virt_to_phys(msi)); in acrn_msi_inject()
|
| H A D | mm.c | 30 regions->regions_gpa = virt_to_phys(region); in modify_region() 32 ret = hcall_set_memory_regions(virt_to_phys(regions)); in modify_region() 298 regions_info->regions_gpa = virt_to_phys(vm_region); in acrn_vm_ram_map() 319 ret = hcall_set_memory_regions(virt_to_phys(regions_info)); in acrn_vm_ram_map()
|
| /linux/arch/s390/mm/ |
| H A D | pfault.c | 65 : [refbk] "a" (virt_to_phys(&pfault_init_refbk)), "m" (pfault_init_refbk) in __pfault_init() 87 : [refbk] "a" (virt_to_phys(&pfault_fini_refbk)), "m" (pfault_fini_refbk) in __pfault_fini()
|
| /linux/arch/powerpc/perf/ |
| H A D | hv-gpci.c | 145 virt_to_phys(arg), HGPCI_REQ_BUFFER_SIZE); in systeminfo_gpci_request() 541 virt_to_phys(arg), HGPCI_REQ_BUFFER_SIZE); in affinity_domain_via_partition_show() 583 virt_to_phys(arg), HGPCI_REQ_BUFFER_SIZE); in affinity_domain_via_partition_show() 706 virt_to_phys(arg), HGPCI_REQ_BUFFER_SIZE); in single_gpci_request() 913 virt_to_phys(arg), HGPCI_REQ_BUFFER_SIZE); in sysinfo_device_attr_create() 1036 virt_to_phys(arg), HGPCI_REQ_BUFFER_SIZE); in hv_gpci_init()
|
| /linux/arch/alpha/include/asm/ |
| H A D | io.h | 55 static inline unsigned long virt_to_phys(volatile void *address) in virt_to_phys() function 65 static inline unsigned long virt_to_phys(volatile void *address) in virt_to_phys() function 85 #define virt_to_phys virt_to_phys macro 104 unsigned long phys = virt_to_phys(address); in isa_virt_to_bus()
|
| H A D | switch_to.h | 11 (L) = alpha_switch_to(virt_to_phys(&task_thread_info(N)->pcb), (P)); \
|
| /linux/arch/s390/kernel/ |
| H A D | perf_cpum_sf.c | 218 *sdbt = virt_to_phys((void *)sdb); in alloc_sample_data_block() 275 *tail = virt_to_phys((void *)new) + 1; in realloc_sampling_buffer() 305 *tail = virt_to_phys(sfb->sdbt) + 1; in realloc_sampling_buffer() 340 *sfb->tail = virt_to_phys((void *)sfb->sdbt) + 1; in alloc_sampling_buffer() 1375 cpuhw->lsctl.tear = virt_to_phys((void *)base) + offset * sizeof(unsigned long); in aux_output_begin() 1376 cpuhw->lsctl.dear = virt_to_phys((void *)aux->sdb_index[head]); in aux_output_begin() 1651 *tail = virt_to_phys(new) + 1; in aux_buffer_setup() 1655 *tail = virt_to_phys(pages[i]); in aux_buffer_setup() 1662 *tail = virt_to_phys(sfb->sdbt) + 1; in aux_buffer_setup() 1791 cpuhw->lsctl.tear = virt_to_phys(cpuhw->sfb.sdbt); in cpumsf_pmu_add()
|
| /linux/arch/mips/loongson64/ |
| H A D | vbios_quirk.c | 20 res->start = virt_to_phys((void *) loongson_sysconf.vgabios_addr); in pci_fixup_video()
|
| /linux/arch/csky/kernel/ |
| H A D | traps.c | 77 mtcr("cr<28, 0>", virt_to_phys(vec_base)); in trap_init() 79 VEC_INIT(VEC_RESET, (void *)virt_to_phys(_start_smp_secondary)); in trap_init()
|