Home
last modified time | relevance | path

Searched refs:va (Results 1 – 25 of 573) sorted by relevance

12345678910>>...23

/linux/mm/
A Dvmalloc.c765 return (va->va_end - va->va_start); in va_size()
774 return va ? va->subtree_max_size : 0; in get_subtree_max_size()
984 va_size(va), va->subtree_max_size); in augment_tree_propagate_check()
1709 va->va_start, va->va_end); in __purge_vmap_area_lazy()
1908 vb->va = va; in new_vmap_block()
2166 (va->va_end - va->va_start)); in vm_unmap_ram()
2521 if (va && va->vm) { in remove_vm_area()
3781 va->va_start, va->va_end); in pcpu_get_vm_areas()
3831 va->va_start, va->va_end); in pcpu_get_vm_areas()
3929 va->va_end - va->va_start); in show_purge_info()
[all …]
/linux/drivers/scsi/qedi/
A Dqedi_dbg.c14 va_list va; in qedi_dbg_err() local
20 vaf.va = &va; in qedi_dbg_err()
28 va_end(va); in qedi_dbg_err()
35 va_list va; in qedi_dbg_warn() local
41 vaf.va = &va; in qedi_dbg_warn()
53 va_end(va); in qedi_dbg_warn()
60 va_list va; in qedi_dbg_notice() local
66 vaf.va = &va; in qedi_dbg_notice()
79 va_end(va); in qedi_dbg_notice()
86 va_list va; in qedi_dbg_info() local
[all …]
/linux/sound/soc/codecs/
A Dlpass-va-macro.c1341 va->hw.init = &init; in va_macro_register_fsgen_output()
1342 ret = devm_clk_hw_register(va->dev, &va->hw); in va_macro_register_fsgen_output()
1397 struct va_macro *va; in va_macro_probe() local
1402 va = devm_kzalloc(dev, sizeof(*va), GFP_KERNEL); in va_macro_probe()
1403 if (!va) in va_macro_probe()
1406 va->dev = dev; in va_macro_probe()
1407 va->clks[0].id = "macro"; in va_macro_probe()
1408 va->clks[1].id = "dcodec"; in va_macro_probe()
1409 va->clks[2].id = "mclk"; in va_macro_probe()
1441 if (IS_ERR(va->regmap)) { in va_macro_probe()
[all …]
/linux/drivers/scsi/qedf/
A Dqedf_dbg.c13 va_list va; in qedf_dbg_err() local
19 vaf.va = &va; in qedf_dbg_err()
27 va_end(va); in qedf_dbg_err()
34 va_list va; in qedf_dbg_warn() local
40 vaf.va = &va; in qedf_dbg_warn()
52 va_end(va); in qedf_dbg_warn()
59 va_list va; in qedf_dbg_notice() local
65 vaf.va = &va; in qedf_dbg_notice()
78 va_end(va); in qedf_dbg_notice()
85 va_list va; in qedf_dbg_info() local
[all …]
/linux/arch/riscv/mm/
A Dinit.c468 if (is_va_kernel_text(va)) in pgprot_from_va()
524 uintptr_t va, end_va; in create_kernel_page_table() local
528 for (va = kernel_map.virt_addr; va < end_va; va += PMD_SIZE) in create_kernel_page_table()
529 create_pgd_mapping(pgdir, va, in create_kernel_page_table()
535 for (va = kernel_map.virt_addr + XIP_OFFSET; va < end_va; va += PMD_SIZE) in create_kernel_page_table()
536 create_pgd_mapping(pgdir, va, in create_kernel_page_table()
543 uintptr_t va, end_va; in create_kernel_page_table() local
546 for (va = kernel_map.virt_addr; va < end_va; va += PMD_SIZE) in create_kernel_page_table()
700 uintptr_t va, map_size; in setup_vm_final() local
731 va = (uintptr_t)__va(pa); in setup_vm_final()
[all …]
/linux/drivers/dio/
A Ddio.c122 void *va; in dio_find() local
134 va = (void *)(pa + DIO_VIRADDRBASE); in dio_find()
136 va = ioremap(pa, PAGE_SIZE); in dio_find()
141 iounmap(va); in dio_find()
145 prid = DIO_ID(va); in dio_find()
155 iounmap(va); in dio_find()
196 u_char *va; in dio_init() local
210 va = ioremap(pa, PAGE_SIZE); in dio_init()
215 iounmap(va); in dio_init()
233 prid = DIO_ID(va); in dio_init()
[all …]
/linux/arch/powerpc/mm/nohash/
A D8xx.c29 phys_addr_t v_block_mapped(unsigned long va) in v_block_mapped() argument
33 if (va >= VIRT_IMMR_BASE && va < VIRT_IMMR_BASE + IMMR_SIZE) in v_block_mapped()
34 return p + va - VIRT_IMMR_BASE; in v_block_mapped()
37 if (va >= PAGE_OFFSET && va < PAGE_OFFSET + block_mapped_ram) in v_block_mapped()
38 return __pa(va); in v_block_mapped()
70 return hugepte_offset(*(hugepd_t *)pmdp, va, PGDIR_SHIFT); in early_hugepd_alloc_kernel()
76 pmd_t *pmdp = pmd_off_k(va); in __early_map_kernel_hugepage()
87 ptep = early_pte_alloc_kernel(pmdp, va); in __early_map_kernel_hugepage()
89 ptep = early_hugepd_alloc_kernel((hugepd_t *)pmdp, va); in __early_map_kernel_hugepage()
92 ptep = pte_offset_kernel(pmdp, va); in __early_map_kernel_hugepage()
[all …]
/linux/drivers/video/fbdev/vermilion/
A Dvermilion.c89 va->logical = in vmlfb_alloc_vram_area()
93 if (!va->logical) in vmlfb_alloc_vram_area()
96 va->phys = virt_to_phys((void *)va->logical); in vmlfb_alloc_vram_area()
107 memset((void *)va->logical, 0x00, va->size); in vmlfb_alloc_vram_area()
108 for (i = va->logical; i < va->logical + va->size; i += PAGE_SIZE) { in vmlfb_alloc_vram_area()
116 set_pages_uc(virt_to_page(va->logical), va->size >> PAGE_SHIFT); in vmlfb_alloc_vram_area()
120 va->size, va->phys); in vmlfb_alloc_vram_area()
148 for (j = va->logical; j < va->logical + va->size; in vmlfb_free_vram_area()
155 va->size, va->phys); in vmlfb_free_vram_area()
156 free_pages(va->logical, va->order); in vmlfb_free_vram_area()
[all …]
/linux/arch/alpha/kernel/
A Dtraps.c444 unaligned[0].va = (unsigned long) va; in do_entUna()
462 : "r"(va), "0"(0)); in do_entUna()
478 : "r"(va), "0"(0)); in do_entUna()
494 : "r"(va), "0"(0)); in do_entUna()
577 pc, va, opcode, reg); in do_entUna()
753 unaligned[1].va = (unsigned long)va; in do_entUnaUser()
785 : "r"(va), "0"(0)); in do_entUnaUser()
801 : "r"(va), "0"(0)); in do_entUnaUser()
817 : "r"(va), "0"(0)); in do_entUnaUser()
833 : "r"(va), "0"(0)); in do_entUnaUser()
[all …]
/linux/drivers/media/platform/mtk-vcodec/vdec/
A Dvdec_vp9_if.c36 unsigned long va; member
393 if (mem->va) in vp9_alloc_work_buf()
405 vsi->mv_buf.va = (unsigned long)mem->va; in vp9_alloc_work_buf()
411 if (mem->va) in vp9_alloc_work_buf()
422 vsi->seg_id_buf.va = (unsigned long)mem->va; in vp9_alloc_work_buf()
562 inst = mem.va; in vp9_alloc_inst()
573 if (mem.va) in vp9_free_inst()
671 inst->vsi->mv_buf.va = (unsigned long)inst->mv_buf.va; in vp9_reset()
676 inst->vsi->seg_id_buf.va = (unsigned long)inst->seg_id_buf.va; in vp9_reset()
775 if (mem->va) in vdec_vp9_deinit()
[all …]
/linux/arch/powerpc/mm/book3s64/
A Dhash_native.c153 unsigned long va; in ___tlbie() local
177 va |= ssize << 8; in ___tlbie()
179 va |= sllp << 5; in ___tlbie()
188 va |= penc << 12; in ___tlbie()
189 va |= ssize << 8; in ___tlbie()
198 va |= 1; /* L */ in ___tlbie()
204 return va; in ___tlbie()
249 unsigned long va; in __tlbiel() local
267 va |= ssize << 8; in __tlbiel()
269 va |= sllp << 5; in __tlbiel()
[all …]
A Dradix_tlb.c178 rb = va & ~(PPC_BITMASK(52, 63)); in __tlbiel_va()
194 rb = va & ~(PPC_BITMASK(52, 63)); in __tlbie_va()
211 rb = va & ~(PPC_BITMASK(52, 63)); in __tlbie_va_lpid()
227 rb = va & ~(PPC_BITMASK(52, 63)); in __tlbie_lpid_va()
541 __tlbiel_va(va, pid, ap, ric); in _tlbiel_va()
589 __tlbie_va(va, pid, ap, ric); in _tlbie_va()
590 fixup_tlbie_va(va, pid, ap); in _tlbie_va()
596 unsigned long va; member
618 struct tlbiel_va t = { .va = va, .pid = pid, .psize = psize, .ric = ric }; in _tlbiel_va_multicast()
647 __tlbie_lpid_va(va, lpid, ap, ric); in _tlbie_lpid_va()
[all …]
/linux/fs/ceph/
A Dceph_frag.c10 unsigned va = ceph_frag_value(a); in ceph_frag_compare() local
12 if (va < vb) in ceph_frag_compare()
14 if (va > vb) in ceph_frag_compare()
16 va = ceph_frag_bits(a); in ceph_frag_compare()
18 if (va < vb) in ceph_frag_compare()
20 if (va > vb) in ceph_frag_compare()
/linux/arch/riscv/include/asm/
A Dsections.h17 static inline bool is_va_kernel_text(uintptr_t va) in is_va_kernel_text() argument
22 return va >= start && va < end; in is_va_kernel_text()
25 static inline bool is_va_kernel_lm_alias_text(uintptr_t va) in is_va_kernel_lm_alias_text() argument
30 return va >= start && va < end; in is_va_kernel_lm_alias_text()
/linux/lib/
A Dtest_debug_virtual.c25 void *va; in test_debug_virtual_init() local
27 va = (void *)VMALLOC_START; in test_debug_virtual_init()
28 pa = virt_to_phys(va); in test_debug_virtual_init()
30 pr_info("PA: %pa for VA: 0x%lx\n", &pa, (unsigned long)va); in test_debug_virtual_init()
37 va = foo; in test_debug_virtual_init()
38 pr_info("PA: %pa for VA: 0x%lx\n", &pa, (unsigned long)va); in test_debug_virtual_init()
/linux/tools/testing/selftests/proc/
A Dproc-self-map-files-002.c55 unsigned long va; in main() local
64 for (va = 0; va < va_max; va += PAGE_SIZE) { in main()
65 p = mmap((void *)va, PAGE_SIZE, PROT_NONE, MAP_PRIVATE|MAP_FILE|MAP_FIXED, fd, 0); in main()
66 if (p == (void *)va) in main()
69 if (va == va_max) { in main()
/linux/arch/powerpc/math-emu/
A Dmath_efp.c182 union dw_union vc, va, vb; in do_spe_mathemu() local
202 va.wp[1] = regs->gpr[fa]; in do_spe_mathemu()
210 pr_debug("va: %08x %08x\n", va.wp[0], va.wp[1]); in do_spe_mathemu()
220 FP_UNPACK_SP(SA, va.wp + 1); in do_spe_mathemu()
225 FP_UNPACK_SP(SA, va.wp + 1); in do_spe_mathemu()
348 FP_UNPACK_DP(DA, va.dp); in do_spe_mathemu()
353 FP_UNPACK_DP(DA, va.dp); in do_spe_mathemu()
493 FP_UNPACK_SP(SA0, va.wp); in do_spe_mathemu()
494 FP_UNPACK_SP(SA1, va.wp + 1); in do_spe_mathemu()
500 FP_UNPACK_SP(SA0, va.wp); in do_spe_mathemu()
[all …]
/linux/arch/x86/kernel/
A Dirq_64.c39 void *va; in map_irq_stack() local
48 va = vmap(pages, IRQ_STACK_SIZE / PAGE_SIZE, VM_MAP, PAGE_KERNEL); in map_irq_stack()
49 if (!va) in map_irq_stack()
53 per_cpu(hardirq_stack_ptr, cpu) = va + IRQ_STACK_SIZE - 8; in map_irq_stack()
63 void *va = per_cpu_ptr(&irq_stack_backing_store, cpu); in map_irq_stack() local
66 per_cpu(hardirq_stack_ptr, cpu) = va + IRQ_STACK_SIZE - 8; in map_irq_stack()
/linux/arch/parisc/kernel/
A Dentry.S170 mfctl %pcoq, va
187 mfctl %pcoq, va
201 mfctl %ior,va
219 mfctl %ior,va
233 mfctl %ior, va
251 mfctl %ior, va
263 mfctl %ior,va
279 mfctl %ior,va
293 mfctl %ior,va
311 mfctl %ior,va
[all …]
/linux/drivers/firmware/efi/
A Dmokvar-table.c103 void *va = NULL; in efi_mokvar_table_init() local
137 mokvar_entry = va + cur_offset; in efi_mokvar_table_init()
140 if (va) in efi_mokvar_table_init()
141 early_memunmap(va, map_size); in efi_mokvar_table_init()
150 va = early_memremap(efi.mokvar_table, map_size); in efi_mokvar_table_init()
151 if (!va) { in efi_mokvar_table_init()
156 mokvar_entry = va + cur_offset; in efi_mokvar_table_init()
177 if (va) in efi_mokvar_table_init()
178 early_memunmap(va, map_size); in efi_mokvar_table_init()
/linux/arch/arm/mach-omap1/
A Dirq.c60 void __iomem *va; member
72 return readl_relaxed(irq_banks[bank].va + offset); in irq_bank_readl()
76 writel_relaxed(value, irq_banks[bank].va + offset); in irq_bank_writel()
82 writel_relaxed(0x1, irq_banks[1].va + IRQ_CONTROL_REG_OFFSET); in omap_ack_irq()
84 writel_relaxed(0x1, irq_banks[0].va + IRQ_CONTROL_REG_OFFSET); in omap_ack_irq()
146 void __iomem *l1 = irq_banks[0].va; in omap1_handle_irq()
147 void __iomem *l2 = irq_banks[1].va; in omap1_handle_irq()
223 irq_banks[i].va = ioremap(irq_banks[i].base_reg, 0xff); in omap1_init_irq()
224 if (WARN_ON(!irq_banks[i].va)) in omap1_init_irq()
267 omap_alloc_gc(irq_banks[i].va, irq_base + i * 32, 32); in omap1_init_irq()
/linux/drivers/video/fbdev/matrox/
A Dmatroxfb_base.h129 return readb(va.vaddr + offs); in mga_readb()
133 writeb(value, va.vaddr + offs); in mga_writeb()
137 writew(value, va.vaddr + offs); in mga_writew()
141 return readl(va.vaddr + offs); in mga_readl()
145 writel(value, va.vaddr + offs); in mga_writel()
157 iowrite32_rep(va.vaddr, src, len >> 2); in mga_memcpy_toio()
159 u_int32_t __iomem* addr = va.vaddr; in mga_memcpy_toio()
179 static inline void vaddr_add(vaddr_t* va, unsigned long offs) { in vaddr_add() argument
180 va->vaddr += offs; in vaddr_add()
183 static inline void __iomem* vaddr_va(vaddr_t va) { in vaddr_va() argument
[all …]
/linux/drivers/remoteproc/
A Dpru_rproc.c433 void *va = NULL; in pru_d_da_to_va() local
447 va = (__force void *)(dram0.va + offset); in pru_d_da_to_va()
451 va = (__force void *)(dram1.va + offset); in pru_d_da_to_va()
455 va = (__force void *)(shrd_ram.va + offset); in pru_d_da_to_va()
458 return va; in pru_d_da_to_va()
471 void *va = NULL; in pru_i_da_to_va() local
497 va = (__force void *)(pru->mem_regions[PRU_IOMEM_IRAM].va + in pru_i_da_to_va()
501 return va; in pru_i_da_to_va()
520 void *va; in pru_da_to_va() local
523 va = pru_i_da_to_va(pru, da, len); in pru_da_to_va()
[all …]
/linux/drivers/media/platform/mtk-vcodec/
A Dmtk_vcodec_util.c43 mem->va = dma_alloc_coherent(dev, size, &mem->dma_addr, GFP_KERNEL); in mtk_vcodec_mem_alloc()
44 if (!mem->va) { in mtk_vcodec_mem_alloc()
50 mtk_v4l2_debug(3, "[%d] - va = %p", ctx->id, mem->va); in mtk_vcodec_mem_alloc()
66 if (!mem->va) { in mtk_vcodec_mem_free()
72 mtk_v4l2_debug(3, "[%d] - va = %p", ctx->id, mem->va); in mtk_vcodec_mem_free()
77 dma_free_coherent(dev, size, mem->va, mem->dma_addr); in mtk_vcodec_mem_free()
78 mem->va = NULL; in mtk_vcodec_mem_free()
/linux/drivers/tee/amdtee/
A Dshm_pool.c15 unsigned long va; in pool_op_alloc() local
18 va = __get_free_pages(GFP_KERNEL | __GFP_ZERO, order); in pool_op_alloc()
19 if (!va) in pool_op_alloc()
22 shm->kaddr = (void *)va; in pool_op_alloc()
23 shm->paddr = __psp_pa((void *)va); in pool_op_alloc()
29 free_pages(va, order); in pool_op_alloc()

Completed in 68 milliseconds

12345678910>>...23