Lines Matching refs:ioba
196 unsigned long ioba, unsigned long npages, bool clearing) in kvmppc_rm_ioba_validate() argument
199 unsigned long ret = kvmppc_ioba_validate(stt, ioba, npages); in kvmppc_rm_ioba_validate()
210 idx = (ioba >> stt->page_shift) - stt->offset; in kvmppc_rm_ioba_validate()
387 unsigned long ioba, unsigned long tce) in kvmppc_rm_h_put_tce() argument
406 ret = kvmppc_rm_ioba_validate(stt, ioba, 1, tce == 0); in kvmppc_rm_h_put_tce()
418 entry = ioba >> stt->page_shift; in kvmppc_rm_h_put_tce()
478 unsigned long liobn, unsigned long ioba, in kvmppc_rm_h_put_tce_indirect() argument
496 entry = ioba >> stt->page_shift; in kvmppc_rm_h_put_tce_indirect()
507 ret = kvmppc_rm_ioba_validate(stt, ioba, npages, false); in kvmppc_rm_h_put_tce_indirect()
601 unsigned long liobn, unsigned long ioba, in kvmppc_rm_h_stuff_tce() argument
616 ret = kvmppc_rm_ioba_validate(stt, ioba, npages, tce_value == 0); in kvmppc_rm_h_stuff_tce()
625 unsigned long entry = ioba >> stt->page_shift; in kvmppc_rm_h_stuff_tce()
642 for (i = 0; i < npages; ++i, ioba += (1ULL << stt->page_shift)) in kvmppc_rm_h_stuff_tce()
643 kvmppc_rm_tce_put(stt, ioba >> stt->page_shift, tce_value); in kvmppc_rm_h_stuff_tce()
647 iommu_tce_kill_rm(stit->tbl, ioba >> stt->page_shift, npages); in kvmppc_rm_h_stuff_tce()
654 unsigned long ioba) in kvmppc_h_get_tce() argument
666 ret = kvmppc_ioba_validate(stt, ioba, 1); in kvmppc_h_get_tce()
670 idx = (ioba >> stt->page_shift) - stt->offset; in kvmppc_h_get_tce()