Lines Matching refs:iort_node

38 	struct acpi_iort_node *iort_node;  member
54 static inline int iort_set_fwnode(struct acpi_iort_node *iort_node, in iort_set_fwnode() argument
65 np->iort_node = iort_node; in iort_set_fwnode()
90 if (curr->iort_node == node) { in iort_get_fwnode()
111 if (curr->iort_node == node) { in iort_delete_fwnode()
131 struct acpi_iort_node *iort_node = NULL; in iort_get_iort_node() local
136 iort_node = curr->iort_node; in iort_get_iort_node()
142 return iort_node; in iort_get_iort_node()
231 struct acpi_iort_node *iort_node, *iort_end; in iort_scan_node() local
240 iort_node = ACPI_ADD_PTR(struct acpi_iort_node, iort, in iort_scan_node()
246 if (WARN_TAINT(iort_node >= iort_end, TAINT_FIRMWARE_WORKAROUND, in iort_scan_node()
250 if (iort_node->type == type && in iort_scan_node()
251 ACPI_SUCCESS(callback(iort_node, context))) in iort_scan_node()
252 return iort_node; in iort_scan_node()
254 iort_node = ACPI_ADD_PTR(struct acpi_iort_node, iort_node, in iort_scan_node()
255 iort_node->length); in iort_scan_node()
1040 struct acpi_iort_node *iort_node, *iort_end; in iort_find_rmrs() local
1049 iort_node = ACPI_ADD_PTR(struct acpi_iort_node, iort, in iort_find_rmrs()
1055 if (WARN_TAINT(iort_node >= iort_end, TAINT_FIRMWARE_WORKAROUND, in iort_find_rmrs()
1059 if (iort_node->type == ACPI_IORT_NODE_RMR) in iort_find_rmrs()
1060 iort_node_get_rmr_info(iort_node, iommu, dev, head); in iort_find_rmrs()
1062 iort_node = ACPI_ADD_PTR(struct acpi_iort_node, iort_node, in iort_find_rmrs()
1063 iort_node->length); in iort_find_rmrs()
1868 static void __init iort_enable_acs(struct acpi_iort_node *iort_node) in iort_enable_acs() argument
1875 if (iort_node->type == ACPI_IORT_NODE_PCI_ROOT_COMPLEX) { in iort_enable_acs()
1880 map = ACPI_ADD_PTR(struct acpi_iort_id_mapping, iort_node, in iort_enable_acs()
1881 iort_node->mapping_offset); in iort_enable_acs()
1883 for (i = 0; i < iort_node->mapping_count; i++, map++) { in iort_enable_acs()
1903 static inline void iort_enable_acs(struct acpi_iort_node *iort_node) { } in iort_enable_acs() argument
1908 struct acpi_iort_node *iort_node, *iort_end; in iort_init_platform_devices() local
1921 iort_node = ACPI_ADD_PTR(struct acpi_iort_node, iort, in iort_init_platform_devices()
1927 if (iort_node >= iort_end) { in iort_init_platform_devices()
1932 iort_enable_acs(iort_node); in iort_init_platform_devices()
1934 ops = iort_get_dev_cfg(iort_node); in iort_init_platform_devices()
1940 iort_set_fwnode(iort_node, fwnode); in iort_init_platform_devices()
1942 ret = iort_add_platform_device(iort_node, ops); in iort_init_platform_devices()
1944 iort_delete_fwnode(iort_node); in iort_init_platform_devices()
1950 iort_node = ACPI_ADD_PTR(struct acpi_iort_node, iort_node, in iort_init_platform_devices()
1951 iort_node->length); in iort_init_platform_devices()