Lines Matching refs:acpi_iort_node
43 struct acpi_iort_node *iort_node;
59 static inline int iort_set_fwnode(struct acpi_iort_node *iort_node, in iort_set_fwnode()
88 struct acpi_iort_node *node) in iort_get_fwnode()
110 static inline void iort_delete_fwnode(struct acpi_iort_node *node) in iort_delete_fwnode()
132 static inline struct acpi_iort_node *iort_get_iort_node( in iort_get_iort_node()
136 struct acpi_iort_node *iort_node = NULL; in iort_get_iort_node()
151 (struct acpi_iort_node *node, void *context);
232 static struct acpi_iort_node *iort_scan_node(enum acpi_iort_node_type type, in iort_scan_node()
236 struct acpi_iort_node *iort_node, *iort_end; in iort_scan_node()
245 iort_node = ACPI_ADD_PTR(struct acpi_iort_node, iort, in iort_scan_node()
247 iort_end = ACPI_ADD_PTR(struct acpi_iort_node, iort_table, in iort_scan_node()
259 iort_node = ACPI_ADD_PTR(struct acpi_iort_node, iort_node, in iort_scan_node()
266 static acpi_status iort_match_node_callback(struct acpi_iort_node *node, in iort_match_node_callback()
333 static struct acpi_iort_node *iort_node_get_id(struct acpi_iort_node *node, in iort_node_get_id()
336 struct acpi_iort_node *parent; in iort_node_get_id()
353 parent = ACPI_ADD_PTR(struct acpi_iort_node, iort_table, in iort_node_get_id()
368 static int iort_get_id_mapping_index(struct acpi_iort_node *node) in iort_get_id_mapping_index()
402 static struct acpi_iort_node *iort_node_map_id(struct acpi_iort_node *node, in iort_node_map_id()
452 node = ACPI_ADD_PTR(struct acpi_iort_node, iort_table, in iort_node_map_id()
464 static struct acpi_iort_node *iort_node_map_platform_id( in iort_node_map_platform_id()
465 struct acpi_iort_node *node, u32 *id_out, u8 type_mask, in iort_node_map_platform_id()
468 struct acpi_iort_node *parent; in iort_node_map_platform_id()
491 static struct acpi_iort_node *iort_find_dev_node(struct device *dev) in iort_find_dev_node()
496 struct acpi_iort_node *node; in iort_find_dev_node()
533 struct acpi_iort_node *node; in iort_msi_map_rid()
554 struct acpi_iort_node *node; in iort_pmsi_get_dev_id()
607 struct acpi_iort_node *node; in iort_dev_find_its_id()
652 struct acpi_iort_node *node) in iort_set_device_domain()
655 struct acpi_iort_node *msi_parent; in iort_set_device_domain()
676 msi_parent = ACPI_ADD_PTR(struct acpi_iort_node, iort_table, in iort_set_device_domain()
703 struct acpi_iort_node *node, *msi_parent; in iort_get_platform_device_domain()
779 static struct acpi_iort_node *iort_get_msi_resv_iommu(struct device *dev) in iort_get_msi_resv_iommu()
781 struct acpi_iort_node *iommu; in iort_get_msi_resv_iommu()
828 struct acpi_iort_node *iommu_node, *its_node = NULL; in iort_iommu_msi_get_resv_regions()
887 static int iort_iommu_xlate(struct device *dev, struct acpi_iort_node *node, in iort_iommu_xlate()
918 struct acpi_iort_node *node;
924 struct acpi_iort_node *parent; in iort_pci_iommu_init()
934 struct acpi_iort_node *node; in nc_dma_get_range()
952 struct acpi_iort_node *node; in rc_dma_get_range()
1039 struct acpi_iort_node *node, *parent; in iort_iommu_configure()
1121 static int __init arm_smmu_v3_count_resources(struct acpi_iort_node *node) in arm_smmu_v3_count_resources()
1176 struct acpi_iort_node *node) in arm_smmu_v3_init_resources()
1219 static bool __init arm_smmu_v3_is_coherent(struct acpi_iort_node *node) in arm_smmu_v3_is_coherent()
1234 struct acpi_iort_node *node) in arm_smmu_v3_set_proximity()
1250 static int __init arm_smmu_count_resources(struct acpi_iort_node *node) in arm_smmu_count_resources()
1269 struct acpi_iort_node *node) in arm_smmu_init_resources()
1302 static bool __init arm_smmu_is_coherent(struct acpi_iort_node *node) in arm_smmu_is_coherent()
1314 int (*dev_init)(struct acpi_iort_node *node);
1315 bool (*dev_is_coherent)(struct acpi_iort_node *node);
1316 int (*dev_count_resources)(struct acpi_iort_node *node);
1318 struct acpi_iort_node *node);
1320 struct acpi_iort_node *node);
1339 struct acpi_iort_node *node) in iort_get_dev_cfg()
1357 static int __init iort_add_platform_device(struct acpi_iort_node *node, in iort_add_platform_device()
1438 static bool __init iort_enable_acs(struct acpi_iort_node *iort_node) in iort_enable_acs()
1441 struct acpi_iort_node *parent; in iort_enable_acs()
1452 parent = ACPI_ADD_PTR(struct acpi_iort_node, in iort_enable_acs()
1471 struct acpi_iort_node *iort_node, *iort_end; in iort_init_platform_devices()
1485 iort_node = ACPI_ADD_PTR(struct acpi_iort_node, iort, in iort_init_platform_devices()
1487 iort_end = ACPI_ADD_PTR(struct acpi_iort_node, iort, in iort_init_platform_devices()
1515 iort_node = ACPI_ADD_PTR(struct acpi_iort_node, iort_node, in iort_init_platform_devices()