Lines Matching full:its
153 * ITS ID and base address to the list from where we can get it back later on.
154 * @trans_id: ITS ID.
155 * @base: ITS base address.
181 * iort_deregister_domain_token() - Deregister domain token based on ITS ID
182 * @trans_id: ITS ID.
202 * iort_find_domain_token() - Find domain token based on given ITS ID
203 * @trans_id: ITS ID.
428 * Get the special ID mapping index (if any) and skip its in iort_node_map_id()
472 * optional step 2: map the initial dev id if its parent is not in iort_node_map_platform_id()
474 * as NC (named component) -> SMMU -> ITS. If the type is matched, in iort_node_map_platform_id()
475 * return the initial dev id and its parent pointer directly. in iort_node_map_platform_id()
494 * device (such as SMMU, PMCG),its iort node already cached in iort_find_dev_node()
590 * iort_dev_find_its_id() - Find the ITS identifier for a device
593 * @idx: Index of the ITS identifier list.
594 * @its_id: ITS identifier.
601 struct acpi_iort_its_group *its; in iort_dev_find_its_id() local
612 /* Move to ITS specific data */ in iort_dev_find_its_id()
613 its = (struct acpi_iort_its_group *)node->node_data; in iort_dev_find_its_id()
614 if (idx >= its->its_count) { in iort_dev_find_its_id()
615 dev_err(dev, "requested ITS ID index [%d] overruns ITS entries [%d]\n", in iort_dev_find_its_id()
616 idx, its->its_count); in iort_dev_find_its_id()
620 *its_id = its->identifiers[idx]; in iort_dev_find_its_id()
649 struct acpi_iort_its_group *its; in iort_set_device_domain() local
677 /* Move to ITS specific data */ in iort_set_device_domain()
678 its = (struct acpi_iort_its_group *)msi_parent->node_data; in iort_set_device_domain()
680 iort_fwnode = iort_find_domain_token(its->identifiers[0]); in iort_set_device_domain()
700 struct acpi_iort_its_group *its; in iort_get_platform_device_domain() local
703 /* find its associated iort node */ in iort_get_platform_device_domain()
709 /* then find its msi parent node */ in iort_get_platform_device_domain()
720 /* Move to ITS specific data */ in iort_get_platform_device_domain()
721 its = (struct acpi_iort_its_group *)msi_parent->node_data; in iort_get_platform_device_domain()
723 iort_fwnode = iort_find_domain_token(its->identifiers[0]); in iort_get_platform_device_domain()
792 * appropriate error value otherwise. The ITS interrupt translation
799 struct acpi_iort_its_group *its; in iort_iommu_msi_get_resv_regions() local
808 * Current logic to reserve ITS regions relies on HW topologies in iort_iommu_msi_get_resv_regions()
809 * where a given PCI or named component maps its IDs to only one in iort_iommu_msi_get_resv_regions()
810 * ITS group; if a PCI or named component can map its IDs to in iort_iommu_msi_get_resv_regions()
811 * different ITS groups through IORT mappings this function has in iort_iommu_msi_get_resv_regions()
812 * to be reworked to ensure we reserve regions for all ITS groups in iort_iommu_msi_get_resv_regions()
827 /* Move to ITS specific data */ in iort_iommu_msi_get_resv_regions()
828 its = (struct acpi_iort_its_group *)its_node->node_data; in iort_iommu_msi_get_resv_regions()
830 for (i = 0; i < its->its_count; i++) { in iort_iommu_msi_get_resv_regions()
833 if (!iort_find_its_base(its->identifiers[i], &base)) { in iort_iommu_msi_get_resv_regions()
846 return (resv == its->its_count) ? resv : -ENODEV; in iort_iommu_msi_get_resv_regions()
1065 * it should have initialised its dma_mask pointer by this point. For in iort_dma_setup()