Lines Matching +full:gic +full:- +full:its
1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2015-2016 Freescale Semiconductor, Inc.
21 .name = "ITS-fMSI",
35 out_id = of_node ? of_msi_map_id(&mc_dev->dev, of_node, mc_dev->icid) : in fsl_mc_msi_domain_get_msi_id()
36 iort_msi_map_id(&mc_dev->dev, mc_dev->icid); in fsl_mc_msi_domain_get_msi_id()
49 return -EINVAL; in its_fsl_mc_msi_prepare()
52 if (!(mc_bus_dev->flags & FSL_MC_IS_DPRC)) in its_fsl_mc_msi_prepare()
53 return -EINVAL; in its_fsl_mc_msi_prepare()
56 * Set the device Id to be passed to the GIC-ITS: in its_fsl_mc_msi_prepare()
61 info->scratchpad[0].ul = fsl_mc_msi_domain_get_msi_id(msi_domain, in its_fsl_mc_msi_prepare()
63 msi_info = msi_get_domain_info(msi_domain->parent); in its_fsl_mc_msi_prepare()
67 return msi_info->ops->msi_prepare(msi_domain->parent, dev, nvec, info); in its_fsl_mc_msi_prepare()
81 { .compatible = "arm,gic-v3-its", },
93 pr_err("%s: unable to locate ITS domain\n", name); in its_fsl_mc_msi_init_one()
101 pr_err("%s: unable to create fsl-mc domain\n", name); in its_fsl_mc_msi_init_one()
105 pr_info("fsl-mc MSI: %s domain created\n", name); in its_fsl_mc_msi_init_one()
119 node_name = kasprintf(GFP_KERNEL, "ITS@0x%lx", in its_fsl_mc_msi_parse_madt()
120 (long)its_entry->base_address); in its_fsl_mc_msi_parse_madt()
122 dom_handle = iort_find_domain_token(its_entry->translation_id); in its_fsl_mc_msi_parse_madt()
124 pr_err("%s: Unable to locate ITS domain handle\n", node_name); in its_fsl_mc_msi_parse_madt()
125 err = -ENXIO; in its_fsl_mc_msi_parse_madt()
154 if (!of_property_read_bool(np, "msi-controller")) in its_fsl_mc_of_msi_init()
158 np->full_name); in its_fsl_mc_of_msi_init()