Lines Matching full:its

155  * ITS ID and base address to the list from where we can get it back later on.
156 * @trans_id: ITS ID.
157 * @base: ITS base address.
183 * iort_deregister_domain_token() - Deregister domain token based on ITS ID
184 * @trans_id: ITS ID.
204 * iort_find_domain_token() - Find domain token based on given ITS ID
205 * @trans_id: ITS ID.
478 * Get the special ID mapping index (if any) and skip its in iort_node_map_id()
525 * optional step 2: map the initial dev id if its parent is not in iort_node_map_platform_id()
527 * as NC (named component) -> SMMU -> ITS. If the type is matched, in iort_node_map_platform_id()
528 * return the initial dev id and its parent pointer directly. in iort_node_map_platform_id()
547 * device (such as SMMU, PMCG),its iort node already cached in iort_find_dev_node()
639 * iort_dev_find_its_id() - Find the ITS identifier for a device
642 * @idx: Index of the ITS identifier list.
643 * @its_id: ITS identifier.
650 struct acpi_iort_its_group *its; in iort_dev_find_its_id() local
661 /* Move to ITS specific data */ in iort_dev_find_its_id()
662 its = (struct acpi_iort_its_group *)node->node_data; in iort_dev_find_its_id()
663 if (idx >= its->its_count) { in iort_dev_find_its_id()
664 dev_err(dev, "requested ITS ID index [%d] overruns ITS entries [%d]\n", in iort_dev_find_its_id()
665 idx, its->its_count); in iort_dev_find_its_id()
669 *its_id = its->identifiers[idx]; in iort_dev_find_its_id()
700 struct acpi_iort_its_group *its; in iort_set_device_domain() local
728 /* Move to ITS specific data */ in iort_set_device_domain()
729 its = (struct acpi_iort_its_group *)msi_parent->node_data; in iort_set_device_domain()
731 iort_fwnode = iort_find_domain_token(its->identifiers[0]); in iort_set_device_domain()
751 struct acpi_iort_its_group *its; in iort_get_platform_device_domain() local
754 /* find its associated iort node */ in iort_get_platform_device_domain()
760 /* then find its msi parent node */ in iort_get_platform_device_domain()
771 /* Move to ITS specific data */ in iort_get_platform_device_domain()
772 its = (struct acpi_iort_its_group *)msi_parent->node_data; in iort_get_platform_device_domain()
774 iort_fwnode = iort_find_domain_token(its->identifiers[0]); in iort_get_platform_device_domain()
833 * appropriate error value otherwise. The ITS interrupt translation
840 struct acpi_iort_its_group *its; in iort_iommu_msi_get_resv_regions() local
849 * Current logic to reserve ITS regions relies on HW topologies in iort_iommu_msi_get_resv_regions()
850 * where a given PCI or named component maps its IDs to only one in iort_iommu_msi_get_resv_regions()
851 * ITS group; if a PCI or named component can map its IDs to in iort_iommu_msi_get_resv_regions()
852 * different ITS groups through IORT mappings this function has in iort_iommu_msi_get_resv_regions()
853 * to be reworked to ensure we reserve regions for all ITS groups in iort_iommu_msi_get_resv_regions()
868 /* Move to ITS specific data */ in iort_iommu_msi_get_resv_regions()
869 its = (struct acpi_iort_its_group *)its_node->node_data; in iort_iommu_msi_get_resv_regions()
871 for (i = 0; i < its->its_count; i++) { in iort_iommu_msi_get_resv_regions()
874 if (!iort_find_its_base(its->identifiers[i], &base)) { in iort_iommu_msi_get_resv_regions()
887 return (resv == its->its_count) ? resv : -ENODEV; in iort_iommu_msi_get_resv_regions()
1149 * it should have initialised its dma_mask pointer by this point. For in iort_dma_setup()