Home
last modified time | relevance | path

Searched full:va (Results 1 – 25 of 965) sorted by relevance

12345678910>>...39

/Linux-v6.1/sound/soc/codecs/
Dlpass-va-macro.c21 /* VA macro registers */
255 /* VA macro */
279 /* VA core */
441 static int va_clk_rsc_fs_gen_request(struct va_macro *va, bool enable) in va_clk_rsc_fs_gen_request() argument
443 struct regmap *regmap = va->regmap; in va_clk_rsc_fs_gen_request()
474 static int va_macro_mclk_enable(struct va_macro *va, bool mclk_enable) in va_macro_mclk_enable() argument
476 struct regmap *regmap = va->regmap; in va_macro_mclk_enable()
479 va_clk_rsc_fs_gen_request(va, true); in va_macro_mclk_enable()
483 va_clk_rsc_fs_gen_request(va, false); in va_macro_mclk_enable()
493 struct va_macro *va = snd_soc_component_get_drvdata(comp); in va_macro_mclk_event() local
[all …]
/Linux-v6.1/mm/
Dvmalloc.c762 * All vmap_area objects in this tree are sorted by va->va_start
780 va_size(struct vmap_area *va) in va_size() argument
782 return (va->va_end - va->va_start); in va_size()
788 struct vmap_area *va; in get_subtree_max_size() local
790 va = rb_entry_safe(node, struct vmap_area, rb_node); in get_subtree_max_size()
791 return va ? va->subtree_max_size : 0; in get_subtree_max_size()
809 /* Look up the first VA which satisfies addr < va_end, NULL if none. */
812 struct vmap_area *va = NULL; in find_vmap_area_exceed_addr() local
822 va = tmp; in find_vmap_area_exceed_addr()
831 return va; in find_vmap_area_exceed_addr()
[all …]
/Linux-v6.1/drivers/scsi/qedi/
Dqedi_dbg.c14 va_list va; in qedi_dbg_err() local
17 va_start(va, fmt); in qedi_dbg_err()
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
38 va_start(va, fmt); in qedi_dbg_warn()
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
63 va_start(va, fmt); in qedi_dbg_notice()
[all …]
/Linux-v6.1/drivers/scsi/qedf/
Dqedf_dbg.c13 va_list va; in qedf_dbg_err() local
16 va_start(va, fmt); in qedf_dbg_err()
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
37 va_start(va, fmt); in qedf_dbg_warn()
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
62 va_start(va, fmt); in qedf_dbg_notice()
[all …]
/Linux-v6.1/arch/powerpc/mm/nohash/
D8xx.c20 * Return PA for this VA if it is in an area mapped with LTLBs or fixmap.
23 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()
35 * Return VA for a given PA mapped with LTLBs or fixmap
49 static pte_t __init *early_hugepd_alloc_kernel(hugepd_t *pmdp, unsigned long va) in early_hugepd_alloc_kernel() argument
60 return hugepte_offset(*(hugepd_t *)pmdp, va, PGDIR_SHIFT); in early_hugepd_alloc_kernel()
63 static int __ref __early_map_kernel_hugepage(unsigned long va, phys_addr_t pa, in __early_map_kernel_hugepage() argument
[all …]
/Linux-v6.1/arch/riscv/mm/
Dinit.c346 static inline phys_addr_t __init alloc_pte_early(uintptr_t va) in alloc_pte_early() argument
355 static inline phys_addr_t __init alloc_pte_fixmap(uintptr_t va) in alloc_pte_fixmap() argument
360 static phys_addr_t __init alloc_pte_late(uintptr_t va) in alloc_pte_late() argument
371 uintptr_t va, phys_addr_t pa, in create_pte_mapping() argument
374 uintptr_t pte_idx = pte_index(va); in create_pte_mapping()
431 static phys_addr_t __init alloc_pmd_early(uintptr_t va) in alloc_pmd_early() argument
433 BUG_ON((va - kernel_map.virt_addr) >> PUD_SHIFT); in alloc_pmd_early()
438 static phys_addr_t __init alloc_pmd_fixmap(uintptr_t va) in alloc_pmd_fixmap() argument
443 static phys_addr_t __init alloc_pmd_late(uintptr_t va) in alloc_pmd_late() argument
454 uintptr_t va, phys_addr_t pa, in create_pmd_mapping() argument
[all …]
/Linux-v6.1/lib/
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-v6.1/drivers/dio/
Ddio.c121 void *va; in dio_find() local
133 va = (void *)(pa + DIO_VIRADDRBASE); in dio_find()
135 va = ioremap(pa, PAGE_SIZE); in dio_find()
138 (unsigned char *)va + DIO_IDOFF, 1)) { in dio_find()
140 iounmap(va); in dio_find()
144 prid = DIO_ID(va); in dio_find()
147 secid = DIO_SECID(va); in dio_find()
154 iounmap(va); in dio_find()
194 u_char *va; in dio_init() local
206 va = (void *)(pa + DIO_VIRADDRBASE); in dio_init()
[all …]
/Linux-v6.1/arch/powerpc/mm/book3s64/
Dhash_native.c72 unsigned long va; in ___tlbie() local
77 * We need 14 to 65 bits of va for a tlibe of 4K page in ___tlbie()
83 va = vpn << VPN_SHIFT; in ___tlbie()
85 * clear top 16 bits of 64bit va, non SLS segment in ___tlbie()
90 va &= ~(0xffffULL << 48); in ___tlbie()
95 va &= ~((1ul << (64 - 52)) - 1); in ___tlbie()
96 va |= ssize << 8; in ___tlbie()
98 va |= sllp << 5; in ___tlbie()
100 : : "r" (va), "r"(0), "i" (CPU_FTR_ARCH_206) in ___tlbie()
104 /* We need 14 to 14 + i bits of va */ in ___tlbie()
[all …]
/Linux-v6.1/drivers/video/fbdev/vermilion/
Dvermilion.c74 static int vmlfb_alloc_vram_area(struct vram_area *va, unsigned max_order, in vmlfb_alloc_vram_area() argument
90 va->logical = in vmlfb_alloc_vram_area()
92 } while (va->logical == 0 && max_order > min_order); 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()
98 va->size = PAGE_SIZE << max_order; in vmlfb_alloc_vram_area()
99 va->order = max_order; 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()
[all …]
/Linux-v6.1/fs/ceph/
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-v6.1/Documentation/devicetree/bindings/sound/
Dcs42l56.txt9 - VA-supply, VCP-supply, VLDO-supply : power supplies for the device,
31 0 = 0.5 x VA
32 1 = 0.6 x VA
33 2 = 0.7 x VA
34 3 = 0.8 x VA
35 4 = 0.83 x VA
36 5 = 0.91 x VA
62 VA-supply = <&reg_audio>;
Dqcom,lpass-va-macro.yaml4 $id: http://devicetree.org/schemas/sound/qcom,lpass-va-macro.yaml#
7 title: LPASS(Low Power Audio Subsystem) VA Macro audio codec DT bindings
15 - qcom,sc7280-lpass-va-macro
16 - qcom,sm8250-lpass-va-macro
17 - qcom,sm8450-lpass-va-macro
18 - qcom,sc8280xp-lpass-va-macro
71 compatible = "qcom,sm8250-lpass-va-macro";
Dcs42l52.txt30 0 = 0.5 x VA
31 1 = 0.6 x VA
32 2 = 0.7 x VA
33 3 = 0.8 x VA
34 4 = 0.83 x VA
35 5 = 0.91 x VA
/Linux-v6.1/drivers/infiniband/hw/usnic/
Dusnic_uiom.c59 usnic_err("Device %s iommu fault domain 0x%pK va 0x%lx flags 0x%x\n", in usnic_uiom_dma_fault()
167 usnic_dbg("va: 0x%lx pa: %pa\n", in usnic_uiom_get_pages()
195 long unsigned va, size; in usnic_uiom_unmap_sorted_intervals() local
198 va = interval->start << PAGE_SHIFT; in usnic_uiom_unmap_sorted_intervals()
202 usnic_dbg("va 0x%lx size 0x%lx", va, PAGE_SIZE); in usnic_uiom_unmap_sorted_intervals()
203 iommu_unmap(pd->domain, va, PAGE_SIZE); in usnic_uiom_unmap_sorted_intervals()
204 va += PAGE_SIZE; in usnic_uiom_unmap_sorted_intervals()
221 vpn_start = (uiomr->va & PAGE_MASK) >> PAGE_SHIFT; in __usnic_uiom_reg_release()
252 long int va = uiomr->va & PAGE_MASK; in usnic_uiom_map_sorted_intervals() local
260 for (i = 0; i < chunk->nents; i++, va += PAGE_SIZE) { in usnic_uiom_map_sorted_intervals()
[all …]
/Linux-v6.1/arch/riscv/include/asm/
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-v6.1/drivers/misc/vmw_vmci/
Dvmci_queue_pair.h35 u64 ppn_va; /* Start VA of queue pair PPNs. */
44 u64 va; /* Start VA of queue pair PPNs. */ member
54 * pass down the VA of the mapped file. Before host support was added
59 * provide the VA of the mapped files.
80 u64 produce_page_file; /* User VA. */
81 u64 consume_page_file; /* User VA. */
86 u64 produce_va; /* User VA of the mapped file. */
87 u64 consume_va; /* User VA of the mapped file. */
101 * this is a list of PPNs, and on hosted, it is a user VA where the
/Linux-v6.1/drivers/media/platform/mediatek/vcodec/
Dmtk_vcodec_util.c36 mem->va = dma_alloc_coherent(dev, size, &mem->dma_addr, GFP_KERNEL); in mtk_vcodec_mem_alloc()
37 if (!mem->va) { in mtk_vcodec_mem_alloc()
43 mtk_v4l2_debug(3, "[%d] - va = %p", ctx->id, mem->va); in mtk_vcodec_mem_alloc()
59 if (!mem->va) { in mtk_vcodec_mem_free()
65 mtk_v4l2_debug(3, "[%d] - va = %p", ctx->id, mem->va); in mtk_vcodec_mem_free()
70 dma_free_coherent(dev, size, mem->va, mem->dma_addr); in mtk_vcodec_mem_free()
71 mem->va = NULL; in mtk_vcodec_mem_free()
/Linux-v6.1/drivers/media/platform/mediatek/vcodec/vdec/
Dvdec_vp9_if.c30 * @va : cpu address
36 unsigned long va; member
226 if (fb->base_y.va == addr) { in vp9_rm_from_fb_use_list()
276 vsi->frm_bufs[ref_idx].buf.fb->base_y.va); in vp9_ref_cnt_fb()
294 if (vsi->sf_ref_fb[i].fb.base_y.va) { in vp9_free_all_sf_ref_fb()
319 if (vsi->sf_ref_fb[idx].fb.base_y.va && in vp9_get_sf_ref_fb()
328 if (vsi->sf_ref_fb[idx].fb.base_y.va == NULL) in vp9_get_sf_ref_fb()
393 if (mem->va) in vp9_alloc_work_buf()
404 /* Set the va again */ in vp9_alloc_work_buf()
405 vsi->mv_buf.va = (unsigned long)mem->va; in vp9_alloc_work_buf()
[all …]
/Linux-v6.1/arch/parisc/kernel/
Dentry.S157 va = r8 /* virtual address for which the trap occurred */ define
170 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
[all …]
/Linux-v6.1/drivers/gpu/drm/lima/
Dlima_vm.c29 #define LIMA_PDE(va) (va >> LIMA_VM_PD_SHIFT) argument
30 #define LIMA_PTE(va) ((va & LIMA_VM_PT_MASK) >> LIMA_VM_PT_SHIFT) argument
31 #define LIMA_PBE(va) (va >> LIMA_VM_PB_SHIFT) argument
32 #define LIMA_BTE(va) ((va & LIMA_VM_BT_MASK) >> LIMA_VM_BT_SHIFT) argument
47 static int lima_vm_map_page(struct lima_vm *vm, dma_addr_t pa, u32 va) in lima_vm_map_page() argument
49 u32 pbe = LIMA_PBE(va); in lima_vm_map_page()
50 u32 bte = LIMA_BTE(va); in lima_vm_map_page()
81 list_for_each_entry(bo_va, &bo->va, list) { in lima_vm_bo_find()
138 list_add_tail(&bo_va->list, &bo->va); in lima_vm_bo_add()
/Linux-v6.1/drivers/tee/amdtee/
Dshm_pool.c15 unsigned long va; in pool_op_alloc() local
22 va = __get_free_pages(GFP_KERNEL | __GFP_ZERO, order); in pool_op_alloc()
23 if (!va) in pool_op_alloc()
26 shm->kaddr = (void *)va; in pool_op_alloc()
27 shm->paddr = __psp_pa((void *)va); in pool_op_alloc()
33 free_pages(va, order); in pool_op_alloc()
/Linux-v6.1/arch/arm64/include/asm/
Dkvm_mmu.h20 * Instead, give the HYP mode its own VA region at a fixed offset from
26 * runtime VA space, at the same time.
57 * Convert a kernel VA into a HYP VA.
58 * reg: VA to be converted.
76 * Convert a hypervisor VA to a PA
86 * Convert a hypervisor VA to a kernel image address
96 /* Convert hyp VA -> PA. */
107 /* Convert PA -> kimg VA. */
198 static inline void __clean_dcache_guest_page(void *va, size_t size)
209 kvm_flush_dcache_to_poc(va, size);
[all …]
/Linux-v6.1/arch/powerpc/mm/
Dpgtable_32.c62 pte_t __init *early_pte_alloc_kernel(pmd_t *pmdp, unsigned long va) in early_pte_alloc_kernel() argument
69 return pte_offset_kernel(pmdp, va); in early_pte_alloc_kernel()
73 int __ref map_kernel_page(unsigned long va, phys_addr_t pa, pgprot_t prot) in map_kernel_page() argument
79 /* Use upper 10 bits of VA to index the first level map */ in map_kernel_page()
80 pd = pmd_off_k(va); in map_kernel_page()
81 /* Use middle 10 bits of VA to index the second-level map */ in map_kernel_page()
83 pg = pte_alloc_kernel(pd, va); in map_kernel_page()
85 pg = early_pte_alloc_kernel(pd, va); in map_kernel_page()
92 set_pte_at(&init_mm, va, pg, pfn_pte(pa >> PAGE_SHIFT, prot)); in map_kernel_page()
/Linux-v6.1/arch/microblaze/mm/
Dpgtable.c137 int map_page(unsigned long va, phys_addr_t pa, int flags) in map_page() argument
145 /* Use upper 10 bits of VA to index the first level map */ in map_page()
146 p4d = p4d_offset(pgd_offset_k(va), va); in map_page()
147 pud = pud_offset(p4d, va); in map_page()
148 pd = pmd_offset(pud, va); in map_page()
149 /* Use middle 10 bits of VA to index the second-level map */ in map_page()
150 pg = pte_alloc_kernel(pd, va); /* from powerpc - pgtable.c */ in map_page()
151 /* pg = pte_alloc_kernel(&init_mm, pd, va); */ in map_page()
155 set_pte_at(&init_mm, va, pg, pfn_pte(pa >> PAGE_SHIFT, in map_page()
158 _tlbie(va); in map_page()

12345678910>>...39