Home
last modified time | relevance | path

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

12345678910>>...29

/openbmc/linux/drivers/gpu/drm/
H A Ddrm_gpuva_mgr.c765 u64 addr = va->va.addr; in drm_gpuva_insert()
766 u64 range = va->va.range; in drm_gpuva_insert()
890 if (va->va.addr != addr || in drm_gpuva_find()
891 va->va.range != range) in drm_gpuva_find()
1067 op.unmap.va = va; in op_unmap_cb()
1089 u64 addr = va->va.addr; in __drm_gpuva_sm_map()
1120 .va = va, in __drm_gpuva_sm_map()
1198 .va = va, in __drm_gpuva_sm_map()
1232 u64 addr = va->va.addr; in __drm_gpuva_sm_unmap()
1627 op->prefetch.va = va; in drm_gpuva_prefetch_ops_create()
[all …]
/openbmc/qemu/tests/tcg/s390x/
H A Dvxeh2_vlstr.c12 static inline void vler(S390Vector *v1, const void *va, uint8_t m3) in vler() argument
16 : [va] "a" (va) in vler()
21 static inline void vster(S390Vector *v1, const void *va, uint8_t m3) in vster() argument
24 : [va] "+a" (va) in vster()
30 static inline void vlbr(S390Vector *v1, void *va, const uint8_t m3) in vlbr() argument
34 : [va] "a" (va) in vlbr()
42 : [va] "+a" (va) in vstbr()
53 : [va] "a" (va) in vlebrh()
61 : [va] "+a" (va) in vstebrh()
71 : [va] "a" (va) in vllebrz()
[all …]
/openbmc/linux/sound/soc/codecs/
H A Dlpass-va-macro.c1336 if (va->has_swr_master) in fsgen_gate_enable()
1390 va->hw.init = &init; in va_macro_register_fsgen_output()
1391 ret = devm_clk_hw_register(va->dev, &va->hw); in va_macro_register_fsgen_output()
1447 struct va_macro *va; in va_macro_probe() local
1452 va = devm_kzalloc(dev, sizeof(*va), GFP_KERNEL); in va_macro_probe()
1453 if (!va) in va_macro_probe()
1456 va->dev = dev; in va_macro_probe()
1459 if (IS_ERR(va->macro)) in va_macro_probe()
1467 if (IS_ERR(va->mclk)) in va_macro_probe()
1471 if (IS_ERR(va->pds)) in va_macro_probe()
[all …]
/openbmc/linux/mm/
H A Dvmalloc.c778 return (va->va_end - va->va_start); in va_size()
787 return va ? va->subtree_max_size : 0; in get_subtree_max_size()
1030 va_size(va), va->subtree_max_size); in augment_tree_propagate_check()
1771 va->va_start, va->va_end); in __purge_vmap_area_lazy()
2059 vb->va = va; in new_vmap_block()
2380 (va->va_end - va->va_start)); in vm_unmap_ram()
2713 if (!va || !va->vm) in remove_vm_area()
4210 va->va_start, va->va_end); in pcpu_get_vm_areas()
4260 va->va_start, va->va_end); in pcpu_get_vm_areas()
4376 va->va_end - va->va_start); in show_purge_info()
[all …]
/openbmc/linux/drivers/scsi/qedi/
H 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 …]
/openbmc/linux/include/drm/
H A Ddrm_gpuva_mgr.h93 } va; member
158 va->va.addr = addr; in drm_gpuva_init()
159 va->va.range = range; in drm_gpuva_init()
160 va->gem.obj = obj; in drm_gpuva_init()
161 va->gem.offset = offset; in drm_gpuva_init()
255 if (va && !list_is_last(&va->rb.entry, &va->mgr->rb.list)) in __drm_gpuva_next()
378 } va; member
406 struct drm_gpuva *va; member
471 struct drm_gpuva *va; member
608 drm_gpuva_init(va, op->va.addr, op->va.range, in drm_gpuva_init_from_op()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_uvmm.c181 u64 addr = uvma->va.va.addr; in nouveau_uvma_vmm_put()
182 u64 range = uvma->va.va.range; in nouveau_uvma_vmm_put()
191 u64 addr = uvma->va.va.addr; in nouveau_uvma_map()
193 u64 range = uvma->va.va.range; in nouveau_uvma_map()
202 u64 addr = uvma->va.va.addr; in nouveau_uvma_unmap()
203 u64 range = uvma->va.va.range; in nouveau_uvma_unmap()
506 u64 ustart = va->va.addr; in nouveau_uvmm_sm_prepare_unwind()
524 u64 ustart = va->va.addr; in nouveau_uvmm_sm_prepare_unwind()
644 u64 ustart = va->va.addr; in nouveau_uvmm_sm_prepare()
807 u64 end = uvma->va.va.addr + uvma->va.va.range; in op_remap()
[all …]
/openbmc/qemu/target/alpha/
H A Dtranslate.c783 TCGv va, vb, vc; in gen_ieee_arith3() local
791 helper(vc, tcg_env, va, vb); in gen_ieee_arith3()
815 TCGv va, vb, vc; in IEEE_ARITH3() local
820 helper(vc, tcg_env, va, vb); in IEEE_ARITH3()
1225 helper(va); in gen_mfpr()
1228 helper(va); in gen_mfpr()
1372 TCGv va, vb, vc, tmp, tmp2; in translate_one() local
1431 va = dest_gpr(ctx, ra); in translate_one()
1486 va = load_gpr(ctx, ra); in translate_one()
1663 va = load_gpr(ctx, ra); in translate_one()
[all …]
/openbmc/linux/drivers/scsi/qedf/
H 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 …]
/openbmc/qemu/contrib/elf2dmp/
H A Daddrspace.c134 ((va & 0x7FC0000000) >> 27); in get_pdpi()
139 static uint64_t pde_index(uint64_t va) in pde_index() argument
141 return (va >> 21) & 0x1FF; in pde_index()
157 static uint64_t pte_index(uint64_t va) in pte_index() argument
159 return (va >> 12) & 0x1FF; in pte_index()
175 static uint64_t get_paddr(uint64_t va, uint64_t pte) in get_paddr() argument
177 return (pte & 0xFFFFFFFFFF000) | (va & 0xFFF); in get_paddr()
213 return get_1GB_paddr(va, pdpe); in va_space_va2pa()
221 return get_2MB_paddr(va, pgd); in va_space_va2pa()
228 return get_paddr(va, pte); in va_space_va2pa()
[all …]
/openbmc/linux/drivers/gpu/drm/i915/gt/
H A Dselftest_tlb.c33 struct i915_vma *va, in pte_tlbinv() argument
68 va->size, align); in pte_tlbinv()
75 if (vb != va) { in pte_tlbinv()
93 if (va != vb) in pte_tlbinv()
97 va->page_sizes.phys, va->page_sizes.sg, in pte_tlbinv()
141 if (va == vb) { in pte_tlbinv()
146 va->page_sizes.phys, va->page_sizes.sg); in pte_tlbinv()
182 if (vb != va) in pte_tlbinv()
277 if (IS_ERR(va)) { in mem_tlbinv()
313 if (BIT_ULL(bit) < i915_vm_obj_min_alignment(va->vm, va->obj)) in mem_tlbinv()
[all …]
/openbmc/u-boot/lib/
H A Dtiny-printf.c288 p = va_arg(va, char*); in _vprintf()
336 va_list va; in printf() local
340 va_start(va, fmt); in printf()
341 ret = _vprintf(&info, fmt, va); in printf()
342 va_end(va); in printf()
356 va_list va; in sprintf() local
359 va_start(va, fmt); in sprintf()
363 va_end(va); in sprintf()
373 va_list va; in snprintf() local
376 va_start(va, fmt); in snprintf()
[all …]
/openbmc/linux/arch/powerpc/mm/nohash/
H A D8xx.c23 phys_addr_t v_block_mapped(unsigned long va) in v_block_mapped() argument
27 if (va >= VIRT_IMMR_BASE && va < VIRT_IMMR_BASE + IMMR_SIZE) in v_block_mapped()
28 return p + va - VIRT_IMMR_BASE; in v_block_mapped()
29 if (va >= PAGE_OFFSET && va < PAGE_OFFSET + block_mapped_ram) in v_block_mapped()
30 return __pa(va); in v_block_mapped()
60 return hugepte_offset(*(hugepd_t *)pmdp, va, PGDIR_SHIFT); in early_hugepd_alloc_kernel()
66 pmd_t *pmdp = pmd_off_k(va); in __early_map_kernel_hugepage()
77 ptep = early_pte_alloc_kernel(pmdp, va); in __early_map_kernel_hugepage()
79 ptep = early_hugepd_alloc_kernel((hugepd_t *)pmdp, va); in __early_map_kernel_hugepage()
82 ptep = pte_offset_kernel(pmdp, va); in __early_map_kernel_hugepage()
[all …]
/openbmc/linux/drivers/dio/
H A Ddio.c127 void *va; in dio_find() local
146 iounmap(va); in dio_find()
150 prid = DIO_ID(va); in dio_find()
153 secid = DIO_SECID(va); in dio_find()
160 iounmap(va); in dio_find()
200 u_char *va; in dio_init() local
219 iounmap(va); in dio_init()
227 iounmap(va); in dio_init()
241 prid = DIO_ID(va); in dio_init()
244 secid = DIO_SECID(va); in dio_init()
[all …]
/openbmc/linux/fs/ceph/
H 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()
/openbmc/linux/tools/testing/selftests/kvm/lib/
H A Ducall_common.c82 va_list va; in ucall_assert() local
91 va_start(va, fmt); in ucall_assert()
92 guest_vsnprintf(uc->buffer, UCALL_BUFFER_LEN, fmt, va); in ucall_assert()
93 va_end(va); in ucall_assert()
103 va_list va; in ucall_fmt() local
108 va_start(va, fmt); in ucall_fmt()
110 va_end(va); in ucall_fmt()
120 va_list va; in ucall() local
129 va_start(va, nargs); in ucall()
131 WRITE_ONCE(uc->args[i], va_arg(va, uint64_t)); in ucall()
[all …]
/openbmc/linux/arch/riscv/mm/
H A Dinit.c716 if (is_va_kernel_text(va)) in pgprot_from_va()
905 uintptr_t va, end_va; in create_kernel_page_table() local
909 for (va = kernel_map.virt_addr; va < end_va; va += PMD_SIZE) in create_kernel_page_table()
910 create_pgd_mapping(pgdir, va, in create_kernel_page_table()
916 for (va = kernel_map.virt_addr + XIP_OFFSET; va < end_va; va += PMD_SIZE) in create_kernel_page_table()
917 create_pgd_mapping(pgdir, va, in create_kernel_page_table()
924 uintptr_t va, end_va; in create_kernel_page_table() local
927 for (va = kernel_map.virt_addr; va < end_va; va += PMD_SIZE) in create_kernel_page_table()
1232 uintptr_t va, map_size; in create_linear_mapping_range() local
1235 va = (uintptr_t)__va(pa); in create_linear_mapping_range()
[all …]
/openbmc/linux/lib/
H 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()
/openbmc/linux/Documentation/devicetree/bindings/sound/
H A Dqcom,lpass-va-macro.yaml15 - qcom,sc7280-lpass-va-macro
16 - qcom,sm8250-lpass-va-macro
17 - qcom,sm8450-lpass-va-macro
18 - qcom,sm8550-lpass-va-macro
19 - qcom,sc8280xp-lpass-va-macro
70 const: qcom,sc7280-lpass-va-macro
83 const: qcom,sm8250-lpass-va-macro
100 - qcom,sc8280xp-lpass-va-macro
101 - qcom,sm8450-lpass-va-macro
119 - qcom,sm8550-lpass-va-macro
[all …]
/openbmc/linux/arch/riscv/include/asm/
H A Dsections.h18 static inline bool is_va_kernel_text(uintptr_t va) in is_va_kernel_text() argument
23 return va >= start && va < end; in is_va_kernel_text()
26 static inline bool is_va_kernel_lm_alias_text(uintptr_t va) in is_va_kernel_lm_alias_text() argument
31 return va >= start && va < end; in is_va_kernel_lm_alias_text()
/openbmc/linux/tools/testing/selftests/proc/
H 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()
/openbmc/linux/arch/x86/kernel/
H 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(pcpu_hot.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(pcpu_hot.hardirq_stack_ptr, cpu) = va + IRQ_STACK_SIZE - 8; in map_irq_stack()
/openbmc/linux/arch/powerpc/mm/book3s64/
H A Dhash_native.c72 unsigned long va; in ___tlbie() local
96 va |= ssize << 8; in ___tlbie()
98 va |= sllp << 5; in ___tlbie()
107 va |= penc << 12; in ___tlbie()
108 va |= ssize << 8; in ___tlbie()
117 va |= 1; /* L */ in ___tlbie()
123 return va; in ___tlbie()
168 unsigned long va; in __tlbiel() local
186 va |= ssize << 8; in __tlbiel()
188 va |= sllp << 5; in __tlbiel()
[all …]
/openbmc/linux/arch/alpha/kernel/
H 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 …]
/openbmc/linux/drivers/video/fbdev/vermilion/
H A Dvermilion.c90 va->logical = in vmlfb_alloc_vram_area()
94 if (!va->logical) in vmlfb_alloc_vram_area()
97 va->phys = virt_to_phys((void *)va->logical); in vmlfb_alloc_vram_area()
108 memset((void *)va->logical, 0x00, va->size); in vmlfb_alloc_vram_area()
109 for (i = va->logical; i < va->logical + va->size; i += PAGE_SIZE) { in vmlfb_alloc_vram_area()
117 set_pages_uc(virt_to_page(va->logical), va->size >> PAGE_SHIFT); in vmlfb_alloc_vram_area()
121 va->size, va->phys); in vmlfb_alloc_vram_area()
149 for (j = va->logical; j < va->logical + va->size; in vmlfb_free_vram_area()
156 va->size, va->phys); in vmlfb_free_vram_area()
157 free_pages(va->logical, va->order); in vmlfb_free_vram_area()
[all …]

12345678910>>...29