Searched refs:tce (Results 1 – 10 of 10) sorted by relevance
/linux-4.4.14/drivers/vfio/ |
D | vfio_iommu_spapr_tce.c | 374 static int tce_iommu_prereg_ua_to_hpa(unsigned long tce, unsigned long size, in tce_iommu_prereg_ua_to_hpa() argument 380 mem = mm_iommu_lookup(tce, size); in tce_iommu_prereg_ua_to_hpa() 384 ret = mm_iommu_ua_to_hpa(mem, tce, phpa); in tce_iommu_prereg_ua_to_hpa() 444 static int tce_iommu_use_page(unsigned long tce, unsigned long *hpa) in tce_iommu_use_page() argument 447 enum dma_data_direction direction = iommu_tce_direction(tce); in tce_iommu_use_page() 449 if (get_user_pages_fast(tce & PAGE_MASK, 1, in tce_iommu_use_page() 460 unsigned long entry, unsigned long tce, unsigned long pages, in tce_iommu_build() argument 469 unsigned long offset = tce & IOMMU_PAGE_MASK(tbl) & ~PAGE_MASK; in tce_iommu_build() 471 ret = tce_iommu_use_page(tce, &hpa); in tce_iommu_build() 488 tce, ret); in tce_iommu_build() [all …]
|
/linux-4.4.14/arch/powerpc/kvm/ |
D | book3s_64_vio_hv.c | 45 unsigned long ioba, unsigned long tce) in kvmppc_h_put_tce() argument 69 tbl[idx % TCES_PER_PAGE] = tce; in kvmppc_h_put_tce()
|
D | book3s_pr_papr.c | 251 unsigned long tce = kvmppc_get_gpr(vcpu, 6); in kvmppc_h_pr_put_tce() local 254 rc = kvmppc_h_put_tce(vcpu, liobn, ioba, tce); in kvmppc_h_pr_put_tce()
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | iommu.c | 919 enum dma_data_direction iommu_tce_direction(unsigned long tce) in iommu_tce_direction() argument 921 if ((tce & TCE_PCI_READ) && (tce & TCE_PCI_WRITE)) in iommu_tce_direction() 923 else if (tce & TCE_PCI_READ) in iommu_tce_direction() 925 else if (tce & TCE_PCI_WRITE) in iommu_tce_direction() 966 unsigned long ioba, unsigned long tce) in iommu_tce_put_param_check() argument 968 if (tce & ~IOMMU_PAGE_MASK(tbl)) in iommu_tce_put_param_check()
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | iommu.h | 296 unsigned long ioba, unsigned long tce); 302 extern enum dma_data_direction iommu_tce_direction(unsigned long tce);
|
D | kvm_ppc.h | 170 unsigned long ioba, unsigned long tce);
|
/linux-4.4.14/arch/powerpc/platforms/pseries/ |
D | iommu.c | 214 u64 proto_tce, tce; in tce_build_pSeriesLP() local 225 tce = proto_tce | (rpn & TCE_RPN_MASK) << TCE_RPN_SHIFT; in tce_build_pSeriesLP() 226 rc = plpar_tce_put((u64)tbl->it_index, (u64)tcenum << 12, tce); in tce_build_pSeriesLP() 239 printk("\ttce val = 0x%llx\n", tce ); in tce_build_pSeriesLP()
|
/linux-4.4.14/arch/powerpc/platforms/powernv/ |
D | pci.c | 585 unsigned long tce = be64_to_cpu(tmp[n]); in pnv_tce() local 587 tmp = __va(tce & ~(TCE_PCI_READ | TCE_PCI_WRITE)); in pnv_tce()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/ |
D | cnic_defs.h | 3311 struct ustorm_fcoe_tce tce; member 3602 struct xstorm_fcoe_tce tce; member
|
/linux-4.4.14/ |
D | MAINTAINERS | 2591 F: arch/x86/include/asm/tce.h
|