| /linux/sound/soc/codecs/ |
| H A D | lpass-va-macro.c | 23 /* VA macro registers */ 280 /* VA macro */ 304 /* VA core */ 466 static int va_clk_rsc_fs_gen_request(struct va_macro *va, bool enable) in va_clk_rsc_fs_gen_request() argument 468 struct regmap *regmap = va->regmap; in va_clk_rsc_fs_gen_request() 499 static int va_macro_mclk_enable(struct va_macro *va, bool mclk_enable) in va_macro_mclk_enable() argument 501 struct regmap *regmap = va->regmap; in va_macro_mclk_enable() 504 va_clk_rsc_fs_gen_request(va, true); in va_macro_mclk_enable() 508 va_clk_rsc_fs_gen_request(va, false); in va_macro_mclk_enable() 518 struct va_macro *va = snd_soc_component_get_drvdata(comp); in va_macro_mclk_event() local [all …]
|
| /linux/Documentation/devicetree/bindings/sound/ |
| H A D | qcom,lpass-va-macro.yaml | 4 $id: http://devicetree.org/schemas/sound/qcom,lpass-va-macro.yaml# 7 title: LPASS(Low Power Audio Subsystem) VA Macro audio codec 16 - qcom,sc7280-lpass-va-macro 17 - qcom,sm6115-lpass-va-macro 18 - qcom,sm8250-lpass-va-macro 19 - qcom,sm8450-lpass-va-macro 20 - qcom,sm8550-lpass-va-macro 21 - qcom,sc8280xp-lpass-va-macro 24 - qcom,eliza-lpass-va-macro 25 - qcom,glymur-lpass-va-macro [all …]
|
| H A D | cs42l56.txt | 9 - 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 = <®_audio>;
|
| H A D | cs42l52.txt | 30 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/drivers/scsi/qedi/ |
| H A D | qedi_dbg.c | 14 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/drivers/scsi/qedf/ |
| H A D | qedf_dbg.c | 13 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/tools/testing/selftests/kvm/lib/ |
| H A D | ucall_common.c | 86 va_list va; in ucall_assert() local 95 va_start(va, fmt); in ucall_assert() 96 guest_vsnprintf(uc->buffer, UCALL_BUFFER_LEN, fmt, va); in ucall_assert() 97 va_end(va); in ucall_assert() 107 va_list va; in ucall_fmt() local 112 va_start(va, fmt); in ucall_fmt() 113 guest_vsnprintf(uc->buffer, UCALL_BUFFER_LEN, fmt, va); in ucall_fmt() 114 va_end(va); in ucall_fmt() 124 va_list va; in ucall() local 133 va_start(va, nargs); in ucall() [all …]
|
| /linux/lib/ |
| H A D | test_debug_virtual.c | 25 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/drivers/gpu/drm/panthor/ |
| H A D | panthor_mmu.c | 196 /** @va: Virtual range targeted by the VM operation. */ 198 /** @va.addr: Start address. */ 201 /** @va.range: Range size. */ 203 } va; member 239 * We delegate all the VA management to the common drm_gpuvm framework 288 * @mm: Memory management object representing the auto-VA/kernel-VA. 290 * Used to auto-allocate VA space for kernel-managed objects (tiler 293 * For the MCU VM, this is managing the VA range that's used to map 297 * exceed half of the VA space addressable. 304 /** @kernel_auto_va: Automatic VA-range for kernel BOs. */ [all …]
|
| /linux/arch/arm64/kvm/ |
| H A D | va_layout.c | 17 * The LSB of the HYP VA tag 21 * The HYP VA tag value with the region bit 27 * Compute HYP VA by using the same computation as kern_hyp_va(). 37 * Store a hyp VA <-> PA offset into a EL2-owned variable. 43 /* Compute the offset from the hyp VA and PA of a random symbol. */ in init_hyp_physvirt_offset() 50 * Calculate the actual VA size used by the hypervisor 56 * be different from the number of VA bits used by the regular kernel in kvm_hyp_va_bits() 64 * So use the maximum of the idmap VA bits and the regular kernel stage in kvm_hyp_va_bits() 65 * 1 VA bits as the hypervisor VA size to assure that the hypervisor can in kvm_hyp_va_bits() 72 * We want to generate a hyp VA with the following format (with V == [all …]
|
| /linux/scripts/gdb/linux/ |
| H A D | mm.py | 158 def __virt_to_phys(self, va): argument 159 if va >= self.START_KERNEL_map: 160 return va - self.START_KERNEL_map + self.PHYS_BASE 162 return va - self.PAGE_OFFSET 164 def virt_to_phys(self, va): argument 165 return self.__virt_to_phys(va) 167 def virt_to_page(self, va): argument 168 return self.pfn_to_page(self.virt_to_pfn(va)) 170 def __pa(self, va): argument 171 return self.__virt_to_phys(va) [all …]
|
| /linux/arch/riscv/mm/ |
| H A D | init.c | 409 static inline phys_addr_t __init alloc_pte_early(uintptr_t va) in alloc_pte_early() argument 418 static inline phys_addr_t __init alloc_pte_fixmap(uintptr_t va) in alloc_pte_fixmap() argument 423 static phys_addr_t __meminit alloc_pte_late(uintptr_t va) in alloc_pte_late() argument 436 static void __meminit create_pte_mapping(pte_t *ptep, uintptr_t va, phys_addr_t pa, phys_addr_t sz, in create_pte_mapping() argument 439 uintptr_t pte_idx = pte_index(va); in create_pte_mapping() 478 static phys_addr_t __init alloc_pmd_early(uintptr_t va) in alloc_pmd_early() argument 480 BUG_ON((va - kernel_map.virt_addr) >> PUD_SHIFT); in alloc_pmd_early() 485 static phys_addr_t __init alloc_pmd_fixmap(uintptr_t va) in alloc_pmd_fixmap() argument 490 static phys_addr_t __meminit alloc_pmd_late(uintptr_t va) in alloc_pmd_late() argument 500 uintptr_t va, phys_addr_t pa, in create_pmd_mapping() argument [all …]
|
| /linux/fs/ceph/ |
| H A D | ceph_frag.c | 10 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/drivers/gpu/drm/imagination/ |
| H A D | pvr_vm.c | 119 #define to_pvr_vm_gpuva(va) container_of_const(va, struct pvr_vm_gpuva, base) argument 148 * @new_va: Prealloced VA mapping object (init in callback). 154 * @prev_va: Prealloced VA mapping object (init in callback). 161 * @next_va: Prealloced VA mapping object (init in callback). 191 .map.va.addr = bind_op->device_addr, in pvr_vm_bind_op_exec() 192 .map.va.range = bind_op->size, in pvr_vm_bind_op_exec() 360 if ((op->map.gem.offset | op->map.va.range) & ~PVR_DEVICE_PAGE_MASK) in pvr_vm_gpuva_map() 363 err = pvr_mmu_map(ctx->mmu_op_ctx, op->map.va.range, pvr_gem->flags, in pvr_vm_gpuva_map() 364 op->map.va.addr); in pvr_vm_gpuva_map() 392 int err = pvr_mmu_unmap(ctx->mmu_op_ctx, op->unmap.va->va.addr, in pvr_vm_gpuva_unmap() [all …]
|
| /linux/arch/riscv/include/asm/ |
| H A D | sections.h | 18 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()
|
| /linux/drivers/misc/vmw_vmci/ |
| H A D | vmci_queue_pair.h | 35 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/drivers/media/platform/mediatek/vcodec/common/ |
| H A D | mtk_vcodec_util.c | 66 mem->va = dma_alloc_attrs(&plat_dev->dev, mem->size, &mem->dma_addr, in mtk_vcodec_mem_alloc() 68 if (!mem->va) { in mtk_vcodec_mem_alloc() 74 mtk_v4l2_debug(plat_dev, 3, "[%d] - va = %p dma = 0x%lx size = 0x%zx", id, mem->va, in mtk_vcodec_mem_alloc() 99 if (!mem->va) { in mtk_vcodec_mem_free() 100 mtk_v4l2_err(plat_dev, "%s: Tried to free a NULL VA", __func__); in mtk_vcodec_mem_free() 106 mtk_v4l2_debug(plat_dev, 3, "[%d] - va = %p dma = 0x%lx size = 0x%zx", id, mem->va, in mtk_vcodec_mem_free() 109 dma_free_coherent(&plat_dev->dev, mem->size, mem->va, mem->dma_addr); in mtk_vcodec_mem_free() 110 mem->va = NULL; in mtk_vcodec_mem_free()
|
| /linux/arch/parisc/kernel/ |
| H A D | entry.S | 176 va = r8 /* virtual address for which the trap occurred */ define 189 mfctl %pcoq, va 206 mfctl %pcoq, va 220 mfctl %ior,va 238 mfctl %ior,va 252 mfctl %ior, va 270 mfctl %ior, va 282 mfctl %ior,va 298 mfctl %ior,va 312 mfctl %ior,va [all …]
|
| /linux/drivers/gpu/drm/lima/ |
| H A D | lima_vm.c | 29 #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/arch/arm64/crypto/ |
| H A D | aes-ce-ccm-core.S | 26 .macro dround, va, vb, vk 27 aese \va\().16b, \vk\().16b 28 aesmc \va\().16b, \va\().16b 33 .macro aes_encrypt, va, vb, nr 35 dround \va, \vb, v10 36 dround \va, \vb, v11 38 dround \va, \vb, v12 39 dround \va, \vb, v13 41 dround \va, \vb, \v 43 aese \va\().16b, v4.16b
|
| /linux/drivers/tee/amdtee/ |
| H A D | shm_pool.c | 15 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/arch/parisc/include/asm/ |
| H A D | special_insns.h | 5 #define lpa(va) ({ \ argument 14 : "r" (va) \ 20 #define lpa_user(va) ({ \ argument 29 : "r" (va) \ 38 * @va: Virtual address. 47 #define prober_user(sr, va) ({ \ argument 57 : "i" (sr), "r" (va), "i" (PRIV_USER) \
|
| /linux/arch/powerpc/mm/ |
| H A D | pgtable_32.c | 57 pte_t __init *early_pte_alloc_kernel(pmd_t *pmdp, unsigned long va) in early_pte_alloc_kernel() argument 64 return pte_offset_kernel(pmdp, va); in early_pte_alloc_kernel() 68 int __ref map_kernel_page(unsigned long va, phys_addr_t pa, pgprot_t prot) in map_kernel_page() argument 74 /* Use upper 10 bits of VA to index the first level map */ in map_kernel_page() 75 pd = pmd_off_k(va); in map_kernel_page() 76 /* Use middle 10 bits of VA to index the second-level map */ in map_kernel_page() 78 pg = pte_alloc_kernel(pd, va); in map_kernel_page() 80 pg = early_pte_alloc_kernel(pd, va); in map_kernel_page() 87 set_pte_at(&init_mm, va, pg, pfn_pte(pa >> PAGE_SHIFT, prot)); in map_kernel_page()
|
| /linux/arch/powerpc/math-emu/ |
| H A D | math_efp.c | 183 union dw_union vc, va, vb; in do_spe_mathemu() local 202 va.wp[0] = current->thread.evr[fa]; in do_spe_mathemu() 203 va.wp[1] = regs->gpr[fa]; in do_spe_mathemu() 211 pr_debug("va: %08x %08x\n", va.wp[0], va.wp[1]); in do_spe_mathemu() 221 FP_UNPACK_SP(SA, va.wp + 1); in do_spe_mathemu() 227 FP_UNPACK_SP(SA, va.wp + 1); in do_spe_mathemu() 236 vc.wp[1] = va.wp[1] & ~SIGN_BIT_S; in do_spe_mathemu() 240 vc.wp[1] = va.wp[1] | SIGN_BIT_S; in do_spe_mathemu() 244 vc.wp[1] = va.wp[1] ^ SIGN_BIT_S; in do_spe_mathemu() 350 FP_UNPACK_DP(DA, va.dp); in do_spe_mathemu() [all …]
|
| /linux/arch/microblaze/mm/ |
| H A D | pgtable.c | 137 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()
|