Home
last modified time | relevance | path

Searched refs:tce (Results 1 – 2 of 2) sorted by relevance

/drivers/vfio/
Dvfio_iommu_spapr_tce.c390 unsigned long tce, unsigned long shift, in tce_iommu_prereg_ua_to_hpa() argument
396 mem = mm_iommu_lookup(container->mm, tce, 1ULL << shift); in tce_iommu_prereg_ua_to_hpa()
400 ret = mm_iommu_ua_to_hpa(mem, tce, shift, phpa); in tce_iommu_prereg_ua_to_hpa()
484 static int tce_iommu_use_page(unsigned long tce, unsigned long *hpa) in tce_iommu_use_page() argument
487 enum dma_data_direction direction = iommu_tce_direction(tce); in tce_iommu_use_page()
489 if (get_user_pages_fast(tce & PAGE_MASK, 1, in tce_iommu_use_page()
501 unsigned long entry, unsigned long tce, unsigned long pages, in tce_iommu_build() argument
509 unsigned long offset = tce & IOMMU_PAGE_MASK(tbl) & ~PAGE_MASK; in tce_iommu_build()
511 ret = tce_iommu_use_page(tce, &hpa); in tce_iommu_build()
529 tce, ret); in tce_iommu_build()
[all …]
/drivers/net/ethernet/broadcom/
Dcnic_defs.h3311 struct ustorm_fcoe_tce tce; member
3602 struct xstorm_fcoe_tce tce; member