// SPDX-License-Identifier: GPL-2.0 /* Copyright (C) 2022-2024 Linaro Ltd. */ #include <linux/array_size.h> #include <linux/log2.h> #include "../ipa_data.h" #include "../ipa_endpoint.h" #include "../ipa_mem.h" #include "../ipa_version.h" /** enum ipa_resource_type - IPA resource types for an SoC having IPA v4.7 */ enum ipa_resource_type { … }; /* Resource groups used for an SoC having IPA v4.7 */ enum ipa_rsrc_group_id { … }; /* QSB configuration data for an SoC having IPA v4.7 */ static const struct ipa_qsb_data ipa_qsb_data[] = …; /* Endpoint configuration data for an SoC having IPA v4.7 */ static const struct ipa_gsi_endpoint_data ipa_gsi_endpoint_data[] = …; /* Source resource configuration data for an SoC having IPA v4.7 */ static const struct ipa_resource ipa_resource_src[] = …; /* Destination resource configuration data for an SoC having IPA v4.7 */ static const struct ipa_resource ipa_resource_dst[] = …; /* Resource configuration data for an SoC having IPA v4.7 */ static const struct ipa_resource_data ipa_resource_data = …; /* IPA-resident memory region data for an SoC having IPA v4.7 */ static const struct ipa_mem ipa_mem_local_data[] = …; /* Memory configuration data for an SoC having IPA v4.7 */ static const struct ipa_mem_data ipa_mem_data = …; /* Interconnect rates are in 1000 byte/second units */ static const struct ipa_interconnect_data ipa_interconnect_data[] = …; /* Clock and interconnect configuration data for an SoC having IPA v4.7 */ static const struct ipa_power_data ipa_power_data = …; /* Configuration data for an SoC having IPA v4.7 */ const struct ipa_data ipa_data_v4_7 = …;