|
@@ -33,6 +33,7 @@ struct class;
|
|
struct subsys_private;
|
|
struct subsys_private;
|
|
struct bus_type;
|
|
struct bus_type;
|
|
struct device_node;
|
|
struct device_node;
|
|
|
|
+struct iommu_ops;
|
|
|
|
|
|
struct bus_attribute {
|
|
struct bus_attribute {
|
|
struct attribute attr;
|
|
struct attribute attr;
|
|
@@ -67,6 +68,9 @@ extern void bus_remove_file(struct bus_type *, struct bus_attribute *);
|
|
* @resume: Called to bring a device on this bus out of sleep mode.
|
|
* @resume: Called to bring a device on this bus out of sleep mode.
|
|
* @pm: Power management operations of this bus, callback the specific
|
|
* @pm: Power management operations of this bus, callback the specific
|
|
* device driver's pm-ops.
|
|
* device driver's pm-ops.
|
|
|
|
+ * @iommu_ops IOMMU specific operations for this bus, used to attach IOMMU
|
|
|
|
+ * driver implementations to a bus and allow the driver to do
|
|
|
|
+ * bus-specific setup
|
|
* @p: The private data of the driver core, only the driver core can
|
|
* @p: The private data of the driver core, only the driver core can
|
|
* touch this.
|
|
* touch this.
|
|
*
|
|
*
|
|
@@ -96,6 +100,8 @@ struct bus_type {
|
|
|
|
|
|
const struct dev_pm_ops *pm;
|
|
const struct dev_pm_ops *pm;
|
|
|
|
|
|
|
|
+ struct iommu_ops *iommu_ops;
|
|
|
|
+
|
|
struct subsys_private *p;
|
|
struct subsys_private *p;
|
|
};
|
|
};
|
|
|
|
|