Lines Matching refs:iommu_dev_data

78 			  struct iommu_dev_data *dev_data);
196 static struct iommu_dev_data *alloc_dev_data(struct amd_iommu *iommu, u16 devid) in alloc_dev_data()
198 struct iommu_dev_data *dev_data; in alloc_dev_data()
213 static struct iommu_dev_data *search_dev_data(struct amd_iommu *iommu, u16 devid) in search_dev_data()
215 struct iommu_dev_data *dev_data; in search_dev_data()
293 static struct iommu_dev_data *find_dev_data(struct amd_iommu *iommu, u16 devid) in find_dev_data()
295 struct iommu_dev_data *dev_data; in find_dev_data()
336 static inline bool pdev_pasid_supported(struct iommu_dev_data *dev_data) in pdev_pasid_supported()
368 struct iommu_dev_data *dev_data = dev_iommu_priv_get(&pdev->dev); in pdev_enable_cap_ats()
388 struct iommu_dev_data *dev_data = dev_iommu_priv_get(&pdev->dev); in pdev_disable_cap_ats()
398 struct iommu_dev_data *dev_data = dev_iommu_priv_get(&pdev->dev); in pdev_enable_cap_pri()
425 struct iommu_dev_data *dev_data = dev_iommu_priv_get(&pdev->dev); in pdev_disable_cap_pri()
435 struct iommu_dev_data *dev_data = dev_iommu_priv_get(&pdev->dev); in pdev_enable_cap_pasid()
453 struct iommu_dev_data *dev_data = dev_iommu_priv_get(&pdev->dev); in pdev_disable_cap_pasid()
507 struct iommu_dev_data *dev_data; in iommu_init_device()
560 struct iommu_dev_data *dev_data; in amd_iommu_uninit_device()
601 struct iommu_dev_data *dev_data = NULL; in amd_iommu_report_rmp_hw_error()
633 struct iommu_dev_data *dev_data = NULL; in amd_iommu_report_rmp_fault()
674 struct iommu_dev_data *dev_data = NULL; in amd_iommu_report_page_fault()
1363 static int device_flush_iotlb(struct iommu_dev_data *dev_data, u64 address, in device_flush_iotlb()
1386 static int device_flush_dte(struct iommu_dev_data *dev_data) in device_flush_dte()
1425 struct iommu_dev_data *dev_data; in domain_flush_pages_v2()
1472 struct iommu_dev_data *dev_data; in __domain_flush_pages()
1552 void amd_iommu_dev_flush_pasid_pages(struct iommu_dev_data *dev_data, in amd_iommu_dev_flush_pasid_pages()
1568 static void dev_flush_pasid_all(struct iommu_dev_data *dev_data, in dev_flush_pasid_all()
1594 struct iommu_dev_data *dev_data; in amd_iommu_update_and_flush_device_table()
1620 struct iommu_dev_data *dev_data; in amd_iommu_complete_ppr()
1795 static int update_gcr3(struct iommu_dev_data *dev_data, in update_gcr3()
1814 int amd_iommu_set_gcr3(struct iommu_dev_data *dev_data, ioasid_t pasid, in amd_iommu_set_gcr3()
1830 int amd_iommu_clear_gcr3(struct iommu_dev_data *dev_data, ioasid_t pasid) in amd_iommu_clear_gcr3()
1846 struct iommu_dev_data *dev_data) in set_dte_entry()
1956 static void dev_update_dte(struct iommu_dev_data *dev_data, bool set) in dev_update_dte()
1974 static int init_gcr3_table(struct iommu_dev_data *dev_data, in init_gcr3_table()
2008 static void destroy_gcr3_table(struct iommu_dev_data *dev_data, in destroy_gcr3_table()
2022 static int do_attach(struct iommu_dev_data *dev_data, in do_attach()
2051 static void do_detach(struct iommu_dev_data *dev_data) in do_detach()
2082 struct iommu_dev_data *dev_data; in attach_device()
2112 struct iommu_dev_data *dev_data = dev_iommu_priv_get(dev); in detach_device()
2158 struct iommu_dev_data *dev_data; in amd_iommu_probe_device()
2241 struct iommu_dev_data *entry; in cleanup_domain()
2250 struct iommu_dev_data, list); in cleanup_domain()
2427 struct iommu_dev_data *dev_data = dev_iommu_priv_get(dev); in blocked_domain_attach_device()
2450 struct iommu_dev_data *dev_data = dev_iommu_priv_get(dev); in amd_iommu_attach_device()
2624 struct iommu_dev_data *dev_data; in amd_iommu_set_dirty_tracking()
2744 struct iommu_dev_data *dev_data = dev_iommu_priv_get(dev); in amd_iommu_is_attach_deferred()
2773 struct iommu_dev_data *dev_data; in amd_iommu_def_domain_type()
3660 struct iommu_dev_data *dev_data; in amd_ir_set_vcpu_affinity()