virt 120 arch/alpha/include/asm/io.h void *virt; virt 126 arch/alpha/include/asm/io.h virt = phys_to_virt(address); virt 127 arch/alpha/include/asm/io.h return (long)address <= 0 ? NULL : virt; virt 26 arch/arc/include/asm/highmem.h #define PKMAP_NR(virt) (((virt) - PKMAP_BASE) >> PAGE_SHIFT) virt 189 arch/arm/crypto/aes-ce-glue.c ce_aes_ecb_encrypt(walk.dst.virt.addr, walk.src.virt.addr, virt 209 arch/arm/crypto/aes-ce-glue.c ce_aes_ecb_decrypt(walk.dst.virt.addr, walk.src.virt.addr, virt 227 arch/arm/crypto/aes-ce-glue.c ce_aes_cbc_encrypt(walk->dst.virt.addr, walk->src.virt.addr, virt 257 arch/arm/crypto/aes-ce-glue.c ce_aes_cbc_decrypt(walk->dst.virt.addr, walk->src.virt.addr, virt 327 arch/arm/crypto/aes-ce-glue.c ce_aes_cbc_cts_encrypt(walk.dst.virt.addr, walk.src.virt.addr, virt 385 arch/arm/crypto/aes-ce-glue.c ce_aes_cbc_cts_decrypt(walk.dst.virt.addr, walk.src.virt.addr, virt 404 arch/arm/crypto/aes-ce-glue.c ce_aes_ctr_encrypt(walk.dst.virt.addr, walk.src.virt.addr, virt 413 arch/arm/crypto/aes-ce-glue.c u8 *tdst = walk.dst.virt.addr; virt 414 arch/arm/crypto/aes-ce-glue.c u8 *tsrc = walk.src.virt.addr; virt 496 arch/arm/crypto/aes-ce-glue.c ce_aes_xts_encrypt(walk.dst.virt.addr, walk.src.virt.addr, virt 518 arch/arm/crypto/aes-ce-glue.c ce_aes_xts_encrypt(walk.dst.virt.addr, walk.src.virt.addr, virt 568 arch/arm/crypto/aes-ce-glue.c ce_aes_xts_decrypt(walk.dst.virt.addr, walk.src.virt.addr, virt 590 arch/arm/crypto/aes-ce-glue.c ce_aes_xts_decrypt(walk.dst.virt.addr, walk.src.virt.addr, virt 105 arch/arm/crypto/aes-neonbs-glue.c fn(walk.dst.virt.addr, walk.src.virt.addr, ctx->rk, virt 174 arch/arm/crypto/aes-neonbs-glue.c aesbs_cbc_decrypt(walk.dst.virt.addr, walk.src.virt.addr, virt 241 arch/arm/crypto/aes-neonbs-glue.c aesbs_ctr_encrypt(walk.dst.virt.addr, walk.src.virt.addr, virt 246 arch/arm/crypto/aes-neonbs-glue.c u8 *dst = walk.dst.virt.addr + blocks * AES_BLOCK_SIZE; virt 247 arch/arm/crypto/aes-neonbs-glue.c u8 *src = walk.src.virt.addr + blocks * AES_BLOCK_SIZE; virt 371 arch/arm/crypto/aes-neonbs-glue.c fn(walk.dst.virt.addr, walk.src.virt.addr, ctx->key.rk, virt 83 arch/arm/crypto/chacha-neon-glue.c chacha_doneon(state, walk.dst.virt.addr, walk.src.virt.addr, virt 10 arch/arm/include/asm/highmem.h #define PKMAP_NR(virt) (((virt) - PKMAP_BASE) >> PAGE_SHIFT) virt 57 arch/arm/include/asm/mach/map.h extern int ioremap_page(unsigned long virt, unsigned long phys, virt 24 arch/arm/mach-axxia/platsmp.c u32 *virt = (u32 *) phys_to_virt(release_phys); virt 25 arch/arm/mach-axxia/platsmp.c writel_relaxed(__pa_symbol(secondary_startup), virt); virt 28 arch/arm/mach-axxia/platsmp.c __cpuc_flush_dcache_area(virt, sizeof(u32)); virt 105 arch/arm/mach-hisi/platsmp.c void __iomem *virt; virt 107 arch/arm/mach-hisi/platsmp.c virt = ioremap(start_addr, PAGE_SIZE); virt 109 arch/arm/mach-hisi/platsmp.c writel_relaxed(0xe51ff004, virt); /* ldr pc, [pc, #-4] */ virt 110 arch/arm/mach-hisi/platsmp.c writel_relaxed(jump_addr, virt + 4); /* pc jump phy address */ virt 111 arch/arm/mach-hisi/platsmp.c iounmap(virt); virt 141 arch/arm/mach-hisi/platsmp.c void __iomem *virt; virt 143 arch/arm/mach-hisi/platsmp.c virt = phys_to_virt(start_addr); virt 145 arch/arm/mach-hisi/platsmp.c writel_relaxed(0xe51ff004, virt); virt 146 arch/arm/mach-hisi/platsmp.c writel_relaxed(jump_addr, virt + 4); virt 276 arch/arm/mach-imx/pm-imx5.c void __iomem *virt; virt 309 arch/arm/mach-imx/pm-imx5.c virt = __arm_ioremap_exec(phys, size, false); virt 313 arch/arm/mach-imx/pm-imx5.c *virt_out = virt; virt 632 arch/arm/mach-sa1100/assabet.c unsigned long virt = (unsigned long)io_p2v(phys); virt 636 arch/arm/mach-sa1100/assabet.c pmd = pmd_offset(pud_offset(pgd_offset_k(virt), virt), virt); virt 73 arch/arm/mm/dma-mapping.c void *virt; virt 80 arch/arm/mm/dma-mapping.c static struct arm_dma_buffer *arm_dma_buffer_find(void *virt) virt 87 arch/arm/mm/dma-mapping.c if (buf->virt == virt) { virt 755 arch/arm/mm/dma-mapping.c buf->virt = args.want_vaddr ? addr : page; virt 108 arch/arm/mm/ioremap.c int ioremap_page(unsigned long virt, unsigned long phys, virt 111 arch/arm/mm/ioremap.c return ioremap_page_range(virt, virt + PAGE_SIZE, phys, virt 141 arch/arm/mm/ioremap.c static void unmap_area_sections(unsigned long virt, unsigned long size) virt 143 arch/arm/mm/ioremap.c unsigned long addr = virt, end = virt + (size & ~(SZ_1M - 1)); virt 184 arch/arm/mm/ioremap.c flush_tlb_kernel_range(virt, end); virt 188 arch/arm/mm/ioremap.c remap_area_sections(unsigned long virt, unsigned long pfn, virt 191 arch/arm/mm/ioremap.c unsigned long addr = virt, end = virt + size; virt 200 arch/arm/mm/ioremap.c unmap_area_sections(virt, size); virt 220 arch/arm/mm/ioremap.c remap_area_supersections(unsigned long virt, unsigned long pfn, virt 223 arch/arm/mm/ioremap.c unsigned long addr = virt, end = virt + size; virt 232 arch/arm/mm/ioremap.c unmap_area_sections(virt, size); virt 234 arch/arm/mm/ioremap.c pgd = pgd_offset_k(virt); virt 39 arch/arm/mm/mm.h static inline pmd_t *pmd_off_k(unsigned long virt) virt 41 arch/arm/mm/mm.h return pmd_offset(pud_offset(pgd_offset_k(virt), virt), virt); virt 189 arch/arm64/crypto/aes-ce-ccm-glue.c u8 *dst = walk->dst.virt.addr; virt 190 arch/arm64/crypto/aes-ce-ccm-glue.c u8 *src = walk->src.virt.addr; virt 258 arch/arm64/crypto/aes-ce-ccm-glue.c ce_aes_ccm_encrypt(walk.dst.virt.addr, virt 259 arch/arm64/crypto/aes-ce-ccm-glue.c walk.src.virt.addr, virt 316 arch/arm64/crypto/aes-ce-ccm-glue.c ce_aes_ccm_decrypt(walk.dst.virt.addr, virt 317 arch/arm64/crypto/aes-ce-ccm-glue.c walk.src.virt.addr, virt 203 arch/arm64/crypto/aes-glue.c aes_ecb_encrypt(walk.dst.virt.addr, walk.src.virt.addr, virt 223 arch/arm64/crypto/aes-glue.c aes_ecb_decrypt(walk.dst.virt.addr, walk.src.virt.addr, virt 241 arch/arm64/crypto/aes-glue.c aes_cbc_encrypt(walk->dst.virt.addr, walk->src.virt.addr, virt 270 arch/arm64/crypto/aes-glue.c aes_cbc_decrypt(walk->dst.virt.addr, walk->src.virt.addr, virt 339 arch/arm64/crypto/aes-glue.c aes_cbc_cts_encrypt(walk.dst.virt.addr, walk.src.virt.addr, virt 396 arch/arm64/crypto/aes-glue.c aes_cbc_cts_decrypt(walk.dst.virt.addr, walk.src.virt.addr, virt 432 arch/arm64/crypto/aes-glue.c aes_essiv_cbc_encrypt(walk.dst.virt.addr, walk.src.virt.addr, virt 454 arch/arm64/crypto/aes-glue.c aes_essiv_cbc_decrypt(walk.dst.virt.addr, walk.src.virt.addr, virt 475 arch/arm64/crypto/aes-glue.c aes_ctr_encrypt(walk.dst.virt.addr, walk.src.virt.addr, virt 483 arch/arm64/crypto/aes-glue.c u8 *tdst = walk.dst.virt.addr; virt 484 arch/arm64/crypto/aes-glue.c u8 *tsrc = walk.src.virt.addr; virt 567 arch/arm64/crypto/aes-glue.c aes_xts_encrypt(walk.dst.virt.addr, walk.src.virt.addr, virt 589 arch/arm64/crypto/aes-glue.c aes_xts_encrypt(walk.dst.virt.addr, walk.src.virt.addr, virt 639 arch/arm64/crypto/aes-glue.c aes_xts_decrypt(walk.dst.virt.addr, walk.src.virt.addr, virt 662 arch/arm64/crypto/aes-glue.c aes_xts_decrypt(walk.dst.virt.addr, walk.src.virt.addr, virt 116 arch/arm64/crypto/aes-neonbs-glue.c fn(walk.dst.virt.addr, walk.src.virt.addr, ctx->rk, virt 172 arch/arm64/crypto/aes-neonbs-glue.c neon_aes_cbc_encrypt(walk.dst.virt.addr, walk.src.virt.addr, virt 198 arch/arm64/crypto/aes-neonbs-glue.c aesbs_cbc_decrypt(walk.dst.virt.addr, walk.src.virt.addr, virt 249 arch/arm64/crypto/aes-neonbs-glue.c aesbs_ctr_encrypt(walk.dst.virt.addr, walk.src.virt.addr, virt 254 arch/arm64/crypto/aes-neonbs-glue.c u8 *dst = walk.dst.virt.addr + blocks * AES_BLOCK_SIZE; virt 255 arch/arm64/crypto/aes-neonbs-glue.c u8 *src = walk.src.virt.addr + blocks * AES_BLOCK_SIZE; virt 363 arch/arm64/crypto/aes-neonbs-glue.c out = walk.dst.virt.addr; virt 364 arch/arm64/crypto/aes-neonbs-glue.c in = walk.src.virt.addr; virt 405 arch/arm64/crypto/aes-neonbs-glue.c out = walk.dst.virt.addr; virt 406 arch/arm64/crypto/aes-neonbs-glue.c in = walk.src.virt.addr; virt 80 arch/arm64/crypto/chacha-neon-glue.c chacha_doneon(state, walk.dst.virt.addr, walk.src.virt.addr, virt 456 arch/arm64/crypto/ghash-ce-glue.c pmull_gcm_encrypt(blocks, dg, walk.dst.virt.addr, virt 457 arch/arm64/crypto/ghash-ce-glue.c walk.src.virt.addr, &ctx->ghash_key, virt 473 arch/arm64/crypto/ghash-ce-glue.c u8 *dst = walk.dst.virt.addr; virt 474 arch/arm64/crypto/ghash-ce-glue.c u8 *src = walk.src.virt.addr; virt 487 arch/arm64/crypto/ghash-ce-glue.c walk.dst.virt.addr, &ctx->ghash_key, virt 506 arch/arm64/crypto/ghash-ce-glue.c u8 *dst = walk.dst.virt.addr; virt 509 arch/arm64/crypto/ghash-ce-glue.c crypto_xor_cpy(walk.dst.virt.addr, walk.src.virt.addr, ks, virt 573 arch/arm64/crypto/ghash-ce-glue.c pmull_gcm_decrypt(blocks, dg, walk.dst.virt.addr, virt 574 arch/arm64/crypto/ghash-ce-glue.c walk.src.virt.addr, &ctx->ghash_key, virt 606 arch/arm64/crypto/ghash-ce-glue.c u8 *dst = walk.dst.virt.addr; virt 607 arch/arm64/crypto/ghash-ce-glue.c u8 *src = walk.src.virt.addr; virt 609 arch/arm64/crypto/ghash-ce-glue.c ghash_do_update(blocks, dg, walk.src.virt.addr, virt 640 arch/arm64/crypto/ghash-ce-glue.c const u8 *src = walk.src.virt.addr; virt 655 arch/arm64/crypto/ghash-ce-glue.c crypto_xor_cpy(walk.dst.virt.addr, walk.src.virt.addr, iv, virt 124 arch/arm64/include/asm/mmu.h extern void __iomem *early_io_map(phys_addr_t phys, unsigned long virt); virt 127 arch/arm64/include/asm/mmu.h unsigned long virt, phys_addr_t size, virt 336 arch/arm64/mm/mmu.c unsigned long virt, phys_addr_t size, virt 342 arch/arm64/mm/mmu.c pgd_t *pgdp = pgd_offset_raw(pgdir, virt); virt 348 arch/arm64/mm/mmu.c if (WARN_ON((phys ^ virt) & ~PAGE_MASK)) virt 352 arch/arm64/mm/mmu.c addr = virt & PAGE_MASK; virt 353 arch/arm64/mm/mmu.c length = PAGE_ALIGN(size + (virt & ~PAGE_MASK)); virt 399 arch/arm64/mm/mmu.c static void __init create_mapping_noalloc(phys_addr_t phys, unsigned long virt, virt 402 arch/arm64/mm/mmu.c if ((virt >= PAGE_END) && (virt < VMALLOC_START)) { virt 404 arch/arm64/mm/mmu.c &phys, virt); virt 407 arch/arm64/mm/mmu.c __create_pgd_mapping(init_mm.pgd, phys, virt, size, prot, NULL, virt 412 arch/arm64/mm/mmu.c unsigned long virt, phys_addr_t size, virt 422 arch/arm64/mm/mmu.c __create_pgd_mapping(mm->pgd, phys, virt, size, prot, virt 426 arch/arm64/mm/mmu.c static void update_mapping_prot(phys_addr_t phys, unsigned long virt, virt 429 arch/arm64/mm/mmu.c if ((virt >= PAGE_END) && (virt < VMALLOC_START)) { virt 431 arch/arm64/mm/mmu.c &phys, virt); virt 435 arch/arm64/mm/mmu.c __create_pgd_mapping(init_mm.pgd, phys, virt, size, prot, NULL, virt 439 arch/arm64/mm/mmu.c flush_tlb_kernel_range(virt, virt + size); virt 30 arch/csky/include/asm/highmem.h #define PKMAP_NR(virt) ((virt-PKMAP_BASE) >> PAGE_SHIFT) virt 86 arch/hexagon/include/asm/mem-layout.h #define PKMAP_NR(virt) ((virt - PKMAP_BASE) >> PAGE_SHIFT) virt 232 arch/ia64/kernel/efi.c STUB_GET_TIME(virt, id) virt 233 arch/ia64/kernel/efi.c STUB_SET_TIME(virt, id) virt 234 arch/ia64/kernel/efi.c STUB_GET_WAKEUP_TIME(virt, id) virt 235 arch/ia64/kernel/efi.c STUB_SET_WAKEUP_TIME(virt, id) virt 236 arch/ia64/kernel/efi.c STUB_GET_VARIABLE(virt, id) virt 237 arch/ia64/kernel/efi.c STUB_GET_NEXT_VARIABLE(virt, id) virt 238 arch/ia64/kernel/efi.c STUB_SET_VARIABLE(virt, id) virt 239 arch/ia64/kernel/efi.c STUB_GET_NEXT_HIGH_MONO_COUNT(virt, id) virt 240 arch/ia64/kernel/efi.c STUB_RESET_SYSTEM(virt, id) virt 148 arch/m68k/atari/stram.c unsigned long atari_stram_to_phys(void *virt) virt 150 arch/m68k/atari/stram.c return (unsigned long)(virt - stram_virt_offset); virt 488 arch/m68k/mac/misc.c unsigned long virt = (unsigned long) mac_reset; virt 491 arch/m68k/mac/misc.c unsigned long offset = phys-virt; virt 30 arch/m68k/mm/sun3kmap.c static inline void do_page_mapin(unsigned long phys, unsigned long virt, virt 40 arch/m68k/mm/sun3kmap.c sun3_put_pte(virt, pte); virt 44 arch/m68k/mm/sun3kmap.c print_pte_vaddr(virt); virt 49 arch/m68k/mm/sun3kmap.c static inline void do_pmeg_mapin(unsigned long phys, unsigned long virt, virt 53 arch/m68k/mm/sun3kmap.c if(sun3_get_segmap(virt & ~SUN3_PMEG_MASK) == SUN3_INVALID_PMEG) virt 54 arch/m68k/mm/sun3kmap.c mmu_emu_map_pmeg(sun3_get_context(), virt); virt 57 arch/m68k/mm/sun3kmap.c do_page_mapin(phys, virt, type); virt 59 arch/m68k/mm/sun3kmap.c virt += PAGE_SIZE; virt 68 arch/m68k/mm/sun3kmap.c unsigned long offset, virt, ret; virt 89 arch/m68k/mm/sun3kmap.c virt = (unsigned long)area->addr; virt 90 arch/m68k/mm/sun3kmap.c ret = virt + offset; virt 95 arch/m68k/mm/sun3kmap.c seg_pages = (SUN3_PMEG_SIZE - (virt & SUN3_PMEG_MASK)) / PAGE_SIZE; virt 99 arch/m68k/mm/sun3kmap.c do_pmeg_mapin(phys, virt, type, seg_pages); virt 103 arch/m68k/mm/sun3kmap.c virt += seg_pages * PAGE_SIZE; virt 51 arch/microblaze/include/asm/highmem.h #define PKMAP_NR(virt) ((virt - PKMAP_BASE) >> PAGE_SHIFT) virt 101 arch/mips/cavium-octeon/flash_setup.c flash_map.virt = ioremap(flash_map.phys, flash_map.size); virt 46 arch/mips/include/asm/highmem.h #define PKMAP_NR(virt) ((virt-PKMAP_BASE) >> PAGE_SHIFT) virt 314 arch/mips/txx9/rbtx4939/setup.c r.x[0] = __raw_readw(map->virt + ofs); virt 322 arch/mips/txx9/rbtx4939/setup.c __raw_writew(datum.x[0], map->virt + ofs); virt 333 arch/mips/txx9/rbtx4939/setup.c from += (unsigned long)map->virt; virt 33 arch/nds32/include/asm/highmem.h #define PKMAP_NR(virt) (((virt) - (PKMAP_BASE)) >> PAGE_SHIFT) virt 79 arch/parisc/kernel/kexec.c void *virt = (void *)__fix_to_virt(FIX_TEXT_KEXEC); virt 88 arch/parisc/kernel/kexec.c desc.addr = (long long)virt; virt 90 arch/parisc/kernel/kexec.c reloc = (void *)virt; virt 93 arch/parisc/kernel/kexec.c memcpy(virt, dereference_function_descriptor(relocate_new_kernel), virt 96 arch/parisc/kernel/kexec.c *(unsigned long *)(virt + kexec_cmdline_offset) = arch->cmdline; virt 97 arch/parisc/kernel/kexec.c *(unsigned long *)(virt + kexec_initrd_start_offset) = arch->initrd_start; virt 98 arch/parisc/kernel/kexec.c *(unsigned long *)(virt + kexec_initrd_end_offset) = arch->initrd_end; virt 99 arch/parisc/kernel/kexec.c *(unsigned long *)(virt + kexec_free_mem_offset) = PAGE0->mem_free; virt 12 arch/powerpc/boot/of.h unsigned int of_claim(unsigned long virt, unsigned long size, virt 152 arch/powerpc/boot/oflib.c unsigned int of_claim(unsigned long virt, unsigned long size, virt 161 arch/powerpc/boot/oflib.c return of_call_prom("claim", 3, 1, virt, size, align); virt 164 arch/powerpc/boot/oflib.c align, size, virt); virt 168 arch/powerpc/boot/oflib.c align, size, virt); virt 171 arch/powerpc/boot/oflib.c 0x12, size, virt, virt); virt 172 arch/powerpc/boot/oflib.c return virt; virt 199 arch/powerpc/crypto/aes-spe-glue.c ppc_encrypt_ecb(walk.dst.virt.addr, walk.src.virt.addr, virt 227 arch/powerpc/crypto/aes-spe-glue.c ppc_decrypt_ecb(walk.dst.virt.addr, walk.src.virt.addr, virt 255 arch/powerpc/crypto/aes-spe-glue.c ppc_encrypt_cbc(walk.dst.virt.addr, walk.src.virt.addr, virt 283 arch/powerpc/crypto/aes-spe-glue.c ppc_decrypt_cbc(walk.dst.virt.addr, walk.src.virt.addr, virt 312 arch/powerpc/crypto/aes-spe-glue.c ppc_crypt_ctr(walk.dst.virt.addr, walk.src.virt.addr, virt 343 arch/powerpc/crypto/aes-spe-glue.c ppc_encrypt_xts(walk.dst.virt.addr, walk.src.virt.addr, virt 374 arch/powerpc/crypto/aes-spe-glue.c ppc_decrypt_xts(walk.dst.virt.addr, walk.src.virt.addr, virt 59 arch/powerpc/include/asm/highmem.h #define PKMAP_NR(virt) ((virt-PKMAP_BASE) >> PAGE_SHIFT) virt 267 arch/powerpc/include/asm/kvm_host.h unsigned long virt; virt 566 arch/powerpc/kernel/prom_init.c static unsigned int __init prom_claim(unsigned long virt, unsigned long size, virt 580 arch/powerpc/kernel/prom_init.c align, size, virt); virt 585 arch/powerpc/kernel/prom_init.c align, size, virt); virt 588 arch/powerpc/kernel/prom_init.c prom.memory, size, virt); virt 593 arch/powerpc/kernel/prom_init.c ADDR("map"), prom.mmumap, 0x12, size, virt, virt); virt 594 arch/powerpc/kernel/prom_init.c return virt; virt 596 arch/powerpc/kernel/prom_init.c return call_prom("claim", 3, 1, (prom_arg_t)virt, (prom_arg_t)size, virt 109 arch/powerpc/kvm/book3s_64_mmu_hv.c info->virt = hpt; virt 120 arch/powerpc/kvm/book3s_64_mmu_hv.c kvm->arch.sdr1 = __pa(info->virt) | (info->order - 18); virt 123 arch/powerpc/kvm/book3s_64_mmu_hv.c info->virt, (long)info->order, kvm->arch.lpid); virt 151 arch/powerpc/kvm/book3s_64_mmu_hv.c memset((void *)kvm->arch.hpt.virt, 0, 1ul << order); virt 160 arch/powerpc/kvm/book3s_64_mmu_hv.c if (kvm->arch.hpt.virt) { virt 184 arch/powerpc/kvm/book3s_64_mmu_hv.c kvm_free_hpt_cma(virt_to_page(info->virt), virt 186 arch/powerpc/kvm/book3s_64_mmu_hv.c else if (info->virt) virt 187 arch/powerpc/kvm/book3s_64_mmu_hv.c free_pages(info->virt, info->order - PAGE_SHIFT); virt 188 arch/powerpc/kvm/book3s_64_mmu_hv.c info->virt = 0; virt 374 arch/powerpc/kvm/book3s_64_mmu_hv.c hptep = (__be64 *)(kvm->arch.hpt.virt + (index << 4)); virt 538 arch/powerpc/kvm/book3s_64_mmu_hv.c hptep = (__be64 *)(kvm->arch.hpt.virt + (index << 4)); virt 816 arch/powerpc/kvm/book3s_64_mmu_hv.c __be64 *hptep = (__be64 *) (kvm->arch.hpt.virt + (i << 4)); virt 875 arch/powerpc/kvm/book3s_64_mmu_hv.c hptep = (__be64 *) (kvm->arch.hpt.virt + (i << 4)); virt 950 arch/powerpc/kvm/book3s_64_mmu_hv.c hptep = (__be64 *) (kvm->arch.hpt.virt + (i << 4)); virt 1010 arch/powerpc/kvm/book3s_64_mmu_hv.c hp = (unsigned long *)(kvm->arch.hpt.virt + (i << 4)); virt 1067 arch/powerpc/kvm/book3s_64_mmu_hv.c hptep = (__be64 *) (kvm->arch.hpt.virt + (i << 4)); virt 1235 arch/powerpc/kvm/book3s_64_mmu_hv.c resize->hpt.virt); virt 1256 arch/powerpc/kvm/book3s_64_mmu_hv.c hptep = (__be64 *)(old->virt + (idx << 4)); virt 1357 arch/powerpc/kvm/book3s_64_mmu_hv.c new_hptep = (__be64 *)(new->virt + (new_idx << 4)); virt 1446 arch/powerpc/kvm/book3s_64_mmu_hv.c if (resize->hpt.virt) virt 1763 arch/powerpc/kvm/book3s_64_mmu_hv.c hptp = (__be64 *)(kvm->arch.hpt.virt + (i * HPTE_SIZE)); virt 1892 arch/powerpc/kvm/book3s_64_mmu_hv.c hptp = (__be64 *)(kvm->arch.hpt.virt + (i * HPTE_SIZE)); virt 2090 arch/powerpc/kvm/book3s_64_mmu_hv.c hptp = (__be64 *)(kvm->arch.hpt.virt + (i * HPTE_SIZE)); virt 4588 arch/powerpc/kvm/book3s_hv.c if (!kvm->arch.hpt.virt) { virt 321 arch/powerpc/kvm/book3s_hv_rm_mmu.c hpte = (__be64 *)(kvm->arch.hpt.virt + (pte_index << 4)); virt 352 arch/powerpc/kvm/book3s_hv_rm_mmu.c hpte = (__be64 *)(kvm->arch.hpt.virt + (pte_index << 4)); virt 511 arch/powerpc/kvm/book3s_hv_rm_mmu.c hpte = (__be64 *)(kvm->arch.hpt.virt + (pte_index << 4)); virt 603 arch/powerpc/kvm/book3s_hv_rm_mmu.c hp = (__be64 *) (kvm->arch.hpt.virt + (pte_index << 4)); virt 700 arch/powerpc/kvm/book3s_hv_rm_mmu.c hpte = (__be64 *)(kvm->arch.hpt.virt + (pte_index << 4)); virt 775 arch/powerpc/kvm/book3s_hv_rm_mmu.c hpte = (__be64 *)(kvm->arch.hpt.virt + (pte_index << 4)); virt 812 arch/powerpc/kvm/book3s_hv_rm_mmu.c hpte = (__be64 *)(kvm->arch.hpt.virt + (pte_index << 4)); virt 859 arch/powerpc/kvm/book3s_hv_rm_mmu.c hpte = (__be64 *)(kvm->arch.hpt.virt + (pte_index << 4)); virt 1155 arch/powerpc/kvm/book3s_hv_rm_mmu.c hpte = (__be64 *)(kvm->arch.hpt.virt + (hash << 7)); virt 1240 arch/powerpc/kvm/book3s_hv_rm_mmu.c hpte = (__be64 *)(kvm->arch.hpt.virt + (index << 4)); virt 740 arch/powerpc/kvm/e500_mmu.c char *virt; virt 793 arch/powerpc/kvm/e500_mmu.c virt = vmap(pages, num_pages, VM_MAP, PAGE_KERNEL); virt 794 arch/powerpc/kvm/e500_mmu.c if (!virt) { virt 826 arch/powerpc/kvm/e500_mmu.c (virt + (cfg->array & (PAGE_SIZE - 1))); virt 122 arch/powerpc/mm/book3s32/mmu.c static void setibat(int index, unsigned long virt, phys_addr_t phys, virt 134 arch/powerpc/mm/book3s32/mmu.c bat[0].batu = virt | (bl << 2) | 2; /* Vs=1, Vp=0 */ virt 249 arch/powerpc/mm/book3s32/mmu.c void __init setbat(int index, unsigned long virt, phys_addr_t phys, virt 268 arch/powerpc/mm/book3s32/mmu.c bat[1].batu = virt | (bl << 2) | 2; /* Vs=1, Vp=0 */ virt 288 arch/powerpc/mm/book3s32/mmu.c bat->batu = virt | wimgxpp | 4; /* Ks=0, Ku=1 */ virt 292 arch/powerpc/mm/book3s32/mmu.c bat_addrs[index].start = virt; virt 293 arch/powerpc/mm/book3s32/mmu.c bat_addrs[index].limit = virt + ((bl + 1) << 17) - 1; virt 97 arch/powerpc/mm/mmu_decl.h extern void setbat(int index, unsigned long virt, phys_addr_t phys, virt 136 arch/powerpc/mm/mmu_decl.h extern unsigned long calc_cam_sz(unsigned long ram, unsigned long virt, virt 54 arch/powerpc/mm/nohash/44x.c static void __init ppc44x_pin_tlb(unsigned int virt, unsigned int phys) virt 69 arch/powerpc/mm/nohash/44x.c "r" (virt | PPC44x_TLB_VALID | PPC44x_TLB_256M), virt 124 arch/powerpc/mm/nohash/44x.c static void ppc47x_pin_tlb(unsigned int virt, unsigned int phys) virt 140 arch/powerpc/mm/nohash/44x.c virt, phys, bolted); virt 156 arch/powerpc/mm/nohash/44x.c "r" (virt | PPC47x_TLB0_VALID | PPC47x_TLB0_256M), virt 105 arch/powerpc/mm/nohash/fsl_booke.c static void settlbcam(int index, unsigned long virt, phys_addr_t phys, virt 119 arch/powerpc/mm/nohash/fsl_booke.c TLBCAM[index].MAS2 = virt & PAGE_MASK; virt 138 arch/powerpc/mm/nohash/fsl_booke.c tlbcam_addrs[index].start = virt; virt 139 arch/powerpc/mm/nohash/fsl_booke.c tlbcam_addrs[index].limit = virt + size - 1; virt 143 arch/powerpc/mm/nohash/fsl_booke.c unsigned long calc_cam_sz(unsigned long ram, unsigned long virt, virt 147 arch/powerpc/mm/nohash/fsl_booke.c unsigned int align = __ffs(virt | phys); virt 168 arch/powerpc/mm/nohash/fsl_booke.c static unsigned long map_mem_in_cams_addr(phys_addr_t phys, unsigned long virt, virt 179 arch/powerpc/mm/nohash/fsl_booke.c cam_sz = calc_cam_sz(ram, virt, phys); virt 181 arch/powerpc/mm/nohash/fsl_booke.c settlbcam(i, virt, phys, cam_sz, virt 186 arch/powerpc/mm/nohash/fsl_booke.c virt += cam_sz; virt 207 arch/powerpc/mm/nohash/fsl_booke.c unsigned long virt = PAGE_OFFSET; virt 210 arch/powerpc/mm/nohash/fsl_booke.c return map_mem_in_cams_addr(phys, virt, ram, max_cam_idx, dryrun); virt 190 arch/powerpc/platforms/cell/spu_manage.c void __iomem** virt, unsigned long *phys) virt 203 arch/powerpc/platforms/cell/spu_manage.c *virt = ioremap(resource.start, len); virt 204 arch/powerpc/platforms/cell/spu_manage.c if (!*virt) virt 75 arch/powerpc/sysdev/fsl_rio.h void *virt; virt 80 arch/powerpc/sysdev/fsl_rio.h void *virt; virt 163 arch/powerpc/sysdev/fsl_rmu.c void *virt; virt 173 arch/powerpc/sysdev/fsl_rmu.c void *virt; virt 315 arch/powerpc/sysdev/fsl_rmu.c fsl_dbell->dbell_ring.virt + virt 422 arch/powerpc/sysdev/fsl_rmu.c kfifo_in(&pw->pw_fifo, pw->port_write_msg.virt, virt 552 arch/powerpc/sysdev/fsl_rmu.c pw->port_write_msg.virt = dma_alloc_coherent(pw->dev, virt 555 arch/powerpc/sysdev/fsl_rmu.c if (!pw->port_write_msg.virt) { virt 609 arch/powerpc/sysdev/fsl_rmu.c pw->port_write_msg.virt, virt 665 arch/powerpc/sysdev/fsl_rmu.c struct rio_tx_desc *desc = (struct rio_tx_desc *)rmu->msg_tx_ring.virt virt 755 arch/powerpc/sysdev/fsl_rmu.c rmu->msg_tx_ring.virt = dma_alloc_coherent(priv->dev, virt 759 arch/powerpc/sysdev/fsl_rmu.c if (!rmu->msg_tx_ring.virt) { virt 804 arch/powerpc/sysdev/fsl_rmu.c rmu->msg_tx_ring.virt, rmu->msg_tx_ring.phys); virt 834 arch/powerpc/sysdev/fsl_rmu.c rmu->msg_tx_ring.virt, rmu->msg_tx_ring.phys); virt 872 arch/powerpc/sysdev/fsl_rmu.c rmu->msg_rx_ring.virt = dma_alloc_coherent(priv->dev, virt 875 arch/powerpc/sysdev/fsl_rmu.c if (!rmu->msg_rx_ring.virt) { virt 893 arch/powerpc/sysdev/fsl_rmu.c rmu->msg_rx_ring.virt, rmu->msg_rx_ring.phys); virt 934 arch/powerpc/sysdev/fsl_rmu.c rmu->msg_rx_ring.virt, rmu->msg_rx_ring.phys); virt 995 arch/powerpc/sysdev/fsl_rmu.c virt_buf = rmu->msg_rx_ring.virt + (phys_buf virt 1032 arch/powerpc/sysdev/fsl_rmu.c dbell->dbell_ring.virt = dma_alloc_coherent(dbell->dev, 512 * virt 1034 arch/powerpc/sysdev/fsl_rmu.c if (!dbell->dbell_ring.virt) { virt 1052 arch/powerpc/sysdev/fsl_rmu.c dbell->dbell_ring.virt, dbell->dbell_ring.phys); virt 270 arch/s390/crypto/aes_s390.c walk->dst.virt.addr, walk->src.virt.addr, n); virt 391 arch/s390/crypto/aes_s390.c walk->dst.virt.addr, walk->src.virt.addr, n); virt 576 arch/s390/crypto/aes_s390.c walk->dst.virt.addr, walk->src.virt.addr, n); virt 716 arch/s390/crypto/aes_s390.c walk->dst.virt.addr, walk->src.virt.addr, virt 731 arch/s390/crypto/aes_s390.c buf, walk->src.virt.addr, virt 733 arch/s390/crypto/aes_s390.c memcpy(walk->dst.virt.addr, buf, nbytes); virt 93 arch/s390/crypto/des_s390.c cpacf_km(fc, ctx->key, walk->dst.virt.addr, virt 94 arch/s390/crypto/des_s390.c walk->src.virt.addr, n); virt 117 arch/s390/crypto/des_s390.c cpacf_kmc(fc, ¶m, walk->dst.virt.addr, virt 118 arch/s390/crypto/des_s390.c walk->src.virt.addr, n); virt 383 arch/s390/crypto/des_s390.c cpacf_kmctr(fc, ctx->key, walk->dst.virt.addr, virt 384 arch/s390/crypto/des_s390.c walk->src.virt.addr, n, ctrptr); virt 395 arch/s390/crypto/des_s390.c cpacf_kmctr(fc, ctx->key, buf, walk->src.virt.addr, virt 397 arch/s390/crypto/des_s390.c memcpy(walk->dst.virt.addr, buf, nbytes); virt 173 arch/s390/crypto/paes_s390.c walk->dst.virt.addr, walk->src.virt.addr, n); virt 297 arch/s390/crypto/paes_s390.c walk->dst.virt.addr, walk->src.virt.addr, n); virt 467 arch/s390/crypto/paes_s390.c walk->dst.virt.addr, walk->src.virt.addr, n); virt 608 arch/s390/crypto/paes_s390.c walk->dst.virt.addr, walk->src.virt.addr, virt 634 arch/s390/crypto/paes_s390.c walk->src.virt.addr, AES_BLOCK_SIZE, virt 640 arch/s390/crypto/paes_s390.c memcpy(walk->dst.virt.addr, buf, nbytes); virt 62 arch/sh/include/asm/mmu.h int pmb_bolt_mapping(unsigned long virt, phys_addr_t phys, virt 71 arch/sh/include/asm/mmu.h pmb_bolt_mapping(unsigned long virt, phys_addr_t phys, virt 64 arch/sh/include/asm/tlb_64.h #define sh64_setup_tlb_slot(conf, virt, asid, phys) do { } while (0) virt 234 arch/sparc/crypto/aes_glue.c (const u64 *)walk.src.virt.addr, virt 235 arch/sparc/crypto/aes_glue.c (u64 *) walk.dst.virt.addr, virt 265 arch/sparc/crypto/aes_glue.c (const u64 *) walk.src.virt.addr, virt 266 arch/sparc/crypto/aes_glue.c (u64 *) walk.dst.virt.addr, block_len); virt 294 arch/sparc/crypto/aes_glue.c (const u64 *)walk.src.virt.addr, virt 295 arch/sparc/crypto/aes_glue.c (u64 *) walk.dst.virt.addr, virt 325 arch/sparc/crypto/aes_glue.c (const u64 *) walk.src.virt.addr, virt 326 arch/sparc/crypto/aes_glue.c (u64 *) walk.dst.virt.addr, virt 342 arch/sparc/crypto/aes_glue.c u8 *src = walk->src.virt.addr; virt 343 arch/sparc/crypto/aes_glue.c u8 *dst = walk->dst.virt.addr; virt 370 arch/sparc/crypto/aes_glue.c (const u64 *)walk.src.virt.addr, virt 371 arch/sparc/crypto/aes_glue.c (u64 *) walk.dst.virt.addr, virt 116 arch/sparc/crypto/camellia_glue.c src64 = (const u64 *)walk.src.virt.addr; virt 117 arch/sparc/crypto/camellia_glue.c dst64 = (u64 *) walk.dst.virt.addr; virt 176 arch/sparc/crypto/camellia_glue.c src64 = (const u64 *)walk.src.virt.addr; virt 177 arch/sparc/crypto/camellia_glue.c dst64 = (u64 *) walk.dst.virt.addr; virt 215 arch/sparc/crypto/camellia_glue.c src64 = (const u64 *)walk.src.virt.addr; virt 216 arch/sparc/crypto/camellia_glue.c dst64 = (u64 *) walk.dst.virt.addr; virt 110 arch/sparc/crypto/des_glue.c des_sparc64_ecb_crypt((const u64 *)walk.src.virt.addr, virt 111 arch/sparc/crypto/des_glue.c (u64 *) walk.dst.virt.addr, virt 155 arch/sparc/crypto/des_glue.c des_sparc64_cbc_encrypt((const u64 *)walk.src.virt.addr, virt 156 arch/sparc/crypto/des_glue.c (u64 *) walk.dst.virt.addr, virt 186 arch/sparc/crypto/des_glue.c des_sparc64_cbc_decrypt((const u64 *)walk.src.virt.addr, virt 187 arch/sparc/crypto/des_glue.c (u64 *) walk.dst.virt.addr, virt 276 arch/sparc/crypto/des_glue.c const u64 *src64 = (const u64 *)walk.src.virt.addr; virt 278 arch/sparc/crypto/des_glue.c (u64 *) walk.dst.virt.addr, virt 325 arch/sparc/crypto/des_glue.c const u64 *src64 = (const u64 *)walk.src.virt.addr; virt 327 arch/sparc/crypto/des_glue.c (u64 *) walk.dst.virt.addr, virt 361 arch/sparc/crypto/des_glue.c const u64 *src64 = (const u64 *)walk.src.virt.addr; virt 363 arch/sparc/crypto/des_glue.c (u64 *) walk.dst.virt.addr, virt 48 arch/sparc/include/asm/highmem.h #define PKMAP_NR(virt) ((virt - PKMAP_BASE) >> PAGE_SHIFT) virt 604 arch/sparc/mm/init_64.c if (x->virt > y->virt) virt 606 arch/sparc/mm/init_64.c if (x->virt < y->virt) virt 643 arch/sparc/mm/init_64.c if (in_obp_range(prom_trans[i].virt)) virt 648 arch/sparc/mm/init_64.c if (!in_obp_range(prom_trans[i].virt)) virt 661 arch/sparc/mm/init_64.c dest->virt = dest->size = dest->data = 0x0UL; virt 21 arch/sparc/mm/init_64.h unsigned long virt; virt 105 arch/um/include/asm/page.h #define __pa(virt) to_phys((void *) (unsigned long) (virt)) virt 283 arch/um/include/asm/pgtable.h #define __virt_to_page(virt) phys_to_page(__pa(virt)) virt 12 arch/um/include/shared/mem.h static inline unsigned long to_phys(void *virt) virt 14 arch/um/include/shared/mem.h return(((unsigned long) virt) - uml_physmem); virt 41 arch/um/include/shared/mem_user.h unsigned long virt; virt 59 arch/um/include/shared/mem_user.h extern void map_memory(unsigned long virt, unsigned long phys, virt 206 arch/um/include/shared/os.h extern int os_map_memory(void *virt, int fd, unsigned long long off, virt 274 arch/um/include/shared/os.h extern int map(struct mm_id * mm_idp, unsigned long virt, virt 41 arch/um/kernel/physmem.c void map_memory(unsigned long virt, unsigned long phys, unsigned long len, virt 48 arch/um/kernel/physmem.c err = os_map_memory((void *) virt, fd, offset, len, r, w, x); virt 55 arch/um/kernel/physmem.c "err = %d\n", virt, fd, offset, len, r, w, x, err); virt 188 arch/um/kernel/physmem.c return region->virt; virt 211 arch/um/kernel/physmem.c region->virt = iomem_start; virt 212 arch/um/kernel/physmem.c region->phys = __pa(region->virt); virt 41 arch/um/kernel/skas/uaccess.c static pte_t *maybe_map(unsigned long virt, int is_write) virt 43 arch/um/kernel/skas/uaccess.c pte_t *pte = virt_to_pte(current->mm, virt); virt 48 arch/um/kernel/skas/uaccess.c err = handle_page_fault(virt, 0, is_write, 1, &dummy_code); virt 51 arch/um/kernel/skas/uaccess.c pte = virt_to_pte(current->mm, virt); virt 122 arch/um/kernel/tlb.c static int add_mmap(unsigned long virt, unsigned long phys, unsigned long len, virt 136 arch/um/kernel/tlb.c (last->u.mmap.addr + last->u.mmap.len == virt) && virt 151 arch/um/kernel/tlb.c .u = { .mmap = { .addr = virt, virt 138 arch/um/os-Linux/process.c int os_map_memory(void *virt, int fd, unsigned long long off, unsigned long len, virt 147 arch/um/os-Linux/process.c loc = mmap64((void *) virt, len, prot, MAP_SHARED | MAP_FIXED, virt 170 arch/um/os-Linux/skas/mem.c int map(struct mm_id * mm_idp, unsigned long virt, unsigned long len, int prot, virt 174 arch/um/os-Linux/skas/mem.c unsigned long args[] = { virt, len, prot, virt 178 arch/um/os-Linux/skas/mem.c ret = run_syscall_stub(mm_idp, STUB_MMAP_NR, args, virt, virt 383 arch/um/os-Linux/start_up.c .virt = 0 }); virt 44 arch/unicore32/mm/ioremap.c int ioremap_page(unsigned long virt, unsigned long phys, virt 47 arch/unicore32/mm/ioremap.c return ioremap_page_range(virt, virt + PAGE_SIZE, phys, virt 62 arch/unicore32/mm/ioremap.c static void unmap_area_sections(unsigned long virt, unsigned long size) virt 64 arch/unicore32/mm/ioremap.c unsigned long addr = virt, end = virt + (size & ~(SZ_4M - 1)); virt 94 arch/unicore32/mm/ioremap.c flush_tlb_kernel_range(virt, end); virt 98 arch/unicore32/mm/ioremap.c remap_area_sections(unsigned long virt, unsigned long pfn, virt 101 arch/unicore32/mm/ioremap.c unsigned long addr = virt, end = virt + size; virt 108 arch/unicore32/mm/ioremap.c unmap_area_sections(virt, size); virt 17 arch/unicore32/mm/mm.h static inline pmd_t *pmd_off(pgd_t *pgd, unsigned long virt) virt 19 arch/unicore32/mm/mm.h return pmd_offset((pud_t *)pgd, virt); virt 22 arch/unicore32/mm/mm.h static inline pmd_t *pmd_off_k(unsigned long virt) virt 24 arch/unicore32/mm/mm.h return pmd_off(pgd_offset_k(virt), virt); virt 124 arch/x86/crypto/aegis128-aesni-glue.c walk->src.virt.addr, walk->dst.virt.addr); virt 129 arch/x86/crypto/aegis128-aesni-glue.c ops->crypt_tail(state, walk->nbytes, walk->src.virt.addr, virt 130 arch/x86/crypto/aegis128-aesni-glue.c walk->dst.virt.addr); virt 392 arch/x86/crypto/aesni-intel_glue.c aesni_ecb_enc(ctx, walk.dst.virt.addr, walk.src.virt.addr, virt 414 arch/x86/crypto/aesni-intel_glue.c aesni_ecb_dec(ctx, walk.dst.virt.addr, walk.src.virt.addr, virt 436 arch/x86/crypto/aesni-intel_glue.c aesni_cbc_enc(ctx, walk.dst.virt.addr, walk.src.virt.addr, virt 458 arch/x86/crypto/aesni-intel_glue.c aesni_cbc_dec(ctx, walk.dst.virt.addr, walk.src.virt.addr, virt 474 arch/x86/crypto/aesni-intel_glue.c u8 *src = walk->src.virt.addr; virt 475 arch/x86/crypto/aesni-intel_glue.c u8 *dst = walk->dst.virt.addr; virt 515 arch/x86/crypto/aesni-intel_glue.c aesni_ctr_enc_tfm(ctx, walk.dst.virt.addr, walk.src.virt.addr, virt 85 arch/x86/crypto/blowfish_glue.c u8 *wsrc = walk.src.virt.addr; virt 86 arch/x86/crypto/blowfish_glue.c u8 *wdst = walk.dst.virt.addr; virt 133 arch/x86/crypto/blowfish_glue.c u64 *src = (u64 *)walk->src.virt.addr; virt 134 arch/x86/crypto/blowfish_glue.c u64 *dst = (u64 *)walk->dst.virt.addr; virt 174 arch/x86/crypto/blowfish_glue.c u64 *src = (u64 *)walk->src.virt.addr; virt 175 arch/x86/crypto/blowfish_glue.c u64 *dst = (u64 *)walk->dst.virt.addr; virt 254 arch/x86/crypto/blowfish_glue.c u8 *src = walk->src.virt.addr; virt 255 arch/x86/crypto/blowfish_glue.c u8 *dst = walk->dst.virt.addr; virt 268 arch/x86/crypto/blowfish_glue.c u64 *src = (u64 *)walk->src.virt.addr; virt 269 arch/x86/crypto/blowfish_glue.c u64 *dst = (u64 *)walk->dst.virt.addr; virt 61 arch/x86/crypto/cast5_avx_glue.c u8 *wsrc = walk.src.virt.addr; virt 62 arch/x86/crypto/cast5_avx_glue.c u8 *wdst = walk.dst.virt.addr; virt 122 arch/x86/crypto/cast5_avx_glue.c u64 *src = (u64 *)walk.src.virt.addr; virt 123 arch/x86/crypto/cast5_avx_glue.c u64 *dst = (u64 *)walk.dst.virt.addr; virt 147 arch/x86/crypto/cast5_avx_glue.c u64 *src = (u64 *)walk->src.virt.addr; virt 148 arch/x86/crypto/cast5_avx_glue.c u64 *dst = (u64 *)walk->dst.virt.addr; virt 221 arch/x86/crypto/cast5_avx_glue.c u8 *src = walk->src.virt.addr; virt 222 arch/x86/crypto/cast5_avx_glue.c u8 *dst = walk->dst.virt.addr; virt 236 arch/x86/crypto/cast5_avx_glue.c u64 *src = (u64 *)walk->src.virt.addr; virt 237 arch/x86/crypto/cast5_avx_glue.c u64 *dst = (u64 *)walk->dst.virt.addr; virt 146 arch/x86/crypto/chacha_glue.c chacha_dosimd(state, walk->dst.virt.addr, walk->src.virt.addr, virt 86 arch/x86/crypto/des3_ede_glue.c u8 *wsrc = walk.src.virt.addr; virt 87 arch/x86/crypto/des3_ede_glue.c u8 *wdst = walk.dst.virt.addr; virt 141 arch/x86/crypto/des3_ede_glue.c u64 *src = (u64 *)walk->src.virt.addr; virt 142 arch/x86/crypto/des3_ede_glue.c u64 *dst = (u64 *)walk->dst.virt.addr; virt 182 arch/x86/crypto/des3_ede_glue.c u64 *src = (u64 *)walk->src.virt.addr; virt 183 arch/x86/crypto/des3_ede_glue.c u64 *dst = (u64 *)walk->dst.virt.addr; virt 261 arch/x86/crypto/des3_ede_glue.c u8 *src = walk->src.virt.addr; virt 262 arch/x86/crypto/des3_ede_glue.c u8 *dst = walk->dst.virt.addr; virt 276 arch/x86/crypto/des3_ede_glue.c __be64 *src = (__be64 *)walk->src.virt.addr; virt 277 arch/x86/crypto/des3_ede_glue.c __be64 *dst = (__be64 *)walk->dst.virt.addr; virt 34 arch/x86/crypto/glue_helper.c const u8 *src = walk.src.virt.addr; virt 35 arch/x86/crypto/glue_helper.c u8 *dst = walk.dst.virt.addr; virt 78 arch/x86/crypto/glue_helper.c const u128 *src = (u128 *)walk.src.virt.addr; virt 79 arch/x86/crypto/glue_helper.c u128 *dst = (u128 *)walk.dst.virt.addr; virt 111 arch/x86/crypto/glue_helper.c const u128 *src = walk.src.virt.addr; virt 112 arch/x86/crypto/glue_helper.c u128 *dst = walk.dst.virt.addr; virt 171 arch/x86/crypto/glue_helper.c const u128 *src = walk.src.virt.addr; virt 172 arch/x86/crypto/glue_helper.c u128 *dst = walk.dst.virt.addr; virt 212 arch/x86/crypto/glue_helper.c memcpy(&tmp, walk.src.virt.addr, nbytes); virt 215 arch/x86/crypto/glue_helper.c memcpy(walk.dst.virt.addr, &tmp, nbytes); virt 231 arch/x86/crypto/glue_helper.c u128 *src = walk->src.virt.addr; virt 232 arch/x86/crypto/glue_helper.c u128 *dst = walk->dst.virt.addr; virt 58 arch/x86/include/asm/highmem.h #define PKMAP_NR(virt) ((virt-PKMAP_BASE) >> PAGE_SHIFT) virt 146 arch/x86/include/asm/pci_x86.h char __iomem *virt; virt 229 arch/x86/mm/mmio-mod.c .virt = (unsigned long)addr, virt 284 arch/x86/mm/mmio-mod.c .virt = (unsigned long)addr, virt 143 arch/x86/oprofile/nmi_int.c inline int op_x86_virt_to_phys(int virt) virt 145 arch/x86/oprofile/nmi_int.c return virt % model->num_counters; virt 207 arch/x86/oprofile/nmi_int.c int virt = op_x86_phys_to_virt(i); virt 209 arch/x86/oprofile/nmi_int.c rdmsrl(counters[i].addr, multiplex[virt].saved); virt 220 arch/x86/oprofile/nmi_int.c int virt = op_x86_phys_to_virt(i); virt 222 arch/x86/oprofile/nmi_int.c wrmsrl(counters[i].addr, multiplex[virt].saved); virt 293 arch/x86/oprofile/nmi_int.c inline int op_x86_virt_to_phys(int virt) { return virt; } virt 276 arch/x86/oprofile/op_model_amd.c int virt = op_x86_phys_to_virt(i); virt 277 arch/x86/oprofile/op_model_amd.c if (!reset_value[virt]) virt 281 arch/x86/oprofile/op_model_amd.c val |= op_x86_get_ctrl(model, &counter_config[virt]); virt 366 arch/x86/oprofile/op_model_amd.c int virt = op_x86_phys_to_virt(i); virt 367 arch/x86/oprofile/op_model_amd.c if (!reset_value[virt]) virt 371 arch/x86/oprofile/op_model_amd.c wrmsrl(msrs->counters[i].addr, -(u64)reset_value[virt]); virt 376 arch/x86/oprofile/op_model_amd.c val |= op_x86_get_ctrl(model, &counter_config[virt]); virt 388 arch/x86/oprofile/op_model_amd.c int virt = op_x86_phys_to_virt(i); virt 389 arch/x86/oprofile/op_model_amd.c if (!reset_value[virt]) virt 395 arch/x86/oprofile/op_model_amd.c oprofile_add_sample(regs, virt); virt 396 arch/x86/oprofile/op_model_amd.c wrmsrl(msrs->counters[i].addr, -(u64)reset_value[virt]); virt 82 arch/x86/oprofile/op_x86_model.h extern int op_x86_virt_to_phys(int virt); virt 23 arch/x86/pci/mmconfig_64.c if (cfg && cfg->virt) virt 24 arch/x86/pci/mmconfig_64.c return cfg->virt + (PCI_MMCFG_BUS_OFFSET(bus) | (devfn << 12)); virt 139 arch/x86/pci/mmconfig_64.c cfg->virt = mcfg_ioremap(cfg); virt 140 arch/x86/pci/mmconfig_64.c if (!cfg->virt) { virt 150 arch/x86/pci/mmconfig_64.c if (cfg && cfg->virt) { virt 151 arch/x86/pci/mmconfig_64.c iounmap(cfg->virt + PCI_MMCFG_BUS_OFFSET(cfg->start_bus)); virt 152 arch/x86/pci/mmconfig_64.c cfg->virt = NULL; virt 25 arch/x86/pci/numachip.c if (cfg && cfg->virt) virt 26 arch/x86/pci/numachip.c return cfg->virt + (PCI_MMCFG_BUS_OFFSET(bus) | (devfn << 12)); virt 457 arch/x86/xen/enlighten_pv.c void *virt; virt 475 arch/x86/xen/enlighten_pv.c virt = __va(PFN_PHYS(pfn)); virt 478 arch/x86/xen/enlighten_pv.c make_lowmem_page_readonly(virt); virt 73 arch/xtensa/include/asm/cacheflush.h static inline void __flush_invalidate_dcache_page_alias(unsigned long virt, virt 75 arch/xtensa/include/asm/cacheflush.h static inline void __invalidate_dcache_page_alias(unsigned long virt, virt 81 arch/xtensa/include/asm/cacheflush.h static inline void __invalidate_icache_page_alias(unsigned long virt, virt 25 arch/xtensa/include/asm/highmem.h #define PKMAP_NR(virt) (((virt) - PKMAP_BASE) >> PAGE_SHIFT) virt 148 arch/xtensa/mm/cache.c unsigned long virt; virt 160 arch/xtensa/mm/cache.c virt = TLBTEMP_BASE_1 + (phys & DCACHE_ALIAS_MASK); virt 161 arch/xtensa/mm/cache.c __flush_invalidate_dcache_page_alias(virt, phys); virt 163 arch/xtensa/mm/cache.c virt = TLBTEMP_BASE_1 + (temp & DCACHE_ALIAS_MASK); virt 166 arch/xtensa/mm/cache.c __flush_invalidate_dcache_page_alias(virt, phys); virt 169 arch/xtensa/mm/cache.c __invalidate_icache_page_alias(virt, phys); virt 201 arch/xtensa/mm/cache.c unsigned long virt = TLBTEMP_BASE_1 + (address & DCACHE_ALIAS_MASK); virt 203 arch/xtensa/mm/cache.c __flush_invalidate_dcache_page_alias(virt, phys); virt 204 arch/xtensa/mm/cache.c __invalidate_icache_page_alias(virt, phys); virt 140 block/t10-pi.c u32 virt = bip_get_seed(bip) & 0xffffffff; virt 157 block/t10-pi.c if (be32_to_cpu(pi->ref_tag) == virt) virt 159 block/t10-pi.c virt++; virt 192 block/t10-pi.c u32 virt = bip_get_seed(bip) & 0xffffffff; virt 206 block/t10-pi.c pi->ref_tag = cpu_to_be32(virt); virt 207 block/t10-pi.c virt++; virt 340 crypto/aegis128-core.c ops->crypt_chunk(state, walk.dst.virt.addr, walk.src.virt.addr, virt 34 crypto/arc4.c arc4_crypt(ctx, walk.dst.virt.addr, walk.src.virt.addr, virt 41 crypto/blkcipher.c walk->src.virt.addr = scatterwalk_map(&walk->in); virt 46 crypto/blkcipher.c walk->dst.virt.addr = scatterwalk_map(&walk->out); virt 51 crypto/blkcipher.c scatterwalk_unmap(walk->src.virt.addr); virt 56 crypto/blkcipher.c scatterwalk_unmap(walk->dst.virt.addr); virt 83 crypto/blkcipher.c memcpy(walk->dst.virt.addr, walk->page, n); virt 161 crypto/blkcipher.c walk->dst.virt.addr = (u8 *)ALIGN((unsigned long)walk->buffer, virt 163 crypto/blkcipher.c walk->dst.virt.addr = blkcipher_get_spot(walk->dst.virt.addr, bsize); virt 164 crypto/blkcipher.c walk->src.virt.addr = blkcipher_get_spot(walk->dst.virt.addr + virt 167 crypto/blkcipher.c scatterwalk_copychunks(walk->src.virt.addr, &walk->in, bsize, 0); virt 180 crypto/blkcipher.c memcpy(tmp, walk->src.virt.addr, walk->nbytes); virt 183 crypto/blkcipher.c walk->src.virt.addr = tmp; virt 184 crypto/blkcipher.c walk->dst.virt.addr = tmp; virt 203 crypto/blkcipher.c diff |= walk->src.virt.page - walk->dst.virt.page; virt 206 crypto/blkcipher.c walk->dst.virt.addr = walk->src.virt.addr; virt 261 crypto/blkcipher.c walk->src.phys.page = virt_to_page(walk->src.virt.addr); virt 262 crypto/blkcipher.c walk->dst.phys.page = virt_to_page(walk->dst.virt.addr); virt 48 crypto/cfb.c u8 *src = walk->src.virt.addr; virt 49 crypto/cfb.c u8 *dst = walk->dst.virt.addr; virt 62 crypto/cfb.c u8 *src = walk->src.virt.addr; virt 63 crypto/cfb.c u8 *dst = walk->dst.virt.addr; virt 85 crypto/cfb.c u8 *src = walk->src.virt.addr; virt 112 crypto/cfb.c if (walk.src.virt.addr == walk.dst.virt.addr) virt 132 crypto/cfb.c u8 *src = walk->src.virt.addr; virt 133 crypto/cfb.c u8 *dst = walk->dst.virt.addr; virt 155 crypto/cfb.c u8 *src = walk->src.virt.addr; virt 172 crypto/cfb.c if (walk->src.virt.addr == walk->dst.virt.addr) virt 51 crypto/chacha_generic.c chacha_docrypt(state, walk.dst.virt.addr, walk.src.virt.addr, virt 84 crypto/crypto_null.c if (walk.src.virt.addr != walk.dst.virt.addr) virt 85 crypto/crypto_null.c memcpy(walk.dst.virt.addr, walk.src.virt.addr, virt 35 crypto/ctr.c u8 *src = walk->src.virt.addr; virt 36 crypto/ctr.c u8 *dst = walk->dst.virt.addr; virt 52 crypto/ctr.c u8 *src = walk->src.virt.addr; virt 53 crypto/ctr.c u8 *dst = walk->dst.virt.addr; virt 80 crypto/ctr.c u8 *src = walk->src.virt.addr; virt 110 crypto/ctr.c if (walk.src.virt.addr == walk.dst.virt.addr) virt 27 crypto/ecb.c const u8 *src = walk.src.virt.addr; virt 28 crypto/ecb.c u8 *dst = walk.dst.virt.addr; virt 175 crypto/lrw.c wsrc = w.src.virt.addr; virt 176 crypto/lrw.c wdst = w.dst.virt.addr; virt 28 crypto/ofb.c const u8 *src = walk.src.virt.addr; virt 29 crypto/ofb.c u8 *dst = walk.dst.virt.addr; virt 45 crypto/ofb.c crypto_xor_cpy(walk.dst.virt.addr, walk.src.virt.addr, walk.iv, virt 25 crypto/pcbc.c u8 *src = walk->src.virt.addr; virt 26 crypto/pcbc.c u8 *dst = walk->dst.virt.addr; virt 47 crypto/pcbc.c u8 *src = walk->src.virt.addr; virt 74 crypto/pcbc.c if (walk.src.virt.addr == walk.dst.virt.addr) virt 92 crypto/pcbc.c u8 *src = walk->src.virt.addr; virt 93 crypto/pcbc.c u8 *dst = walk->dst.virt.addr; virt 114 crypto/pcbc.c u8 *src = walk->src.virt.addr; virt 141 crypto/pcbc.c if (walk.src.virt.addr == walk.dst.virt.addr) virt 171 crypto/salsa20_generic.c salsa20_docrypt(state, walk.dst.virt.addr, walk.src.virt.addr, virt 60 crypto/skcipher.c walk->src.virt.addr = skcipher_map(&walk->in); virt 65 crypto/skcipher.c walk->dst.virt.addr = skcipher_map(&walk->out); virt 70 crypto/skcipher.c skcipher_unmap(&walk->in, walk->src.virt.addr); virt 75 crypto/skcipher.c skcipher_unmap(&walk->out, walk->dst.virt.addr); virt 128 crypto/skcipher.c memcpy(walk->dst.virt.addr, walk->page, n); virt 273 crypto/skcipher.c walk->dst.virt.addr = PTR_ALIGN(buffer, alignmask + 1); virt 274 crypto/skcipher.c walk->dst.virt.addr = skcipher_get_spot(walk->dst.virt.addr, bsize); virt 275 crypto/skcipher.c walk->src.virt.addr = walk->dst.virt.addr; virt 277 crypto/skcipher.c scatterwalk_copychunks(walk->src.virt.addr, &walk->in, bsize, 0); virt 291 crypto/skcipher.c memcpy(tmp, walk->src.virt.addr, walk->nbytes); virt 294 crypto/skcipher.c walk->src.virt.addr = tmp; virt 295 crypto/skcipher.c walk->dst.virt.addr = tmp; virt 330 crypto/skcipher.c diff |= walk->src.virt.page - walk->dst.virt.page; virt 333 crypto/skcipher.c walk->dst.virt.addr = walk->src.virt.addr; virt 388 crypto/skcipher.c walk->src.phys.page = virt_to_page(walk->src.virt.addr); virt 389 crypto/skcipher.c walk->dst.phys.page = virt_to_page(walk->dst.virt.addr); virt 109 crypto/xts.c wsrc = w.src.virt.addr; virt 110 crypto/xts.c wdst = w.dst.virt.addr; virt 77 drivers/acpi/osl.c void __iomem *virt; virt 239 drivers/acpi/osl.c return map->virt + (phys - map->phys); virt 247 drivers/acpi/osl.c void __iomem *virt = NULL; virt 252 drivers/acpi/osl.c virt = map->virt + (phys - map->phys); virt 256 drivers/acpi/osl.c return virt; virt 262 drivers/acpi/osl.c acpi_map_lookup_virt(void __iomem *virt, acpi_size size) virt 267 drivers/acpi/osl.c if (map->virt <= virt && virt 268 drivers/acpi/osl.c virt + size <= map->virt + map->size) virt 322 drivers/acpi/osl.c void __iomem *virt; virt 350 drivers/acpi/osl.c virt = acpi_map(pg_off, pg_sz); virt 351 drivers/acpi/osl.c if (!virt) { virt 358 drivers/acpi/osl.c map->virt = virt; virt 367 drivers/acpi/osl.c return map->virt + (phys - map->phys); virt 390 drivers/acpi/osl.c acpi_unmap(map->phys, map->virt); virt 408 drivers/acpi/osl.c void __ref acpi_os_unmap_iomem(void __iomem *virt, acpi_size size) virt 414 drivers/acpi/osl.c __acpi_unmap_table(virt, size); virt 419 drivers/acpi/osl.c map = acpi_map_lookup_virt(virt, size); virt 422 drivers/acpi/osl.c WARN(true, PREFIX "%s: bad address %p\n", __func__, virt); virt 433 drivers/acpi/osl.c void __ref acpi_os_unmap_memory(void *virt, acpi_size size) virt 435 drivers/acpi/osl.c return acpi_os_unmap_iomem((void __iomem *)virt, size); virt 442 drivers/acpi/osl.c void __iomem *virt; virt 452 drivers/acpi/osl.c virt = acpi_os_map_iomem(addr, gas->bit_width / 8); virt 453 drivers/acpi/osl.c if (!virt) virt 490 drivers/acpi/osl.c acpi_os_get_physical_address(void *virt, acpi_physical_address * phys) virt 492 drivers/acpi/osl.c if (!phys || !virt) virt 495 drivers/acpi/osl.c *phys = virt_to_phys(virt); virt 49 drivers/char/tpm/eventlog/acpi.c void __iomem *virt; virt 94 drivers/char/tpm/eventlog/acpi.c virt = acpi_os_map_iomem(start, len); virt 95 drivers/char/tpm/eventlog/acpi.c if (!virt) virt 98 drivers/char/tpm/eventlog/acpi.c memcpy_fromio(log->bios_event_log, virt, len); virt 100 drivers/char/tpm/eventlog/acpi.c acpi_os_unmap_iomem(virt, len); virt 113 drivers/cpufreq/tegra186-cpufreq.c void *virt; virt 115 drivers/cpufreq/tegra186-cpufreq.c virt = dma_alloc_coherent(bpmp->dev, sizeof(*data), &phys, virt 117 drivers/cpufreq/tegra186-cpufreq.c if (!virt) virt 120 drivers/cpufreq/tegra186-cpufreq.c data = (struct cpu_vhint_data *)virt; virt 181 drivers/cpufreq/tegra186-cpufreq.c dma_free_coherent(bpmp->dev, sizeof(*data), virt, phys); virt 300 drivers/crypto/geode-aes.c geode_aes_crypt(tctx, walk.src.virt.addr, walk.dst.virt.addr, virt 230 drivers/crypto/ixp4xx_crypto.c static inline dma_addr_t crypt_virt2phys(struct crypt_ctl *virt) virt 232 drivers/crypto/ixp4xx_crypto.c return crypt_phys + (virt - crypt_virt) * sizeof(struct crypt_ctl); virt 355 drivers/crypto/padlock-aes.c padlock_xcrypt_ecb(walk.src.virt.addr, walk.dst.virt.addr, virt 381 drivers/crypto/padlock-aes.c padlock_xcrypt_ecb(walk.src.virt.addr, walk.dst.virt.addr, virt 428 drivers/crypto/padlock-aes.c u8 *iv = padlock_xcrypt_cbc(walk.src.virt.addr, virt 429 drivers/crypto/padlock-aes.c walk.dst.virt.addr, ctx->E, virt 456 drivers/crypto/padlock-aes.c padlock_xcrypt_cbc(walk.src.virt.addr, walk.dst.virt.addr, virt 93 drivers/crypto/vmx/aes_cbc.c aes_p8_cbc_encrypt(walk.src.virt.addr, virt 94 drivers/crypto/vmx/aes_cbc.c walk.dst.virt.addr, virt 74 drivers/crypto/vmx/aes_ctr.c u8 *src = walk->src.virt.addr; virt 75 drivers/crypto/vmx/aes_ctr.c u8 *dst = walk->dst.virt.addr; virt 111 drivers/crypto/vmx/aes_ctr.c aes_p8_ctr32_encrypt_blocks(walk.src.virt.addr, virt 112 drivers/crypto/vmx/aes_ctr.c walk.dst.virt.addr, virt 118 drivers/crypto/vmx/aes_xts.c aes_p8_xts_encrypt(walk.src.virt.addr, virt 119 drivers/crypto/vmx/aes_xts.c walk.dst.virt.addr, virt 123 drivers/crypto/vmx/aes_xts.c aes_p8_xts_decrypt(walk.src.virt.addr, virt 124 drivers/crypto/vmx/aes_xts.c walk.dst.virt.addr, virt 338 drivers/dma/ioat/dma.c pos = (u8 *)ioat_chan->descs[chunk].virt + offs; virt 378 drivers/dma/ioat/dma.c descs->virt = dma_alloc_coherent(to_dev(ioat_chan), virt 380 drivers/dma/ioat/dma.c if (!descs->virt) { virt 386 drivers/dma/ioat/dma.c descs->virt, descs->hw); virt 387 drivers/dma/ioat/dma.c descs->virt = NULL; virt 408 drivers/dma/ioat/dma.c ioat_chan->descs[idx].virt, virt 410 drivers/dma/ioat/dma.c ioat_chan->descs[idx].virt = NULL; virt 85 drivers/dma/ioat/dma.h void *virt; virt 655 drivers/dma/ioat/init.c ioat_chan->descs[i].virt, virt 657 drivers/dma/ioat/init.c ioat_chan->descs[i].virt = NULL; virt 54 drivers/firmware/iscsi_ibft_find.c void *virt; virt 62 drivers/firmware/iscsi_ibft_find.c virt = isa_bus_to_virt(pos); virt 65 drivers/firmware/iscsi_ibft_find.c if (memcmp(virt, ibft_signs[i].sign, IBFT_SIGN_LEN) == virt 73 drivers/firmware/iscsi_ibft_find.c ibft_addr = (struct acpi_table_ibft *)virt; virt 376 drivers/firmware/tegra/bpmp-debugfs.c void *virt; virt 389 drivers/firmware/tegra/bpmp-debugfs.c virt = dma_alloc_coherent(bpmp->dev, sz, &phys, virt 391 drivers/firmware/tegra/bpmp-debugfs.c if (!virt) { virt 400 drivers/firmware/tegra/bpmp-debugfs.c ret = create_debugfs_mirror(bpmp, virt, nbytes, root); virt 402 drivers/firmware/tegra/bpmp-debugfs.c dma_free_coherent(bpmp->dev, sz, virt, phys); virt 22 drivers/firmware/tegra/bpmp-tegra186.c void *virt; virt 125 drivers/firmware/tegra/bpmp-tegra186.c priv->rx.virt + offset, priv->rx.phys + offset, virt 126 drivers/firmware/tegra/bpmp-tegra186.c priv->tx.virt + offset, priv->tx.phys + offset, virt 182 drivers/firmware/tegra/bpmp-tegra186.c priv->tx.virt = gen_pool_dma_alloc(priv->tx.pool, 4096, &priv->tx.phys); virt 183 drivers/firmware/tegra/bpmp-tegra186.c if (!priv->tx.virt) { virt 195 drivers/firmware/tegra/bpmp-tegra186.c priv->rx.virt = gen_pool_dma_alloc(priv->rx.pool, 4096, &priv->rx.phys); virt 196 drivers/firmware/tegra/bpmp-tegra186.c if (!priv->rx.virt) { virt 254 drivers/firmware/tegra/bpmp-tegra186.c gen_pool_free(priv->rx.pool, (unsigned long)priv->rx.virt, 4096); virt 256 drivers/firmware/tegra/bpmp-tegra186.c gen_pool_free(priv->tx.pool, (unsigned long)priv->tx.virt, 4096); virt 274 drivers/firmware/tegra/bpmp-tegra186.c gen_pool_free(priv->rx.pool, (unsigned long)priv->rx.virt, 4096); virt 275 drivers/firmware/tegra/bpmp-tegra186.c gen_pool_free(priv->tx.pool, (unsigned long)priv->tx.virt, 4096); virt 586 drivers/firmware/tegra/bpmp.c void *virt; virt 592 drivers/firmware/tegra/bpmp.c virt = dma_alloc_coherent(bpmp->dev, TAG_SZ, &phys, virt 594 drivers/firmware/tegra/bpmp.c if (!virt) virt 610 drivers/firmware/tegra/bpmp.c memcpy(tag, virt, TAG_SZ); virt 612 drivers/firmware/tegra/bpmp.c dma_free_coherent(bpmp->dev, TAG_SZ, virt, phys); virt 76 drivers/gpio/gpio-stp-xway.c void __iomem *virt; virt 97 drivers/gpio/gpio-stp-xway.c return (xway_stp_r32(chip->virt, XWAY_STP_CPU0) & BIT(gpio)); virt 116 drivers/gpio/gpio-stp-xway.c xway_stp_w32(chip->virt, chip->shadow, XWAY_STP_CPU0); virt 117 drivers/gpio/gpio-stp-xway.c xway_stp_w32_mask(chip->virt, 0, XWAY_STP_CON_SWU, XWAY_STP_CON0); virt 161 drivers/gpio/gpio-stp-xway.c xway_stp_w32(chip->virt, 0, XWAY_STP_AR); virt 162 drivers/gpio/gpio-stp-xway.c xway_stp_w32(chip->virt, 0, XWAY_STP_CPU0); virt 163 drivers/gpio/gpio-stp-xway.c xway_stp_w32(chip->virt, 0, XWAY_STP_CPU1); virt 164 drivers/gpio/gpio-stp-xway.c xway_stp_w32(chip->virt, XWAY_STP_CON_SWU, XWAY_STP_CON0); virt 165 drivers/gpio/gpio-stp-xway.c xway_stp_w32(chip->virt, 0, XWAY_STP_CON1); virt 168 drivers/gpio/gpio-stp-xway.c xway_stp_w32_mask(chip->virt, XWAY_STP_EDGE_MASK, virt 172 drivers/gpio/gpio-stp-xway.c xway_stp_w32_mask(chip->virt, XWAY_STP_GROUP_MASK, virt 176 drivers/gpio/gpio-stp-xway.c xway_stp_w32_mask(chip->virt, virt 182 drivers/gpio/gpio-stp-xway.c xway_stp_w32_mask(chip->virt, virt 186 drivers/gpio/gpio-stp-xway.c xway_stp_w32_mask(chip->virt, virt 199 drivers/gpio/gpio-stp-xway.c xway_stp_w32_mask(chip->virt, XWAY_STP_UPD_MASK, virt 214 drivers/gpio/gpio-stp-xway.c chip->virt = devm_platform_ioremap_resource(pdev, 0); virt 215 drivers/gpio/gpio-stp-xway.c if (IS_ERR(chip->virt)) virt 216 drivers/gpio/gpio-stp-xway.c return PTR_ERR(chip->virt); virt 985 drivers/gpu/drm/amd/amdgpu/amdgpu.h struct amdgpu_virt virt; virt 50 drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c adev->virt.csa_cpu_addr = ptr; virt 1808 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c r = amdgpu_allocate_static_csa(adev, &adev->virt.csa_obj, virt 2102 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_free_static_csa(&adev->virt.csa_obj); virt 2467 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->virt.caps |= AMDGPU_SRIOV_CAPS_SRIOV_VBIOS; virt 2470 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->virt.caps |= AMDGPU_SRIOV_CAPS_SRIOV_VBIOS; virt 2473 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c if (!(adev->virt.caps & AMDGPU_SRIOV_CAPS_SRIOV_VBIOS)) virt 2633 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c mutex_init(&adev->virt.vf_errors.lock); virt 2636 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c mutex_init(&adev->virt.dpm_mutex); virt 2822 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->virt.caps &= ~AMDGPU_SRIOV_CAPS_RUNTIME; virt 2823 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->virt.ops = NULL; virt 3493 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c if (!r && adev->virt.gim_feature & AMDGIM_FEATURE_GIM_FLR_VRAMLOST) { virt 300 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c r = amdgpu_device_wb_get(adev, &adev->virt.reg_val_offs); virt 326 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c amdgpu_device_wb_free(ring->adev, ring->adev->virt.reg_val_offs); virt 686 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c adev->virt.ops->get_pp_clk) { virt 1004 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c r = amdgpu_map_static_csa(adev, &fpriv->vm, adev->virt.csa_obj, virt 1066 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c BUG_ON(amdgpu_bo_reserve(adev->virt.csa_obj, true)); virt 1069 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c amdgpu_bo_unreserve(adev->virt.csa_obj); virt 355 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->virt.ops->force_dpm_level) { virt 357 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->virt.ops->force_dpm_level(adev, level); virt 841 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->virt.ops->get_pp_clk) virt 842 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c return adev->virt.ops->get_pp_clk(adev, PP_SCLK, buf); virt 924 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->virt.ops->get_pp_clk) virt 925 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c return adev->virt.ops->get_pp_clk(adev, PP_MCLK, buf); virt 41 drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c mutex_lock(&adev->virt.vf_errors.lock); virt 42 drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c index = adev->virt.vf_errors.write_count % AMDGPU_VF_ERROR_ENTRY_SIZE; virt 43 drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c adev->virt.vf_errors.code [index] = error_code; virt 44 drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c adev->virt.vf_errors.flags [index] = error_flags; virt 45 drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c adev->virt.vf_errors.data [index] = error_data; virt 46 drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c adev->virt.vf_errors.write_count ++; virt 47 drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c mutex_unlock(&adev->virt.vf_errors.lock); virt 58 drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c (!adev->virt.ops) || (!adev->virt.ops->trans_msg)) { virt 69 drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c mutex_lock(&adev->virt.vf_errors.lock); virt 71 drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c if (adev->virt.vf_errors.write_count - adev->virt.vf_errors.read_count > AMDGPU_VF_ERROR_ENTRY_SIZE) { virt 72 drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c adev->virt.vf_errors.read_count = adev->virt.vf_errors.write_count - AMDGPU_VF_ERROR_ENTRY_SIZE; virt 75 drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c while (adev->virt.vf_errors.read_count < adev->virt.vf_errors.write_count) { virt 76 drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c index =adev->virt.vf_errors.read_count % AMDGPU_VF_ERROR_ENTRY_SIZE; virt 77 drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c data1 = AMDGIM_ERROR_CODE_FLAGS_TO_MAILBOX(adev->virt.vf_errors.code[index], virt 78 drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c adev->virt.vf_errors.flags[index]); virt 79 drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c data2 = adev->virt.vf_errors.data[index] & 0xFFFFFFFF; virt 80 drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c data3 = (adev->virt.vf_errors.data[index] >> 32) & 0xFFFFFFFF; virt 82 drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c adev->virt.ops->trans_msg(adev, IDH_LOG_VF_ERROR, data1, data2, data3); virt 83 drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c adev->virt.vf_errors.read_count ++; virt 85 drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c mutex_unlock(&adev->virt.vf_errors.lock); virt 87 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c return adev->wb.wb[adev->virt.reg_val_offs]; virt 189 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c struct amdgpu_virt *virt = &adev->virt; virt 192 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c if (virt->ops && virt->ops->req_full_gpu) { virt 193 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c r = virt->ops->req_full_gpu(adev, init); virt 197 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c adev->virt.caps &= ~AMDGPU_SRIOV_CAPS_RUNTIME; virt 212 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c struct amdgpu_virt *virt = &adev->virt; virt 215 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c if (virt->ops && virt->ops->rel_full_gpu) { virt 216 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c r = virt->ops->rel_full_gpu(adev, init); virt 220 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c adev->virt.caps |= AMDGPU_SRIOV_CAPS_RUNTIME; virt 233 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c struct amdgpu_virt *virt = &adev->virt; virt 236 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c if (virt->ops && virt->ops->reset_gpu) { virt 237 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c r = virt->ops->reset_gpu(adev); virt 241 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c adev->virt.caps &= ~AMDGPU_SRIOV_CAPS_RUNTIME; virt 255 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c struct amdgpu_virt *virt = &adev->virt; virt 257 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c if (!virt->ops || !virt->ops->wait_reset) virt 260 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c return virt->ops->wait_reset(adev); virt 273 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c if (!amdgpu_sriov_vf(adev) || adev->virt.mm_table.gpu_addr) virt 278 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c &adev->virt.mm_table.bo, virt 279 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c &adev->virt.mm_table.gpu_addr, virt 280 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c (void *)&adev->virt.mm_table.cpu_addr); virt 286 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c memset((void *)adev->virt.mm_table.cpu_addr, 0, PAGE_SIZE); virt 288 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c adev->virt.mm_table.gpu_addr, virt 289 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c adev->virt.mm_table.cpu_addr); virt 300 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c if (!amdgpu_sriov_vf(adev) || !adev->virt.mm_table.gpu_addr) virt 303 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c amdgpu_bo_free_kernel(&adev->virt.mm_table.bo, virt 304 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c &adev->virt.mm_table.gpu_addr, virt 305 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c (void *)&adev->virt.mm_table.cpu_addr); virt 306 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c adev->virt.mm_table.gpu_addr = 0; virt 337 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c adev->virt.fw_reserve.p_pf2vf = NULL; virt 338 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c adev->virt.fw_reserve.p_vf2pf = NULL; virt 341 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c adev->virt.fw_reserve.p_pf2vf = virt 346 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c AMDGPU_FW_VRAM_PF2VF_READ(adev, feature_flags, &adev->virt.gim_feature); virt 351 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c adev->virt.fw_reserve.p_pf2vf, pf2vf_size, virt 352 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c adev->virt.fw_reserve.checksum_key, checksum); virt 354 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c adev->virt.fw_reserve.p_vf2pf = virt 355 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c ((void *)adev->virt.fw_reserve.p_pf2vf + virt 357 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c memset((void *)adev->virt.fw_reserve.p_vf2pf, 0, virt 375 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c adev->virt.fw_reserve.p_vf2pf, virt 377 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c adev->virt.fw_reserve.checksum_key, 0)); virt 409 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c adev->virt.ops->get_pp_clk(adev, PP_SCLK, buf); virt 426 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c adev->virt.ops->get_pp_clk(adev, PP_MCLK, buf); virt 225 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h ((amdgim_vf2pf_info *)adev->virt.fw_reserve.p_vf2pf)->field = (val); \ virt 230 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h (*val) = ((amdgim_vf2pf_info *)adev->virt.fw_reserve.p_vf2pf)->field; \ virt 235 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h if (!adev->virt.fw_reserve.p_pf2vf) \ virt 238 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h if (adev->virt.fw_reserve.p_pf2vf->version == 1) \ virt 239 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h *(val) = ((struct amdgim_pf2vf_info_v1 *)adev->virt.fw_reserve.p_pf2vf)->field; \ virt 240 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h if (adev->virt.fw_reserve.p_pf2vf->version == 2) \ virt 241 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h *(val) = ((struct amdgim_pf2vf_info_v2 *)adev->virt.fw_reserve.p_pf2vf)->field; \ virt 266 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h ((adev)->virt.caps & AMDGPU_SRIOV_CAPS_ENABLE_IOV) virt 269 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h ((adev)->virt.caps & AMDGPU_SRIOV_CAPS_IS_VF) virt 272 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h ((adev)->virt.caps & AMDGPU_SRIOV_CAPS_SRIOV_VBIOS) virt 275 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h ((adev)->virt.caps & AMDGPU_SRIOV_CAPS_RUNTIME) virt 278 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h ((adev)->virt.caps & AMDGPU_PASSTHROUGH_MODE) virt 290 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h ((adev)->virt.gim_feature & AMDGIM_FEATURE_HW_PERF_SIMULATION) virt 1721 drivers/gpu/drm/amd/amdgpu/cik.c adev->virt.caps |= AMDGPU_PASSTHROUGH_MODE; virt 4741 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c amdgpu_ring_write_multiple(ring, adev->virt.csa_cpu_addr + virt 4775 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c amdgpu_ring_write_multiple(ring, adev->virt.csa_cpu_addr + virt 4801 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c adev->virt.reg_val_offs * 4)); virt 4803 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c adev->virt.reg_val_offs * 4)); virt 1061 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c adev->virt.chained_ib_support = true; virt 1064 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c adev->virt.chained_ib_support = false; virt 6496 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c adev->virt.reg_val_offs * 4)); virt 6498 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c adev->virt.reg_val_offs * 4)); virt 7211 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (ring->adev->virt.chained_ib_support) { virt 7242 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (ring->adev->virt.chained_ib_support) { virt 5416 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c adev->virt.reg_val_offs * 4)); virt 5418 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c adev->virt.reg_val_offs * 4)); virt 180 drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c mutex_lock(&adev->virt.dpm_mutex); virt 189 drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c size = strnlen((((char *)adev->virt.fw_reserve.p_pf2vf) + virt 193 drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c strcpy(buf,((char *)adev->virt.fw_reserve.p_pf2vf + val)); virt 207 drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c mutex_unlock(&adev->virt.dpm_mutex); virt 219 drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c mutex_lock(&adev->virt.dpm_mutex); virt 233 drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c mutex_unlock(&adev->virt.dpm_mutex); virt 255 drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c adev->virt.fw_reserve.checksum_key = virt 314 drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c struct amdgpu_virt *virt = container_of(work, struct amdgpu_virt, flr_work); virt 315 drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c struct amdgpu_device *adev = container_of(virt, struct amdgpu_device, virt); virt 374 drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c schedule_work(&adev->virt.flr_work); virt 405 drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c adev->virt.ack_irq.num_types = 1; virt 406 drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c adev->virt.ack_irq.funcs = &xgpu_ai_mailbox_ack_irq_funcs; virt 407 drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c adev->virt.rcv_irq.num_types = 1; virt 408 drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c adev->virt.rcv_irq.funcs = &xgpu_ai_mailbox_rcv_irq_funcs; virt 415 drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c r = amdgpu_irq_add_id(adev, SOC15_IH_CLIENTID_BIF, 135, &adev->virt.rcv_irq); virt 419 drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c r = amdgpu_irq_add_id(adev, SOC15_IH_CLIENTID_BIF, 138, &adev->virt.ack_irq); virt 421 drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c amdgpu_irq_put(adev, &adev->virt.rcv_irq, 0); virt 432 drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c r = amdgpu_irq_get(adev, &adev->virt.rcv_irq, 0); virt 435 drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c r = amdgpu_irq_get(adev, &adev->virt.ack_irq, 0); virt 437 drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c amdgpu_irq_put(adev, &adev->virt.rcv_irq, 0); virt 441 drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c INIT_WORK(&adev->virt.flr_work, xgpu_ai_mailbox_flr_work); virt 448 drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c amdgpu_irq_put(adev, &adev->virt.ack_irq, 0); virt 449 drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c amdgpu_irq_put(adev, &adev->virt.rcv_irq, 0); virt 513 drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c struct amdgpu_virt *virt = container_of(work, struct amdgpu_virt, flr_work); virt 514 drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c struct amdgpu_device *adev = container_of(virt, struct amdgpu_device, virt); virt 554 drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c schedule_work(&adev->virt.flr_work); virt 572 drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c adev->virt.ack_irq.num_types = 1; virt 573 drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c adev->virt.ack_irq.funcs = &xgpu_vi_mailbox_ack_irq_funcs; virt 574 drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c adev->virt.rcv_irq.num_types = 1; virt 575 drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c adev->virt.rcv_irq.funcs = &xgpu_vi_mailbox_rcv_irq_funcs; virt 582 drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c r = amdgpu_irq_add_id(adev, AMDGPU_IRQ_CLIENTID_LEGACY, 135, &adev->virt.rcv_irq); virt 586 drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c r = amdgpu_irq_add_id(adev, AMDGPU_IRQ_CLIENTID_LEGACY, 138, &adev->virt.ack_irq); virt 588 drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c amdgpu_irq_put(adev, &adev->virt.rcv_irq, 0); virt 599 drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c r = amdgpu_irq_get(adev, &adev->virt.rcv_irq, 0); virt 602 drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c r = amdgpu_irq_get(adev, &adev->virt.ack_irq, 0); virt 604 drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c amdgpu_irq_put(adev, &adev->virt.rcv_irq, 0); virt 608 drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c INIT_WORK(&adev->virt.flr_work, xgpu_vi_mailbox_flr_work); virt 615 drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c amdgpu_irq_put(adev, &adev->virt.ack_irq, 0); virt 616 drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c amdgpu_irq_put(adev, &adev->virt.rcv_irq, 0); virt 290 drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c adev->virt.caps |= AMDGPU_SRIOV_CAPS_IS_VF; virt 293 drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c adev->virt.caps |= AMDGPU_SRIOV_CAPS_ENABLE_IOV; virt 297 drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c adev->virt.caps |= AMDGPU_PASSTHROUGH_MODE; virt 250 drivers/gpu/drm/amd/amdgpu/nbio_v6_1.c adev->virt.caps |= AMDGPU_SRIOV_CAPS_IS_VF; virt 253 drivers/gpu/drm/amd/amdgpu/nbio_v6_1.c adev->virt.caps |= AMDGPU_SRIOV_CAPS_ENABLE_IOV; virt 257 drivers/gpu/drm/amd/amdgpu/nbio_v6_1.c adev->virt.caps |= AMDGPU_PASSTHROUGH_MODE; virt 286 drivers/gpu/drm/amd/amdgpu/nbio_v7_0.c adev->virt.caps |= AMDGPU_PASSTHROUGH_MODE; virt 296 drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c adev->virt.caps |= AMDGPU_SRIOV_CAPS_IS_VF; virt 299 drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c adev->virt.caps |= AMDGPU_SRIOV_CAPS_ENABLE_IOV; virt 303 drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c adev->virt.caps |= AMDGPU_PASSTHROUGH_MODE; virt 1239 drivers/gpu/drm/amd/amdgpu/si.c adev->virt.caps |= AMDGPU_PASSTHROUGH_MODE; virt 713 drivers/gpu/drm/amd/amdgpu/soc15.c adev->virt.ops = &xgpu_ai_virt_ops; virt 773 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c uint32_t *init_table = adev->virt.mm_table.cpu_addr; virt 920 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c return uvd_v7_0_mmsch_start(adev, &adev->virt.mm_table); virt 213 drivers/gpu/drm/amd/amdgpu/vce_v4_0.c uint32_t *init_table = adev->virt.mm_table.cpu_addr; virt 325 drivers/gpu/drm/amd/amdgpu/vce_v4_0.c return vce_v4_0_mmsch_start(adev, &adev->virt.mm_table); virt 460 drivers/gpu/drm/amd/amdgpu/vi.c adev->virt.caps |= AMDGPU_SRIOV_CAPS_IS_VF; virt 463 drivers/gpu/drm/amd/amdgpu/vi.c adev->virt.caps |= AMDGPU_SRIOV_CAPS_ENABLE_IOV; virt 468 drivers/gpu/drm/amd/amdgpu/vi.c adev->virt.caps |= AMDGPU_PASSTHROUGH_MODE; virt 1678 drivers/gpu/drm/amd/amdgpu/vi.c adev->virt.ops = &xgpu_vi_virt_ops; virt 146 drivers/gpu/drm/i810/i810_drv.h volatile char *virt; virt 156 drivers/gpu/drm/i810/i810_drv.h virt = dev_priv->ring.virtual_start; \ virt 169 drivers/gpu/drm/i810/i810_drv.h *(volatile unsigned int *)(virt + outring) = n; \ virt 944 drivers/gpu/drm/msm/adreno/a6xx_gmu.c bo->virt = vmap(bo->pages, count, VM_IOREMAP, virt 946 drivers/gpu/drm/msm/adreno/a6xx_gmu.c if (!bo->virt) virt 13 drivers/gpu/drm/msm/adreno/a6xx_gmu.h void *virt; virt 328 drivers/gpu/drm/msm/adreno/a6xx_hfi.c struct a6xx_hfi_queue_header *header, void *virt, u64 iova, virt 333 drivers/gpu/drm/msm/adreno/a6xx_hfi.c queue->data = virt; virt 354 drivers/gpu/drm/msm/adreno/a6xx_hfi.c struct a6xx_hfi_queue_table_header *table = hfi->virt; virt 355 drivers/gpu/drm/msm/adreno/a6xx_hfi.c struct a6xx_hfi_queue_header *headers = hfi->virt + sizeof(*table); virt 377 drivers/gpu/drm/msm/adreno/a6xx_hfi.c a6xx_hfi_queue_init(&gmu->queues[0], &headers[0], hfi->virt + offset, virt 382 drivers/gpu/drm/msm/adreno/a6xx_hfi.c a6xx_hfi_queue_init(&gmu->queues[1], &headers[1], hfi->virt + offset, virt 568 drivers/gpu/drm/sti/sti_hqvdp.c void *virt; virt 616 drivers/gpu/drm/sti/sti_hqvdp.c virt = hqvdp->hqvdp_cmd + cmd_offset; virt 618 drivers/gpu/drm/sti/sti_hqvdp.c cmd, virt); virt 619 drivers/gpu/drm/sti/sti_hqvdp.c hqvdp_dbg_dump_cmd(s, (struct sti_hqvdp_cmd *)virt); virt 628 drivers/gpu/drm/sti/sti_hqvdp.c virt = hqvdp->hqvdp_cmd + cmd_offset; virt 630 drivers/gpu/drm/sti/sti_hqvdp.c cmd, virt); virt 631 drivers/gpu/drm/sti/sti_hqvdp.c hqvdp_dbg_dump_cmd(s, (struct sti_hqvdp_cmd *)virt); virt 1128 drivers/gpu/drm/tegra/drm.c void *virt; virt 1148 drivers/gpu/drm/tegra/drm.c virt = (void *)__get_free_pages(gfp, get_order(size)); virt 1149 drivers/gpu/drm/tegra/drm.c if (!virt) virt 1157 drivers/gpu/drm/tegra/drm.c *dma = virt_to_phys(virt); virt 1158 drivers/gpu/drm/tegra/drm.c return virt; virt 1170 drivers/gpu/drm/tegra/drm.c err = iommu_map(tegra->domain, *dma, virt_to_phys(virt), virt 1175 drivers/gpu/drm/tegra/drm.c return virt; virt 1180 drivers/gpu/drm/tegra/drm.c free_pages((unsigned long)virt, get_order(size)); virt 1185 drivers/gpu/drm/tegra/drm.c void tegra_drm_free(struct tegra_drm *tegra, size_t size, void *virt, virt 1199 drivers/gpu/drm/tegra/drm.c free_pages((unsigned long)virt, get_order(size)); virt 112 drivers/gpu/drm/tegra/drm.h void tegra_drm_free(struct tegra_drm *tegra, size_t size, void *virt, virt 78 drivers/gpu/ipu-v3/ipu-image-convert.c void *virt; virt 356 drivers/gpu/ipu-v3/ipu-image-convert.c if (buf->virt) virt 358 drivers/gpu/ipu-v3/ipu-image-convert.c buf->len, buf->virt, buf->phys); virt 359 drivers/gpu/ipu-v3/ipu-image-convert.c buf->virt = NULL; virt 368 drivers/gpu/ipu-v3/ipu-image-convert.c buf->virt = dma_alloc_coherent(priv->ipu->dev, buf->len, &buf->phys, virt 370 drivers/gpu/ipu-v3/ipu-image-convert.c if (!buf->virt) { virt 146 drivers/infiniband/core/umem.c unsigned long virt) virt 158 drivers/infiniband/core/umem.c va = virt; virt 717 drivers/infiniband/core/umem_odp.c void ib_umem_odp_unmap_dma_pages(struct ib_umem_odp *umem_odp, u64 virt, virt 726 drivers/infiniband/core/umem_odp.c virt = max_t(u64, virt, ib_umem_start(umem_odp)); virt 733 drivers/infiniband/core/umem_odp.c for (addr = virt; addr < bound; addr += BIT(umem_odp->page_shift)) { virt 434 drivers/infiniband/hw/cxgb3/iwch_provider.c u64 virt, int acc, struct ib_udata *udata) virt 499 drivers/infiniband/hw/cxgb3/iwch_provider.c mhp->attr.va_fbo = virt; virt 991 drivers/infiniband/hw/cxgb4/iw_cxgb4.h u64 length, u64 virt, int acc, virt 509 drivers/infiniband/hw/cxgb4/mem.c u64 virt, int acc, struct ib_udata *udata) virt 591 drivers/infiniband/hw/cxgb4/mem.c mhp->attr.va_fbo = virt; virt 12 drivers/infiniband/hw/hns/hns_roce_db.c struct ib_udata *udata, unsigned long virt, virt 15 drivers/infiniband/hw/hns/hns_roce_db.c unsigned long page_addr = virt & PAGE_MASK; virt 44 drivers/infiniband/hw/hns/hns_roce_db.c offset = virt - page_addr; virt 1267 drivers/infiniband/hw/hns/hns_roce_device.h struct ib_udata *udata, unsigned long virt, virt 1738 drivers/infiniband/hw/i40iw/i40iw_verbs.c u64 virt, virt 1790 drivers/infiniband/hw/i40iw/i40iw_verbs.c virt); virt 1798 drivers/infiniband/hw/i40iw/i40iw_verbs.c iwpbl->user_base = virt; virt 45 drivers/infiniband/hw/mlx4/doorbell.c int mlx4_ib_db_map_user(struct ib_udata *udata, unsigned long virt, virt 56 drivers/infiniband/hw/mlx4/doorbell.c if (page->user_virt == (virt & PAGE_MASK)) virt 65 drivers/infiniband/hw/mlx4/doorbell.c page->user_virt = (virt & PAGE_MASK); virt 67 drivers/infiniband/hw/mlx4/doorbell.c page->umem = ib_umem_get(udata, virt & PAGE_MASK, PAGE_SIZE, 0, 0); virt 77 drivers/infiniband/hw/mlx4/doorbell.c db->dma = sg_dma_address(page->umem->sg_head.sgl) + (virt & ~PAGE_MASK); virt 726 drivers/infiniband/hw/mlx4/mlx4_ib.h int mlx4_ib_db_map_user(struct ib_udata *udata, unsigned long virt, virt 47 drivers/infiniband/hw/mlx5/doorbell.c struct ib_udata *udata, unsigned long virt, virt 56 drivers/infiniband/hw/mlx5/doorbell.c if (page->user_virt == (virt & PAGE_MASK)) virt 65 drivers/infiniband/hw/mlx5/doorbell.c page->user_virt = (virt & PAGE_MASK); virt 67 drivers/infiniband/hw/mlx5/doorbell.c page->umem = ib_umem_get(udata, virt & PAGE_MASK, PAGE_SIZE, 0, 0); virt 77 drivers/infiniband/hw/mlx5/doorbell.c db->dma = sg_dma_address(page->umem->sg_head.sgl) + (virt & ~PAGE_MASK); virt 1100 drivers/infiniband/hw/mlx5/mlx5_ib.h struct ib_udata *udata, unsigned long virt, virt 658 drivers/infiniband/hw/mthca/mthca_cmd.c u64 virt) virt 693 drivers/infiniband/hw/mthca/mthca_cmd.c if (virt != -1) { virt 694 drivers/infiniband/hw/mthca/mthca_cmd.c pages[nent * 2] = cpu_to_be64(virt); virt 695 drivers/infiniband/hw/mthca/mthca_cmd.c virt += 1ULL << lg; virt 727 drivers/infiniband/hw/mthca/mthca_cmd.c tc, ts, (unsigned long long) virt - (ts << 10)); virt 1534 drivers/infiniband/hw/mthca/mthca_cmd.c int mthca_MAP_ICM(struct mthca_dev *dev, struct mthca_icm *icm, u64 virt) virt 1536 drivers/infiniband/hw/mthca/mthca_cmd.c return mthca_map_cmd(dev, CMD_MAP_ICM, icm, virt); virt 1539 drivers/infiniband/hw/mthca/mthca_cmd.c int mthca_MAP_ICM_page(struct mthca_dev *dev, u64 dma_addr, u64 virt) virt 1550 drivers/infiniband/hw/mthca/mthca_cmd.c inbox[0] = cpu_to_be64(virt); virt 1560 drivers/infiniband/hw/mthca/mthca_cmd.c (unsigned long long) dma_addr, (unsigned long long) virt); virt 1565 drivers/infiniband/hw/mthca/mthca_cmd.c int mthca_UNMAP_ICM(struct mthca_dev *dev, u64 virt, u32 page_count) virt 1568 drivers/infiniband/hw/mthca/mthca_cmd.c page_count, (unsigned long long) virt); virt 1570 drivers/infiniband/hw/mthca/mthca_cmd.c return mthca_cmd(dev, virt, page_count, 0, virt 277 drivers/infiniband/hw/mthca/mthca_cmd.h int mthca_MAP_ICM(struct mthca_dev *dev, struct mthca_icm *icm, u64 virt); virt 278 drivers/infiniband/hw/mthca/mthca_cmd.h int mthca_MAP_ICM_page(struct mthca_dev *dev, u64 dma_addr, u64 virt); virt 279 drivers/infiniband/hw/mthca/mthca_cmd.h int mthca_UNMAP_ICM(struct mthca_dev *dev, u64 virt, u32 page_count); virt 243 drivers/infiniband/hw/mthca/mthca_memfree.c table->virt + i * MTHCA_TABLE_CHUNK_SIZE)) { virt 269 drivers/infiniband/hw/mthca/mthca_memfree.c mthca_UNMAP_ICM(dev, table->virt + i * MTHCA_TABLE_CHUNK_SIZE, virt 357 drivers/infiniband/hw/mthca/mthca_memfree.c u64 virt, int obj_size, virt 374 drivers/infiniband/hw/mthca/mthca_memfree.c table->virt = virt; virt 396 drivers/infiniband/hw/mthca/mthca_memfree.c virt + i * MTHCA_TABLE_CHUNK_SIZE)) { virt 414 drivers/infiniband/hw/mthca/mthca_memfree.c mthca_UNMAP_ICM(dev, virt + i * MTHCA_TABLE_CHUNK_SIZE, virt 431 drivers/infiniband/hw/mthca/mthca_memfree.c table->virt + i * MTHCA_TABLE_CHUNK_SIZE, virt 64 drivers/infiniband/hw/mthca/mthca_memfree.h u64 virt; virt 87 drivers/infiniband/hw/mthca/mthca_memfree.h u64 virt, int obj_size, virt 855 drivers/infiniband/hw/mthca/mthca_provider.c u64 virt, int acc, struct ib_udata *udata) virt 932 drivers/infiniband/hw/mthca/mthca_provider.c err = mthca_mr_alloc(dev, to_mpd(pd)->pd_num, PAGE_SHIFT, virt, length, virt 104 drivers/infiniband/hw/ocrdma/ocrdma_verbs.h u64 virt, int acc, struct ib_udata *); virt 82 drivers/infiniband/hw/qedr/verbs.h u64 virt, int acc, struct ib_udata *); virt 137 drivers/media/common/saa7146/saa7146_core.c static struct scatterlist* vmalloc_to_sg(unsigned char *virt, int nr_pages) virt 147 drivers/media/common/saa7146/saa7146_core.c for (i = 0; i < nr_pages; i++, virt += PAGE_SIZE) { virt 148 drivers/media/common/saa7146/saa7146_core.c pg = vmalloc_to_page(virt); virt 174 drivers/media/pci/cobalt/cobalt-driver.h void *virt; virt 180 drivers/media/pci/cobalt/cobalt-driver.h void *virt; virt 29 drivers/media/pci/cobalt/cobalt-flash.c r.x[0] = cobalt_bus_read32(map->virt, ADRS(offset)); virt 43 drivers/media/pci/cobalt/cobalt-flash.c cobalt_bus_write16(map->virt, ADRS(offset), data); virt 54 drivers/media/pci/cobalt/cobalt-flash.c data = cobalt_bus_read32(map->virt, ADRS(src)); virt 81 drivers/media/pci/cobalt/cobalt-flash.c cobalt_bus_write16(map->virt, ADRS(dest - 2), data); virt 91 drivers/media/pci/cobalt/cobalt-flash.c map->virt = cobalt->bar1; virt 154 drivers/media/pci/cobalt/cobalt-omnitek.c struct sg_dma_descriptor *d = (struct sg_dma_descriptor *)desc->virt; virt 289 drivers/media/pci/cobalt/cobalt-omnitek.c desc->virt = dma_alloc_coherent(desc->dev, bytes, virt 291 drivers/media/pci/cobalt/cobalt-omnitek.c return desc->virt; virt 296 drivers/media/pci/cobalt/cobalt-omnitek.c if (desc->virt) virt 298 drivers/media/pci/cobalt/cobalt-omnitek.c desc->virt, desc->bus); virt 299 drivers/media/pci/cobalt/cobalt-omnitek.c desc->virt = NULL; virt 73 drivers/media/pci/cobalt/cobalt-v4l2.c if (desc->virt == NULL) { virt 77 drivers/media/pci/cobalt/cobalt-v4l2.c if (desc->virt == NULL) virt 69 drivers/media/pci/tw686x/tw686x-audio.c if (desc->virt) { virt 70 drivers/media/pci/tw686x/tw686x-audio.c memcpy(done->virt, desc->virt, virt 193 drivers/media/pci/tw686x/tw686x-audio.c ac->buf[i].virt = rt->dma_area + period_size * i; virt 315 drivers/media/pci/tw686x/tw686x-audio.c if (!ac->dma_descs[pb].virt) virt 318 drivers/media/pci/tw686x/tw686x-audio.c ac->dma_descs[pb].virt, virt 320 drivers/media/pci/tw686x/tw686x-audio.c ac->dma_descs[pb].virt = NULL; virt 339 drivers/media/pci/tw686x/tw686x-audio.c void *virt; virt 341 drivers/media/pci/tw686x/tw686x-audio.c virt = pci_alloc_consistent(dev->pci_dev, AUDIO_DMA_SIZE_MAX, virt 343 drivers/media/pci/tw686x/tw686x-audio.c if (!virt) { virt 349 drivers/media/pci/tw686x/tw686x-audio.c ac->dma_descs[pb].virt = virt; virt 65 drivers/media/pci/tw686x/tw686x-video.c memcpy(vb2_plane_vaddr(vb2_buf, 0), desc->virt, virt 94 drivers/media/pci/tw686x/tw686x-video.c if (desc->virt) { virt 96 drivers/media/pci/tw686x/tw686x-video.c desc->virt, desc->phys); virt 97 drivers/media/pci/tw686x/tw686x-video.c desc->virt = NULL; virt 107 drivers/media/pci/tw686x/tw686x-video.c void *virt; virt 109 drivers/media/pci/tw686x/tw686x-video.c WARN(vc->dma_descs[pb].virt, virt 113 drivers/media/pci/tw686x/tw686x-video.c virt = pci_alloc_consistent(dev->pci_dev, len, virt 115 drivers/media/pci/tw686x/tw686x-video.c if (!virt) { virt 122 drivers/media/pci/tw686x/tw686x-video.c vc->dma_descs[pb].virt = virt; virt 262 drivers/media/pci/tw686x/tw686x-video.c desc->virt, desc->phys); virt 263 drivers/media/pci/tw686x/tw686x-video.c desc->virt = NULL; virt 276 drivers/media/pci/tw686x/tw686x-video.c void *virt; virt 280 drivers/media/pci/tw686x/tw686x-video.c virt = pci_alloc_consistent(dev->pci_dev, desc->size, virt 282 drivers/media/pci/tw686x/tw686x-video.c if (!virt) { virt 288 drivers/media/pci/tw686x/tw686x-video.c desc->virt = virt; virt 291 drivers/media/pci/tw686x/tw686x-video.c virt = dev->video_channels[0].dma_descs[pb].virt + virt 295 drivers/media/pci/tw686x/tw686x-video.c vc->sg_descs[pb] = virt; virt 514 drivers/media/pci/tw686x/tw686x-video.c (!vc->dma_descs[0].virt || !vc->dma_descs[1].virt)) { virt 44 drivers/media/pci/tw686x/tw686x.h void *virt; virt 56 drivers/media/pci/tw686x/tw686x.h void *virt; virt 196 drivers/media/platform/aspeed-video.c void *virt; virt 672 drivers/media/platform/aspeed-video.c addr->virt = dma_alloc_coherent(video->dev, size, &addr->dma, virt 674 drivers/media/platform/aspeed-video.c if (!addr->virt) virt 684 drivers/media/platform/aspeed-video.c dma_free_coherent(video->dev, addr->size, addr->virt, addr->dma); virt 687 drivers/media/platform/aspeed-video.c addr->virt = NULL; virt 1273 drivers/media/platform/aspeed-video.c if (video->jpeg.virt) virt 1274 drivers/media/platform/aspeed-video.c aspeed_video_init_jpeg_table(video->jpeg.virt, video->yuv420); virt 1644 drivers/media/platform/aspeed-video.c aspeed_video_init_jpeg_table(video->jpeg.virt, video->yuv420); virt 1712 drivers/media/platform/aspeed-video.c dma_free_coherent(video->dev, VE_JPEG_HEADER_SIZE, video->jpeg.virt, virt 247 drivers/media/platform/s5p-mfc/s5p_mfc_common.h void *virt; virt 30 drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.c if (fw_buf->virt) { virt 77 drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.c memcpy(dev->fw_buf.virt, fw_blob->data, fw_blob->size); virt 211 drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.c if (!dev->fw_buf.virt) { virt 54 drivers/media/platform/s5p-mfc/s5p_mfc_opr.c b->virt = dev->mem_virt + offset; virt 61 drivers/media/platform/s5p-mfc/s5p_mfc_opr.c b->virt = dma_alloc_coherent(mem_dev, b->size, &b->dma, GFP_KERNEL); virt 62 drivers/media/platform/s5p-mfc/s5p_mfc_opr.c if (!b->virt) virt 67 drivers/media/platform/s5p-mfc/s5p_mfc_opr.c dma_free_coherent(mem_dev, b->size, b->virt, b->dma); virt 72 drivers/media/platform/s5p-mfc/s5p_mfc_opr.c mfc_debug(3, "Allocated addr %p %pad\n", b->virt, &b->dma); virt 87 drivers/media/platform/s5p-mfc/s5p_mfc_opr.c b->virt = dma_alloc_coherent(mem_dev, b->size, &b->dma, GFP_KERNEL); virt 88 drivers/media/platform/s5p-mfc/s5p_mfc_opr.c if (!b->virt) virt 91 drivers/media/platform/s5p-mfc/s5p_mfc_opr.c mfc_debug(3, "Allocated addr %p %pad\n", b->virt, &b->dma); virt 109 drivers/media/platform/s5p-mfc/s5p_mfc_opr.c dma_free_coherent(mem_dev, b->size, b->virt, b->dma); virt 111 drivers/media/platform/s5p-mfc/s5p_mfc_opr.c b->virt = NULL; virt 120 drivers/media/platform/s5p-mfc/s5p_mfc_opr.c dma_free_coherent(mem_dev, b->size, b->virt, b->dma); virt 121 drivers/media/platform/s5p-mfc/s5p_mfc_opr.c b->virt = NULL; virt 48 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c memset(ctx->dsc.virt, 0, ctx->dsc.size); virt 220 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c memset(ctx->ctx.virt, 0, ctx->ctx.size); virt 236 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c memset(ctx->shm.virt, 0, buf_size->shm); virt 263 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c *(u32 *)(ctx->shm.virt + ofs) = data; virt 271 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c return *(u32 *)(ctx->shm.virt + ofs); virt 379 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c memset(ctx->ctx.virt, 0, ctx->ctx.size); virt 408 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c memset(dev->ctx_buf.virt, 0, buf_size->dev_ctx); virt 46 drivers/media/platform/sti/bdisp/bdisp-hw.c void *virt; /* Virtual address for filter table */ virt 491 drivers/media/platform/sti/bdisp/bdisp-hw.c if (bdisp_h_filter[0].virt) virt 492 drivers/media/platform/sti/bdisp/bdisp-hw.c dma_free_attrs(dev, size, bdisp_h_filter[0].virt, virt 523 drivers/media/platform/sti/bdisp/bdisp-hw.c bdisp_h_filter[i].virt = base; virt 533 drivers/media/platform/sti/bdisp/bdisp-hw.c bdisp_v_filter[i].virt = base; virt 62 drivers/media/v4l2-core/videobuf-dma-sg.c static struct scatterlist *videobuf_vmalloc_to_sg(unsigned char *virt, virt 73 drivers/media/v4l2-core/videobuf-dma-sg.c for (i = 0; i < nr_pages; i++, virt += PAGE_SIZE) { virt 74 drivers/media/v4l2-core/videobuf-dma-sg.c pg = vmalloc_to_page(virt); virt 120 drivers/misc/fastrpc.c void *virt; virt 257 drivers/misc/fastrpc.c dma_free_coherent(buf->dev, buf->size, buf->virt, virt 275 drivers/misc/fastrpc.c buf->virt = NULL; virt 280 drivers/misc/fastrpc.c buf->virt = dma_alloc_coherent(dev, buf->size, (dma_addr_t *)&buf->phys, virt 282 drivers/misc/fastrpc.c if (!buf->virt) { virt 526 drivers/misc/fastrpc.c ret = dma_get_sgtable(buffer->dev, &a->sgt, buffer->virt, virt 562 drivers/misc/fastrpc.c return buf->virt ? buf->virt + pgnum * PAGE_SIZE : NULL; virt 569 drivers/misc/fastrpc.c return buf->virt; virt 578 drivers/misc/fastrpc.c return dma_mmap_coherent(buf->dev, vma, buf->virt, virt 763 drivers/misc/fastrpc.c rpra = ctx->buf->virt; virt 764 drivers/misc/fastrpc.c list = ctx->buf->virt + ctx->nscalars * sizeof(*rpra); virt 765 drivers/misc/fastrpc.c pages = ctx->buf->virt + ctx->nscalars * (sizeof(*list) + virt 767 drivers/misc/fastrpc.c args = (uintptr_t)ctx->buf->virt + metalen; virt 679 drivers/misc/mic/scif/scif_dma.c iounmap_remote(void *virt, size_t size, struct scif_copy_work *work) virt 681 drivers/misc/mic/scif/scif_dma.c scif_iounmap(virt, size, work->remote_dev); virt 96 drivers/misc/mic/scif/scif_map.h scif_iounmap(void *virt, size_t len, struct scif_dev *scifdev) virt 101 drivers/misc/mic/scif/scif_map.h sdev->hw_ops->unmap(sdev, (void __force __iomem *)virt); virt 221 drivers/mmc/host/tmio_mmc.h unsigned long *flags, void *virt) virt 223 drivers/mmc/host/tmio_mmc.h kunmap_atomic(virt - sg->offset); virt 94 drivers/mtd/chips/cfi_cmdset_0001.c size_t *retlen, void **virt, resource_size_t *phys); virt 1380 drivers/mtd/chips/cfi_cmdset_0001.c size_t *retlen, void **virt, resource_size_t *phys) virt 1388 drivers/mtd/chips/cfi_cmdset_0001.c if (!map->virt) virt 1397 drivers/mtd/chips/cfi_cmdset_0001.c *virt = map->virt + cfi->chips[chipnum].start + ofs; virt 24 drivers/mtd/chips/map_ram.c size_t *retlen, void **virt, resource_size_t *phys); virt 87 drivers/mtd/chips/map_ram.c size_t *retlen, void **virt, resource_size_t *phys) virt 91 drivers/mtd/chips/map_ram.c if (!map->virt) virt 93 drivers/mtd/chips/map_ram.c *virt = map->virt + from; virt 24 drivers/mtd/chips/map_rom.c size_t *retlen, void **virt, resource_size_t *phys); virt 73 drivers/mtd/chips/map_rom.c size_t *retlen, void **virt, resource_size_t *phys) virt 77 drivers/mtd/chips/map_rom.c if (!map->virt) virt 79 drivers/mtd/chips/map_rom.c *virt = map->virt + from; virt 66 drivers/mtd/devices/mtdram.c size_t *retlen, void **virt, resource_size_t *phys) virt 68 drivers/mtd/devices/mtdram.c *virt = mtd->priv + from; virt 73 drivers/mtd/devices/mtdram.c unsigned long page_ofs = offset_in_page(*virt); virt 74 drivers/mtd/devices/mtdram.c void *addr = *virt - page_ofs; virt 85 drivers/mtd/devices/mtdram.c *retlen = addr - *virt; virt 47 drivers/mtd/devices/phram.c size_t *retlen, void **virt, resource_size_t *phys) virt 49 drivers/mtd/devices/phram.c *virt = mtd->priv + from; virt 133 drivers/mtd/devices/pmc551.c size_t *retlen, void **virt, resource_size_t *phys); virt 190 drivers/mtd/devices/pmc551.c size_t *retlen, void **virt, resource_size_t *phys) virt 210 drivers/mtd/devices/pmc551.c *virt = priv->start + soff_lo; virt 93 drivers/mtd/devices/slram.c size_t *retlen, void **virt, resource_size_t *phys) virt 97 drivers/mtd/devices/slram.c *virt = priv->start + from; virt 88 drivers/mtd/hyperbus/hyperbus-core.c map->virt = devm_ioremap_resource(dev, &res); virt 89 drivers/mtd/hyperbus/hyperbus-core.c if (IS_ERR(map->virt)) virt 90 drivers/mtd/hyperbus/hyperbus-core.c return PTR_ERR(map->virt); virt 428 drivers/mtd/lpddr/lpddr2_nvm.c .virt = devm_ioremap_resource(&pdev->dev, add_range), virt 436 drivers/mtd/lpddr/lpddr2_nvm.c if (IS_ERR(map->virt)) virt 437 drivers/mtd/lpddr/lpddr2_nvm.c return PTR_ERR(map->virt); virt 518 drivers/mtd/lpddr/lpddr_cmds.c if (!map->virt) virt 523 drivers/mtd/lpddr/lpddr_cmds.c *mtdbuf = (void *)map->virt + chip->start + ofs; virt 32 drivers/mtd/maps/amd76xrom.c void __iomem *virt; virt 94 drivers/mtd/maps/amd76xrom.c if (window->virt) { virt 95 drivers/mtd/maps/amd76xrom.c iounmap(window->virt); virt 96 drivers/mtd/maps/amd76xrom.c window->virt = NULL; virt 166 drivers/mtd/maps/amd76xrom.c window->virt = ioremap_nocache(window->phys, window->size); virt 167 drivers/mtd/maps/amd76xrom.c if (!window->virt) { virt 202 drivers/mtd/maps/amd76xrom.c map->map.virt = (void __iomem *) virt 203 drivers/mtd/maps/amd76xrom.c (((unsigned long)(window->virt)) + offset); virt 257 drivers/mtd/maps/amd76xrom.c map->map.virt = window->virt; virt 97 drivers/mtd/maps/cfi_flagadm.c flagadm_map.virt = ioremap(FLASH_PHYS_ADDR, virt 100 drivers/mtd/maps/cfi_flagadm.c if (!flagadm_map.virt) { virt 115 drivers/mtd/maps/cfi_flagadm.c iounmap((void __iomem *)flagadm_map.virt); virt 125 drivers/mtd/maps/cfi_flagadm.c if (flagadm_map.virt) { virt 126 drivers/mtd/maps/cfi_flagadm.c iounmap((void __iomem *)flagadm_map.virt); virt 127 drivers/mtd/maps/cfi_flagadm.c flagadm_map.virt = NULL; virt 36 drivers/mtd/maps/ck804xrom.c void __iomem *virt; virt 106 drivers/mtd/maps/ck804xrom.c if (window->virt) { virt 107 drivers/mtd/maps/ck804xrom.c iounmap(window->virt); virt 108 drivers/mtd/maps/ck804xrom.c window->virt = NULL; virt 194 drivers/mtd/maps/ck804xrom.c window->virt = ioremap_nocache(window->phys, window->size); virt 195 drivers/mtd/maps/ck804xrom.c if (!window->virt) { virt 232 drivers/mtd/maps/ck804xrom.c map->map.virt = (void __iomem *) virt 233 drivers/mtd/maps/ck804xrom.c (((unsigned long)(window->virt)) + offset); virt 287 drivers/mtd/maps/ck804xrom.c map->map.virt = window->virt; virt 57 drivers/mtd/maps/dc21285.c val.x[0] = *(uint8_t*)(map->virt + ofs); virt 64 drivers/mtd/maps/dc21285.c val.x[0] = *(uint16_t*)(map->virt + ofs); virt 71 drivers/mtd/maps/dc21285.c val.x[0] = *(uint32_t*)(map->virt + ofs); virt 77 drivers/mtd/maps/dc21285.c memcpy(to, (void*)(map->virt + from), len); virt 86 drivers/mtd/maps/dc21285.c *(uint8_t*)(map->virt + adr) = d.x[0]; virt 95 drivers/mtd/maps/dc21285.c *(uint16_t*)(map->virt + adr) = d.x[0]; virt 102 drivers/mtd/maps/dc21285.c *(uint32_t*)(map->virt + adr) = d.x[0]; virt 179 drivers/mtd/maps/dc21285.c dc21285_map.virt = ioremap(DC21285_FLASH, 16*1024*1024); virt 180 drivers/mtd/maps/dc21285.c if (!dc21285_map.virt) { virt 192 drivers/mtd/maps/dc21285.c iounmap(dc21285_map.virt); virt 222 drivers/mtd/maps/dc21285.c iounmap(dc21285_map.virt); virt 98 drivers/mtd/maps/esb2rom.c void __iomem* virt; virt 139 drivers/mtd/maps/esb2rom.c if (window->virt) { virt 140 drivers/mtd/maps/esb2rom.c iounmap(window->virt); virt 141 drivers/mtd/maps/esb2rom.c window->virt = NULL; virt 252 drivers/mtd/maps/esb2rom.c window->virt = ioremap_nocache(window->phys, window->size); virt 253 drivers/mtd/maps/esb2rom.c if (!window->virt) { virt 291 drivers/mtd/maps/esb2rom.c map->map.virt = (void __iomem *) virt 292 drivers/mtd/maps/esb2rom.c (((unsigned long)(window->virt)) + offset); virt 348 drivers/mtd/maps/esb2rom.c map->map.virt = window->virt; virt 37 drivers/mtd/maps/ichxrom.c void __iomem* virt; virt 80 drivers/mtd/maps/ichxrom.c if (window->virt) { virt 81 drivers/mtd/maps/ichxrom.c iounmap(window->virt); virt 82 drivers/mtd/maps/ichxrom.c window->virt = NULL; virt 187 drivers/mtd/maps/ichxrom.c window->virt = ioremap_nocache(window->phys, window->size); virt 188 drivers/mtd/maps/ichxrom.c if (!window->virt) { virt 226 drivers/mtd/maps/ichxrom.c map->map.virt = (void __iomem *) virt 227 drivers/mtd/maps/ichxrom.c (((unsigned long)(window->virt)) + offset); virt 284 drivers/mtd/maps/ichxrom.c map->map.virt = window->virt; virt 72 drivers/mtd/maps/impa7.c impa7_map[i].virt = ioremap(pt[i].addr, pt[i].size); virt 73 drivers/mtd/maps/impa7.c if (!impa7_map[i].virt) { virt 91 drivers/mtd/maps/impa7.c iounmap((void __iomem *)impa7_map[i].virt); virt 104 drivers/mtd/maps/impa7.c iounmap((void __iomem *)impa7_map[i].virt); virt 105 drivers/mtd/maps/impa7.c impa7_map[i].virt = NULL; virt 108 drivers/mtd/maps/intel_vr_nor.c iounmap(p->map.virt); virt 155 drivers/mtd/maps/intel_vr_nor.c p->map.virt = ioremap_nocache(p->map.phys, p->map.size); virt 156 drivers/mtd/maps/intel_vr_nor.c if (!p->map.virt) { virt 237 drivers/mtd/maps/intel_vr_nor.c iounmap(p->map.virt); virt 92 drivers/mtd/maps/ixp4xx.c val.x[0] = flash_read16(map->virt + ofs); virt 105 drivers/mtd/maps/ixp4xx.c void __iomem *src = map->virt + from; virt 135 drivers/mtd/maps/ixp4xx.c flash_write16(d.x[0], map->virt + adr); virt 143 drivers/mtd/maps/ixp4xx.c flash_write16(d.x[0], map->virt + adr); virt 218 drivers/mtd/maps/ixp4xx.c info->map.virt = devm_ioremap_resource(&dev->dev, dev->resource); virt 219 drivers/mtd/maps/ixp4xx.c if (IS_ERR(info->map.virt)) { virt 220 drivers/mtd/maps/ixp4xx.c err = PTR_ERR(info->map.virt); virt 81 drivers/mtd/maps/l440gx.c l440gx_map.virt = ioremap_nocache(WINDOW_ADDR, WINDOW_SIZE); virt 83 drivers/mtd/maps/l440gx.c if (!l440gx_map.virt) { virt 89 drivers/mtd/maps/l440gx.c printk(KERN_NOTICE "window_addr = 0x%08lx\n", (unsigned long)l440gx_map.virt); virt 116 drivers/mtd/maps/l440gx.c iounmap(l440gx_map.virt); virt 150 drivers/mtd/maps/l440gx.c iounmap(l440gx_map.virt); virt 159 drivers/mtd/maps/l440gx.c iounmap(l440gx_map.virt); virt 56 drivers/mtd/maps/lantiq-flash.c temp.x[0] = *(u16 *)(map->virt + adr); virt 69 drivers/mtd/maps/lantiq-flash.c *(u16 *)(map->virt + adr) = d.x[0]; virt 84 drivers/mtd/maps/lantiq-flash.c unsigned char *f = (unsigned char *)map->virt + from; virt 99 drivers/mtd/maps/lantiq-flash.c unsigned char *t = (unsigned char *)map->virt + to; virt 134 drivers/mtd/maps/lantiq-flash.c ltq_mtd->map->virt = devm_ioremap_resource(&pdev->dev, ltq_mtd->res); virt 135 drivers/mtd/maps/lantiq-flash.c if (IS_ERR(ltq_mtd->map->virt)) virt 136 drivers/mtd/maps/lantiq-flash.c return PTR_ERR(ltq_mtd->map->virt); virt 85 drivers/mtd/maps/netsc520.c netsc520_map.virt = ioremap_nocache(netsc520_map.phys, netsc520_map.size); virt 87 drivers/mtd/maps/netsc520.c if (!netsc520_map.virt) { virt 101 drivers/mtd/maps/netsc520.c iounmap(netsc520_map.virt); virt 116 drivers/mtd/maps/netsc520.c if (netsc520_map.virt) { virt 117 drivers/mtd/maps/netsc520.c iounmap(netsc520_map.virt); virt 118 drivers/mtd/maps/netsc520.c netsc520_map.virt = NULL; virt 220 drivers/mtd/maps/nettel.c nettel_amd_map.virt = ioremap_nocache(amdaddr, maxsize); virt 221 drivers/mtd/maps/nettel.c if (!nettel_amd_map.virt) { virt 280 drivers/mtd/maps/nettel.c iounmap(nettel_amd_map.virt); virt 281 drivers/mtd/maps/nettel.c nettel_amd_map.virt = NULL; virt 306 drivers/mtd/maps/nettel.c nettel_intel_map.virt = ioremap_nocache(intel0addr, maxsize); virt 307 drivers/mtd/maps/nettel.c if (!nettel_intel_map.virt) { virt 337 drivers/mtd/maps/nettel.c iounmap(nettel_intel_map.virt); virt 340 drivers/mtd/maps/nettel.c nettel_intel_map.virt = ioremap_nocache(intel0addr, maxsize); virt 341 drivers/mtd/maps/nettel.c if (!nettel_intel_map.virt) { virt 412 drivers/mtd/maps/nettel.c iounmap(nettel_intel_map.virt); virt 417 drivers/mtd/maps/nettel.c iounmap(nettel_amd_map.virt); virt 437 drivers/mtd/maps/nettel.c if (nettel_amd_map.virt) { virt 438 drivers/mtd/maps/nettel.c iounmap(nettel_amd_map.virt); virt 439 drivers/mtd/maps/nettel.c nettel_amd_map.virt = NULL; virt 446 drivers/mtd/maps/nettel.c if (nettel_intel_map.virt) { virt 447 drivers/mtd/maps/nettel.c iounmap(nettel_intel_map.virt); virt 448 drivers/mtd/maps/nettel.c nettel_intel_map.virt = NULL; virt 153 drivers/mtd/maps/physmap-core.c word = readw(map->virt + (ofs & win_mask(info->win_order))); virt 173 drivers/mtd/maps/physmap-core.c memcpy_fromio(buf, map->virt + winofs, chunklen); virt 192 drivers/mtd/maps/physmap-core.c writew(word, map->virt + (ofs & win_mask(info->win_order))); virt 210 drivers/mtd/maps/physmap-core.c memcpy_toio(map->virt + winofs, buf, chunklen); virt 494 drivers/mtd/maps/physmap-core.c info->maps[i].virt = devm_ioremap_resource(&dev->dev, res); virt 495 drivers/mtd/maps/physmap-core.c if (IS_ERR(info->maps[i].virt)) { virt 496 drivers/mtd/maps/physmap-core.c err = PTR_ERR(info->maps[i].virt); virt 127 drivers/mtd/maps/plat-ram.c info->map.virt = devm_ioremap_resource(&pdev->dev, res); virt 128 drivers/mtd/maps/plat-ram.c if (IS_ERR(info->map.virt)) { virt 129 drivers/mtd/maps/plat-ram.c err = PTR_ERR(info->map.virt); virt 145 drivers/mtd/maps/plat-ram.c dev_dbg(&pdev->dev, "virt %p, %lu bytes\n", info->map.virt, info->map.size); virt 134 drivers/mtd/maps/pmcmsp-flash.c msp_maps[i].virt = ioremap(addr, size); virt 135 drivers/mtd/maps/pmcmsp-flash.c if (msp_maps[i].virt == NULL) { virt 144 drivers/mtd/maps/pmcmsp-flash.c iounmap(msp_maps[i].virt); virt 159 drivers/mtd/maps/pmcmsp-flash.c iounmap(msp_maps[i].virt); virt 179 drivers/mtd/maps/pmcmsp-flash.c iounmap(msp_maps[i].virt); virt 192 drivers/mtd/maps/pmcmsp-flash.c iounmap(msp_maps[i].virt); virt 210 drivers/mtd/maps/pmcmsp-flash.c iounmap((void *)msp_maps[i].virt); virt 65 drivers/mtd/maps/pxa2xx-flash.c info->map.virt = ioremap(info->map.phys, info->map.size); virt 66 drivers/mtd/maps/pxa2xx-flash.c if (!info->map.virt) { virt 87 drivers/mtd/maps/pxa2xx-flash.c iounmap((void *)info->map.virt); virt 108 drivers/mtd/maps/pxa2xx-flash.c iounmap(info->map.virt); virt 79 drivers/mtd/maps/rbtx4939-flash.c info->map.virt = devm_ioremap(&dev->dev, info->map.phys, size); virt 80 drivers/mtd/maps/rbtx4939-flash.c if (!info->map.virt) virt 62 drivers/mtd/maps/sa1100-flash.c if (subdev->map.virt) virt 63 drivers/mtd/maps/sa1100-flash.c iounmap(subdev->map.virt); virt 105 drivers/mtd/maps/sa1100-flash.c subdev->map.virt = ioremap(phys, size); virt 106 drivers/mtd/maps/sa1100-flash.c if (!subdev->map.virt) { virt 228 drivers/mtd/maps/sc520cdp.c sc520cdp_map[i].virt = ioremap_nocache(sc520cdp_map[i].phys, sc520cdp_map[i].size); virt 230 drivers/mtd/maps/sc520cdp.c if (!sc520cdp_map[i].virt) { virt 235 drivers/mtd/maps/sc520cdp.c iounmap(sc520cdp_map[j].virt); virt 254 drivers/mtd/maps/sc520cdp.c iounmap(sc520cdp_map[i].virt); virt 282 drivers/mtd/maps/sc520cdp.c if (sc520cdp_map[i].virt) { virt 283 drivers/mtd/maps/sc520cdp.c iounmap(sc520cdp_map[i].virt); virt 284 drivers/mtd/maps/sc520cdp.c sc520cdp_map[i].virt = NULL; virt 164 drivers/mtd/maps/scb2_flash.c scb2_map.virt = scb2_ioaddr; virt 179 drivers/mtd/maps/scx200_docflash.c scx200_docflash_map.virt = ioremap(docmem.start, scx200_docflash_map.size); virt 180 drivers/mtd/maps/scx200_docflash.c if (!scx200_docflash_map.virt) { virt 189 drivers/mtd/maps/scx200_docflash.c iounmap(scx200_docflash_map.virt); virt 212 drivers/mtd/maps/scx200_docflash.c if (scx200_docflash_map.virt) { virt 213 drivers/mtd/maps/scx200_docflash.c iounmap(scx200_docflash_map.virt); virt 40 drivers/mtd/maps/solutionengine.c soleng_flash_map.virt = (void __iomem *)P2SEGADDR(0); virt 42 drivers/mtd/maps/solutionengine.c soleng_eprom_map.virt = (void __iomem *)P1SEGADDR(0x01000000); virt 52 drivers/mtd/maps/solutionengine.c soleng_flash_map.virt = P2SEGADDR(0x01000000); virt 54 drivers/mtd/maps/solutionengine.c soleng_eprom_map.virt = P1SEGADDR(0); virt 82 drivers/mtd/maps/sun_uflash.c up->map.virt = of_ioremap(&op->resource[0], 0, up->map.size, virt 84 drivers/mtd/maps/sun_uflash.c if (!up->map.virt) { virt 96 drivers/mtd/maps/sun_uflash.c of_iounmap(&op->resource[0], up->map.virt, up->map.size); virt 132 drivers/mtd/maps/sun_uflash.c if (up->map.virt) { virt 133 drivers/mtd/maps/sun_uflash.c of_iounmap(&op->resource[0], up->map.virt, up->map.size); virt 134 drivers/mtd/maps/sun_uflash.c up->map.virt = NULL; virt 59 drivers/mtd/maps/ts5500_flash.c ts5500_map.virt = ioremap_nocache(ts5500_map.phys, ts5500_map.size); virt 61 drivers/mtd/maps/ts5500_flash.c if (!ts5500_map.virt) { virt 84 drivers/mtd/maps/ts5500_flash.c iounmap(ts5500_map.virt); virt 96 drivers/mtd/maps/ts5500_flash.c if (ts5500_map.virt) { virt 97 drivers/mtd/maps/ts5500_flash.c iounmap(ts5500_map.virt); virt 98 drivers/mtd/maps/ts5500_flash.c ts5500_map.virt = NULL; virt 55 drivers/mtd/maps/uclinux.c size_t *retlen, void **virt, resource_size_t *phys) virt 58 drivers/mtd/maps/uclinux.c *virt = map->virt + from; virt 92 drivers/mtd/maps/uclinux.c mapp->virt = phys_to_virt(mapp->phys); virt 94 drivers/mtd/maps/uclinux.c if (mapp->virt == 0) { virt 1092 drivers/mtd/mtdcore.c void **virt, resource_size_t *phys) virt 1095 drivers/mtd/mtdcore.c *virt = NULL; virt 1104 drivers/mtd/mtdcore.c return mtd->_point(mtd, from, len, retlen, virt, phys); virt 1130 drivers/mtd/mtdcore.c void *virt; virt 1133 drivers/mtd/mtdcore.c ret = mtd_point(mtd, offset, len, &retlen, &virt, NULL); virt 1140 drivers/mtd/mtdcore.c return (unsigned long)virt; virt 85 drivers/mtd/mtdpart.c size_t *retlen, void **virt, resource_size_t *phys) virt 90 drivers/mtd/mtdpart.c retlen, virt, phys); virt 153 drivers/mtd/nand/raw/atmel/nand-controller.c void __iomem *virt; virt 255 drivers/mtd/nand/raw/atmel/nand-controller.c void __iomem *virt; virt 421 drivers/mtd/nand/raw/atmel/nand-controller.c return ioread8(nand->activecs->io.virt); virt 429 drivers/mtd/nand/raw/atmel/nand-controller.c iowrite16(byte | (byte << 8), nand->activecs->io.virt); virt 431 drivers/mtd/nand/raw/atmel/nand-controller.c iowrite8(byte, nand->activecs->io.virt); virt 453 drivers/mtd/nand/raw/atmel/nand-controller.c ioread16_rep(nand->activecs->io.virt, buf, len / 2); virt 455 drivers/mtd/nand/raw/atmel/nand-controller.c ioread8_rep(nand->activecs->io.virt, buf, len); virt 477 drivers/mtd/nand/raw/atmel/nand-controller.c iowrite16_rep(nand->activecs->io.virt, buf, len / 2); virt 479 drivers/mtd/nand/raw/atmel/nand-controller.c iowrite8_rep(nand->activecs->io.virt, buf, len); virt 641 drivers/mtd/nand/raw/atmel/nand-controller.c writeb(cmd, nand->activecs->io.virt + nc->caps->ale_offs); virt 643 drivers/mtd/nand/raw/atmel/nand-controller.c writeb(cmd, nand->activecs->io.virt + nc->caps->cle_offs); virt 662 drivers/mtd/nand/raw/atmel/nand-controller.c memcpy_toio(nc->sram.virt, buf, mtd->writesize); virt 665 drivers/mtd/nand/raw/atmel/nand-controller.c memcpy_toio(nc->sram.virt + mtd->writesize, chip->oob_poi, virt 684 drivers/mtd/nand/raw/atmel/nand-controller.c memcpy_fromio(buf, nc->sram.virt, mtd->writesize); virt 687 drivers/mtd/nand/raw/atmel/nand-controller.c memcpy_fromio(chip->oob_poi, nc->sram.virt + mtd->writesize, virt 1616 drivers/mtd/nand/raw/atmel/nand-controller.c nand->cs[i].io.virt = devm_ioremap_resource(nc->dev, &res); virt 1617 drivers/mtd/nand/raw/atmel/nand-controller.c if (IS_ERR(nand->cs[i].io.virt)) virt 1618 drivers/mtd/nand/raw/atmel/nand-controller.c return ERR_CAST(nand->cs[i].io.virt); virt 1733 drivers/mtd/nand/raw/atmel/nand-controller.c nand->cs[0].io.virt = devm_ioremap_resource(dev, res); virt 1734 drivers/mtd/nand/raw/atmel/nand-controller.c if (IS_ERR(nand->cs[0].io.virt)) virt 1735 drivers/mtd/nand/raw/atmel/nand-controller.c return PTR_ERR(nand->cs[0].io.virt); virt 2168 drivers/mtd/nand/raw/atmel/nand-controller.c nc->sram.virt = devm_ioremap_resource(dev, &res); virt 2169 drivers/mtd/nand/raw/atmel/nand-controller.c if (IS_ERR(nc->sram.virt)) { virt 2170 drivers/mtd/nand/raw/atmel/nand-controller.c ret = PTR_ERR(nc->sram.virt); virt 2228 drivers/mtd/nand/raw/atmel/nand-controller.c nc->sram.virt = (void __iomem *)gen_pool_dma_alloc(nc->sram.pool, virt 2231 drivers/mtd/nand/raw/atmel/nand-controller.c if (!nc->sram.virt) { virt 2253 drivers/mtd/nand/raw/atmel/nand-controller.c (unsigned long)hsmc_nc->sram.virt, virt 86 drivers/net/can/softing/softing.h __iomem uint8_t *virt, unsigned int size, int offset); virt 280 drivers/net/ethernet/8390/pcnet_cs.c u_char __iomem *base, *virt; virt 290 drivers/net/ethernet/8390/pcnet_cs.c virt = ioremap(link->resource[2]->start, virt 292 drivers/net/ethernet/8390/pcnet_cs.c if (unlikely(!virt)) { virt 300 drivers/net/ethernet/8390/pcnet_cs.c base = &virt[hw_info[i].offset & (resource_size(link->resource[2])-1)]; virt 310 drivers/net/ethernet/8390/pcnet_cs.c iounmap(virt); virt 273 drivers/net/ethernet/agere/et131x.c void *virt[MAX_DESC_PER_RING_RX]; virt 1960 drivers/net/ethernet/agere/et131x.c fbr->virt[k] = (u8 *)fbr->mem_virtaddrs[i] + virt 2285 drivers/net/ethernet/agere/et131x.c skb_put_data(skb, fbr->virt[buff_index], rfd->len); virt 116 drivers/net/ethernet/atheros/alx/alx.h void *virt; virt 624 drivers/net/ethernet/atheros/alx/main.c txq->tpd = alx->descmem.virt + offset; virt 638 drivers/net/ethernet/atheros/alx/main.c rxq->rrd = alx->descmem.virt + offset; virt 642 drivers/net/ethernet/atheros/alx/main.c rxq->rfd = alx->descmem.virt + offset; virt 663 drivers/net/ethernet/atheros/alx/main.c alx->descmem.virt = dma_alloc_coherent(&alx->hw.pdev->dev, virt 666 drivers/net/ethernet/atheros/alx/main.c if (!alx->descmem.virt) virt 703 drivers/net/ethernet/atheros/alx/main.c if (alx->descmem.virt) virt 706 drivers/net/ethernet/atheros/alx/main.c alx->descmem.virt, virt 1630 drivers/net/ethernet/intel/ice/ice_adminq_cmd.h struct ice_aqc_pf_vf_msg virt; virt 31 drivers/net/ethernet/intel/ice/ice_sriov.c cmd = &desc.params.virt; virt 1516 drivers/net/ethernet/mellanox/mlx4/fw.c int mlx4_map_cmd(struct mlx4_dev *dev, u16 op, struct mlx4_icm *icm, u64 virt) virt 1551 drivers/net/ethernet/mellanox/mlx4/fw.c if (virt != -1) { virt 1552 drivers/net/ethernet/mellanox/mlx4/fw.c pages[nent * 2] = cpu_to_be64(virt); virt 1553 drivers/net/ethernet/mellanox/mlx4/fw.c virt += 1ULL << lg; virt 1588 drivers/net/ethernet/mellanox/mlx4/fw.c tc, ts, (unsigned long long) virt - (ts << 10)); virt 248 drivers/net/ethernet/mellanox/mlx4/fw.h int mlx4_map_cmd(struct mlx4_dev *dev, u16 op, struct mlx4_icm *icm, u64 virt); virt 236 drivers/net/ethernet/mellanox/mlx4/icm.c static int mlx4_MAP_ICM(struct mlx4_dev *dev, struct mlx4_icm *icm, u64 virt) virt 238 drivers/net/ethernet/mellanox/mlx4/icm.c return mlx4_map_cmd(dev, MLX4_CMD_MAP_ICM, icm, virt); virt 241 drivers/net/ethernet/mellanox/mlx4/icm.c static int mlx4_UNMAP_ICM(struct mlx4_dev *dev, u64 virt, u32 page_count) virt 243 drivers/net/ethernet/mellanox/mlx4/icm.c return mlx4_cmd(dev, virt, page_count, 0, MLX4_CMD_UNMAP_ICM, virt 279 drivers/net/ethernet/mellanox/mlx4/icm.c if (mlx4_MAP_ICM(dev, table->icm[i], table->virt + virt 305 drivers/net/ethernet/mellanox/mlx4/icm.c mlx4_UNMAP_ICM(dev, table->virt + offset, virt 416 drivers/net/ethernet/mellanox/mlx4/icm.c u64 virt, int obj_size, u32 nobj, int reserved, virt 433 drivers/net/ethernet/mellanox/mlx4/icm.c table->virt = virt; virt 453 drivers/net/ethernet/mellanox/mlx4/icm.c if (mlx4_MAP_ICM(dev, table->icm[i], virt + i * MLX4_TABLE_CHUNK_SIZE)) { virt 471 drivers/net/ethernet/mellanox/mlx4/icm.c mlx4_UNMAP_ICM(dev, virt + i * MLX4_TABLE_CHUNK_SIZE, virt 487 drivers/net/ethernet/mellanox/mlx4/icm.c mlx4_UNMAP_ICM(dev, table->virt + i * MLX4_TABLE_CHUNK_SIZE, virt 91 drivers/net/ethernet/mellanox/mlx4/icm.h u64 virt, int obj_size, u32 nobj, int reserved, virt 261 drivers/net/ethernet/mellanox/mlx4/mlx4.h u64 virt; virt 1376 drivers/net/ethernet/micrel/ksz884x.c u8 *virt; virt 4405 drivers/net/ethernet/micrel/ksz884x.c adapter->desc_pool.virt = adapter->desc_pool.alloc_virt + offset; virt 4410 drivers/net/ethernet/micrel/ksz884x.c adapter->desc_pool.virt; virt 4414 drivers/net/ethernet/micrel/ksz884x.c (adapter->desc_pool.virt + offset); virt 439 drivers/net/ethernet/toshiba/tc35815.c static inline dma_addr_t fd_virt_to_bus(struct tc35815_local *lp, void *virt) virt 441 drivers/net/ethernet/toshiba/tc35815.c return lp->fd_buf_dma + ((u8 *)virt - (u8 *)lp->fd_buf); virt 117 drivers/net/fddi/skfp/hwmtm.c extern u_long mac_drv_virt2phys(struct s_smc *smc, void *virt); virt 118 drivers/net/fddi/skfp/hwmtm.c extern u_long dma_master(struct s_smc *smc, void *virt, int len, int flag); virt 143 drivers/net/fddi/skfp/hwmtm.c void hwm_tx_frag(struct s_smc *smc, char far *virt, u_long phys, int len, virt 145 drivers/net/fddi/skfp/hwmtm.c void hwm_rx_frag(struct s_smc *smc, char far *virt, u_long phys, int len, virt 1049 drivers/net/fddi/skfp/hwmtm.c u_char far *virt ; virt 1221 drivers/net/fddi/skfp/hwmtm.c virt = (u_char far *) rxd->rxd_virt ; virt 1222 drivers/net/fddi/skfp/hwmtm.c DB_RX(2, "FC = %x", *virt); virt 1223 drivers/net/fddi/skfp/hwmtm.c if (virt[12] == MA[5] && virt 1224 drivers/net/fddi/skfp/hwmtm.c virt[11] == MA[4] && virt 1225 drivers/net/fddi/skfp/hwmtm.c virt[10] == MA[3] && virt 1226 drivers/net/fddi/skfp/hwmtm.c virt[9] == MA[2] && virt 1227 drivers/net/fddi/skfp/hwmtm.c virt[8] == MA[1] && virt 1228 drivers/net/fddi/skfp/hwmtm.c (virt[7] & ~GROUP_ADDR_BIT) == MA[0]) { virt 1242 drivers/net/fddi/skfp/hwmtm.c if(!(virt[1] & GROUP_ADDR_BIT)) { virt 1243 drivers/net/fddi/skfp/hwmtm.c if (virt[6] != MA[5] || virt 1244 drivers/net/fddi/skfp/hwmtm.c virt[5] != MA[4] || virt 1245 drivers/net/fddi/skfp/hwmtm.c virt[4] != MA[3] || virt 1246 drivers/net/fddi/skfp/hwmtm.c virt[3] != MA[2] || virt 1247 drivers/net/fddi/skfp/hwmtm.c virt[2] != MA[1] || virt 1248 drivers/net/fddi/skfp/hwmtm.c virt[1] != MA[0]) { virt 1411 drivers/net/fddi/skfp/hwmtm.c void hwm_rx_frag(struct s_smc *smc, char far *virt, u_long phys, int len, virt 1417 drivers/net/fddi/skfp/hwmtm.c NDD_TRACE("RHfB",virt,len,frame_status) ; virt 1420 drivers/net/fddi/skfp/hwmtm.c r->rxd_virt = virt ; virt 1624 drivers/net/fddi/skfp/hwmtm.c void hwm_tx_frag(struct s_smc *smc, char far *virt, u_long phys, int len, virt 1633 drivers/net/fddi/skfp/hwmtm.c NDD_TRACE("THfB",virt,len,frame_status) ; virt 1644 drivers/net/fddi/skfp/hwmtm.c DB_TX(3, "LAN_TX: TxD = %p, virt = %p", t, virt); virt 1645 drivers/net/fddi/skfp/hwmtm.c t->txd_virt = virt ; virt 1693 drivers/net/fddi/skfp/hwmtm.c memcpy(smc->os.hwm.tx_data,virt,len) ; virt 1810 drivers/net/fddi/skfp/hwmtm.c SK_LOC_DECL(char far,*virt[3]) ; virt 1838 drivers/net/fddi/skfp/hwmtm.c virt[frag_count] = data ; virt 1886 drivers/net/fddi/skfp/hwmtm.c t->txd_virt = virt[i] ; virt 1887 drivers/net/fddi/skfp/hwmtm.c phys = dma_master(smc, (void far *)virt[i], virt 117 drivers/net/fddi/skfp/skfddi.c unsigned long mac_drv_virt2phys(struct s_smc *smc, void *virt); virt 118 drivers/net/fddi/skfp/skfddi.c unsigned long dma_master(struct s_smc *smc, void *virt, int len, int flag); virt 137 drivers/net/fddi/skfp/skfddi.c extern void hwm_tx_frag(struct s_smc *smc, char far * virt, u_long phys, virt 142 drivers/net/fddi/skfp/skfddi.c extern void hwm_rx_frag(struct s_smc *smc, char far * virt, u_long phys, virt 1304 drivers/net/fddi/skfp/skfddi.c void *virt; virt 1307 drivers/net/fddi/skfp/skfddi.c virt = (void *) (smc->os.SharedMemAddr + smc->os.SharedMemHeap); virt 1316 drivers/net/fddi/skfp/skfddi.c pr_debug("virt addr: %lx\n", (ulong) virt); virt 1319 drivers/net/fddi/skfp/skfddi.c ((char *) virt - (char *)smc->os.SharedMemAddr))); virt 1320 drivers/net/fddi/skfp/skfddi.c return virt; virt 1345 drivers/net/fddi/skfp/skfddi.c char *virt; virt 1351 drivers/net/fddi/skfp/skfddi.c virt = mac_drv_get_space(smc, size); virt 1353 drivers/net/fddi/skfp/skfddi.c size = (u_int) (16 - (((unsigned long) virt) & 15UL)); virt 1363 drivers/net/fddi/skfp/skfddi.c return virt + size; virt 1380 drivers/net/fddi/skfp/skfddi.c unsigned long mac_drv_virt2phys(struct s_smc *smc, void *virt) virt 1383 drivers/net/fddi/skfp/skfddi.c ((char *) virt - (char *)smc->os.SharedMemAddr); virt 1415 drivers/net/fddi/skfp/skfddi.c u_long dma_master(struct s_smc * smc, void *virt, int len, int flag) virt 1418 drivers/net/fddi/skfp/skfddi.c ((char *) virt - (char *)smc->os.SharedMemAddr); virt 1574 drivers/net/fddi/skfp/skfddi.c unsigned char *virt, *cp; virt 1591 drivers/net/fddi/skfp/skfddi.c virt = skb->data; virt 1612 drivers/net/fddi/skfp/skfddi.c if ((virt[1 + 6] & FDDI_RII) == 0) virt 1619 drivers/net/fddi/skfp/skfddi.c cp = virt + FDDI_MAC_HDR_LEN; // Point behind MAC header. virt 1628 drivers/net/fddi/skfp/skfddi.c virt[1 + 6] &= ~FDDI_RII; // Clear RII bit. virt 1631 drivers/net/fddi/skfp/skfddi.c virt = cp + RifLength; virt 1633 drivers/net/fddi/skfp/skfddi.c *--virt = *--cp; virt 1646 drivers/net/fddi/skfp/skfddi.c if (virt[1] & 0x01) { // Check group (multicast) bit. virt 294 drivers/pci/controller/pci-tegra.c void *virt; virt 1795 drivers/pci/controller/pci-tegra.c msi->virt = dma_alloc_attrs(dev, PAGE_SIZE, &msi->phys, GFP_KERNEL, virt 1797 drivers/pci/controller/pci-tegra.c if (!msi->virt) { virt 1846 drivers/pci/controller/pci-tegra.c dma_free_attrs(pcie->dev, PAGE_SIZE, msi->virt, msi->phys, virt 299 drivers/pcmcia/rsrc_nonstatic.c void __iomem *virt; virt 301 drivers/pcmcia/rsrc_nonstatic.c virt = ioremap(res->start, s->map_size); virt 302 drivers/pcmcia/rsrc_nonstatic.c if (virt) { virt 312 drivers/pcmcia/rsrc_nonstatic.c d = readl(virt+i); virt 320 drivers/pcmcia/rsrc_nonstatic.c iounmap(virt); virt 76 drivers/pinctrl/sh-pfc/core.c windows->virt = devm_ioremap_resource(pfc->dev, res); virt 77 drivers/pinctrl/sh-pfc/core.c if (IS_ERR(windows->virt)) virt 103 drivers/pinctrl/sh-pfc/core.c return window->virt + (address - window->phys); virt 59 drivers/pinctrl/sh-pfc/gpio.c void __iomem *mem = address - chip->mem->phys + chip->mem->virt; virt 68 drivers/pinctrl/sh-pfc/gpio.c void __iomem *mem = address - chip->mem->phys + chip->mem->virt; virt 2668 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c addr = pfc->windows->virt + r8a73a4_portcr_offsets[pin >> 5] + pin; virt 2687 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c addr = pfc->windows->virt + r8a73a4_portcr_offsets[pin >> 5] + pin; virt 3698 drivers/pinctrl/sh-pfc/pfc-r8a7740.c return pfc->windows->virt + group->offset + pin; virt 3130 drivers/pinctrl/sh-pfc/pfc-r8a7778.c addr = pfc->windows->virt + reg->puen; virt 3150 drivers/pinctrl/sh-pfc/pfc-r8a7778.c addr = pfc->windows->virt + reg->puen; virt 4233 drivers/pinctrl/sh-pfc/pfc-sh73a0.c void __iomem *addr = pfc->windows[1].virt + 4; virt 4266 drivers/pinctrl/sh-pfc/pfc-sh73a0.c void __iomem *addr = pfc->windows[1].virt + 4; virt 4325 drivers/pinctrl/sh-pfc/pfc-sh73a0.c void __iomem *addr = pfc->windows->virt virt 4343 drivers/pinctrl/sh-pfc/pfc-sh73a0.c void __iomem *addr = pfc->windows->virt virt 236 drivers/pinctrl/sh-pfc/sh_pfc.h void __iomem *virt; virt 3259 drivers/scsi/bfa/bfad_bsg.c buf_info->virt = dma_alloc_coherent(&bfad->pcidev->dev, virt 3262 drivers/scsi/bfa/bfad_bsg.c if (!buf_info->virt) virt 3266 drivers/scsi/bfa/bfad_bsg.c memcpy(buf_info->virt, payload_kbuf, buf_info->size); virt 3292 drivers/scsi/bfa/bfad_bsg.c if (buf_info->virt != NULL) virt 3294 drivers/scsi/bfa/bfad_bsg.c buf_info->size, buf_info->virt, virt 3522 drivers/scsi/bfa/bfad_bsg.c (uint8_t *)rsp_buf_info->virt, virt 251 drivers/scsi/bfa/bfad_drv.h void *virt; virt 31 drivers/scsi/cxlflash/vlun.c static void marshal_virt_to_resize(struct dk_cxlflash_uvirtual *virt, virt 34 drivers/scsi/cxlflash/vlun.c resize->hdr = virt->hdr; virt 35 drivers/scsi/cxlflash/vlun.c resize->context_id = virt->context_id; virt 36 drivers/scsi/cxlflash/vlun.c resize->rsrc_handle = virt->rsrc_handle; virt 37 drivers/scsi/cxlflash/vlun.c resize->req_size = virt->lun_size; virt 38 drivers/scsi/cxlflash/vlun.c resize->last_lba = virt->last_lba; virt 980 drivers/scsi/cxlflash/vlun.c struct dk_cxlflash_uvirtual *virt = (struct dk_cxlflash_uvirtual *)arg; virt 983 drivers/scsi/cxlflash/vlun.c u64 ctxid = DECODE_CTXID(virt->context_id), virt 984 drivers/scsi/cxlflash/vlun.c rctxid = virt->context_id; virt 985 drivers/scsi/cxlflash/vlun.c u64 lun_size = virt->lun_size; virt 1043 drivers/scsi/cxlflash/vlun.c marshal_virt_to_resize(virt, &resize); virt 1052 drivers/scsi/cxlflash/vlun.c if (virt->hdr.flags & DK_CXLFLASH_UVIRTUAL_NEED_WRITE_SAME) virt 1055 drivers/scsi/cxlflash/vlun.c virt->hdr.return_flags = 0; virt 1056 drivers/scsi/cxlflash/vlun.c virt->last_lba = last_lba; virt 1057 drivers/scsi/cxlflash/vlun.c virt->rsrc_handle = rsrc_handle; virt 1060 drivers/scsi/cxlflash/vlun.c virt->hdr.return_flags |= DK_CXLFLASH_ALL_PORTS_ACTIVE; virt 2173 drivers/scsi/dc395x.c unsigned char *virt, *base = NULL; virt 2183 drivers/scsi/dc395x.c virt = base + offset; virt 2190 drivers/scsi/dc395x.c *virt++ = byte; virt 2215 drivers/scsi/dc395x.c *virt++ = byte; virt 2391 drivers/scsi/dc395x.c unsigned char *virt, *base = NULL; virt 2400 drivers/scsi/dc395x.c virt = base + offset; virt 2406 drivers/scsi/dc395x.c printk(" %02x", *virt); virt 2408 drivers/scsi/dc395x.c DC395x_write8(acb, TRM_S1040_SCSI_FIFO, *virt++); virt 217 drivers/scsi/fdomain.c unsigned char *virt, *ptr; virt 222 drivers/scsi/fdomain.c virt = scsi_kmap_atomic_sg(scsi_sglist(cmd), scsi_sg_count(cmd), virt 224 drivers/scsi/fdomain.c ptr = virt + offset; virt 230 drivers/scsi/fdomain.c scsi_kunmap_atomic_sg(virt); virt 239 drivers/scsi/fdomain.c unsigned char *virt, *ptr; virt 249 drivers/scsi/fdomain.c virt = scsi_kmap_atomic_sg(scsi_sglist(cmd), scsi_sg_count(cmd), virt 251 drivers/scsi/fdomain.c ptr = virt + offset; virt 257 drivers/scsi/fdomain.c scsi_kunmap_atomic_sg(virt); virt 65 drivers/scsi/isci/unsolicited_frame_control.c void *virt = ihost->ufi_buf; virt 85 drivers/scsi/isci/unsolicited_frame_control.c uf_control->headers.array = virt + SCI_UFI_BUF_SIZE; virt 95 drivers/scsi/isci/unsolicited_frame_control.c uf_control->address_table.array = virt + SCI_UFI_BUF_SIZE + SCI_UFI_HDR_SIZE; virt 114 drivers/scsi/isci/unsolicited_frame_control.c uf->buffer = virt; virt 123 drivers/scsi/isci/unsolicited_frame_control.c virt += SCU_UNSOLICITED_FRAME_BUFFER_SIZE; virt 139 drivers/scsi/lpfc/lpfc.h void *virt; /* virtual address ptr */ virt 146 drivers/scsi/lpfc/lpfc_bsg.c lpfc_mbuf_free(phba, mlast->virt, mlast->phys); virt 150 drivers/scsi/lpfc/lpfc_bsg.c lpfc_mbuf_free(phba, mlist->virt, mlist->phys); virt 184 drivers/scsi/lpfc/lpfc_bsg.c mp->virt = lpfc_mbuf_alloc(phba, MEM_PRI, &(mp->phys)); virt 186 drivers/scsi/lpfc/lpfc_bsg.c if (!mp->virt) { virt 247 drivers/scsi/lpfc/lpfc_bsg.c dma_address = mp->virt + dma_offset; virt 367 drivers/scsi/lpfc/lpfc_bsg.c lpfc_mbuf_free(phba, bmp->virt, bmp->phys); virt 443 drivers/scsi/lpfc/lpfc_bsg.c bmp->virt = lpfc_mbuf_alloc(phba, 0, &bmp->phys); virt 444 drivers/scsi/lpfc/lpfc_bsg.c if (!bmp->virt) { virt 451 drivers/scsi/lpfc/lpfc_bsg.c bpl = (struct ulp_bde64 *) bmp->virt; virt 542 drivers/scsi/lpfc/lpfc_bsg.c if (bmp->virt) virt 543 drivers/scsi/lpfc/lpfc_bsg.c lpfc_mbuf_free(phba, bmp->virt, bmp->phys); virt 625 drivers/scsi/lpfc/lpfc_bsg.c prsp->virt, virt 727 drivers/scsi/lpfc/lpfc_bsg.c ((struct lpfc_dmabuf *)cmdiocbq->context2)->virt, virt 895 drivers/scsi/lpfc/lpfc_bsg.c if (mlast->dma.virt) virt 898 drivers/scsi/lpfc/lpfc_bsg.c mlast->dma.virt, virt 959 drivers/scsi/lpfc/lpfc_bsg.c ct_req = (struct lpfc_sli_ct_request *)dmabuf->virt; virt 1055 drivers/scsi/lpfc/lpfc_bsg.c dmabuf->virt, size); virt 1181 drivers/scsi/lpfc/lpfc_bsg.c memcpy(fc_hdr_ptr, dmabuf->hbuf.virt, sizeof(struct fc_frame_header)); virt 1456 drivers/scsi/lpfc/lpfc_bsg.c lpfc_mbuf_free(phba, bmp->virt, bmp->phys); virt 1656 drivers/scsi/lpfc/lpfc_bsg.c bmp->virt = lpfc_mbuf_alloc(phba, 0, &bmp->phys); virt 1657 drivers/scsi/lpfc/lpfc_bsg.c if (!bmp->virt) { virt 1663 drivers/scsi/lpfc/lpfc_bsg.c bpl = (struct ulp_bde64 *) bmp->virt; virt 1684 drivers/scsi/lpfc/lpfc_bsg.c if (bmp->virt) virt 1685 drivers/scsi/lpfc/lpfc_bsg.c lpfc_mbuf_free(phba, bmp->virt, bmp->phys); virt 2582 drivers/scsi/lpfc/lpfc_bsg.c lpfc_mbuf_free(phba, dmabuff->virt, dmabuff->phys); virt 2594 drivers/scsi/lpfc/lpfc_bsg.c lpfc_mbuf_free(phba, dmabuff->virt, dmabuff->phys); virt 2679 drivers/scsi/lpfc/lpfc_bsg.c dmabuf->virt = lpfc_mbuf_alloc(phba, 0, &dmabuf->phys); virt 2680 drivers/scsi/lpfc/lpfc_bsg.c if (dmabuf->virt) { virt 2682 drivers/scsi/lpfc/lpfc_bsg.c bpl = (struct ulp_bde64 *) dmabuf->virt; virt 2699 drivers/scsi/lpfc/lpfc_bsg.c dmabuf->virt == NULL) { virt 2772 drivers/scsi/lpfc/lpfc_bsg.c if (dmabuf->virt) virt 2773 drivers/scsi/lpfc/lpfc_bsg.c lpfc_mbuf_free(phba, dmabuf->virt, dmabuf->phys); virt 2805 drivers/scsi/lpfc/lpfc_bsg.c dmabuf->virt = dma_alloc_coherent(&pcidev->dev, BSG_MBOX_SIZE, virt 2808 drivers/scsi/lpfc/lpfc_bsg.c if (!dmabuf->virt) { virt 2832 drivers/scsi/lpfc/lpfc_bsg.c if (dmabuf->virt) virt 2834 drivers/scsi/lpfc/lpfc_bsg.c dmabuf->virt, dmabuf->phys); virt 2907 drivers/scsi/lpfc/lpfc_bsg.c dmp->dma.virt = dma_alloc_coherent(&pcidev->dev, virt 2912 drivers/scsi/lpfc/lpfc_bsg.c if (!dmp->dma.virt) virt 2920 drivers/scsi/lpfc/lpfc_bsg.c memset((uint8_t *)dmp->dma.virt, 0, cnt); virt 2976 drivers/scsi/lpfc/lpfc_bsg.c rxbmp->virt = lpfc_mbuf_alloc(phba, 0, &rxbmp->phys); virt 2977 drivers/scsi/lpfc/lpfc_bsg.c if (rxbmp->virt) { virt 2979 drivers/scsi/lpfc/lpfc_bsg.c rxbpl = (struct ulp_bde64 *) rxbmp->virt; virt 3069 drivers/scsi/lpfc/lpfc_bsg.c if (rxbmp->virt) virt 3070 drivers/scsi/lpfc/lpfc_bsg.c lpfc_mbuf_free(phba, rxbmp->virt, rxbmp->phys); virt 3230 drivers/scsi/lpfc/lpfc_bsg.c txbmp->virt = lpfc_mbuf_alloc(phba, 0, &txbmp->phys); virt 3231 drivers/scsi/lpfc/lpfc_bsg.c if (txbmp->virt) { virt 3233 drivers/scsi/lpfc/lpfc_bsg.c txbpl = (struct ulp_bde64 *) txbmp->virt; virt 3239 drivers/scsi/lpfc/lpfc_bsg.c if (!cmdiocbq || !txbmp || !txbpl || !txbuffer || !txbmp->virt) { virt 3257 drivers/scsi/lpfc/lpfc_bsg.c ctreq = curr->virt; virt 3270 drivers/scsi/lpfc/lpfc_bsg.c memcpy(curr->virt + segment_offset, virt 3381 drivers/scsi/lpfc/lpfc_bsg.c lpfc_mbuf_free(phba, txbmp->virt, txbmp->phys); virt 3671 drivers/scsi/lpfc/lpfc_bsg.c sli_cfg_mbx = (struct lpfc_sli_config_mbox *)dmabuf->virt; virt 3674 drivers/scsi/lpfc/lpfc_bsg.c pmbx = (uint8_t *)dmabuf->virt; virt 3805 drivers/scsi/lpfc/lpfc_bsg.c sli_cfg_mbx = (struct lpfc_sli_config_mbox *)mbx_dmabuf->virt; virt 3921 drivers/scsi/lpfc/lpfc_bsg.c sli_cfg_mbx = (struct lpfc_sli_config_mbox *)dmabuf->virt; virt 4018 drivers/scsi/lpfc/lpfc_bsg.c pmbx = (uint8_t *)dmabuf->virt; virt 4108 drivers/scsi/lpfc/lpfc_bsg.c sli_cfg_mbx = (struct lpfc_sli_config_mbox *)dmabuf->virt; virt 4197 drivers/scsi/lpfc/lpfc_bsg.c mbx = (uint8_t *)dmabuf->virt; virt 4267 drivers/scsi/lpfc/lpfc_bsg.c sli_cfg_mbx = (struct lpfc_sli_config_mbox *)dmabuf->virt; virt 4418 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.mbx_dmabuf->virt; virt 4444 drivers/scsi/lpfc/lpfc_bsg.c pbuf = (uint8_t *)dmabuf->virt; virt 4492 drivers/scsi/lpfc/lpfc_bsg.c pbuf = (uint8_t *)dmabuf->virt; virt 4542 drivers/scsi/lpfc/lpfc_bsg.c pbuf = (uint8_t *)phba->mbox_ext_buf_ctx.mbx_dmabuf->virt; virt 4776 drivers/scsi/lpfc/lpfc_bsg.c if (!dmabuf || !dmabuf->virt) { virt 4782 drivers/scsi/lpfc/lpfc_bsg.c pmbx = (uint8_t *)dmabuf->virt; virt 5152 drivers/scsi/lpfc/lpfc_bsg.c lpfc_mbuf_free(phba, bmp->virt, bmp->phys); virt 5241 drivers/scsi/lpfc/lpfc_bsg.c bmp->virt = lpfc_mbuf_alloc(phba, 0, &bmp->phys); virt 5242 drivers/scsi/lpfc/lpfc_bsg.c if (!bmp->virt) { virt 5249 drivers/scsi/lpfc/lpfc_bsg.c bpl = (struct ulp_bde64 *)bmp->virt; virt 5328 drivers/scsi/lpfc/lpfc_bsg.c if (bmp->virt) virt 5329 drivers/scsi/lpfc/lpfc_bsg.c lpfc_mbuf_free(phba, bmp->virt, bmp->phys); virt 5578 drivers/scsi/lpfc/lpfc_bsg.c if (!ras_fwlog->lwpd.virt) { virt 5586 drivers/scsi/lpfc/lpfc_bsg.c lwpd_ptr = (uint32_t *)(ras_fwlog->lwpd.virt); virt 5667 drivers/scsi/lpfc/lpfc_bsg.c src = dmabuf->virt + offset; virt 208 drivers/scsi/lpfc/lpfc_ct.c lpfc_mbuf_free(phba, mlast->virt, mlast->phys); virt 212 drivers/scsi/lpfc/lpfc_ct.c lpfc_mbuf_free(phba, mlist->virt, mlist->phys); virt 241 drivers/scsi/lpfc/lpfc_ct.c mp->virt = lpfc_mbuf_alloc(phba, MEM_PRI, &(mp->phys)); virt 243 drivers/scsi/lpfc/lpfc_ct.c mp->virt = lpfc_mbuf_alloc(phba, 0, &(mp->phys)); virt 245 drivers/scsi/lpfc/lpfc_ct.c if (!mp->virt) { virt 285 drivers/scsi/lpfc/lpfc_ct.c lpfc_mbuf_free(phba, buf_ptr->virt, buf_ptr->phys); virt 296 drivers/scsi/lpfc/lpfc_ct.c lpfc_mbuf_free(phba, buf_ptr->virt, buf_ptr->phys); virt 416 drivers/scsi/lpfc/lpfc_ct.c struct ulp_bde64 *bpl = (struct ulp_bde64 *) bmp->virt; virt 419 drivers/scsi/lpfc/lpfc_ct.c int cmdcode = ((struct lpfc_sli_ct_request *) inmp->virt)-> virt 596 drivers/scsi/lpfc/lpfc_ct.c (struct lpfc_sli_ct_request *) mp->virt; virt 619 drivers/scsi/lpfc/lpfc_ct.c ctptr = (uint32_t *) mlast->virt; virt 759 drivers/scsi/lpfc/lpfc_ct.c CTreq = (struct lpfc_sli_ct_request *) inp->virt; virt 760 drivers/scsi/lpfc/lpfc_ct.c CTrsp = (struct lpfc_sli_ct_request *) outp->virt; virt 958 drivers/scsi/lpfc/lpfc_ct.c CTreq = (struct lpfc_sli_ct_request *)inp->virt; virt 959 drivers/scsi/lpfc/lpfc_ct.c CTrsp = (struct lpfc_sli_ct_request *)outp->virt; virt 1067 drivers/scsi/lpfc/lpfc_ct.c did = ((struct lpfc_sli_ct_request *) inp->virt)->un.gff.PortId; virt 1076 drivers/scsi/lpfc/lpfc_ct.c CTrsp = (struct lpfc_sli_ct_request *) outp->virt; virt 1196 drivers/scsi/lpfc/lpfc_ct.c did = ((struct lpfc_sli_ct_request *)inp->virt)->un.gft.PortId; virt 1205 drivers/scsi/lpfc/lpfc_ct.c CTrsp = (struct lpfc_sli_ct_request *)outp->virt; virt 1289 drivers/scsi/lpfc/lpfc_ct.c cmdcode = be16_to_cpu(((struct lpfc_sli_ct_request *) inp->virt)-> virt 1291 drivers/scsi/lpfc/lpfc_ct.c CTrsp = (struct lpfc_sli_ct_request *) outp->virt; virt 1349 drivers/scsi/lpfc/lpfc_ct.c CTrsp = (struct lpfc_sli_ct_request *) outp->virt; virt 1370 drivers/scsi/lpfc/lpfc_ct.c CTrsp = (struct lpfc_sli_ct_request *) outp->virt; virt 1391 drivers/scsi/lpfc/lpfc_ct.c CTrsp = (struct lpfc_sli_ct_request *) outp->virt; virt 1412 drivers/scsi/lpfc/lpfc_ct.c CTrsp = (struct lpfc_sli_ct_request *) outp->virt; virt 1445 drivers/scsi/lpfc/lpfc_ct.c CTrsp = (struct lpfc_sli_ct_request *) outp->virt; virt 1544 drivers/scsi/lpfc/lpfc_ct.c CtReq = (struct lpfc_sli_ct_request *)mp->virt; virt 1590 drivers/scsi/lpfc/lpfc_ct.c mp->virt = lpfc_mbuf_alloc(phba, MEM_PRI, &(mp->phys)); virt 1591 drivers/scsi/lpfc/lpfc_ct.c if (!mp->virt) { virt 1604 drivers/scsi/lpfc/lpfc_ct.c bmp->virt = lpfc_mbuf_alloc(phba, MEM_PRI, &(bmp->phys)); virt 1605 drivers/scsi/lpfc/lpfc_ct.c if (!bmp->virt) { virt 1616 drivers/scsi/lpfc/lpfc_ct.c bpl = (struct ulp_bde64 *) bmp->virt; virt 1645 drivers/scsi/lpfc/lpfc_ct.c CtReq = (struct lpfc_sli_ct_request *) mp->virt; virt 1823 drivers/scsi/lpfc/lpfc_ct.c lpfc_mbuf_free(phba, bmp->virt, bmp->phys); virt 1827 drivers/scsi/lpfc/lpfc_ct.c lpfc_mbuf_free(phba, mp->virt, mp->phys); virt 1853 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_sli_ct_request *CTcmd = inp->virt; virt 1854 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_sli_ct_request *CTrsp = outp->virt; virt 3045 drivers/scsi/lpfc/lpfc_ct.c mp->virt = lpfc_mbuf_alloc(phba, 0, &(mp->phys)); virt 3046 drivers/scsi/lpfc/lpfc_ct.c if (!mp->virt) virt 3054 drivers/scsi/lpfc/lpfc_ct.c bmp->virt = lpfc_mbuf_alloc(phba, 0, &(bmp->phys)); virt 3055 drivers/scsi/lpfc/lpfc_ct.c if (!bmp->virt) virt 3065 drivers/scsi/lpfc/lpfc_ct.c CtReq = (struct lpfc_sli_ct_request *)mp->virt; virt 3214 drivers/scsi/lpfc/lpfc_ct.c bpl = (struct ulp_bde64 *)bmp->virt; virt 3234 drivers/scsi/lpfc/lpfc_ct.c lpfc_mbuf_free(phba, bmp->virt, bmp->phys); virt 3238 drivers/scsi/lpfc/lpfc_ct.c lpfc_mbuf_free(phba, mp->virt, mp->phys); virt 365 drivers/scsi/lpfc/lpfc_debugfs.c hbq_buf->dbuf.virt, hbq_buf->tag); virt 738 drivers/scsi/lpfc/lpfc_debugfs.c ptr = (uint32_t *)phba->slim2p.virt; virt 5535 drivers/scsi/lpfc/lpfc_debugfs.c pword = (uint32_t *)dmabuf->virt; virt 209 drivers/scsi/lpfc/lpfc_els.c pcmd->virt = lpfc_mbuf_alloc(phba, MEM_PRI, &pcmd->phys); virt 210 drivers/scsi/lpfc/lpfc_els.c if (!pcmd || !pcmd->virt) virt 219 drivers/scsi/lpfc/lpfc_els.c prsp->virt = lpfc_mbuf_alloc(phba, MEM_PRI, virt 221 drivers/scsi/lpfc/lpfc_els.c if (!prsp || !prsp->virt) virt 230 drivers/scsi/lpfc/lpfc_els.c pbuflist->virt = lpfc_mbuf_alloc(phba, MEM_PRI, virt 232 drivers/scsi/lpfc/lpfc_els.c if (!pbuflist || !pbuflist->virt) virt 287 drivers/scsi/lpfc/lpfc_els.c bpl = (struct ulp_bde64 *) pbuflist->virt; virt 339 drivers/scsi/lpfc/lpfc_els.c lpfc_mbuf_free(phba, prsp->virt, prsp->phys); virt 343 drivers/scsi/lpfc/lpfc_els.c lpfc_mbuf_free(phba, pcmd->virt, pcmd->phys); virt 436 drivers/scsi/lpfc/lpfc_els.c lpfc_mbuf_free(phba, mp->virt, mp->phys); virt 492 drivers/scsi/lpfc/lpfc_els.c dmabuf->virt = lpfc_mbuf_alloc(phba, MEM_PRI, &dmabuf->phys); virt 493 drivers/scsi/lpfc/lpfc_els.c if (!dmabuf->virt) { virt 497 drivers/scsi/lpfc/lpfc_els.c memcpy(dmabuf->virt, &phba->fc_fabparam, virt 521 drivers/scsi/lpfc/lpfc_els.c if (dmabuf->virt) virt 522 drivers/scsi/lpfc/lpfc_els.c lpfc_mbuf_free(phba, dmabuf->virt, dmabuf->phys); virt 1114 drivers/scsi/lpfc/lpfc_els.c sp = prsp->virt + sizeof(uint32_t); virt 1226 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint32_t *)(((struct lpfc_dmabuf *)cmdiocb->context2)->virt); virt 1287 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt); virt 2075 drivers/scsi/lpfc/lpfc_els.c ndlp = lpfc_plogi_confirm_nport(phba, prsp->virt, ndlp); virt 2169 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt); virt 2402 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt); virt 2756 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt); virt 2967 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt); virt 3098 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt); virt 3203 drivers/scsi/lpfc/lpfc_els.c event = ((struct lpfc_dmabuf *)elsiocb->context2)->virt; virt 3299 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt); virt 3615 drivers/scsi/lpfc/lpfc_els.c if (pcmd && pcmd->virt) { virt 3616 drivers/scsi/lpfc/lpfc_els.c elscmd = (uint32_t *) (pcmd->virt); virt 4046 drivers/scsi/lpfc/lpfc_els.c lpfc_mbuf_free(phba, buf_ptr->virt, buf_ptr->phys); virt 4049 drivers/scsi/lpfc/lpfc_els.c lpfc_mbuf_free(phba, buf_ptr1->virt, buf_ptr1->phys); virt 4069 drivers/scsi/lpfc/lpfc_els.c lpfc_mbuf_free(phba, buf_ptr->virt, buf_ptr->phys); virt 4249 drivers/scsi/lpfc/lpfc_els.c lpfc_mbuf_free(phba, mp->virt, mp->phys); virt 4310 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) cmdiocb->context2)->virt); virt 4325 drivers/scsi/lpfc/lpfc_els.c lpfc_mbuf_free(phba, mp->virt, mp->phys); virt 4370 drivers/scsi/lpfc/lpfc_els.c lpfc_mbuf_free(phba, mp->virt, virt 4437 drivers/scsi/lpfc/lpfc_els.c lpfc_mbuf_free(phba, mp->virt, mp->phys); virt 4525 drivers/scsi/lpfc/lpfc_els.c pcmd = (((struct lpfc_dmabuf *) elsiocb->context2)->virt); virt 4544 drivers/scsi/lpfc/lpfc_els.c pcmd = (((struct lpfc_dmabuf *) elsiocb->context2)->virt); virt 4606 drivers/scsi/lpfc/lpfc_els.c pcmd = (((struct lpfc_dmabuf *) elsiocb->context2)->virt); virt 4608 drivers/scsi/lpfc/lpfc_els.c memcpy(pcmd, ((struct lpfc_dmabuf *) oldiocb->context2)->virt, virt 4686 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt); virt 4767 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt); virt 4842 drivers/scsi/lpfc/lpfc_els.c req_payload = (((uint32_t *)req_buf->virt) + 1); virt 4878 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt); virt 5017 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt); virt 5080 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) iocb->context2)->virt); virt 5147 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt); virt 5741 drivers/scsi/lpfc/lpfc_els.c (((struct lpfc_dmabuf *) elsiocb->context2)->virt); virt 5742 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt); virt 5794 drivers/scsi/lpfc/lpfc_els.c (((struct lpfc_dmabuf *)(elsiocb->context3))->virt); virt 5818 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt); virt 5908 drivers/scsi/lpfc/lpfc_els.c rdp_req = (struct fc_rdp_req_frame *) pcmd->virt; virt 6012 drivers/scsi/lpfc/lpfc_els.c (((struct lpfc_dmabuf *)elsiocb->context2)->virt); virt 6019 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *)(((struct lpfc_dmabuf *)elsiocb->context2)->virt); virt 6047 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *)(((struct lpfc_dmabuf *)elsiocb->context2)->virt); virt 6164 drivers/scsi/lpfc/lpfc_els.c lp = (uint8_t *)pcmd->virt; virt 6165 drivers/scsi/lpfc/lpfc_els.c beacon = (struct fc_lcb_request_frame *)pcmd->virt; virt 6303 drivers/scsi/lpfc/lpfc_els.c lp = vport->fc_rscn_id_list[i]->virt; virt 6411 drivers/scsi/lpfc/lpfc_els.c payload_ptr = (uint32_t *) pcmd->virt; virt 6471 drivers/scsi/lpfc/lpfc_els.c lp = (uint32_t *) pcmd->virt; virt 6586 drivers/scsi/lpfc/lpfc_els.c cmd = vport->fc_rscn_id_list[rscn_cnt-1]->virt; virt 6771 drivers/scsi/lpfc/lpfc_els.c uint32_t *lp = (uint32_t *) pcmd->virt; virt 6937 drivers/scsi/lpfc/lpfc_els.c lp = (uint32_t *) pcmd->virt; virt 6977 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) cmdiocb->context2)->virt); virt 7101 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt); virt 7188 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt); virt 7328 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt); virt 7405 drivers/scsi/lpfc/lpfc_els.c lp = (uint32_t *) pcmd->virt; virt 7484 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt); virt 7579 drivers/scsi/lpfc/lpfc_els.c pcmd = (((struct lpfc_dmabuf *) elsiocb->context2)->virt); virt 7652 drivers/scsi/lpfc/lpfc_els.c lp = (uint32_t *) pcmd->virt; virt 7706 drivers/scsi/lpfc/lpfc_els.c lp = (uint32_t *) pcmd->virt; virt 7778 drivers/scsi/lpfc/lpfc_els.c lp = (uint32_t *) pcmd->virt; virt 7818 drivers/scsi/lpfc/lpfc_els.c lp = (uint32_t *)((struct lpfc_dmabuf *)cmdiocb->context2)->virt; virt 7930 drivers/scsi/lpfc/lpfc_els.c els_command = *(uint32_t *) (pcmd->virt); virt 8189 drivers/scsi/lpfc/lpfc_els.c cmdiocbp->context2)->virt); virt 8333 drivers/scsi/lpfc/lpfc_els.c payload = ((struct lpfc_dmabuf *)elsiocb->context2)->virt; virt 9283 drivers/scsi/lpfc/lpfc_els.c sp = prsp->virt + sizeof(uint32_t); virt 9405 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt); virt 9531 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt); virt 3049 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_mbuf_free(phba, dmabuf->virt, dmabuf->phys); virt 3076 drivers/scsi/lpfc/lpfc_hbadisc.c memcpy((uint8_t *) &vport->fc_sparam, (uint8_t *) mp->virt, virt 3097 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_mbuf_free(phba, mp->virt, mp->phys); virt 3112 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_mbuf_free(phba, mp->virt, mp->phys); virt 3269 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_mbuf_free(phba, mp->virt, mp->phys); virt 3414 drivers/scsi/lpfc/lpfc_hbadisc.c memcpy(&phba->alpa_map[0], mp->virt, 128); virt 3534 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_mbuf_free(phba, mp->virt, mp->phys); virt 3591 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_mbuf_free(phba, mp->virt, mp->phys); virt 3765 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_mbuf_free(phba, mp->virt, mp->phys); virt 3791 drivers/scsi/lpfc/lpfc_hbadisc.c memcpy(vport_buff + offset, mp->virt, byte_count); virt 3853 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_mbuf_free(phba, mp->virt, mp->phys); virt 3885 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_mbuf_free(phba, mp->virt, mp->phys); virt 3930 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_mbuf_free(phba, mp->virt, mp->phys); virt 4042 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_mbuf_free(phba, mp->virt, mp->phys); virt 4107 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_mbuf_free(phba, mp->virt, mp->phys); virt 5152 drivers/scsi/lpfc/lpfc_hbadisc.c __lpfc_mbuf_free(phba, mp->virt, mp->phys); virt 6075 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_mbuf_free(phba, mp->virt, mp->phys); virt 454 drivers/scsi/lpfc/lpfc_init.c lpfc_mbuf_free(phba, mp->virt, mp->phys); virt 461 drivers/scsi/lpfc/lpfc_init.c memcpy(&vport->fc_sparam, mp->virt, sizeof (struct serv_parm)); virt 462 drivers/scsi/lpfc/lpfc_init.c lpfc_mbuf_free(phba, mp->virt, mp->phys); virt 941 drivers/scsi/lpfc/lpfc_init.c lpfc_mbuf_free(phba, mp->virt, mp->phys); virt 1411 drivers/scsi/lpfc/lpfc_init.c lpfc_mbuf_free(phba, buf_ptr->virt, buf_ptr->phys); virt 2051 drivers/scsi/lpfc/lpfc_init.c mp->virt = lpfc_mbuf_alloc(phba, 0, &mp->phys); virt 2052 drivers/scsi/lpfc/lpfc_init.c if (!mp->virt) { virt 2082 drivers/scsi/lpfc/lpfc_init.c lpfc_mbuf_free(phba, mp->virt, mp->phys); virt 2571 drivers/scsi/lpfc/lpfc_init.c mp1->virt = lpfc_mbuf_alloc(phba, MEM_PRI, &mp1->phys); virt 2572 drivers/scsi/lpfc/lpfc_init.c if (!mp1 || !mp1->virt) { virt 2584 drivers/scsi/lpfc/lpfc_init.c mp2->virt = lpfc_mbuf_alloc(phba, MEM_PRI, virt 2586 drivers/scsi/lpfc/lpfc_init.c if (!mp2 || !mp2->virt) { virt 2588 drivers/scsi/lpfc/lpfc_init.c lpfc_mbuf_free(phba, mp1->virt, mp1->phys); virt 2618 drivers/scsi/lpfc/lpfc_init.c lpfc_mbuf_free(phba, mp1->virt, mp1->phys); virt 2622 drivers/scsi/lpfc/lpfc_init.c lpfc_mbuf_free(phba, mp2->virt, mp2->phys); virt 3701 drivers/scsi/lpfc/lpfc_init.c sglq_entry->virt = lpfc_mbuf_alloc(phba, 0, virt 3703 drivers/scsi/lpfc/lpfc_init.c if (sglq_entry->virt == NULL) { virt 3711 drivers/scsi/lpfc/lpfc_init.c sglq_entry->sgl = sglq_entry->virt; virt 3738 drivers/scsi/lpfc/lpfc_init.c __lpfc_mbuf_free(phba, sglq_entry->virt, virt 3822 drivers/scsi/lpfc/lpfc_init.c sglq_entry->virt = lpfc_nvmet_buf_alloc(phba, 0, virt 3824 drivers/scsi/lpfc/lpfc_init.c if (sglq_entry->virt == NULL) { virt 3832 drivers/scsi/lpfc/lpfc_init.c sglq_entry->sgl = sglq_entry->virt; virt 3860 drivers/scsi/lpfc/lpfc_init.c lpfc_nvmet_buf_free(phba, sglq_entry->virt, virt 4894 drivers/scsi/lpfc/lpfc_init.c mp->virt = lpfc_mbuf_alloc(phba, 0, &mp->phys); virt 4895 drivers/scsi/lpfc/lpfc_init.c if (!mp->virt) { virt 5199 drivers/scsi/lpfc/lpfc_init.c mp->virt = lpfc_mbuf_alloc(phba, 0, &mp->phys); virt 5200 drivers/scsi/lpfc/lpfc_init.c if (!mp->virt) { virt 7179 drivers/scsi/lpfc/lpfc_init.c lpfc_mbuf_free(phba, sglq_entry->virt, sglq_entry->phys); virt 7228 drivers/scsi/lpfc/lpfc_init.c lpfc_nvmet_buf_free(phba, sglq_entry->virt, sglq_entry->phys); virt 7389 drivers/scsi/lpfc/lpfc_init.c dmabuf->virt = dma_alloc_coherent(&phba->pcidev->dev, virt 7392 drivers/scsi/lpfc/lpfc_init.c if (!dmabuf->virt) { virt 7422 drivers/scsi/lpfc/lpfc_init.c dmabuf->virt, dmabuf->phys); virt 7449 drivers/scsi/lpfc/lpfc_init.c rpi_hdr->dmabuf->virt, rpi_hdr->dmabuf->phys); virt 7762 drivers/scsi/lpfc/lpfc_init.c phba->slim2p.virt = dma_alloc_coherent(&pdev->dev, SLI2_SLIM_SIZE, virt 7764 drivers/scsi/lpfc/lpfc_init.c if (!phba->slim2p.virt) virt 7767 drivers/scsi/lpfc/lpfc_init.c phba->mbox = phba->slim2p.virt + offsetof(struct lpfc_sli2_slim, mbx); virt 7768 drivers/scsi/lpfc/lpfc_init.c phba->mbox_ext = (phba->slim2p.virt + virt 7770 drivers/scsi/lpfc/lpfc_init.c phba->pcb = (phba->slim2p.virt + offsetof(struct lpfc_sli2_slim, pcb)); virt 7771 drivers/scsi/lpfc/lpfc_init.c phba->IOCBs = (phba->slim2p.virt + virt 7774 drivers/scsi/lpfc/lpfc_init.c phba->hbqslimp.virt = dma_alloc_coherent(&pdev->dev, virt 7778 drivers/scsi/lpfc/lpfc_init.c if (!phba->hbqslimp.virt) virt 7782 drivers/scsi/lpfc/lpfc_init.c ptr = phba->hbqslimp.virt; virt 7792 drivers/scsi/lpfc/lpfc_init.c memset(phba->hbqslimp.virt, 0, lpfc_sli_hbq_size()); virt 7804 drivers/scsi/lpfc/lpfc_init.c phba->slim2p.virt, phba->slim2p.phys); virt 7833 drivers/scsi/lpfc/lpfc_init.c phba->hbqslimp.virt, phba->hbqslimp.phys); virt 7835 drivers/scsi/lpfc/lpfc_init.c phba->slim2p.virt, phba->slim2p.phys); virt 8181 drivers/scsi/lpfc/lpfc_init.c dmabuf->virt = dma_alloc_coherent(&phba->pcidev->dev, bmbx_size, virt 8183 drivers/scsi/lpfc/lpfc_init.c if (!dmabuf->virt) { virt 8198 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.bmbx.avirt = PTR_ALIGN(dmabuf->virt, virt 8239 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.bmbx.dmabuf->virt, virt 12102 drivers/scsi/lpfc/lpfc_init.c phba->hbqslimp.virt, phba->hbqslimp.phys); virt 12106 drivers/scsi/lpfc/lpfc_init.c phba->slim2p.virt, phba->slim2p.phys); virt 12561 drivers/scsi/lpfc/lpfc_init.c dmabuf->virt = dma_alloc_coherent(&phba->pcidev->dev, virt 12565 drivers/scsi/lpfc/lpfc_init.c if (!dmabuf->virt) { virt 12576 drivers/scsi/lpfc/lpfc_init.c memcpy(dmabuf->virt, virt 12582 drivers/scsi/lpfc/lpfc_init.c memcpy(dmabuf->virt, fw->data + temp_offset, virt 12605 drivers/scsi/lpfc/lpfc_init.c dmabuf->virt, dmabuf->phys); virt 85 drivers/scsi/lpfc/lpfc_mbox.c mp->virt = lpfc_mbuf_alloc(phba, 0, &mp->phys); virt 87 drivers/scsi/lpfc/lpfc_mbox.c if (!mp || !mp->virt) { virt 94 drivers/scsi/lpfc/lpfc_mbox.c memset(mp->virt, 0, LPFC_BPL_SIZE); virt 616 drivers/scsi/lpfc/lpfc_mbox.c mp->virt = lpfc_mbuf_alloc(phba, 0, &mp->phys); virt 617 drivers/scsi/lpfc/lpfc_mbox.c if (!mp || !mp->virt) { virt 769 drivers/scsi/lpfc/lpfc_mbox.c mp->virt = lpfc_mbuf_alloc(phba, 0, &mp->phys); virt 770 drivers/scsi/lpfc/lpfc_mbox.c if (!mp || !mp->virt) { virt 780 drivers/scsi/lpfc/lpfc_mbox.c sparam = mp->virt; virt 995 drivers/scsi/lpfc/lpfc_mbox.c (uint8_t *) phba->slim2p.virt; virt 1006 drivers/scsi/lpfc/lpfc_mbox.c (uint8_t *)phba->slim2p.virt; virt 1288 drivers/scsi/lpfc/lpfc_mbox.c offset = (uint8_t *)phba->pcb - (uint8_t *)phba->slim2p.virt; virt 1326 drivers/scsi/lpfc/lpfc_mbox.c offset = (uint8_t *)phba->mbox - (uint8_t *)phba->slim2p.virt; virt 1385 drivers/scsi/lpfc/lpfc_mbox.c (uint8_t *)phba->slim2p.virt; virt 2276 drivers/scsi/lpfc/lpfc_mbox.c mp->virt = lpfc_mbuf_alloc(phba, 0, &mp->phys); virt 2278 drivers/scsi/lpfc/lpfc_mbox.c if (!mp || !mp->virt) { virt 2287 drivers/scsi/lpfc/lpfc_mbox.c memset(mp->virt, 0, LPFC_BPL_SIZE); virt 2333 drivers/scsi/lpfc/lpfc_mbox.c lpfc_sli_bemem_bcopy(mp->virt, &rdp_context->page_a2, virt 2337 drivers/scsi/lpfc/lpfc_mbox.c lpfc_mbuf_free(phba, mp->virt, mp->phys); virt 2351 drivers/scsi/lpfc/lpfc_mbox.c lpfc_mbuf_free(phba, mp->virt, mp->phys); virt 2369 drivers/scsi/lpfc/lpfc_mbox.c lpfc_sli_bemem_bcopy(mp->virt, &rdp_context->page_a0, virt 2374 drivers/scsi/lpfc/lpfc_mbox.c memset(mp->virt, 0, DMP_SFF_PAGE_A2_SIZE); virt 2402 drivers/scsi/lpfc/lpfc_mbox.c lpfc_mbuf_free(phba, mp->virt, mp->phys); virt 2426 drivers/scsi/lpfc/lpfc_mbox.c mp->virt = lpfc_mbuf_alloc(phba, 0, &mp->phys); virt 2427 drivers/scsi/lpfc/lpfc_mbox.c if (!mp || !mp->virt) { virt 2434 drivers/scsi/lpfc/lpfc_mbox.c memset(mp->virt, 0, LPFC_BPL_SIZE); virt 108 drivers/scsi/lpfc/lpfc_mem.c pool->elements[i].virt = dma_pool_alloc(phba->lpfc_mbuf_pool, virt 110 drivers/scsi/lpfc/lpfc_mem.c if (!pool->elements[i].virt) virt 181 drivers/scsi/lpfc/lpfc_mem.c dma_pool_free(phba->lpfc_mbuf_pool, pool->elements[i].virt, virt 256 drivers/scsi/lpfc/lpfc_mem.c dma_pool_free(phba->lpfc_mbuf_pool, pool->elements[i].virt, virt 301 drivers/scsi/lpfc/lpfc_mem.c lpfc_mbuf_free(phba, mp->virt, mp->phys); virt 311 drivers/scsi/lpfc/lpfc_mem.c lpfc_mbuf_free(phba, mp->virt, mp->phys); virt 325 drivers/scsi/lpfc/lpfc_mem.c lpfc_mbuf_free(phba, mp->virt, mp->phys); virt 379 drivers/scsi/lpfc/lpfc_mem.c ret = pool->elements[pool->current_count].virt; virt 401 drivers/scsi/lpfc/lpfc_mem.c __lpfc_mbuf_free(struct lpfc_hba * phba, void *virt, dma_addr_t dma) virt 406 drivers/scsi/lpfc/lpfc_mem.c pool->elements[pool->current_count].virt = virt; virt 410 drivers/scsi/lpfc/lpfc_mem.c dma_pool_free(phba->lpfc_mbuf_pool, virt, dma); virt 429 drivers/scsi/lpfc/lpfc_mem.c lpfc_mbuf_free(struct lpfc_hba * phba, void *virt, dma_addr_t dma) virt 434 drivers/scsi/lpfc/lpfc_mem.c __lpfc_mbuf_free(phba, virt, dma); virt 472 drivers/scsi/lpfc/lpfc_mem.c lpfc_nvmet_buf_free(struct lpfc_hba *phba, void *virt, dma_addr_t dma) virt 474 drivers/scsi/lpfc/lpfc_mem.c dma_pool_free(phba->lpfc_sg_dma_buf_pool, virt, dma); virt 499 drivers/scsi/lpfc/lpfc_mem.c hbqbp->dbuf.virt = dma_pool_alloc(phba->lpfc_hbq_pool, GFP_KERNEL, virt 501 drivers/scsi/lpfc/lpfc_mem.c if (!hbqbp->dbuf.virt) { virt 524 drivers/scsi/lpfc/lpfc_mem.c dma_pool_free(phba->lpfc_hbq_pool, hbqbp->dbuf.virt, hbqbp->dbuf.phys); virt 551 drivers/scsi/lpfc/lpfc_mem.c dma_buf->hbuf.virt = dma_pool_alloc(phba->lpfc_hrb_pool, GFP_KERNEL, virt 553 drivers/scsi/lpfc/lpfc_mem.c if (!dma_buf->hbuf.virt) { virt 557 drivers/scsi/lpfc/lpfc_mem.c dma_buf->dbuf.virt = dma_pool_alloc(phba->lpfc_drb_pool, GFP_KERNEL, virt 559 drivers/scsi/lpfc/lpfc_mem.c if (!dma_buf->dbuf.virt) { virt 560 drivers/scsi/lpfc/lpfc_mem.c dma_pool_free(phba->lpfc_hrb_pool, dma_buf->hbuf.virt, virt 584 drivers/scsi/lpfc/lpfc_mem.c dma_pool_free(phba->lpfc_hrb_pool, dmab->hbuf.virt, dmab->hbuf.phys); virt 585 drivers/scsi/lpfc/lpfc_mem.c dma_pool_free(phba->lpfc_drb_pool, dmab->dbuf.virt, dmab->dbuf.phys); virt 611 drivers/scsi/lpfc/lpfc_mem.c dma_buf->hbuf.virt = dma_pool_alloc(phba->lpfc_hrb_pool, GFP_KERNEL, virt 613 drivers/scsi/lpfc/lpfc_mem.c if (!dma_buf->hbuf.virt) { virt 617 drivers/scsi/lpfc/lpfc_mem.c dma_buf->dbuf.virt = dma_pool_alloc(phba->lpfc_nvmet_drb_pool, virt 619 drivers/scsi/lpfc/lpfc_mem.c if (!dma_buf->dbuf.virt) { virt 620 drivers/scsi/lpfc/lpfc_mem.c dma_pool_free(phba->lpfc_hrb_pool, dma_buf->hbuf.virt, virt 644 drivers/scsi/lpfc/lpfc_mem.c dma_pool_free(phba->lpfc_hrb_pool, dmab->hbuf.virt, dmab->hbuf.phys); virt 646 drivers/scsi/lpfc/lpfc_mem.c dmab->dbuf.virt, dmab->dbuf.phys); virt 688 drivers/scsi/lpfc/lpfc_mem.c lpfc_mbuf_free(phba, mp->virt, mp->phys); virt 188 drivers/scsi/lpfc/lpfc_nportdisc.c lp = (uint32_t *) prsp->virt; virt 301 drivers/scsi/lpfc/lpfc_nportdisc.c lp = (uint32_t *) pcmd->virt; virt 572 drivers/scsi/lpfc/lpfc_nportdisc.c lp = (uint32_t *) pcmd->virt; virt 747 drivers/scsi/lpfc/lpfc_nportdisc.c payload = ((struct lpfc_dmabuf *)cmdiocb->context2)->virt; virt 785 drivers/scsi/lpfc/lpfc_nportdisc.c lp = (uint32_t *) pcmd->virt; virt 1041 drivers/scsi/lpfc/lpfc_nportdisc.c uint32_t *lp = (uint32_t *) pcmd->virt; virt 1180 drivers/scsi/lpfc/lpfc_nportdisc.c lp = (uint32_t *) prsp->virt; virt 1310 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_mbuf_free(phba, mp->virt, mp->phys); virt 1693 drivers/scsi/lpfc/lpfc_nportdisc.c __lpfc_mbuf_free(phba, mp->virt, mp->phys); virt 400 drivers/scsi/lpfc/lpfc_nvme.c lpfc_mbuf_free(phba, buf_ptr->virt, buf_ptr->phys); virt 459 drivers/scsi/lpfc/lpfc_nvme.c bpl = (struct ulp_bde64 *)bmp->virt; virt 629 drivers/scsi/lpfc/lpfc_nvme.c bmp->virt = lpfc_mbuf_alloc(vport->phba, MEM_PRI, &(bmp->phys)); virt 630 drivers/scsi/lpfc/lpfc_nvme.c if (!bmp->virt) { virt 637 drivers/scsi/lpfc/lpfc_nvme.c bpl = (struct ulp_bde64 *)bmp->virt; virt 676 drivers/scsi/lpfc/lpfc_nvme.c lpfc_mbuf_free(vport->phba, bmp->virt, bmp->phys); virt 425 drivers/scsi/lpfc/lpfc_nvmet.c fc_hdr = (struct fc_frame_header *)(nvmebuf->hbuf.virt); virt 891 drivers/scsi/lpfc/lpfc_nvmet.c dmabuf.virt = &bpl; virt 1737 drivers/scsi/lpfc/lpfc_nvmet.c (nvmebuf->hbuf.virt); virt 1961 drivers/scsi/lpfc/lpfc_nvmet.c fc_hdr = (struct fc_frame_header *)(nvmebuf->hbuf.virt); virt 1975 drivers/scsi/lpfc/lpfc_nvmet.c payload = (uint32_t *)(nvmebuf->dbuf.virt); virt 2072 drivers/scsi/lpfc/lpfc_nvmet.c payload = (uint32_t *)(nvmebuf->dbuf.virt); virt 2275 drivers/scsi/lpfc/lpfc_nvmet.c fc_hdr = (struct fc_frame_header *)(nvmebuf->hbuf.virt); virt 2471 drivers/scsi/lpfc/lpfc_sli.c lpfc_mbuf_free(phba, mp->virt, mp->phys); virt 5250 drivers/scsi/lpfc/lpfc_sli.c lpfc_mbuf_free(phba, mp->virt, mp->phys); virt 5257 drivers/scsi/lpfc/lpfc_sli.c lpfc_mbuf_free(phba, mp->virt, mp->phys); virt 5263 drivers/scsi/lpfc/lpfc_sli.c lpfc_parse_fcoe_conf(phba, mp->virt, data_length); virt 5264 drivers/scsi/lpfc/lpfc_sli.c lpfc_mbuf_free(phba, mp->virt, mp->phys); virt 5306 drivers/scsi/lpfc/lpfc_sli.c dmabuf->virt = dma_alloc_coherent(&phba->pcidev->dev, dma_size, virt 5308 drivers/scsi/lpfc/lpfc_sli.c if (!dmabuf->virt) { virt 5329 drivers/scsi/lpfc/lpfc_sli.c dmabuf->virt, dmabuf->phys); virt 5342 drivers/scsi/lpfc/lpfc_sli.c memcpy(vpd, dmabuf->virt, *vpd_size); virt 5345 drivers/scsi/lpfc/lpfc_sli.c dmabuf->virt, dmabuf->phys); virt 6224 drivers/scsi/lpfc/lpfc_sli.c dmabuf->virt, dmabuf->phys); virt 6229 drivers/scsi/lpfc/lpfc_sli.c if (ras_fwlog->lwpd.virt) { virt 6232 drivers/scsi/lpfc/lpfc_sli.c ras_fwlog->lwpd.virt, virt 6234 drivers/scsi/lpfc/lpfc_sli.c ras_fwlog->lwpd.virt = NULL; virt 6263 drivers/scsi/lpfc/lpfc_sli.c ras_fwlog->lwpd.virt = dma_alloc_coherent(&phba->pcidev->dev, virt 6267 drivers/scsi/lpfc/lpfc_sli.c if (!ras_fwlog->lwpd.virt) { virt 6285 drivers/scsi/lpfc/lpfc_sli.c dmabuf->virt = dma_alloc_coherent(&phba->pcidev->dev, virt 6288 drivers/scsi/lpfc/lpfc_sli.c if (!dmabuf->virt) { virt 6379 drivers/scsi/lpfc/lpfc_sli.c if (!ras_fwlog->lwpd.virt) { virt 6417 drivers/scsi/lpfc/lpfc_sli.c memset(dmabuf->virt, 0, LPFC_RAS_MAX_ENTRY_SIZE); virt 7445 drivers/scsi/lpfc/lpfc_sli.c memcpy(&vport->fc_sparam, mp->virt, sizeof(struct serv_parm)); virt 7453 drivers/scsi/lpfc/lpfc_sli.c lpfc_mbuf_free(phba, mp->virt, mp->phys); virt 9209 drivers/scsi/lpfc/lpfc_sli.c bpl = (struct ulp_bde64 *)dmabuf->virt; virt 9325 drivers/scsi/lpfc/lpfc_sli.c ((struct lpfc_dmabuf *)iocbq->context3)->virt; virt 9380 drivers/scsi/lpfc/lpfc_sli.c iocbq->context2)->virt); virt 9719 drivers/scsi/lpfc/lpfc_sli.c iocbq->context2)->virt); virt 10804 drivers/scsi/lpfc/lpfc_sli.c lpfc_mbuf_free(phba, buf_ptr->virt, buf_ptr->phys); virt 12895 drivers/scsi/lpfc/lpfc_sli.c bpl = (struct ulp_bde64 *)dmabuf->virt; virt 12906 drivers/scsi/lpfc/lpfc_sli.c bpl = (struct ulp_bde64 *)dmabuf->virt; virt 13417 drivers/scsi/lpfc/lpfc_sli.c fc_hdr = (struct fc_frame_header *)dma_buf->hbuf.virt; virt 13923 drivers/scsi/lpfc/lpfc_sli.c fc_hdr = (struct fc_frame_header *)dma_buf->hbuf.virt; virt 14485 drivers/scsi/lpfc/lpfc_sli.c dmabuf->virt, dmabuf->phys); virt 14559 drivers/scsi/lpfc/lpfc_sli.c dmabuf->virt = dma_alloc_coherent(&phba->pcidev->dev, virt 14562 drivers/scsi/lpfc/lpfc_sli.c if (!dmabuf->virt) { virt 14569 drivers/scsi/lpfc/lpfc_sli.c queue->q_pgs[x] = dmabuf->virt; virt 14826 drivers/scsi/lpfc/lpfc_sli.c memset(dmabuf->virt, 0, hw_page_size); virt 14960 drivers/scsi/lpfc/lpfc_sli.c memset(dmabuf->virt, 0, cq->page_size); virt 15212 drivers/scsi/lpfc/lpfc_sli.c memset(dmabuf->virt, 0, hw_page_size); virt 15417 drivers/scsi/lpfc/lpfc_sli.c memset(dmabuf->virt, 0, hw_page_size); virt 15579 drivers/scsi/lpfc/lpfc_sli.c memset(dmabuf->virt, 0, hw_page_size); virt 15842 drivers/scsi/lpfc/lpfc_sli.c memset(dmabuf->virt, 0, hw_page_size); virt 16140 drivers/scsi/lpfc/lpfc_sli.c memset(dmabuf->virt, 0, hw_page_size); virt 16152 drivers/scsi/lpfc/lpfc_sli.c memset(dmabuf->virt, 0, hw_page_size); virt 17297 drivers/scsi/lpfc/lpfc_sli.c new_hdr = (struct fc_frame_header *)dmabuf->hbuf.virt; virt 17301 drivers/scsi/lpfc/lpfc_sli.c temp_hdr = (struct fc_frame_header *)h_buf->virt; virt 17319 drivers/scsi/lpfc/lpfc_sli.c temp_hdr = seq_dmabuf->hbuf.virt; virt 17333 drivers/scsi/lpfc/lpfc_sli.c temp_hdr = dmabuf->hbuf.virt; virt 17341 drivers/scsi/lpfc/lpfc_sli.c temp_hdr = (struct fc_frame_header *)temp_dmabuf->hbuf.virt; virt 17391 drivers/scsi/lpfc/lpfc_sli.c new_hdr = (struct fc_frame_header *)dmabuf->hbuf.virt; virt 17393 drivers/scsi/lpfc/lpfc_sli.c temp_hdr = (struct fc_frame_header *)h_buf->virt; virt 17671 drivers/scsi/lpfc/lpfc_sli.c memcpy(&fc_hdr, dmabuf->hbuf.virt, sizeof(struct fc_frame_header)); virt 17715 drivers/scsi/lpfc/lpfc_sli.c hdr = (struct fc_frame_header *)dmabuf->hbuf.virt; virt 17727 drivers/scsi/lpfc/lpfc_sli.c hdr = (struct fc_frame_header *)seq_dmabuf->hbuf.virt; virt 17765 drivers/scsi/lpfc/lpfc_sli.c fc_hdr = (struct fc_frame_header *)seq_dmabuf->hbuf.virt; virt 17880 drivers/scsi/lpfc/lpfc_sli.c fc_hdr = (struct fc_frame_header *)seq_dmabuf->hbuf.virt; virt 17915 drivers/scsi/lpfc/lpfc_sli.c if (pcmd && pcmd->virt) virt 17916 drivers/scsi/lpfc/lpfc_sli.c dma_pool_free(phba->lpfc_drb_pool, pcmd->virt, pcmd->phys); virt 17935 drivers/scsi/lpfc/lpfc_sli.c fc_hdr = (struct fc_frame_header *)dmabuf->hbuf.virt; virt 17954 drivers/scsi/lpfc/lpfc_sli.c pcmd->virt = dma_pool_alloc(phba->lpfc_drb_pool, GFP_KERNEL, virt 17956 drivers/scsi/lpfc/lpfc_sli.c if (!pcmd || !pcmd->virt) virt 17962 drivers/scsi/lpfc/lpfc_sli.c memcpy(pcmd->virt, dmabuf->dbuf.virt, frame_len); virt 18002 drivers/scsi/lpfc/lpfc_sli.c if (pcmd && pcmd->virt) virt 18003 drivers/scsi/lpfc/lpfc_sli.c dma_pool_free(phba->lpfc_drb_pool, pcmd->virt, pcmd->phys); virt 18032 drivers/scsi/lpfc/lpfc_sli.c fc_hdr = (struct fc_frame_header *)dmabuf->hbuf.virt; virt 19241 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli_pcimem_bcopy((char *)mp->virt, rgn23_data, data_length); virt 19245 drivers/scsi/lpfc/lpfc_sli.c lpfc_mbuf_free(phba, mp->virt, mp->phys); virt 19560 drivers/scsi/lpfc/lpfc_sli.c __lpfc_mbuf_free(phba, mp->virt, mp->phys); virt 19741 drivers/scsi/lpfc/lpfc_sli.c bpl = (struct ulp_bde64 *)dmabuf->virt; virt 961 drivers/scsi/lpfc/lpfc_sli4.h void *virt; /* virtual address. */ virt 151 drivers/scsi/lpfc/lpfc_vport.c lpfc_mbuf_free(phba, mp->virt, mp->phys); virt 161 drivers/scsi/lpfc/lpfc_vport.c lpfc_mbuf_free(phba, mp->virt, mp->phys); virt 169 drivers/scsi/lpfc/lpfc_vport.c memcpy(&vport->fc_sparam, mp->virt, sizeof (struct serv_parm)); virt 175 drivers/scsi/lpfc/lpfc_vport.c lpfc_mbuf_free(phba, mp->virt, mp->phys); virt 2901 drivers/scsi/scsi_lib.c void scsi_kunmap_atomic_sg(void *virt) virt 2903 drivers/scsi/scsi_lib.c kunmap_atomic(virt); virt 110 drivers/sfi/sfi_core.c static void __ref sfi_unmap_memory(void __iomem *virt, u32 size) virt 112 drivers/sfi/sfi_core.c if (!virt || !size) virt 116 drivers/sfi/sfi_core.c memunmap(virt); virt 118 drivers/sfi/sfi_core.c early_memunmap(virt, size); virt 30 drivers/sh/intc/access.c address += (unsigned long)window->virt; virt 216 drivers/sh/intc/core.c d->window[k].virt = ioremap_nocache(res->start, virt 218 drivers/sh/intc/core.c if (!d->window[k].virt) virt 396 drivers/sh/intc/core.c if (d->window[k].virt) virt 397 drivers/sh/intc/core.c iounmap(d->window[k].virt); virt 39 drivers/sh/intc/internals.h void __iomem *virt; virt 79 drivers/soc/tegra/fuse/fuse-tegra20.c value = *fuse->apbdma.virt; virt 106 drivers/soc/tegra/fuse/fuse-tegra20.c fuse->apbdma.virt = dma_alloc_coherent(fuse->dev, sizeof(u32), virt 109 drivers/soc/tegra/fuse/fuse-tegra20.c if (!fuse->apbdma.virt) { virt 49 drivers/soc/tegra/fuse/fuse.h u32 *virt; virt 97 drivers/soc/ti/knav_qmss.h void *virt; virt 740 drivers/soc/ti/knav_qmss_queue.c dma_addr_t knav_pool_desc_virt_to_dma(void *ph, void *virt) virt 743 drivers/soc/ti/knav_qmss_queue.c return pool->region->dma_start + (virt - pool->region->virt_start); virt 1169 drivers/soc/ti/knav_qmss_queue.c block->virt = NULL; virt 1174 drivers/soc/ti/knav_qmss_queue.c block->virt = dmam_alloc_coherent(kdev->dev, virt 1177 drivers/soc/ti/knav_qmss_queue.c if (!block->virt) { virt 1196 drivers/soc/ti/knav_qmss_queue.c &block->dma, block->virt, block->size); virt 1209 drivers/soc/ti/knav_qmss_queue.c &block->dma, block->virt, block->size); virt 39 drivers/soc/ux500/ux500-soc-id.c void __iomem *virt = ioremap(addr, 4); virt 42 drivers/soc/ux500/ux500-soc-id.c if (!virt) virt 45 drivers/soc/ux500/ux500-soc-id.c asicid = readl(virt); virt 46 drivers/soc/ux500/ux500-soc-id.c iounmap(virt); virt 137 drivers/staging/comedi/drivers/addi_apci_3120.c unsigned short *virt; virt 448 drivers/staging/comedi/drivers/addi_apci_3120.c comedi_buf_write_samples(s, dmabuf->virt, nsamples); virt 916 drivers/staging/comedi/drivers/addi_apci_3120.c dmabuf->virt = dma_alloc_coherent(dev->hw_dev, virt 920 drivers/staging/comedi/drivers/addi_apci_3120.c if (dmabuf->virt) virt 923 drivers/staging/comedi/drivers/addi_apci_3120.c if (!dmabuf->virt) virt 945 drivers/staging/comedi/drivers/addi_apci_3120.c if (dmabuf->virt) { virt 947 drivers/staging/comedi/drivers/addi_apci_3120.c dmabuf->virt, dmabuf->hw); virt 192 drivers/staging/comedi/drivers/adl_pci9118.c unsigned short *virt; /* virtual address of buffer */ virt 659 drivers/staging/comedi/drivers/adl_pci9118.c pci9118_ai_dma_xfer(dev, s, dmabuf->virt, n_all); virt 1470 drivers/staging/comedi/drivers/adl_pci9118.c dmabuf->virt = virt 1473 drivers/staging/comedi/drivers/adl_pci9118.c if (dmabuf->virt) virt 1476 drivers/staging/comedi/drivers/adl_pci9118.c if (!dmabuf->virt) virt 1498 drivers/staging/comedi/drivers/adl_pci9118.c if (dmabuf->virt) { virt 1500 drivers/staging/comedi/drivers/adl_pci9118.c dmabuf->virt, dmabuf->hw); virt 670 drivers/staging/media/imx/imx-media-utils.c if (buf->virt) virt 671 drivers/staging/media/imx/imx-media-utils.c dma_free_coherent(dev, buf->len, buf->virt, buf->phys); virt 673 drivers/staging/media/imx/imx-media-utils.c buf->virt = NULL; virt 685 drivers/staging/media/imx/imx-media-utils.c buf->virt = dma_alloc_coherent(dev, buf->len, &buf->phys, virt 687 drivers/staging/media/imx/imx-media-utils.c if (!buf->virt) { virt 206 drivers/staging/media/imx/imx-media.h void *virt; virt 137 drivers/tty/serial/8250/8250_exar.c void __iomem *virt; virt 207 drivers/tty/serial/8250/8250_exar.c port->port.membase = priv->virt + offset; virt 528 drivers/tty/serial/8250/8250_exar.c readb(priv->virt + UART_EXAR_INT0); virt 532 drivers/tty/serial/8250/8250_exar.c readb(priv->virt + 0x2000 + UART_EXAR_INT0); virt 577 drivers/tty/serial/8250/8250_exar.c priv->virt = pcim_iomap(pcidev, bar, 0); virt 578 drivers/tty/serial/8250/8250_exar.c if (!priv->virt) virt 167 drivers/tty/serial/msm_serial.c unsigned char *virt; virt 287 drivers/tty/serial/msm_serial.c kfree(dma->virt); virt 353 drivers/tty/serial/msm_serial.c dma->virt = kzalloc(UARTDM_RX_SIZE, GFP_KERNEL); virt 354 drivers/tty/serial/msm_serial.c if (!dma->virt) virt 377 drivers/tty/serial/msm_serial.c kfree(dma->virt); virt 573 drivers/tty/serial/msm_serial.c if (msm_port->break_detected && dma->virt[i] == 0) { virt 585 drivers/tty/serial/msm_serial.c sysrq = uart_handle_sysrq_char(port, dma->virt[i]); virt 588 drivers/tty/serial/msm_serial.c tty_insert_flip_char(tport, dma->virt[i], flag); virt 609 drivers/tty/serial/msm_serial.c dma->phys = dma_map_single(uart->dev, dma->virt, virt 118 drivers/tty/serial/sprd_serial.c unsigned char *virt; virt 361 drivers/tty/serial/sprd_serial.c sp->rx_dma.virt = dma_alloc_coherent(sp->port.dev, SPRD_UART_RX_SIZE, virt 363 drivers/tty/serial/sprd_serial.c if (!sp->rx_dma.virt) virt 371 drivers/tty/serial/sprd_serial.c if (sp->rx_dma.virt) virt 373 drivers/tty/serial/sprd_serial.c sp->rx_dma.virt, sp->rx_dma.phys_addr); virt 472 drivers/tty/serial/sprd_serial.c sp->rx_buf_tail = sp->rx_dma.virt; virt 95 drivers/usb/early/xhci-dbc.c void *virt; virt 97 drivers/usb/early/xhci-dbc.c virt = memblock_alloc(PAGE_SIZE, PAGE_SIZE); virt 98 drivers/usb/early/xhci-dbc.c if (!virt) virt 102 drivers/usb/early/xhci-dbc.c *dma_addr = (dma_addr_t)__pa(virt); virt 104 drivers/usb/early/xhci-dbc.c return virt; virt 210 drivers/usb/host/xhci-tegra.c void *virt; virt 811 drivers/usb/host/xhci-tegra.c tegra->fw.virt = dma_alloc_coherent(tegra->dev, tegra->fw.size, virt 813 drivers/usb/host/xhci-tegra.c if (!tegra->fw.virt) { virt 819 drivers/usb/host/xhci-tegra.c header = (struct tegra_xusb_fw_header *)tegra->fw.virt; virt 820 drivers/usb/host/xhci-tegra.c memcpy(tegra->fw.virt, fw->data, tegra->fw.size); virt 1303 drivers/usb/host/xhci-tegra.c dma_free_coherent(&pdev->dev, tegra->fw.size, tegra->fw.virt, virt 109 drivers/vfio/pci/vfio_pci_config.c u8 *virt; /* read/write virtual data, not hw */ virt 178 drivers/vfio/pci/vfio_pci_config.c __le32 virt = 0; virt 182 drivers/vfio/pci/vfio_pci_config.c memcpy(&virt, perm->virt + offset, count); virt 185 drivers/vfio/pci/vfio_pci_config.c if (cpu_to_le32(~0U >> (32 - (count * 8))) != virt) { virt 194 drivers/vfio/pci/vfio_pci_config.c *val = (phys_val & ~virt) | (*val & virt); virt 204 drivers/vfio/pci/vfio_pci_config.c __le32 virt = 0, write = 0; virt 211 drivers/vfio/pci/vfio_pci_config.c memcpy(&virt, perm->virt + offset, count); virt 214 drivers/vfio/pci/vfio_pci_config.c if (write & virt) { virt 219 drivers/vfio/pci/vfio_pci_config.c virt_val &= ~(write & virt); virt 220 drivers/vfio/pci/vfio_pci_config.c virt_val |= (val & (write & virt)); virt 226 drivers/vfio/pci/vfio_pci_config.c if (write & ~virt) { virt 235 drivers/vfio/pci/vfio_pci_config.c phys_val &= ~(write & ~virt); virt 236 drivers/vfio/pci/vfio_pci_config.c phys_val |= (val & (write & ~virt)); virt 340 drivers/vfio/pci/vfio_pci_config.c kfree(perm->virt); virt 342 drivers/vfio/pci/vfio_pci_config.c perm->virt = NULL; virt 362 drivers/vfio/pci/vfio_pci_config.c perm->virt = kzalloc(size, GFP_KERNEL); virt 364 drivers/vfio/pci/vfio_pci_config.c if (!perm->virt || !perm->write) { virt 378 drivers/vfio/pci/vfio_pci_config.c static inline void p_setb(struct perm_bits *p, int off, u8 virt, u8 write) virt 380 drivers/vfio/pci/vfio_pci_config.c p->virt[off] = virt; virt 385 drivers/vfio/pci/vfio_pci_config.c static inline void p_setw(struct perm_bits *p, int off, u16 virt, u16 write) virt 387 drivers/vfio/pci/vfio_pci_config.c *(__le16 *)(&p->virt[off]) = cpu_to_le16(virt); virt 392 drivers/vfio/pci/vfio_pci_config.c static inline void p_setd(struct perm_bits *p, int off, u32 virt, u32 write) virt 394 drivers/vfio/pci/vfio_pci_config.c *(__le32 *)(&p->virt[off]) = cpu_to_le32(virt); virt 836 drivers/xen/gntdev.c static int gntdev_get_page(struct gntdev_copy_batch *batch, void __user *virt, virt 839 drivers/xen/gntdev.c unsigned long addr = (unsigned long)virt; virt 926 drivers/xen/gntdev.c void __user *virt; virt 948 drivers/xen/gntdev.c virt = seg->source.virt + copied; virt 949 drivers/xen/gntdev.c off = (unsigned long)virt & ~XEN_PAGE_MASK; virt 952 drivers/xen/gntdev.c ret = gntdev_get_page(batch, virt, false, &gfn); virt 967 drivers/xen/gntdev.c virt = seg->dest.virt + copied; virt 968 drivers/xen/gntdev.c off = (unsigned long)virt & ~XEN_PAGE_MASK; virt 971 drivers/xen/gntdev.c ret = gntdev_get_page(batch, virt, true, &gfn); virt 214 drivers/xen/xlate_mmu.c int __init xen_xlate_map_ballooned_pages(xen_pfn_t **gfns, void **virt, virt 260 drivers/xen/xlate_mmu.c *virt = vaddr; virt 1017 fs/ecryptfs/crypto.c ecryptfs_write_header_metadata(char *virt, virt 1027 fs/ecryptfs/crypto.c put_unaligned_be32(header_extent_size, virt); virt 1028 fs/ecryptfs/crypto.c virt += 4; virt 1029 fs/ecryptfs/crypto.c put_unaligned_be16(num_header_extents_at_front, virt); virt 1099 fs/ecryptfs/crypto.c char *virt, size_t virt_len) virt 1103 fs/ecryptfs/crypto.c rc = ecryptfs_write_lower(ecryptfs_inode, virt, virt 1167 fs/ecryptfs/crypto.c char *virt; virt 1187 fs/ecryptfs/crypto.c virt = (char *)ecryptfs_get_zeroed_pages(GFP_KERNEL, order); virt 1188 fs/ecryptfs/crypto.c if (!virt) { virt 1194 fs/ecryptfs/crypto.c rc = ecryptfs_write_headers_virt(virt, virt_len, &size, crypt_stat, virt 1203 fs/ecryptfs/crypto.c virt, size); virt 1205 fs/ecryptfs/crypto.c rc = ecryptfs_write_metadata_to_contents(ecryptfs_inode, virt, virt 1213 fs/ecryptfs/crypto.c free_pages((unsigned long)virt, order); virt 1221 fs/ecryptfs/crypto.c char *virt, int *bytes_read, virt 1228 fs/ecryptfs/crypto.c header_extent_size = get_unaligned_be32(virt); virt 1229 fs/ecryptfs/crypto.c virt += sizeof(__be32); virt 1230 fs/ecryptfs/crypto.c num_header_extents_at_front = get_unaligned_be16(virt); virt 646 fs/ecryptfs/ecryptfs_kernel.h ecryptfs_write_header_metadata(char *virt, virt 61 fs/ecryptfs/read_write.c char *virt; virt 67 fs/ecryptfs/read_write.c virt = kmap(page_for_lower); virt 68 fs/ecryptfs/read_write.c rc = ecryptfs_write_lower(ecryptfs_inode, virt, offset, size); virt 249 fs/ecryptfs/read_write.c char *virt; virt 254 fs/ecryptfs/read_write.c virt = kmap(page_for_ecryptfs); virt 255 fs/ecryptfs/read_write.c rc = ecryptfs_read_lower(virt, offset, size, ecryptfs_inode); virt 46 fs/verity/verify.c void *virt = kmap_atomic(hpage); virt 48 fs/verity/verify.c memcpy(out, virt + hoffset, hsize); virt 49 fs/verity/verify.c kunmap_atomic(virt); virt 21 include/acpi/acpi_io.h void __ref acpi_os_unmap_iomem(void __iomem *virt, acpi_size size); virt 105 include/asm-generic/sections.h static inline bool memory_contains(void *begin, void *end, void *virt, virt 108 include/asm-generic/sections.h return virt >= begin && virt + size <= end; virt 122 include/asm-generic/sections.h static inline bool memory_intersects(void *begin, void *end, void *virt, virt 125 include/asm-generic/sections.h void *vend = virt + size; virt 127 include/asm-generic/sections.h return (virt >= begin && virt < end) || (vend >= begin && vend < end); virt 139 include/asm-generic/sections.h static inline bool init_section_contains(void *virt, size_t size) virt 141 include/asm-generic/sections.h return memory_contains(__init_begin, __init_end, virt, size); virt 153 include/asm-generic/sections.h static inline bool init_section_intersects(void *virt, size_t size) virt 155 include/asm-generic/sections.h return memory_intersects(__init_begin, __init_end, virt, size); virt 98 include/crypto/algapi.h } virt; virt 21 include/crypto/cbc.h u8 *src = walk->src.virt.addr; virt 22 include/crypto/cbc.h u8 *dst = walk->dst.virt.addr; virt 43 include/crypto/cbc.h u8 *src = walk->src.virt.addr; virt 70 include/crypto/cbc.h if (walk.src.virt.addr == walk.dst.virt.addr) virt 86 include/crypto/cbc.h u8 *src = walk->src.virt.addr; virt 87 include/crypto/cbc.h u8 *dst = walk->dst.virt.addr; virt 110 include/crypto/cbc.h u8 *src = walk->src.virt.addr; virt 135 include/crypto/cbc.h if (walk->src.virt.addr == walk->dst.virt.addr) virt 37 include/crypto/ctr.h u8 *dst = walk.dst.virt.addr; virt 38 include/crypto/ctr.h u8 *src = walk.src.virt.addr; virt 44 include/crypto/internal/skcipher.h } virt; virt 40 include/linux/dma-debug.h dma_addr_t dma_addr, void *virt); virt 43 include/linux/dma-debug.h void *virt, dma_addr_t addr); virt 111 include/linux/dma-debug.h dma_addr_t dma_addr, void *virt) virt 116 include/linux/dma-debug.h void *virt, dma_addr_t addr) virt 557 include/linux/gfp.h void free_pages_exact(void *virt, size_t size); virt 99 include/linux/mmiotrace.h unsigned long virt; /* base virtual address */ virt 197 include/linux/mtd/map.h void __iomem *virt; virt 394 include/linux/mtd/map.h r.x[0] = __raw_readb(map->virt + ofs); virt 396 include/linux/mtd/map.h r.x[0] = __raw_readw(map->virt + ofs); virt 398 include/linux/mtd/map.h r.x[0] = __raw_readl(map->virt + ofs); virt 401 include/linux/mtd/map.h r.x[0] = __raw_readq(map->virt + ofs); virt 404 include/linux/mtd/map.h memcpy_fromio(r.x, map->virt + ofs, map->bankwidth); virt 414 include/linux/mtd/map.h __raw_writeb(datum.x[0], map->virt + ofs); virt 416 include/linux/mtd/map.h __raw_writew(datum.x[0], map->virt + ofs); virt 418 include/linux/mtd/map.h __raw_writel(datum.x[0], map->virt + ofs); virt 421 include/linux/mtd/map.h __raw_writeq(datum.x[0], map->virt + ofs); virt 424 include/linux/mtd/map.h memcpy_toio(map->virt+ofs, datum.x, map->bankwidth); virt 435 include/linux/mtd/map.h memcpy_fromio(to, map->virt + from, len); virt 440 include/linux/mtd/map.h memcpy_toio(map->virt + to, from, len); virt 278 include/linux/mtd/mtd.h size_t *retlen, void **virt, resource_size_t *phys); virt 411 include/linux/mtd/mtd.h void **virt, resource_size_t *phys); virt 87 include/linux/soc/ti/knav_qmss.h dma_addr_t knav_pool_desc_virt_to_dma(void *ph, void *virt); virt 80 include/rdma/ib_umem.h unsigned long virt); virt 100 include/rdma/ib_umem.h unsigned long virt) { virt 166 include/scsi/scsi_cmnd.h extern void scsi_kunmap_atomic_sg(void *virt); virt 388 include/uapi/drm/drm.h void __user *virt; virt 151 include/uapi/xen/gntdev.h void __user *virt; virt 1437 kernel/dma/debug.c dma_addr_t dma_addr, void *virt) virt 1444 kernel/dma/debug.c if (unlikely(virt == NULL)) virt 1448 kernel/dma/debug.c if (!is_vmalloc_addr(virt) && !virt_addr_valid(virt)) virt 1457 kernel/dma/debug.c entry->offset = offset_in_page(virt); virt 1462 kernel/dma/debug.c if (is_vmalloc_addr(virt)) virt 1463 kernel/dma/debug.c entry->pfn = vmalloc_to_pfn(virt); virt 1465 kernel/dma/debug.c entry->pfn = page_to_pfn(virt_to_page(virt)); virt 1471 kernel/dma/debug.c void *virt, dma_addr_t addr) virt 1476 kernel/dma/debug.c .offset = offset_in_page(virt), virt 1483 kernel/dma/debug.c if (!is_vmalloc_addr(virt) && !virt_addr_valid(virt)) virt 1486 kernel/dma/debug.c if (is_vmalloc_addr(virt)) virt 1487 kernel/dma/debug.c ref.pfn = vmalloc_to_pfn(virt); virt 1489 kernel/dma/debug.c ref.pfn = page_to_pfn(virt_to_page(virt)); virt 6524 kernel/events/core.c static u64 perf_virt_to_phys(u64 virt) virt 6529 kernel/events/core.c if (!virt) virt 6532 kernel/events/core.c if (virt >= TASK_SIZE) { virt 6534 kernel/events/core.c if (virt_addr_valid((void *)(uintptr_t)virt) && virt 6535 kernel/events/core.c !(virt >= VMALLOC_START && virt < VMALLOC_END)) virt 6536 kernel/events/core.c phys_addr = (u64)virt_to_phys((void *)(uintptr_t)virt); virt 6547 kernel/events/core.c if (__get_user_pages_fast(virt, 1, 0, &p) == 1) virt 6548 kernel/events/core.c phys_addr = page_to_phys(p) + virt % PAGE_SIZE; virt 305 kernel/trace/trace_entries.h __field_desc( unsigned long, map, virt ) virt 312 kernel/trace/trace_entries.h (unsigned long)__entry->phys, __entry->virt, __entry->len, virt 230 kernel/trace/trace_mmiotrace.c (unsigned long long)m->phys, m->virt, m->len, virt 182 lib/genalloc.c int gen_pool_add_owner(struct gen_pool *pool, unsigned long virt, phys_addr_t phys, virt 195 lib/genalloc.c chunk->start_addr = virt; virt 196 lib/genalloc.c chunk->end_addr = virt + size - 1; virt 5020 mm/page_alloc.c void free_pages_exact(void *virt, size_t size) virt 5022 mm/page_alloc.c unsigned long addr = (unsigned long)virt; virt 8088 mm/page_alloc.c bool virt; virt 8145 mm/page_alloc.c virt = false; virt 8155 mm/page_alloc.c virt = true; virt 8172 mm/page_alloc.c virt ? "vmalloc" : "linear"); virt 25 security/keys/big_key.c void *virt; virt 143 security/keys/big_key.c if (buf->virt) { virt 144 security/keys/big_key.c memset(buf->virt, 0, buf->nr_pages * PAGE_SIZE); virt 145 security/keys/big_key.c vunmap(buf->virt); virt 186 security/keys/big_key.c buf->virt = vmap(buf->pages, buf->nr_pages, VM_MAP, PAGE_KERNEL); virt 187 security/keys/big_key.c if (!buf->virt) virt 229 security/keys/big_key.c memcpy(buf->virt, prep->data, datalen); virt 253 security/keys/big_key.c written = kernel_write(file, buf->virt, enclen, &pos); virt 382 security/keys/big_key.c ret = kernel_read(file, buf->virt, enclen, &pos); virt 395 security/keys/big_key.c memcpy(buffer, buf->virt, datalen); virt 1104 sound/pci/mixart/mixart.c iounmap(mgr->mem[i].virt); virt 1282 sound/pci/mixart/mixart.c mgr->mem[i].virt = pci_ioremap_bar(pci, i); virt 1283 sound/pci/mixart/mixart.c if (!mgr->mem[i].virt) { virt 30 sound/pci/mixart/mixart.h void __iomem *virt; virt 31 sound/pci/mixart/mixart_hwdep.h #define MIXART_MEM(mgr,x) ((mgr)->mem[0].virt + (x)) virt 32 sound/pci/mixart/mixart_hwdep.h #define MIXART_REG(mgr,x) ((mgr)->mem[1].virt + (x)) virt 219 sound/soc/sh/siu_pcm.c u8 *virt; virt 224 sound/soc/sh/siu_pcm.c virt = PERIOD_OFFSET(rt->dma_area, virt 47 sound/soc/sprd/sprd-pcm-compress.c void *virt; virt 224 sound/soc/sprd/sprd-pcm-compress.c link.virt_addr = (unsigned long)dma->virt; virt 351 sound/soc/sprd/sprd-pcm-compress.c stream->dma[0].virt = stream->iram_buffer.area + SPRD_COMPR_IRAM_SIZE; virt 371 sound/soc/sprd/sprd-pcm-compress.c stream->dma[1].virt = stream->compr_buffer.area + SPRD_COMPR_AREA_SIZE; virt 25 sound/soc/sprd/sprd-pcm-dma.c void *virt; virt 88 sound/soc/sprd/sprd-pcm-dma.c data->virt = dmam_alloc_coherent(dev, size, &data->phys, virt 90 sound/soc/sprd/sprd-pcm-dma.c if (!data->virt) { virt 106 sound/soc/sprd/sprd-pcm-dma.c if (data->virt) virt 107 sound/soc/sprd/sprd-pcm-dma.c dmam_free_coherent(dev, size, data->virt, data->phys); virt 128 sound/soc/sprd/sprd-pcm-dma.c dmam_free_coherent(dev, size, data->virt, data->phys); virt 274 sound/soc/sprd/sprd-pcm-dma.c link.virt_addr = (unsigned long)data->virt; virt 388 tools/include/uapi/drm/drm.h void __user *virt; virt 373 virt/kvm/arm/trace.h #define TRACE_INCLUDE_PATH ../../virt/kvm/arm virt 33 virt/kvm/arm/vgic/trace.h #define TRACE_INCLUDE_PATH ../../virt/kvm/arm/vgic