• Home
  • Raw
  • Download

Lines Matching full:its

161  * ITS ID and base address to the list from where we can get it back later on.
162 * @trans_id: ITS ID.
163 * @base: ITS base address.
189 * iort_deregister_domain_token() - Deregister domain token based on ITS ID
190 * @trans_id: ITS ID.
210 * iort_find_domain_token() - Find domain token based on given ITS ID
211 * @trans_id: ITS ID.
433 * Get the special ID mapping index (if any) and skip its in iort_node_map_id()
477 * optional step 2: map the initial dev id if its parent is not in iort_node_map_platform_id()
479 * as NC (named component) -> SMMU -> ITS. If the type is matched, in iort_node_map_platform_id()
480 * return the initial dev id and its parent pointer directly. in iort_node_map_platform_id()
499 * device (such as SMMU, PMCG),its iort node already cached in iort_find_dev_node()
595 * iort_dev_find_its_id() - Find the ITS identifier for a device
598 * @idx: Index of the ITS identifier list.
599 * @its_id: ITS identifier.
606 struct acpi_iort_its_group *its; in iort_dev_find_its_id() local
617 /* Move to ITS specific data */ in iort_dev_find_its_id()
618 its = (struct acpi_iort_its_group *)node->node_data; in iort_dev_find_its_id()
619 if (idx >= its->its_count) { in iort_dev_find_its_id()
620 dev_err(dev, "requested ITS ID index [%d] overruns ITS entries [%d]\n", in iort_dev_find_its_id()
621 idx, its->its_count); in iort_dev_find_its_id()
625 *its_id = its->identifiers[idx]; in iort_dev_find_its_id()
654 struct acpi_iort_its_group *its; in iort_set_device_domain() local
682 /* Move to ITS specific data */ in iort_set_device_domain()
683 its = (struct acpi_iort_its_group *)msi_parent->node_data; in iort_set_device_domain()
685 iort_fwnode = iort_find_domain_token(its->identifiers[0]); in iort_set_device_domain()
705 struct acpi_iort_its_group *its; in iort_get_platform_device_domain() local
708 /* find its associated iort node */ in iort_get_platform_device_domain()
714 /* then find its msi parent node */ in iort_get_platform_device_domain()
725 /* Move to ITS specific data */ in iort_get_platform_device_domain()
726 its = (struct acpi_iort_its_group *)msi_parent->node_data; in iort_get_platform_device_domain()
728 iort_fwnode = iort_find_domain_token(its->identifiers[0]); in iort_get_platform_device_domain()
821 * appropriate error value otherwise. The ITS interrupt translation
827 struct acpi_iort_its_group *its; in iort_iommu_msi_get_resv_regions() local
836 * Current logic to reserve ITS regions relies on HW topologies in iort_iommu_msi_get_resv_regions()
837 * where a given PCI or named component maps its IDs to only one in iort_iommu_msi_get_resv_regions()
838 * ITS group; if a PCI or named component can map its IDs to in iort_iommu_msi_get_resv_regions()
839 * different ITS groups through IORT mappings this function has in iort_iommu_msi_get_resv_regions()
840 * to be reworked to ensure we reserve regions for all ITS groups in iort_iommu_msi_get_resv_regions()
855 /* Move to ITS specific data */ in iort_iommu_msi_get_resv_regions()
856 its = (struct acpi_iort_its_group *)its_node->node_data; in iort_iommu_msi_get_resv_regions()
858 for (i = 0; i < its->its_count; i++) { in iort_iommu_msi_get_resv_regions()
861 if (!iort_find_its_base(its->identifiers[i], &base)) { in iort_iommu_msi_get_resv_regions()
874 return (resv == its->its_count) ? resv : -ENODEV; in iort_iommu_msi_get_resv_regions()
983 * it should have initialised its dma_mask pointer by this point. For in iort_dma_setup()