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

/linux-4.4.14/arch/powerpc/kvm/
H A Dbook3s_64_vio_hv.c44 long kvmppc_h_put_tce(struct kvm_vcpu *vcpu, unsigned long liobn, kvmppc_h_put_tce() argument
50 /* udbg_printf("H_PUT_TCE(): liobn=0x%lx ioba=0x%lx, tce=0x%lx\n", */ kvmppc_h_put_tce()
51 /* liobn, ioba, tce); */ kvmppc_h_put_tce()
54 if (stt->liobn == liobn) { kvmppc_h_put_tce()
59 /* udbg_printf("H_PUT_TCE: liobn 0x%lx => stt=%p window_size=0x%x\n", */ kvmppc_h_put_tce()
60 /* liobn, stt, stt->window_size); */ kvmppc_h_put_tce()
74 /* Didn't find the liobn, punt it to userspace */ kvmppc_h_put_tce()
79 long kvmppc_h_get_tce(struct kvm_vcpu *vcpu, unsigned long liobn, kvmppc_h_get_tce() argument
86 if (stt->liobn == liobn) { kvmppc_h_get_tce()
102 /* Didn't find the liobn, punt it to userspace */ kvmppc_h_get_tce()
H A Dbook3s_64_vio.c110 if (stt->liobn == args->liobn) kvm_vm_ioctl_create_spapr_tce()
121 stt->liobn = args->liobn; kvm_vm_ioctl_create_spapr_tce()
H A Dbook3s_pr_papr.c249 unsigned long liobn = kvmppc_get_gpr(vcpu, 4); kvmppc_h_pr_put_tce() local
254 rc = kvmppc_h_put_tce(vcpu, liobn, ioba, tce); kvmppc_h_pr_put_tce()
/linux-4.4.14/arch/powerpc/include/asm/
H A Dplpar_wrappers.h228 static inline long plpar_tce_get(unsigned long liobn, unsigned long ioba, plpar_tce_get() argument
234 rc = plpar_hcall(H_GET_TCE, retbuf, liobn, ioba); plpar_tce_get()
241 static inline long plpar_tce_put(unsigned long liobn, unsigned long ioba, plpar_tce_put() argument
244 return plpar_hcall_norets(H_PUT_TCE, liobn, ioba, tceval); plpar_tce_put()
247 static inline long plpar_tce_put_indirect(unsigned long liobn, plpar_tce_put_indirect() argument
250 return plpar_hcall_norets(H_PUT_TCE_INDIRECT, liobn, ioba, page, count); plpar_tce_put_indirect()
253 static inline long plpar_tce_stuff(unsigned long liobn, unsigned long ioba, plpar_tce_stuff() argument
256 return plpar_hcall_norets(H_STUFF_TCE, liobn, ioba, tceval, count); plpar_tce_stuff()
H A 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,
H A Dkvm_host.h181 u64 liobn; member in struct:kvmppc_spapr_tce_table
/linux-4.4.14/arch/powerpc/platforms/pseries/
H A Diommu.c390 __be32 liobn; /* tce table number */ member in struct:dynamic_dma_window_prop
411 u32 liobn; member in struct:ddw_create_response
453 rc = plpar_tce_stuff((u64)be32_to_cpu(maprange->liobn), tce_clearrange_multi_pSeriesLP()
467 u64 tce_size, num_tce, dma_offset, next, proto_tce, liobn; tce_setrange_multi_pSeriesLP() local
487 liobn = (u64)be32_to_cpu(maprange->liobn); tce_setrange_multi_pSeriesLP()
515 rc = plpar_tce_put_indirect(liobn, tce_setrange_multi_pSeriesLP()
815 u64 liobn; remove_ddw() local
829 liobn = (u64)be32_to_cpu(dwp->liobn); remove_ddw()
841 ret = rtas_call(ddw_avail[2], 1, 1, NULL, liobn); remove_ddw()
845 np->full_name, ret, ddw_avail[2], liobn); remove_ddw()
849 np->full_name, ret, ddw_avail[2], liobn); remove_ddw()
969 "(liobn = 0x%x starting addr = %x %x)\n", ddw_avail[1], create_ddw()
971 window_shift, ret, create->liobn, create->addr_hi, create->addr_lo); create_ddw()
1099 ddwprop->liobn = cpu_to_be32(create.liobn); enable_ddw()
1106 create.liobn, dn->full_name); enable_ddw()
/linux-4.4.14/arch/powerpc/include/uapi/asm/
H A Dkvm.h332 __u64 liobn; member in struct:kvm_create_spapr_tce

Completed in 475 milliseconds