Home
last modified time | relevance | path

Searched refs:granu (Results 1 – 3 of 3) sorted by relevance

/drivers/iommu/intel/
Diommu.c5510 static inline int to_vtd_granularity(int type, int granu) in to_vtd_granularity() argument
5512 return inv_type_granu_table[type][granu]; in to_vtd_granularity()
5565 size = to_vtd_size(inv_info->granu.addr_info.granule_size, in intel_iommu_sva_invalidate()
5566 inv_info->granu.addr_info.nb_granules); in intel_iommu_sva_invalidate()
5571 int granu = 0; in intel_iommu_sva_invalidate() local
5575 granu = to_vtd_granularity(cache_type, inv_info->granularity); in intel_iommu_sva_invalidate()
5576 if (granu == -EINVAL) { in intel_iommu_sva_invalidate()
5587 (inv_info->granu.pasid_info.flags & IOMMU_INV_PASID_FLAGS_PASID)) in intel_iommu_sva_invalidate()
5588 pasid = inv_info->granu.pasid_info.pasid; in intel_iommu_sva_invalidate()
5590 (inv_info->granu.addr_info.flags & IOMMU_INV_ADDR_FLAGS_PASID)) in intel_iommu_sva_invalidate()
[all …]
Ddmar.c1527 u64 granu, u32 pasid) in qi_flush_pasid_cache() argument
1532 QI_PC_GRAN(granu) | QI_PC_TYPE; in qi_flush_pasid_cache()
/drivers/iommu/
Diommu.c2023 if (info->granu.addr_info.flags & ~mask) in iommu_check_cache_invl_data()
2029 if (info->granu.pasid_info.flags & ~mask) in iommu_check_cache_invl_data()
2064 minsz = offsetof(struct iommu_cache_invalidate_info, granu); in iommu_uapi_cache_invalidate()
2076 inv_info.argsz < offsetofend(struct iommu_cache_invalidate_info, granu.pasid_info)) in iommu_uapi_cache_invalidate()
2080 inv_info.argsz < offsetofend(struct iommu_cache_invalidate_info, granu.addr_info)) in iommu_uapi_cache_invalidate()