Lines Matching defs:iommu

147 /* iommu fault flags */
361 * @set_dirty_tracking: Enable or Disable dirty tracking on the iommu domain
376 * struct iommu_user_data - iommu driver specific user space data info
391 * struct iommu_user_data_array - iommu driver specific user space data array
408 * __iommu_copy_struct_from_user - Copy iommu driver specific user space data
409 * @dst_data: Pointer to an iommu driver specific user data that is defined in
433 * iommu_copy_struct_from_user - Copy iommu driver specific user space data
434 * @kdst: Pointer to an iommu driver specific user data that is defined in
448 * __iommu_copy_struct_from_user_array - Copy iommu driver specific user space
450 * @dst_data: Pointer to an iommu driver specific user data that is defined in
480 * iommu_copy_struct_from_user_array - Copy iommu driver specific user space
482 * @kdst: Pointer to an iommu driver specific user data that is defined in
499 * struct iommu_ops - iommu ops and capabilities
501 * @hw_info: report iommu hardware information. The data buffer returned by this
502 * op is allocated in the iommu driver and freed by the caller after
505 * @domain_alloc: allocate and return an iommu domain if success. Otherwise
508 * @domain_alloc_user: Allocate an iommu domain corresponding to the input
521 * @probe_device: Add device to iommu driver handling
522 * @release_device: Remove device from iommu driver handling
525 * @device_group: find iommu group for a particular device
527 * @of_xlate: add OF master IDs to iommu grouping
528 * @is_attach_deferred: Check if domain attach should be deferred from iommu
531 * iommu specific features.
555 /* Domain allocation and freeing by the iommu driver */
597 * @attach_dev: attach an iommu domain to a device
610 * @set_dev_pasid: set an iommu domain to a pasid of device
612 * an iommu domain.
613 * @unmap_pages: unmap a number of pages of the same size from an iommu domain
667 * @list: Used by the iommu-core to keep a list of registered iommus
668 * @ops: iommu-ops for talking to this iommu
736 int iommu_device_register(struct iommu_device *iommu,
739 void iommu_device_unregister(struct iommu_device *iommu);
740 int iommu_device_sysfs_add(struct iommu_device *iommu,
744 void iommu_device_sysfs_remove(struct iommu_device *iommu);
745 int iommu_device_link(struct iommu_device *iommu, struct device *link);
746 void iommu_device_unlink(struct iommu_device *iommu, struct device *link);
760 * guarentees it will not invoke the op without an attached iommu.
764 return dev->iommu->iommu_dev;
1016 if (dev->iommu)
1017 return dev->iommu->fwspec;
1025 dev->iommu->fwspec = fwspec;
1030 if (dev->iommu)
1031 return dev->iommu->priv;
1253 static inline int iommu_device_register(struct iommu_device *iommu,
1292 static inline void iommu_device_unregister(struct iommu_device *iommu)
1296 static inline int iommu_device_sysfs_add(struct iommu_device *iommu,
1304 static inline void iommu_device_sysfs_remove(struct iommu_device *iommu)