Home
last modified time | relevance | path

Searched refs:vpa (Results 1 – 18 of 18) sorted by relevance

/linux/arch/powerpc/include/asm/
H A Dplpar_wrappers.h31 unsigned long vpa) in vpa_call() argument
35 return plpar_hcall_norets(H_REGISTER_VPA, flags, cpu, vpa); in vpa_call()
43 static inline long register_vpa(unsigned long cpu, unsigned long vpa) in register_vpa() argument
45 return vpa_call(H_VPA_REG_VPA, cpu, vpa); in register_vpa()
53 static inline long register_slb_shadow(unsigned long cpu, unsigned long vpa) in register_slb_shadow() argument
55 return vpa_call(H_VPA_REG_SLB, cpu, vpa); in register_slb_shadow()
63 static inline long register_dtl(unsigned long cpu, unsigned long vpa) in register_dtl() argument
65 return vpa_call(H_VPA_REG_DTL, cpu, vpa); in register_dtl()
H A Dkvm_book3s_64.h685 int kvmhv_nestedv2_set_vpa(struct kvm_vcpu *vcpu, unsigned long vpa);
H A Dkvm_host.h829 struct kvmppc_vpa vpa; member
H A Dkvm_book3s.h259 extern void kvmppc_harvest_vpa_dirty(struct kvmppc_vpa *vpa,
/linux/arch/powerpc/platforms/pseries/
H A Ddtl.c69 struct lppaca *vpa = local_paca->lppaca_ptr; in consume_dtle() local
78 if (index + N_DISPATCH_LOG < be64_to_cpu(vpa->dtl_idx)) in consume_dtle()
379 struct lppaca *vpa = local_paca->lppaca_ptr; in scan_dispatch_log() local
387 if (i == be64_to_cpu(vpa->dtl_idx)) in scan_dispatch_log()
389 while (i < be64_to_cpu(vpa->dtl_idx)) { in scan_dispatch_log()
394 if (i + N_DISPATCH_LOG < be64_to_cpu(vpa->dtl_idx)) { in scan_dispatch_log()
396 i = be64_to_cpu(vpa->dtl_idx) - N_DISPATCH_LOG; in scan_dispatch_log()
H A Dcmm.c92 const unsigned long vpa = page_to_phys(page); in plpar_page_set_loaned() local
101 rc = plpar_hcall_norets(H_PAGE_INIT, H_PAGE_SET_LOANED, vpa + i, 0); in plpar_page_set_loaned()
105 vpa + i - cmo_page_sz, 0); in plpar_page_set_loaned()
112 const unsigned long vpa = page_to_phys(page); in plpar_page_set_active() local
121 rc = plpar_hcall_norets(H_PAGE_INIT, H_PAGE_SET_ACTIVE, vpa + i, 0); in plpar_page_set_active()
125 vpa + i - cmo_page_sz, 0); in plpar_page_set_active()
H A Dlpar.c366 struct lppaca *vpa = local_paca->lppaca_ptr; in process_dtl_buffer() local
379 if (i == be64_to_cpu(vpa->dtl_idx)) in process_dtl_buffer()
382 while (i < be64_to_cpu(vpa->dtl_idx)) { in process_dtl_buffer()
385 if (i + N_DISPATCH_LOG < be64_to_cpu(vpa->dtl_idx)) { in process_dtl_buffer()
389 be64_to_cpu(vpa->dtl_idx) - N_DISPATCH_LOG - i); in process_dtl_buffer()
390 i = be64_to_cpu(vpa->dtl_idx) - N_DISPATCH_LOG; in process_dtl_buffer()
/linux/arch/powerpc/kvm/
H A Dbook3s_hv_p9_perf.c41 lp = vcpu->arch.vpa.pinned_addr; in switch_pmu_to_guest()
124 lp = vcpu->arch.vpa.pinned_addr; in switch_pmu_to_host()
H A Dbook3s_64_mmu_hv.c1103 void kvmppc_harvest_vpa_dirty(struct kvmppc_vpa *vpa, in kvmppc_harvest_vpa_dirty() argument
1109 if (!vpa->dirty || !vpa->pinned_addr) in kvmppc_harvest_vpa_dirty()
1111 gfn = vpa->gpa >> PAGE_SHIFT; in kvmppc_harvest_vpa_dirty()
1116 vpa->dirty = false; in kvmppc_harvest_vpa_dirty()
H A Dbook3s_hv_nestedv2.c904 int kvmhv_nestedv2_set_vpa(struct kvm_vcpu *vcpu, unsigned long vpa) in kvmhv_nestedv2_set_vpa() argument
914 rc = kvmppc_gse_put_u64(gsb, KVMPPC_GSID_VPA, vpa); in kvmhv_nestedv2_set_vpa()
/linux/arch/arm64/boot/dts/mediatek/
H A Dmt6357.dtsi54 mt6357_vpa_reg: buck-vpa {
55 regulator-name = "vpa";
H A Dmt6359.dtsi67 regulator-name = "vpa";
H A Dmt6358.dtsi47 regulator-name = "vpa";
H A Dmt8183-kukui.dtsi413 vsys-vpa-supply = <&reg_vsys>;
H A Dmt8186-corsola.dtsi1293 vsys-vpa-supply = <&pp4200_z2>;
/linux/arch/arm/boot/dts/mediatek/
H A Dmt6323.dtsi46 regulator-name = "vpa";
/linux/Documentation/devicetree/bindings/regulator/
H A Dmt6323-regulator.txt42 regulator-name = "vpa";
/linux/arch/powerpc/kernel/
H A Dasm-offsets.c432 OFFSET(VCPU_VPA, kvm_vcpu, arch.vpa.pinned_addr); in main()
433 OFFSET(VCPU_VPA_DIRTY, kvm_vcpu, arch.vpa.dirty); in main()