Home
last modified time | relevance | path

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

/linux/drivers/iommu/amd/
H A Diommu.c1431 u16 domid = dev_data->gcr3_info.domid; in domain_flush_pages_v2()
1559 dev_data->gcr3_info.domid, pasid, true); in amd_iommu_dev_flush_pasid_pages()
1700 static void free_gcr3_table(struct gcr3_tbl_info *gcr3_info) in free_gcr3_table() argument
1702 if (gcr3_info->glx == 2) in free_gcr3_table()
1703 free_gcr3_tbl_level2(gcr3_info->gcr3_tbl); in free_gcr3_table()
1704 else if (gcr3_info->glx == 1) in free_gcr3_table()
1705 free_gcr3_tbl_level1(gcr3_info->gcr3_tbl); in free_gcr3_table()
1707 WARN_ON_ONCE(gcr3_info->glx != 0); in free_gcr3_table()
1709 gcr3_info->glx = 0; in free_gcr3_table()
1712 domain_id_free(gcr3_info->domid); in free_gcr3_table()
[all …]
H A Dpasid.c17 dev_data->gcr3_info.gcr3_tbl != NULL) in is_pasid_enabled()
H A Damd_iommu_types.h839 struct gcr3_tbl_info gcr3_info; /* Per-device GCR3 table */ member