Lines Matching refs:acpi_iort_node
35 struct acpi_iort_node *iort_node;
51 static inline int iort_set_fwnode(struct acpi_iort_node *iort_node, in iort_set_fwnode()
80 struct acpi_iort_node *node) in iort_get_fwnode()
102 static inline void iort_delete_fwnode(struct acpi_iort_node *node) in iort_delete_fwnode()
124 static inline struct acpi_iort_node *iort_get_iort_node( in iort_get_iort_node()
128 struct acpi_iort_node *iort_node = NULL; in iort_get_iort_node()
143 (struct acpi_iort_node *node, void *context);
224 static struct acpi_iort_node *iort_scan_node(enum acpi_iort_node_type type, in iort_scan_node()
228 struct acpi_iort_node *iort_node, *iort_end; in iort_scan_node()
237 iort_node = ACPI_ADD_PTR(struct acpi_iort_node, iort, in iort_scan_node()
239 iort_end = ACPI_ADD_PTR(struct acpi_iort_node, iort_table, in iort_scan_node()
251 iort_node = ACPI_ADD_PTR(struct acpi_iort_node, iort_node, in iort_scan_node()
258 static acpi_status iort_match_node_callback(struct acpi_iort_node *node, in iort_match_node_callback()
325 static struct acpi_iort_node *iort_node_get_id(struct acpi_iort_node *node, in iort_node_get_id()
328 struct acpi_iort_node *parent; in iort_node_get_id()
345 parent = ACPI_ADD_PTR(struct acpi_iort_node, iort_table, in iort_node_get_id()
361 static int iort_get_id_mapping_index(struct acpi_iort_node *node) in iort_get_id_mapping_index()
397 static struct acpi_iort_node *iort_node_map_id(struct acpi_iort_node *node, in iort_node_map_id()
447 node = ACPI_ADD_PTR(struct acpi_iort_node, iort_table, in iort_node_map_id()
459 static struct acpi_iort_node *iort_node_map_platform_id( in iort_node_map_platform_id()
460 struct acpi_iort_node *node, u32 *id_out, u8 type_mask, in iort_node_map_platform_id()
463 struct acpi_iort_node *parent; in iort_node_map_platform_id()
486 static struct acpi_iort_node *iort_find_dev_node(struct device *dev) in iort_find_dev_node()
491 struct acpi_iort_node *node; in iort_find_dev_node()
528 struct acpi_iort_node *node; in iort_msi_map_rid()
549 struct acpi_iort_node *node; in iort_pmsi_get_dev_id()
602 struct acpi_iort_node *node; in iort_dev_find_its_id()
647 struct acpi_iort_node *node) in iort_set_device_domain()
650 struct acpi_iort_node *msi_parent; in iort_set_device_domain()
671 msi_parent = ACPI_ADD_PTR(struct acpi_iort_node, iort_table, in iort_set_device_domain()
698 struct acpi_iort_node *node, *msi_parent = NULL; in iort_get_platform_device_domain()
749 static struct acpi_iort_node *iort_get_msi_resv_iommu(struct device *dev) in iort_get_msi_resv_iommu()
751 struct acpi_iort_node *iommu; in iort_get_msi_resv_iommu()
800 struct acpi_iort_node *iommu_node, *its_node = NULL; in iort_iommu_msi_get_resv_regions()
874 static bool iort_pci_rc_supports_ats(struct acpi_iort_node *node) in iort_pci_rc_supports_ats()
882 static int iort_iommu_xlate(struct device *dev, struct acpi_iort_node *node, in iort_iommu_xlate()
913 struct acpi_iort_node *node;
919 struct acpi_iort_node *parent; in iort_pci_iommu_init()
937 struct acpi_iort_node *node, *parent; in iort_iommu_configure()
1016 struct acpi_iort_node *node; in nc_dma_get_range()
1034 struct acpi_iort_node *node; in rc_dma_get_range()
1131 static int __init arm_smmu_v3_count_resources(struct acpi_iort_node *node) in arm_smmu_v3_count_resources()
1186 struct acpi_iort_node *node) in arm_smmu_v3_init_resources()
1230 struct acpi_iort_node *node) in arm_smmu_v3_dma_configure()
1253 struct acpi_iort_node *node) in arm_smmu_v3_set_proximity()
1275 static int __init arm_smmu_count_resources(struct acpi_iort_node *node) in arm_smmu_count_resources()
1294 struct acpi_iort_node *node) in arm_smmu_init_resources()
1328 struct acpi_iort_node *node) in arm_smmu_dma_configure()
1346 static int __init arm_smmu_v3_pmcg_count_resources(struct acpi_iort_node *node) in arm_smmu_v3_pmcg_count_resources()
1361 struct acpi_iort_node *node) in arm_smmu_v3_pmcg_init_resources()
1403 int (*dev_init)(struct acpi_iort_node *node);
1405 struct acpi_iort_node *node);
1406 int (*dev_count_resources)(struct acpi_iort_node *node);
1408 struct acpi_iort_node *node);
1410 struct acpi_iort_node *node);
1437 struct acpi_iort_node *node) in iort_get_dev_cfg()
1457 static int __init iort_add_platform_device(struct acpi_iort_node *node, in iort_add_platform_device()
1538 static void __init iort_enable_acs(struct acpi_iort_node *iort_node) in iort_enable_acs()
1546 struct acpi_iort_node *parent; in iort_enable_acs()
1557 parent = ACPI_ADD_PTR(struct acpi_iort_node, in iort_enable_acs()
1573 static inline void iort_enable_acs(struct acpi_iort_node *iort_node) { } in iort_enable_acs()
1578 struct acpi_iort_node *iort_node, *iort_end; in iort_init_platform_devices()
1591 iort_node = ACPI_ADD_PTR(struct acpi_iort_node, iort, in iort_init_platform_devices()
1593 iort_end = ACPI_ADD_PTR(struct acpi_iort_node, iort, in iort_init_platform_devices()
1620 iort_node = ACPI_ADD_PTR(struct acpi_iort_node, iort_node, in iort_init_platform_devices()