Home
last modified time | relevance | path

Searched refs:liobn (Results 1 – 8 of 8) sorted by relevance

/arch/powerpc/kvm/
Dbook3s_64_vio_hv.c44 long kvmppc_h_put_tce(struct kvm_vcpu *vcpu, unsigned long liobn, in kvmppc_h_put_tce() argument
54 if (stt->liobn == liobn) { in kvmppc_h_put_tce()
79 long kvmppc_h_get_tce(struct kvm_vcpu *vcpu, unsigned long liobn, in kvmppc_h_get_tce() argument
86 if (stt->liobn == liobn) { in kvmppc_h_get_tce()
Dbook3s_64_vio.c116 stt->liobn = args->liobn; in kvm_vm_ioctl_create_spapr_tce()
131 if (siter->liobn == args->liobn) { in kvm_vm_ioctl_create_spapr_tce()
Dbook3s_pr_papr.c267 unsigned long liobn = kvmppc_get_gpr(vcpu, 4); in kvmppc_h_pr_put_tce() local
272 rc = kvmppc_h_put_tce(vcpu, liobn, ioba, tce); in kvmppc_h_pr_put_tce()
/arch/powerpc/include/asm/
Dplpar_wrappers.h228 static inline long plpar_tce_get(unsigned long liobn, unsigned long ioba, in plpar_tce_get() argument
234 rc = plpar_hcall(H_GET_TCE, retbuf, liobn, ioba); in plpar_tce_get()
241 static inline long plpar_tce_put(unsigned long liobn, unsigned long ioba, in plpar_tce_put() argument
244 return plpar_hcall_norets(H_PUT_TCE, liobn, ioba, tceval); in plpar_tce_put()
247 static inline long plpar_tce_put_indirect(unsigned long liobn, in plpar_tce_put_indirect() argument
250 return plpar_hcall_norets(H_PUT_TCE_INDIRECT, liobn, ioba, page, count); in plpar_tce_put_indirect()
253 static inline long plpar_tce_stuff(unsigned long liobn, unsigned long ioba, in plpar_tce_stuff() argument
256 return plpar_hcall_norets(H_STUFF_TCE, liobn, ioba, tceval, count); in plpar_tce_stuff()
Dkvm_ppc.h169 extern long kvmppc_h_put_tce(struct kvm_vcpu *vcpu, unsigned long liobn,
171 extern long kvmppc_h_get_tce(struct kvm_vcpu *vcpu, unsigned long liobn,
Dkvm_host.h181 u64 liobn; member
/arch/powerpc/platforms/pseries/
Diommu.c205 static void tce_free_pSeriesLP(unsigned long liobn, long, long);
208 static int tce_build_pSeriesLP(unsigned long liobn, long tcenum, long tceshift, in tce_build_pSeriesLP() argument
226 rc = plpar_tce_put((u64)liobn, (u64)tcenum << tceshift, tce); in tce_build_pSeriesLP()
230 tce_free_pSeriesLP(liobn, tcenum_start, in tce_build_pSeriesLP()
237 printk("\tindex = 0x%llx\n", (u64)liobn); in tce_build_pSeriesLP()
336 static void tce_free_pSeriesLP(unsigned long liobn, long tcenum, long npages) in tce_free_pSeriesLP() argument
341 rc = plpar_tce_put((u64)liobn, (u64)tcenum << 12, 0); in tce_free_pSeriesLP()
345 printk("\tindex = 0x%llx\n", (u64)liobn); in tce_free_pSeriesLP()
392 __be32 liobn; /* tce table number */ member
413 u32 liobn; member
[all …]
/arch/powerpc/include/uapi/asm/
Dkvm.h332 __u64 liobn; member