• Home
  • Raw
  • Download

Lines Matching defs:iommu_ops

5903 	const struct iommu_ops *iommu_ops;  member
5977 struct iommu_ops { struct
5978 bool (*capable)(enum iommu_cap);
5979 struct iommu_domain * (*domain_alloc)(unsigned int);
5980 void (*domain_free)(struct iommu_domain *);
5981 int (*attach_dev)(struct iommu_domain *, struct device *);
5982 void (*detach_dev)(struct iommu_domain *, struct device *);
5983 int (*map)(struct iommu_domain *, long unsigned int, phys_addr_t, size_t, int, gfp_t);
5984 …ages)(struct iommu_domain *, long unsigned int, phys_addr_t, size_t, size_t, int, gfp_t, size_t *);
5985 size_t (*unmap)(struct iommu_domain *, long unsigned int, size_t, struct iommu_iotlb_gather *);
5986 …nmap_pages)(struct iommu_domain *, long unsigned int, size_t, size_t, struct iommu_iotlb_gather *);
5987 void (*flush_iotlb_all)(struct iommu_domain *);
5988 void (*iotlb_sync_map)(struct iommu_domain *, long unsigned int, size_t);
5989 void (*iotlb_sync)(struct iommu_domain *, struct iommu_iotlb_gather *);
5990 phys_addr_t (*iova_to_phys)(struct iommu_domain *, dma_addr_t);
5991 struct iommu_device * (*probe_device)(struct device *);
5992 void (*release_device)(struct device *);
5993 void (*probe_finalize)(struct device *);
5994 struct iommu_group * (*device_group)(struct device *);
5995 int (*enable_nesting)(struct iommu_domain *);
5996 int (*set_pgtable_quirks)(struct iommu_domain *, long unsigned int);
5997 void (*get_resv_regions)(struct device *, struct list_head *);
5998 void (*put_resv_regions)(struct device *, struct list_head *);
5999 void (*apply_resv_region)(struct device *, struct iommu_domain *, struct iommu_resv_region *);
6000 int (*of_xlate)(struct device *, struct of_phandle_args *);
6001 bool (*is_attach_deferred)(struct iommu_domain *, struct device *);
6002 bool (*dev_has_feat)(struct device *, enum iommu_dev_features);
6003 bool (*dev_feat_enabled)(struct device *, enum iommu_dev_features);
6004 int (*dev_enable_feat)(struct device *, enum iommu_dev_features);
6005 int (*dev_disable_feat)(struct device *, enum iommu_dev_features);
6006 int (*aux_attach_dev)(struct iommu_domain *, struct device *);
6007 void (*aux_detach_dev)(struct iommu_domain *, struct device *);
6008 int (*aux_get_pasid)(struct iommu_domain *, struct device *);
6009 struct iommu_sva * (*sva_bind)(struct device *, struct mm_struct *, void *);
6010 void (*sva_unbind)(struct iommu_sva *);
6011 u32 (*sva_get_pasid)(struct iommu_sva *);
6012 int (*page_response)(struct device *, struct iommu_fault_event *, struct iommu_page_response *);
6013 … (*cache_invalidate)(struct iommu_domain *, struct device *, struct iommu_cache_invalidate_info *);
6014 int (*sva_bind_gpasid)(struct iommu_domain *, struct device *, struct iommu_gpasid_bind_data *);
6015 int (*sva_unbind_gpasid)(struct device *, u32);
6016 int (*def_domain_type)(struct device *);
6017 long unsigned int pgsize_bitmap;
6018 struct module *owner;