mirror of
git://nv-tegra.nvidia.com/linux-hwpm.git
synced 2025-12-22 17:30:40 +03:00
tegra: hwpm: fix sparse semantic violations
Fix following violations reported by sparse tool - warning: symbol 'tegra_hwpm_debugfs_*' was not declared. Should it be static? Add missing header in tegra_hwpm_debugfs.c file to fix this issue - warning: no newline at end of file Add new end line in tegra_hwpm_alist_utils.c to fix this issue. - warning: symbol 't234_chip_info' was not declared. Should it be static? Modify t234_chip_info structure to be static to fix this issue. - warning: symbol '*_perfmon_element_static_array' was not declared. Should it be static? - warning: symbol '*_perfmux_element_static_array' was not declared. Should it be static? - warning: symbol '*_inst_static_array' was not declared. Should it be static? Modify each *_perfmon_element_static_array, *_perfmux_element_static_array and *_inst_static_array in all IPs to be static to fix this issue. Bug 3528414 Change-Id: I58e7a1c6e14988d7315fb8d160aa7f89a2eb4cf5 Signed-off-by: Vedashree Vidwans <vvidwans@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2725821 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
d1de75a664
commit
46e2ea58f1
@@ -159,4 +159,4 @@ alist_unmap:
|
|||||||
}
|
}
|
||||||
|
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
#include <hal/t234/t234_hwpm_regops_allowlist.h>
|
#include <hal/t234/t234_hwpm_regops_allowlist.h>
|
||||||
#include <hal/t234/hw/t234_addr_map_soc_hwpm.h>
|
#include <hal/t234/hw/t234_addr_map_soc_hwpm.h>
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_display_inst0_perfmon_element_static_array[
|
static struct hwpm_ip_aperture t234_display_inst0_perfmon_element_static_array[
|
||||||
T234_HWPM_IP_DISPLAY_NUM_PERFMON_PER_INST] = {
|
T234_HWPM_IP_DISPLAY_NUM_PERFMON_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = HWPM_ELEMENT_PERFMON,
|
.element_type = HWPM_ELEMENT_PERFMON,
|
||||||
@@ -36,7 +36,7 @@ struct hwpm_ip_aperture t234_display_inst0_perfmon_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_display_inst0_perfmux_element_static_array[
|
static struct hwpm_ip_aperture t234_display_inst0_perfmux_element_static_array[
|
||||||
T234_HWPM_IP_DISPLAY_NUM_PERFMUX_PER_INST] = {
|
T234_HWPM_IP_DISPLAY_NUM_PERFMUX_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = IP_ELEMENT_PERFMUX,
|
.element_type = IP_ELEMENT_PERFMUX,
|
||||||
@@ -56,7 +56,7 @@ struct hwpm_ip_aperture t234_display_inst0_perfmux_element_static_array[
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* IP instance array */
|
/* IP instance array */
|
||||||
struct hwpm_ip_inst t234_display_inst_static_array[
|
static struct hwpm_ip_inst t234_display_inst_static_array[
|
||||||
T234_HWPM_IP_DISPLAY_NUM_INSTANCES] = {
|
T234_HWPM_IP_DISPLAY_NUM_INSTANCES] = {
|
||||||
{
|
{
|
||||||
.hw_inst_mask = BIT(0),
|
.hw_inst_mask = BIT(0),
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
#include <hal/t234/t234_hwpm_regops_allowlist.h>
|
#include <hal/t234/t234_hwpm_regops_allowlist.h>
|
||||||
#include <hal/t234/hw/t234_addr_map_soc_hwpm.h>
|
#include <hal/t234/hw/t234_addr_map_soc_hwpm.h>
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_isp_inst0_perfmon_element_static_array[
|
static struct hwpm_ip_aperture t234_isp_inst0_perfmon_element_static_array[
|
||||||
T234_HWPM_IP_ISP_NUM_PERFMON_PER_INST] = {
|
T234_HWPM_IP_ISP_NUM_PERFMON_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = HWPM_ELEMENT_PERFMON,
|
.element_type = HWPM_ELEMENT_PERFMON,
|
||||||
@@ -36,7 +36,7 @@ struct hwpm_ip_aperture t234_isp_inst0_perfmon_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_isp_inst0_perfmux_element_static_array[
|
static struct hwpm_ip_aperture t234_isp_inst0_perfmux_element_static_array[
|
||||||
T234_HWPM_IP_ISP_NUM_PERFMUX_PER_INST] = {
|
T234_HWPM_IP_ISP_NUM_PERFMUX_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = IP_ELEMENT_PERFMUX,
|
.element_type = IP_ELEMENT_PERFMUX,
|
||||||
@@ -56,7 +56,7 @@ struct hwpm_ip_aperture t234_isp_inst0_perfmux_element_static_array[
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* IP instance array */
|
/* IP instance array */
|
||||||
struct hwpm_ip_inst t234_isp_inst_static_array[
|
static struct hwpm_ip_inst t234_isp_inst_static_array[
|
||||||
T234_HWPM_IP_ISP_NUM_INSTANCES] = {
|
T234_HWPM_IP_ISP_NUM_INSTANCES] = {
|
||||||
{
|
{
|
||||||
.hw_inst_mask = BIT(0),
|
.hw_inst_mask = BIT(0),
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
#include <hal/t234/t234_hwpm_regops_allowlist.h>
|
#include <hal/t234/t234_hwpm_regops_allowlist.h>
|
||||||
#include <hal/t234/hw/t234_addr_map_soc_hwpm.h>
|
#include <hal/t234/hw/t234_addr_map_soc_hwpm.h>
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_mgbe_inst0_perfmon_element_static_array[
|
static struct hwpm_ip_aperture t234_mgbe_inst0_perfmon_element_static_array[
|
||||||
T234_HWPM_IP_MGBE_NUM_PERFMON_PER_INST] = {
|
T234_HWPM_IP_MGBE_NUM_PERFMON_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = HWPM_ELEMENT_PERFMON,
|
.element_type = HWPM_ELEMENT_PERFMON,
|
||||||
@@ -36,7 +36,7 @@ struct hwpm_ip_aperture t234_mgbe_inst0_perfmon_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_mgbe_inst1_perfmon_element_static_array[
|
static struct hwpm_ip_aperture t234_mgbe_inst1_perfmon_element_static_array[
|
||||||
T234_HWPM_IP_MGBE_NUM_PERFMON_PER_INST] = {
|
T234_HWPM_IP_MGBE_NUM_PERFMON_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = HWPM_ELEMENT_PERFMON,
|
.element_type = HWPM_ELEMENT_PERFMON,
|
||||||
@@ -55,7 +55,7 @@ struct hwpm_ip_aperture t234_mgbe_inst1_perfmon_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_mgbe_inst2_perfmon_element_static_array[
|
static struct hwpm_ip_aperture t234_mgbe_inst2_perfmon_element_static_array[
|
||||||
T234_HWPM_IP_MGBE_NUM_PERFMON_PER_INST] = {
|
T234_HWPM_IP_MGBE_NUM_PERFMON_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = HWPM_ELEMENT_PERFMON,
|
.element_type = HWPM_ELEMENT_PERFMON,
|
||||||
@@ -74,7 +74,7 @@ struct hwpm_ip_aperture t234_mgbe_inst2_perfmon_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_mgbe_inst3_perfmon_element_static_array[
|
static struct hwpm_ip_aperture t234_mgbe_inst3_perfmon_element_static_array[
|
||||||
T234_HWPM_IP_MGBE_NUM_PERFMON_PER_INST] = {
|
T234_HWPM_IP_MGBE_NUM_PERFMON_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = HWPM_ELEMENT_PERFMON,
|
.element_type = HWPM_ELEMENT_PERFMON,
|
||||||
@@ -93,7 +93,7 @@ struct hwpm_ip_aperture t234_mgbe_inst3_perfmon_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_mgbe_inst0_perfmux_element_static_array[
|
static struct hwpm_ip_aperture t234_mgbe_inst0_perfmux_element_static_array[
|
||||||
T234_HWPM_IP_MGBE_NUM_PERFMUX_PER_INST] = {
|
T234_HWPM_IP_MGBE_NUM_PERFMUX_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = IP_ELEMENT_PERFMUX,
|
.element_type = IP_ELEMENT_PERFMUX,
|
||||||
@@ -112,7 +112,7 @@ struct hwpm_ip_aperture t234_mgbe_inst0_perfmux_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_mgbe_inst1_perfmux_element_static_array[
|
static struct hwpm_ip_aperture t234_mgbe_inst1_perfmux_element_static_array[
|
||||||
T234_HWPM_IP_MGBE_NUM_PERFMUX_PER_INST] = {
|
T234_HWPM_IP_MGBE_NUM_PERFMUX_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = IP_ELEMENT_PERFMUX,
|
.element_type = IP_ELEMENT_PERFMUX,
|
||||||
@@ -131,7 +131,7 @@ struct hwpm_ip_aperture t234_mgbe_inst1_perfmux_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_mgbe_inst2_perfmux_element_static_array[
|
static struct hwpm_ip_aperture t234_mgbe_inst2_perfmux_element_static_array[
|
||||||
T234_HWPM_IP_MGBE_NUM_PERFMUX_PER_INST] = {
|
T234_HWPM_IP_MGBE_NUM_PERFMUX_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = IP_ELEMENT_PERFMUX,
|
.element_type = IP_ELEMENT_PERFMUX,
|
||||||
@@ -150,7 +150,7 @@ struct hwpm_ip_aperture t234_mgbe_inst2_perfmux_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_mgbe_inst3_perfmux_element_static_array[
|
static struct hwpm_ip_aperture t234_mgbe_inst3_perfmux_element_static_array[
|
||||||
T234_HWPM_IP_MGBE_NUM_PERFMUX_PER_INST] = {
|
T234_HWPM_IP_MGBE_NUM_PERFMUX_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = IP_ELEMENT_PERFMUX,
|
.element_type = IP_ELEMENT_PERFMUX,
|
||||||
@@ -170,7 +170,7 @@ struct hwpm_ip_aperture t234_mgbe_inst3_perfmux_element_static_array[
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* IP instance array */
|
/* IP instance array */
|
||||||
struct hwpm_ip_inst t234_mgbe_inst_static_array[
|
static struct hwpm_ip_inst t234_mgbe_inst_static_array[
|
||||||
T234_HWPM_IP_MGBE_NUM_INSTANCES] = {
|
T234_HWPM_IP_MGBE_NUM_INSTANCES] = {
|
||||||
{
|
{
|
||||||
.hw_inst_mask = BIT(0),
|
.hw_inst_mask = BIT(0),
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
#include <hal/t234/t234_hwpm_regops_allowlist.h>
|
#include <hal/t234/t234_hwpm_regops_allowlist.h>
|
||||||
#include <hal/t234/hw/t234_addr_map_soc_hwpm.h>
|
#include <hal/t234/hw/t234_addr_map_soc_hwpm.h>
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_mss_channel_inst0_perfmon_element_static_array[
|
static struct hwpm_ip_aperture t234_mss_channel_inst0_perfmon_element_static_array[
|
||||||
T234_HWPM_IP_MSS_CHANNEL_NUM_PERFMON_PER_INST] = {
|
T234_HWPM_IP_MSS_CHANNEL_NUM_PERFMON_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = HWPM_ELEMENT_PERFMON,
|
.element_type = HWPM_ELEMENT_PERFMON,
|
||||||
@@ -261,7 +261,7 @@ struct hwpm_ip_aperture t234_mss_channel_inst0_perfmon_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_mss_channel_inst0_perfmux_element_static_array[
|
static struct hwpm_ip_aperture t234_mss_channel_inst0_perfmux_element_static_array[
|
||||||
T234_HWPM_IP_MSS_CHANNEL_NUM_PERFMUX_PER_INST] = {
|
T234_HWPM_IP_MSS_CHANNEL_NUM_PERFMUX_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = IP_ELEMENT_PERFMUX,
|
.element_type = IP_ELEMENT_PERFMUX,
|
||||||
@@ -406,7 +406,8 @@ struct hwpm_ip_aperture t234_mss_channel_inst0_perfmux_element_static_array[
|
|||||||
.name = {'\0'},
|
.name = {'\0'},
|
||||||
.start_abs_pa = addr_map_mc9_base_r(),
|
.start_abs_pa = addr_map_mc9_base_r(),
|
||||||
.end_abs_pa = addr_map_mc9_limit_r(),
|
.end_abs_pa = addr_map_mc9_limit_r(),
|
||||||
.fake_registers = NULL,
|
.start_pa = 0ULL,
|
||||||
|
.end_pa = 0ULL,
|
||||||
.base_pa = 0ULL,
|
.base_pa = 0ULL,
|
||||||
.alist = t234_mss_channel_alist,
|
.alist = t234_mss_channel_alist,
|
||||||
.alist_size = ARRAY_SIZE(t234_mss_channel_alist),
|
.alist_size = ARRAY_SIZE(t234_mss_channel_alist),
|
||||||
@@ -504,7 +505,7 @@ struct hwpm_ip_aperture t234_mss_channel_inst0_perfmux_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_mss_channel_inst0_broadcast_element_static_array[
|
static struct hwpm_ip_aperture t234_mss_channel_inst0_broadcast_element_static_array[
|
||||||
T234_HWPM_IP_MSS_CHANNEL_NUM_BROADCAST_PER_INST] = {
|
T234_HWPM_IP_MSS_CHANNEL_NUM_BROADCAST_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = IP_ELEMENT_BROADCAST,
|
.element_type = IP_ELEMENT_BROADCAST,
|
||||||
@@ -524,7 +525,7 @@ struct hwpm_ip_aperture t234_mss_channel_inst0_broadcast_element_static_array[
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* IP instance array */
|
/* IP instance array */
|
||||||
struct hwpm_ip_inst t234_mss_channel_inst_static_array[
|
static struct hwpm_ip_inst t234_mss_channel_inst_static_array[
|
||||||
T234_HWPM_IP_MSS_CHANNEL_NUM_INSTANCES] = {
|
T234_HWPM_IP_MSS_CHANNEL_NUM_INSTANCES] = {
|
||||||
{
|
{
|
||||||
.hw_inst_mask = BIT(0),
|
.hw_inst_mask = BIT(0),
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
#include <hal/t234/t234_hwpm_regops_allowlist.h>
|
#include <hal/t234/t234_hwpm_regops_allowlist.h>
|
||||||
#include <hal/t234/hw/t234_addr_map_soc_hwpm.h>
|
#include <hal/t234/hw/t234_addr_map_soc_hwpm.h>
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_mss_gpu_hub_inst0_perfmon_element_static_array[
|
static struct hwpm_ip_aperture t234_mss_gpu_hub_inst0_perfmon_element_static_array[
|
||||||
T234_HWPM_IP_MSS_GPU_HUB_NUM_PERFMON_PER_INST] = {
|
T234_HWPM_IP_MSS_GPU_HUB_NUM_PERFMON_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = HWPM_ELEMENT_PERFMON,
|
.element_type = HWPM_ELEMENT_PERFMON,
|
||||||
@@ -36,7 +36,7 @@ struct hwpm_ip_aperture t234_mss_gpu_hub_inst0_perfmon_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_mss_gpu_hub_inst0_perfmux_element_static_array[
|
static struct hwpm_ip_aperture t234_mss_gpu_hub_inst0_perfmux_element_static_array[
|
||||||
T234_HWPM_IP_MSS_GPU_HUB_NUM_PERFMUX_PER_INST] = {
|
T234_HWPM_IP_MSS_GPU_HUB_NUM_PERFMUX_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = IP_ELEMENT_PERFMUX,
|
.element_type = IP_ELEMENT_PERFMUX,
|
||||||
@@ -161,7 +161,7 @@ struct hwpm_ip_aperture t234_mss_gpu_hub_inst0_perfmux_element_static_array[
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* IP instance array */
|
/* IP instance array */
|
||||||
struct hwpm_ip_inst t234_mss_gpu_hub_inst_static_array[
|
static struct hwpm_ip_inst t234_mss_gpu_hub_inst_static_array[
|
||||||
T234_HWPM_IP_MSS_GPU_HUB_NUM_INSTANCES] = {
|
T234_HWPM_IP_MSS_GPU_HUB_NUM_INSTANCES] = {
|
||||||
{
|
{
|
||||||
.hw_inst_mask = BIT(0),
|
.hw_inst_mask = BIT(0),
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
#include <hal/t234/t234_hwpm_regops_allowlist.h>
|
#include <hal/t234/t234_hwpm_regops_allowlist.h>
|
||||||
#include <hal/t234/hw/t234_addr_map_soc_hwpm.h>
|
#include <hal/t234/hw/t234_addr_map_soc_hwpm.h>
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_mss_iso_niso_hub_inst0_perfmon_element_static_array[
|
static struct hwpm_ip_aperture t234_mss_iso_niso_hub_inst0_perfmon_element_static_array[
|
||||||
T234_HWPM_IP_MSS_ISO_NISO_HUBS_NUM_PERFMON_PER_INST] = {
|
T234_HWPM_IP_MSS_ISO_NISO_HUBS_NUM_PERFMON_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = HWPM_ELEMENT_PERFMON,
|
.element_type = HWPM_ELEMENT_PERFMON,
|
||||||
@@ -51,7 +51,7 @@ struct hwpm_ip_aperture t234_mss_iso_niso_hub_inst0_perfmon_element_static_array
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_mss_iso_niso_hub_inst0_perfmux_element_static_array[
|
static struct hwpm_ip_aperture t234_mss_iso_niso_hub_inst0_perfmux_element_static_array[
|
||||||
T234_HWPM_IP_MSS_ISO_NISO_HUBS_NUM_PERFMUX_PER_INST] = {
|
T234_HWPM_IP_MSS_ISO_NISO_HUBS_NUM_PERFMUX_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = IP_ELEMENT_PERFMUX,
|
.element_type = IP_ELEMENT_PERFMUX,
|
||||||
@@ -198,7 +198,7 @@ struct hwpm_ip_aperture t234_mss_iso_niso_hub_inst0_perfmux_element_static_array
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_mss_iso_niso_hub_inst0_broadcast_element_static_array[
|
static struct hwpm_ip_aperture t234_mss_iso_niso_hub_inst0_broadcast_element_static_array[
|
||||||
T234_HWPM_IP_MSS_ISO_NISO_HUBS_NUM_BROADCAST_PER_INST] = {
|
T234_HWPM_IP_MSS_ISO_NISO_HUBS_NUM_BROADCAST_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = IP_ELEMENT_BROADCAST,
|
.element_type = IP_ELEMENT_BROADCAST,
|
||||||
@@ -218,7 +218,7 @@ struct hwpm_ip_aperture t234_mss_iso_niso_hub_inst0_broadcast_element_static_arr
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* IP instance array */
|
/* IP instance array */
|
||||||
struct hwpm_ip_inst t234_mss_iso_niso_hub_inst_static_array[
|
static struct hwpm_ip_inst t234_mss_iso_niso_hub_inst_static_array[
|
||||||
T234_HWPM_IP_MSS_ISO_NISO_HUBS_NUM_INSTANCES] = {
|
T234_HWPM_IP_MSS_ISO_NISO_HUBS_NUM_INSTANCES] = {
|
||||||
{
|
{
|
||||||
.hw_inst_mask = BIT(0),
|
.hw_inst_mask = BIT(0),
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
#include <hal/t234/t234_hwpm_regops_allowlist.h>
|
#include <hal/t234/t234_hwpm_regops_allowlist.h>
|
||||||
#include <hal/t234/hw/t234_addr_map_soc_hwpm.h>
|
#include <hal/t234/hw/t234_addr_map_soc_hwpm.h>
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_mss_mcf_inst0_perfmon_element_static_array[
|
static struct hwpm_ip_aperture t234_mss_mcf_inst0_perfmon_element_static_array[
|
||||||
T234_HWPM_IP_MSS_MCF_NUM_PERFMON_PER_INST] = {
|
T234_HWPM_IP_MSS_MCF_NUM_PERFMON_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = HWPM_ELEMENT_PERFMON,
|
.element_type = HWPM_ELEMENT_PERFMON,
|
||||||
@@ -66,7 +66,7 @@ struct hwpm_ip_aperture t234_mss_mcf_inst0_perfmon_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_mss_mcf_inst0_perfmux_element_static_array[
|
static struct hwpm_ip_aperture t234_mss_mcf_inst0_perfmux_element_static_array[
|
||||||
T234_HWPM_IP_MSS_MCF_NUM_PERFMUX_PER_INST] = {
|
T234_HWPM_IP_MSS_MCF_NUM_PERFMUX_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = IP_ELEMENT_PERFMUX,
|
.element_type = IP_ELEMENT_PERFMUX,
|
||||||
@@ -190,7 +190,7 @@ struct hwpm_ip_aperture t234_mss_mcf_inst0_perfmux_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_mss_mcf_inst0_broadcast_element_static_array[
|
static struct hwpm_ip_aperture t234_mss_mcf_inst0_broadcast_element_static_array[
|
||||||
T234_HWPM_IP_MSS_MCF_NUM_BROADCAST_PER_INST] = {
|
T234_HWPM_IP_MSS_MCF_NUM_BROADCAST_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = IP_ELEMENT_BROADCAST,
|
.element_type = IP_ELEMENT_BROADCAST,
|
||||||
@@ -210,7 +210,7 @@ struct hwpm_ip_aperture t234_mss_mcf_inst0_broadcast_element_static_array[
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* IP instance array */
|
/* IP instance array */
|
||||||
struct hwpm_ip_inst t234_mss_mcf_inst_static_array[
|
static struct hwpm_ip_inst t234_mss_mcf_inst_static_array[
|
||||||
T234_HWPM_IP_MSS_MCF_NUM_INSTANCES] = {
|
T234_HWPM_IP_MSS_MCF_NUM_INSTANCES] = {
|
||||||
{
|
{
|
||||||
.hw_inst_mask = BIT(0),
|
.hw_inst_mask = BIT(0),
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
#include <hal/t234/t234_hwpm_regops_allowlist.h>
|
#include <hal/t234/t234_hwpm_regops_allowlist.h>
|
||||||
#include <hal/t234/hw/t234_addr_map_soc_hwpm.h>
|
#include <hal/t234/hw/t234_addr_map_soc_hwpm.h>
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_nvdec_inst0_perfmon_element_static_array[
|
static struct hwpm_ip_aperture t234_nvdec_inst0_perfmon_element_static_array[
|
||||||
T234_HWPM_IP_NVDEC_NUM_PERFMON_PER_INST] = {
|
T234_HWPM_IP_NVDEC_NUM_PERFMON_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = HWPM_ELEMENT_PERFMON,
|
.element_type = HWPM_ELEMENT_PERFMON,
|
||||||
@@ -36,7 +36,7 @@ struct hwpm_ip_aperture t234_nvdec_inst0_perfmon_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_nvdec_inst0_perfmux_element_static_array[
|
static struct hwpm_ip_aperture t234_nvdec_inst0_perfmux_element_static_array[
|
||||||
T234_HWPM_IP_NVDEC_NUM_PERFMUX_PER_INST] = {
|
T234_HWPM_IP_NVDEC_NUM_PERFMUX_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = IP_ELEMENT_PERFMUX,
|
.element_type = IP_ELEMENT_PERFMUX,
|
||||||
@@ -56,7 +56,7 @@ struct hwpm_ip_aperture t234_nvdec_inst0_perfmux_element_static_array[
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* IP instance array */
|
/* IP instance array */
|
||||||
struct hwpm_ip_inst t234_nvdec_inst_static_array[
|
static struct hwpm_ip_inst t234_nvdec_inst_static_array[
|
||||||
T234_HWPM_IP_NVDEC_NUM_INSTANCES] = {
|
T234_HWPM_IP_NVDEC_NUM_INSTANCES] = {
|
||||||
{
|
{
|
||||||
.hw_inst_mask = BIT(0),
|
.hw_inst_mask = BIT(0),
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
#include <hal/t234/t234_hwpm_regops_allowlist.h>
|
#include <hal/t234/t234_hwpm_regops_allowlist.h>
|
||||||
#include <hal/t234/hw/t234_addr_map_soc_hwpm.h>
|
#include <hal/t234/hw/t234_addr_map_soc_hwpm.h>
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_nvdla_inst0_perfmon_element_static_array[
|
static struct hwpm_ip_aperture t234_nvdla_inst0_perfmon_element_static_array[
|
||||||
T234_HWPM_IP_NVDLA_NUM_PERFMON_PER_INST] = {
|
T234_HWPM_IP_NVDLA_NUM_PERFMON_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = HWPM_ELEMENT_PERFMON,
|
.element_type = HWPM_ELEMENT_PERFMON,
|
||||||
@@ -36,7 +36,7 @@ struct hwpm_ip_aperture t234_nvdla_inst0_perfmon_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_nvdla_inst1_perfmon_element_static_array[
|
static struct hwpm_ip_aperture t234_nvdla_inst1_perfmon_element_static_array[
|
||||||
T234_HWPM_IP_NVDLA_NUM_PERFMON_PER_INST] = {
|
T234_HWPM_IP_NVDLA_NUM_PERFMON_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = HWPM_ELEMENT_PERFMON,
|
.element_type = HWPM_ELEMENT_PERFMON,
|
||||||
@@ -55,7 +55,7 @@ struct hwpm_ip_aperture t234_nvdla_inst1_perfmon_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_nvdla_inst0_perfmux_element_static_array[
|
static struct hwpm_ip_aperture t234_nvdla_inst0_perfmux_element_static_array[
|
||||||
T234_HWPM_IP_NVDLA_NUM_PERFMUX_PER_INST] = {
|
T234_HWPM_IP_NVDLA_NUM_PERFMUX_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = IP_ELEMENT_PERFMUX,
|
.element_type = IP_ELEMENT_PERFMUX,
|
||||||
@@ -74,7 +74,7 @@ struct hwpm_ip_aperture t234_nvdla_inst0_perfmux_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_nvdla_inst1_perfmux_element_static_array[
|
static struct hwpm_ip_aperture t234_nvdla_inst1_perfmux_element_static_array[
|
||||||
T234_HWPM_IP_NVDLA_NUM_PERFMUX_PER_INST] = {
|
T234_HWPM_IP_NVDLA_NUM_PERFMUX_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = IP_ELEMENT_PERFMUX,
|
.element_type = IP_ELEMENT_PERFMUX,
|
||||||
@@ -94,7 +94,7 @@ struct hwpm_ip_aperture t234_nvdla_inst1_perfmux_element_static_array[
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* IP instance array */
|
/* IP instance array */
|
||||||
struct hwpm_ip_inst t234_nvdla_inst_static_array[
|
static struct hwpm_ip_inst t234_nvdla_inst_static_array[
|
||||||
T234_HWPM_IP_NVDLA_NUM_INSTANCES] = {
|
T234_HWPM_IP_NVDLA_NUM_INSTANCES] = {
|
||||||
{
|
{
|
||||||
.hw_inst_mask = BIT(0),
|
.hw_inst_mask = BIT(0),
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
#include <hal/t234/t234_hwpm_regops_allowlist.h>
|
#include <hal/t234/t234_hwpm_regops_allowlist.h>
|
||||||
#include <hal/t234/hw/t234_addr_map_soc_hwpm.h>
|
#include <hal/t234/hw/t234_addr_map_soc_hwpm.h>
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_nvenc_inst0_perfmon_element_static_array[
|
static struct hwpm_ip_aperture t234_nvenc_inst0_perfmon_element_static_array[
|
||||||
T234_HWPM_IP_NVENC_NUM_PERFMON_PER_INST] = {
|
T234_HWPM_IP_NVENC_NUM_PERFMON_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = HWPM_ELEMENT_PERFMON,
|
.element_type = HWPM_ELEMENT_PERFMON,
|
||||||
@@ -36,7 +36,7 @@ struct hwpm_ip_aperture t234_nvenc_inst0_perfmon_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_nvenc_inst0_perfmux_element_static_array[
|
static struct hwpm_ip_aperture t234_nvenc_inst0_perfmux_element_static_array[
|
||||||
T234_HWPM_IP_NVENC_NUM_PERFMUX_PER_INST] = {
|
T234_HWPM_IP_NVENC_NUM_PERFMUX_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = IP_ELEMENT_PERFMUX,
|
.element_type = IP_ELEMENT_PERFMUX,
|
||||||
@@ -56,7 +56,7 @@ struct hwpm_ip_aperture t234_nvenc_inst0_perfmux_element_static_array[
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* IP instance array */
|
/* IP instance array */
|
||||||
struct hwpm_ip_inst t234_nvenc_inst_static_array[
|
static struct hwpm_ip_inst t234_nvenc_inst_static_array[
|
||||||
T234_HWPM_IP_NVENC_NUM_INSTANCES] = {
|
T234_HWPM_IP_NVENC_NUM_INSTANCES] = {
|
||||||
{
|
{
|
||||||
.hw_inst_mask = BIT(0),
|
.hw_inst_mask = BIT(0),
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
#include <hal/t234/t234_hwpm_regops_allowlist.h>
|
#include <hal/t234/t234_hwpm_regops_allowlist.h>
|
||||||
#include <hal/t234/hw/t234_addr_map_soc_hwpm.h>
|
#include <hal/t234/hw/t234_addr_map_soc_hwpm.h>
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_ofa_inst0_perfmon_element_static_array[
|
static struct hwpm_ip_aperture t234_ofa_inst0_perfmon_element_static_array[
|
||||||
T234_HWPM_IP_OFA_NUM_PERFMON_PER_INST] = {
|
T234_HWPM_IP_OFA_NUM_PERFMON_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = HWPM_ELEMENT_PERFMON,
|
.element_type = HWPM_ELEMENT_PERFMON,
|
||||||
@@ -36,7 +36,7 @@ struct hwpm_ip_aperture t234_ofa_inst0_perfmon_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_ofa_inst0_perfmux_element_static_array[
|
static struct hwpm_ip_aperture t234_ofa_inst0_perfmux_element_static_array[
|
||||||
T234_HWPM_IP_OFA_NUM_PERFMUX_PER_INST] = {
|
T234_HWPM_IP_OFA_NUM_PERFMUX_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = IP_ELEMENT_PERFMUX,
|
.element_type = IP_ELEMENT_PERFMUX,
|
||||||
@@ -56,7 +56,7 @@ struct hwpm_ip_aperture t234_ofa_inst0_perfmux_element_static_array[
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* IP instance array */
|
/* IP instance array */
|
||||||
struct hwpm_ip_inst t234_ofa_inst_static_array[
|
static struct hwpm_ip_inst t234_ofa_inst_static_array[
|
||||||
T234_HWPM_IP_OFA_NUM_INSTANCES] = {
|
T234_HWPM_IP_OFA_NUM_INSTANCES] = {
|
||||||
{
|
{
|
||||||
.hw_inst_mask = BIT(0),
|
.hw_inst_mask = BIT(0),
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
#include <hal/t234/t234_hwpm_regops_allowlist.h>
|
#include <hal/t234/t234_hwpm_regops_allowlist.h>
|
||||||
#include <hal/t234/hw/t234_addr_map_soc_hwpm.h>
|
#include <hal/t234/hw/t234_addr_map_soc_hwpm.h>
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_pcie_inst0_perfmon_element_static_array[
|
static struct hwpm_ip_aperture t234_pcie_inst0_perfmon_element_static_array[
|
||||||
T234_HWPM_IP_PCIE_NUM_PERFMON_PER_INST] = {
|
T234_HWPM_IP_PCIE_NUM_PERFMON_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = HWPM_ELEMENT_PERFMON,
|
.element_type = HWPM_ELEMENT_PERFMON,
|
||||||
@@ -36,7 +36,7 @@ struct hwpm_ip_aperture t234_pcie_inst0_perfmon_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_pcie_inst1_perfmon_element_static_array[
|
static struct hwpm_ip_aperture t234_pcie_inst1_perfmon_element_static_array[
|
||||||
T234_HWPM_IP_PCIE_NUM_PERFMON_PER_INST] = {
|
T234_HWPM_IP_PCIE_NUM_PERFMON_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = HWPM_ELEMENT_PERFMON,
|
.element_type = HWPM_ELEMENT_PERFMON,
|
||||||
@@ -55,7 +55,7 @@ struct hwpm_ip_aperture t234_pcie_inst1_perfmon_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_pcie_inst2_perfmon_element_static_array[
|
static struct hwpm_ip_aperture t234_pcie_inst2_perfmon_element_static_array[
|
||||||
T234_HWPM_IP_PCIE_NUM_PERFMON_PER_INST] = {
|
T234_HWPM_IP_PCIE_NUM_PERFMON_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = HWPM_ELEMENT_PERFMON,
|
.element_type = HWPM_ELEMENT_PERFMON,
|
||||||
@@ -74,7 +74,7 @@ struct hwpm_ip_aperture t234_pcie_inst2_perfmon_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_pcie_inst3_perfmon_element_static_array[
|
static struct hwpm_ip_aperture t234_pcie_inst3_perfmon_element_static_array[
|
||||||
T234_HWPM_IP_PCIE_NUM_PERFMON_PER_INST] = {
|
T234_HWPM_IP_PCIE_NUM_PERFMON_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = HWPM_ELEMENT_PERFMON,
|
.element_type = HWPM_ELEMENT_PERFMON,
|
||||||
@@ -93,7 +93,7 @@ struct hwpm_ip_aperture t234_pcie_inst3_perfmon_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_pcie_inst4_perfmon_element_static_array[
|
static struct hwpm_ip_aperture t234_pcie_inst4_perfmon_element_static_array[
|
||||||
T234_HWPM_IP_PCIE_NUM_PERFMON_PER_INST] = {
|
T234_HWPM_IP_PCIE_NUM_PERFMON_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = HWPM_ELEMENT_PERFMON,
|
.element_type = HWPM_ELEMENT_PERFMON,
|
||||||
@@ -112,7 +112,7 @@ struct hwpm_ip_aperture t234_pcie_inst4_perfmon_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_pcie_inst5_perfmon_element_static_array[
|
static struct hwpm_ip_aperture t234_pcie_inst5_perfmon_element_static_array[
|
||||||
T234_HWPM_IP_PCIE_NUM_PERFMON_PER_INST] = {
|
T234_HWPM_IP_PCIE_NUM_PERFMON_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = HWPM_ELEMENT_PERFMON,
|
.element_type = HWPM_ELEMENT_PERFMON,
|
||||||
@@ -131,7 +131,7 @@ struct hwpm_ip_aperture t234_pcie_inst5_perfmon_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_pcie_inst6_perfmon_element_static_array[
|
static struct hwpm_ip_aperture t234_pcie_inst6_perfmon_element_static_array[
|
||||||
T234_HWPM_IP_PCIE_NUM_PERFMON_PER_INST] = {
|
T234_HWPM_IP_PCIE_NUM_PERFMON_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = HWPM_ELEMENT_PERFMON,
|
.element_type = HWPM_ELEMENT_PERFMON,
|
||||||
@@ -150,7 +150,7 @@ struct hwpm_ip_aperture t234_pcie_inst6_perfmon_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_pcie_inst7_perfmon_element_static_array[
|
static struct hwpm_ip_aperture t234_pcie_inst7_perfmon_element_static_array[
|
||||||
T234_HWPM_IP_PCIE_NUM_PERFMON_PER_INST] = {
|
T234_HWPM_IP_PCIE_NUM_PERFMON_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = HWPM_ELEMENT_PERFMON,
|
.element_type = HWPM_ELEMENT_PERFMON,
|
||||||
@@ -169,7 +169,7 @@ struct hwpm_ip_aperture t234_pcie_inst7_perfmon_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_pcie_inst8_perfmon_element_static_array[
|
static struct hwpm_ip_aperture t234_pcie_inst8_perfmon_element_static_array[
|
||||||
T234_HWPM_IP_PCIE_NUM_PERFMON_PER_INST] = {
|
T234_HWPM_IP_PCIE_NUM_PERFMON_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = HWPM_ELEMENT_PERFMON,
|
.element_type = HWPM_ELEMENT_PERFMON,
|
||||||
@@ -188,7 +188,7 @@ struct hwpm_ip_aperture t234_pcie_inst8_perfmon_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_pcie_inst9_perfmon_element_static_array[
|
static struct hwpm_ip_aperture t234_pcie_inst9_perfmon_element_static_array[
|
||||||
T234_HWPM_IP_PCIE_NUM_PERFMON_PER_INST] = {
|
T234_HWPM_IP_PCIE_NUM_PERFMON_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = HWPM_ELEMENT_PERFMON,
|
.element_type = HWPM_ELEMENT_PERFMON,
|
||||||
@@ -207,7 +207,7 @@ struct hwpm_ip_aperture t234_pcie_inst9_perfmon_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_pcie_inst10_perfmon_element_static_array[
|
static struct hwpm_ip_aperture t234_pcie_inst10_perfmon_element_static_array[
|
||||||
T234_HWPM_IP_PCIE_NUM_PERFMON_PER_INST] = {
|
T234_HWPM_IP_PCIE_NUM_PERFMON_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = HWPM_ELEMENT_PERFMON,
|
.element_type = HWPM_ELEMENT_PERFMON,
|
||||||
@@ -226,7 +226,7 @@ struct hwpm_ip_aperture t234_pcie_inst10_perfmon_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_pcie_inst0_perfmux_element_static_array[
|
static struct hwpm_ip_aperture t234_pcie_inst0_perfmux_element_static_array[
|
||||||
T234_HWPM_IP_PCIE_NUM_PERFMUX_PER_INST] = {
|
T234_HWPM_IP_PCIE_NUM_PERFMUX_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = IP_ELEMENT_PERFMUX,
|
.element_type = IP_ELEMENT_PERFMUX,
|
||||||
@@ -245,7 +245,7 @@ struct hwpm_ip_aperture t234_pcie_inst0_perfmux_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_pcie_inst1_perfmux_element_static_array[
|
static struct hwpm_ip_aperture t234_pcie_inst1_perfmux_element_static_array[
|
||||||
T234_HWPM_IP_PCIE_NUM_PERFMUX_PER_INST] = {
|
T234_HWPM_IP_PCIE_NUM_PERFMUX_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = IP_ELEMENT_PERFMUX,
|
.element_type = IP_ELEMENT_PERFMUX,
|
||||||
@@ -264,7 +264,7 @@ struct hwpm_ip_aperture t234_pcie_inst1_perfmux_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_pcie_inst2_perfmux_element_static_array[
|
static struct hwpm_ip_aperture t234_pcie_inst2_perfmux_element_static_array[
|
||||||
T234_HWPM_IP_PCIE_NUM_PERFMUX_PER_INST] = {
|
T234_HWPM_IP_PCIE_NUM_PERFMUX_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = IP_ELEMENT_PERFMUX,
|
.element_type = IP_ELEMENT_PERFMUX,
|
||||||
@@ -283,7 +283,7 @@ struct hwpm_ip_aperture t234_pcie_inst2_perfmux_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_pcie_inst3_perfmux_element_static_array[
|
static struct hwpm_ip_aperture t234_pcie_inst3_perfmux_element_static_array[
|
||||||
T234_HWPM_IP_PCIE_NUM_PERFMUX_PER_INST] = {
|
T234_HWPM_IP_PCIE_NUM_PERFMUX_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = IP_ELEMENT_PERFMUX,
|
.element_type = IP_ELEMENT_PERFMUX,
|
||||||
@@ -302,7 +302,7 @@ struct hwpm_ip_aperture t234_pcie_inst3_perfmux_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_pcie_inst4_perfmux_element_static_array[
|
static struct hwpm_ip_aperture t234_pcie_inst4_perfmux_element_static_array[
|
||||||
T234_HWPM_IP_PCIE_NUM_PERFMUX_PER_INST] = {
|
T234_HWPM_IP_PCIE_NUM_PERFMUX_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = IP_ELEMENT_PERFMUX,
|
.element_type = IP_ELEMENT_PERFMUX,
|
||||||
@@ -321,7 +321,7 @@ struct hwpm_ip_aperture t234_pcie_inst4_perfmux_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_pcie_inst5_perfmux_element_static_array[
|
static struct hwpm_ip_aperture t234_pcie_inst5_perfmux_element_static_array[
|
||||||
T234_HWPM_IP_PCIE_NUM_PERFMUX_PER_INST] = {
|
T234_HWPM_IP_PCIE_NUM_PERFMUX_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = IP_ELEMENT_PERFMUX,
|
.element_type = IP_ELEMENT_PERFMUX,
|
||||||
@@ -340,7 +340,7 @@ struct hwpm_ip_aperture t234_pcie_inst5_perfmux_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_pcie_inst6_perfmux_element_static_array[
|
static struct hwpm_ip_aperture t234_pcie_inst6_perfmux_element_static_array[
|
||||||
T234_HWPM_IP_PCIE_NUM_PERFMUX_PER_INST] = {
|
T234_HWPM_IP_PCIE_NUM_PERFMUX_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = IP_ELEMENT_PERFMUX,
|
.element_type = IP_ELEMENT_PERFMUX,
|
||||||
@@ -359,7 +359,7 @@ struct hwpm_ip_aperture t234_pcie_inst6_perfmux_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_pcie_inst7_perfmux_element_static_array[
|
static struct hwpm_ip_aperture t234_pcie_inst7_perfmux_element_static_array[
|
||||||
T234_HWPM_IP_PCIE_NUM_PERFMUX_PER_INST] = {
|
T234_HWPM_IP_PCIE_NUM_PERFMUX_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = IP_ELEMENT_PERFMUX,
|
.element_type = IP_ELEMENT_PERFMUX,
|
||||||
@@ -378,7 +378,7 @@ struct hwpm_ip_aperture t234_pcie_inst7_perfmux_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_pcie_inst8_perfmux_element_static_array[
|
static struct hwpm_ip_aperture t234_pcie_inst8_perfmux_element_static_array[
|
||||||
T234_HWPM_IP_PCIE_NUM_PERFMUX_PER_INST] = {
|
T234_HWPM_IP_PCIE_NUM_PERFMUX_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = IP_ELEMENT_PERFMUX,
|
.element_type = IP_ELEMENT_PERFMUX,
|
||||||
@@ -397,7 +397,7 @@ struct hwpm_ip_aperture t234_pcie_inst8_perfmux_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_pcie_inst9_perfmux_element_static_array[
|
static struct hwpm_ip_aperture t234_pcie_inst9_perfmux_element_static_array[
|
||||||
T234_HWPM_IP_PCIE_NUM_PERFMUX_PER_INST] = {
|
T234_HWPM_IP_PCIE_NUM_PERFMUX_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = IP_ELEMENT_PERFMUX,
|
.element_type = IP_ELEMENT_PERFMUX,
|
||||||
@@ -416,7 +416,7 @@ struct hwpm_ip_aperture t234_pcie_inst9_perfmux_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_pcie_inst10_perfmux_element_static_array[
|
static struct hwpm_ip_aperture t234_pcie_inst10_perfmux_element_static_array[
|
||||||
T234_HWPM_IP_PCIE_NUM_PERFMUX_PER_INST] = {
|
T234_HWPM_IP_PCIE_NUM_PERFMUX_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = IP_ELEMENT_PERFMUX,
|
.element_type = IP_ELEMENT_PERFMUX,
|
||||||
@@ -436,7 +436,7 @@ struct hwpm_ip_aperture t234_pcie_inst10_perfmux_element_static_array[
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* IP instance array */
|
/* IP instance array */
|
||||||
struct hwpm_ip_inst t234_pcie_inst_static_array[
|
static struct hwpm_ip_inst t234_pcie_inst_static_array[
|
||||||
T234_HWPM_IP_PCIE_NUM_INSTANCES] = {
|
T234_HWPM_IP_PCIE_NUM_INSTANCES] = {
|
||||||
{
|
{
|
||||||
.hw_inst_mask = BIT(0),
|
.hw_inst_mask = BIT(0),
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
#include <hal/t234/t234_hwpm_regops_allowlist.h>
|
#include <hal/t234/t234_hwpm_regops_allowlist.h>
|
||||||
#include <hal/t234/hw/t234_addr_map_soc_hwpm.h>
|
#include <hal/t234/hw/t234_addr_map_soc_hwpm.h>
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_pma_inst0_perfmon_element_static_array[
|
static struct hwpm_ip_aperture t234_pma_inst0_perfmon_element_static_array[
|
||||||
T234_HWPM_IP_PMA_NUM_PERFMON_PER_INST] = {
|
T234_HWPM_IP_PMA_NUM_PERFMON_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = HWPM_ELEMENT_PERFMON,
|
.element_type = HWPM_ELEMENT_PERFMON,
|
||||||
@@ -36,7 +36,7 @@ struct hwpm_ip_aperture t234_pma_inst0_perfmon_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_pma_inst0_perfmux_element_static_array[
|
static struct hwpm_ip_aperture t234_pma_inst0_perfmux_element_static_array[
|
||||||
T234_HWPM_IP_PMA_NUM_PERFMUX_PER_INST] = {
|
T234_HWPM_IP_PMA_NUM_PERFMUX_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = HWPM_ELEMENT_PERFMUX,
|
.element_type = HWPM_ELEMENT_PERFMUX,
|
||||||
@@ -56,7 +56,7 @@ struct hwpm_ip_aperture t234_pma_inst0_perfmux_element_static_array[
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* IP instance array */
|
/* IP instance array */
|
||||||
struct hwpm_ip_inst t234_pma_inst_static_array[
|
static struct hwpm_ip_inst t234_pma_inst_static_array[
|
||||||
T234_HWPM_IP_PMA_NUM_INSTANCES] = {
|
T234_HWPM_IP_PMA_NUM_INSTANCES] = {
|
||||||
{
|
{
|
||||||
.hw_inst_mask = BIT(0),
|
.hw_inst_mask = BIT(0),
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
#include <hal/t234/t234_hwpm_regops_allowlist.h>
|
#include <hal/t234/t234_hwpm_regops_allowlist.h>
|
||||||
#include <hal/t234/hw/t234_addr_map_soc_hwpm.h>
|
#include <hal/t234/hw/t234_addr_map_soc_hwpm.h>
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_pva_inst0_perfmon_element_static_array[
|
static struct hwpm_ip_aperture t234_pva_inst0_perfmon_element_static_array[
|
||||||
T234_HWPM_IP_PVA_NUM_PERFMON_PER_INST] = {
|
T234_HWPM_IP_PVA_NUM_PERFMON_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = HWPM_ELEMENT_PERFMON,
|
.element_type = HWPM_ELEMENT_PERFMON,
|
||||||
@@ -66,7 +66,7 @@ struct hwpm_ip_aperture t234_pva_inst0_perfmon_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_pva_inst0_perfmux_element_static_array[
|
static struct hwpm_ip_aperture t234_pva_inst0_perfmux_element_static_array[
|
||||||
T234_HWPM_IP_PVA_NUM_PERFMUX_PER_INST] = {
|
T234_HWPM_IP_PVA_NUM_PERFMUX_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = IP_ELEMENT_PERFMUX,
|
.element_type = IP_ELEMENT_PERFMUX,
|
||||||
@@ -86,7 +86,7 @@ struct hwpm_ip_aperture t234_pva_inst0_perfmux_element_static_array[
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* IP instance array */
|
/* IP instance array */
|
||||||
struct hwpm_ip_inst t234_pva_inst_static_array[
|
static struct hwpm_ip_inst t234_pva_inst_static_array[
|
||||||
T234_HWPM_IP_PVA_NUM_INSTANCES] = {
|
T234_HWPM_IP_PVA_NUM_INSTANCES] = {
|
||||||
{
|
{
|
||||||
.hw_inst_mask = BIT(0),
|
.hw_inst_mask = BIT(0),
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
#include <hal/t234/hw/t234_addr_map_soc_hwpm.h>
|
#include <hal/t234/hw/t234_addr_map_soc_hwpm.h>
|
||||||
|
|
||||||
/* RTR aperture should be placed in instance T234_HWPM_IP_RTR_STATIC_RTR_INST */
|
/* RTR aperture should be placed in instance T234_HWPM_IP_RTR_STATIC_RTR_INST */
|
||||||
struct hwpm_ip_aperture t234_rtr_inst0_perfmux_element_static_array[
|
static struct hwpm_ip_aperture t234_rtr_inst0_perfmux_element_static_array[
|
||||||
T234_HWPM_IP_RTR_NUM_PERFMUX_PER_INST] = {
|
T234_HWPM_IP_RTR_NUM_PERFMUX_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = HWPM_ELEMENT_PERFMUX,
|
.element_type = HWPM_ELEMENT_PERFMUX,
|
||||||
@@ -39,7 +39,7 @@ struct hwpm_ip_aperture t234_rtr_inst0_perfmux_element_static_array[
|
|||||||
|
|
||||||
/* PMA from RTR perspective */
|
/* PMA from RTR perspective */
|
||||||
/* PMA aperture should be placed in instance T234_HWPM_IP_RTR_STATIC_PMA_INST */
|
/* PMA aperture should be placed in instance T234_HWPM_IP_RTR_STATIC_PMA_INST */
|
||||||
struct hwpm_ip_aperture t234_rtr_inst1_perfmux_element_static_array[
|
static struct hwpm_ip_aperture t234_rtr_inst1_perfmux_element_static_array[
|
||||||
T234_HWPM_IP_RTR_NUM_PERFMUX_PER_INST] = {
|
T234_HWPM_IP_RTR_NUM_PERFMUX_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = HWPM_ELEMENT_PERFMUX,
|
.element_type = HWPM_ELEMENT_PERFMUX,
|
||||||
@@ -59,7 +59,7 @@ struct hwpm_ip_aperture t234_rtr_inst1_perfmux_element_static_array[
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* IP instance array */
|
/* IP instance array */
|
||||||
struct hwpm_ip_inst t234_rtr_inst_static_array[
|
static struct hwpm_ip_inst t234_rtr_inst_static_array[
|
||||||
T234_HWPM_IP_RTR_NUM_INSTANCES] = {
|
T234_HWPM_IP_RTR_NUM_INSTANCES] = {
|
||||||
{
|
{
|
||||||
.hw_inst_mask = BIT(0),
|
.hw_inst_mask = BIT(0),
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
#include <hal/t234/t234_hwpm_regops_allowlist.h>
|
#include <hal/t234/t234_hwpm_regops_allowlist.h>
|
||||||
#include <hal/t234/hw/t234_addr_map_soc_hwpm.h>
|
#include <hal/t234/hw/t234_addr_map_soc_hwpm.h>
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_scf_inst0_perfmon_element_static_array[
|
static struct hwpm_ip_aperture t234_scf_inst0_perfmon_element_static_array[
|
||||||
T234_HWPM_IP_SCF_NUM_PERFMON_PER_INST] = {
|
T234_HWPM_IP_SCF_NUM_PERFMON_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = HWPM_ELEMENT_PERFMON,
|
.element_type = HWPM_ELEMENT_PERFMON,
|
||||||
@@ -37,7 +37,7 @@ struct hwpm_ip_aperture t234_scf_inst0_perfmon_element_static_array[
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* IP instance array */
|
/* IP instance array */
|
||||||
struct hwpm_ip_inst t234_scf_inst_static_array[
|
static struct hwpm_ip_inst t234_scf_inst_static_array[
|
||||||
T234_HWPM_IP_SCF_NUM_INSTANCES] = {
|
T234_HWPM_IP_SCF_NUM_INSTANCES] = {
|
||||||
{
|
{
|
||||||
.hw_inst_mask = BIT(0),
|
.hw_inst_mask = BIT(0),
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
#include <hal/t234/t234_hwpm_regops_allowlist.h>
|
#include <hal/t234/t234_hwpm_regops_allowlist.h>
|
||||||
#include <hal/t234/hw/t234_addr_map_soc_hwpm.h>
|
#include <hal/t234/hw/t234_addr_map_soc_hwpm.h>
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_vi_inst0_perfmon_element_static_array[
|
static struct hwpm_ip_aperture t234_vi_inst0_perfmon_element_static_array[
|
||||||
T234_HWPM_IP_VI_NUM_PERFMON_PER_INST] = {
|
T234_HWPM_IP_VI_NUM_PERFMON_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = HWPM_ELEMENT_PERFMON,
|
.element_type = HWPM_ELEMENT_PERFMON,
|
||||||
@@ -36,7 +36,7 @@ struct hwpm_ip_aperture t234_vi_inst0_perfmon_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_vi_inst1_perfmon_element_static_array[
|
static struct hwpm_ip_aperture t234_vi_inst1_perfmon_element_static_array[
|
||||||
T234_HWPM_IP_VI_NUM_PERFMON_PER_INST] = {
|
T234_HWPM_IP_VI_NUM_PERFMON_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = HWPM_ELEMENT_PERFMON,
|
.element_type = HWPM_ELEMENT_PERFMON,
|
||||||
@@ -55,7 +55,7 @@ struct hwpm_ip_aperture t234_vi_inst1_perfmon_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_vi_inst0_perfmux_element_static_array[
|
static struct hwpm_ip_aperture t234_vi_inst0_perfmux_element_static_array[
|
||||||
T234_HWPM_IP_VI_NUM_PERFMUX_PER_INST] = {
|
T234_HWPM_IP_VI_NUM_PERFMUX_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = IP_ELEMENT_PERFMUX,
|
.element_type = IP_ELEMENT_PERFMUX,
|
||||||
@@ -74,7 +74,7 @@ struct hwpm_ip_aperture t234_vi_inst0_perfmux_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_vi_inst1_perfmux_element_static_array[
|
static struct hwpm_ip_aperture t234_vi_inst1_perfmux_element_static_array[
|
||||||
T234_HWPM_IP_VI_NUM_PERFMUX_PER_INST] = {
|
T234_HWPM_IP_VI_NUM_PERFMUX_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = IP_ELEMENT_PERFMUX,
|
.element_type = IP_ELEMENT_PERFMUX,
|
||||||
@@ -94,7 +94,7 @@ struct hwpm_ip_aperture t234_vi_inst1_perfmux_element_static_array[
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* IP instance array */
|
/* IP instance array */
|
||||||
struct hwpm_ip_inst t234_vi_inst_static_array[
|
static struct hwpm_ip_inst t234_vi_inst_static_array[
|
||||||
T234_HWPM_IP_VI_NUM_INSTANCES] = {
|
T234_HWPM_IP_VI_NUM_INSTANCES] = {
|
||||||
{
|
{
|
||||||
.hw_inst_mask = BIT(0),
|
.hw_inst_mask = BIT(0),
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
#include <hal/t234/t234_hwpm_regops_allowlist.h>
|
#include <hal/t234/t234_hwpm_regops_allowlist.h>
|
||||||
#include <hal/t234/hw/t234_addr_map_soc_hwpm.h>
|
#include <hal/t234/hw/t234_addr_map_soc_hwpm.h>
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_vic_inst0_perfmon_element_static_array[
|
static struct hwpm_ip_aperture t234_vic_inst0_perfmon_element_static_array[
|
||||||
T234_HWPM_IP_VIC_NUM_PERFMON_PER_INST] = {
|
T234_HWPM_IP_VIC_NUM_PERFMON_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = HWPM_ELEMENT_PERFMON,
|
.element_type = HWPM_ELEMENT_PERFMON,
|
||||||
@@ -36,7 +36,7 @@ struct hwpm_ip_aperture t234_vic_inst0_perfmon_element_static_array[
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hwpm_ip_aperture t234_vic_inst0_perfmux_element_static_array[
|
static struct hwpm_ip_aperture t234_vic_inst0_perfmux_element_static_array[
|
||||||
T234_HWPM_IP_VIC_NUM_PERFMUX_PER_INST] = {
|
T234_HWPM_IP_VIC_NUM_PERFMUX_PER_INST] = {
|
||||||
{
|
{
|
||||||
.element_type = IP_ELEMENT_PERFMUX,
|
.element_type = IP_ELEMENT_PERFMUX,
|
||||||
@@ -56,7 +56,7 @@ struct hwpm_ip_aperture t234_vic_inst0_perfmux_element_static_array[
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* IP instance array */
|
/* IP instance array */
|
||||||
struct hwpm_ip_inst t234_vic_inst_static_array[
|
static struct hwpm_ip_inst t234_vic_inst_static_array[
|
||||||
T234_HWPM_IP_VIC_NUM_INSTANCES] = {
|
T234_HWPM_IP_VIC_NUM_INSTANCES] = {
|
||||||
{
|
{
|
||||||
.hw_inst_mask = BIT(0),
|
.hw_inst_mask = BIT(0),
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
#include <hal/t234/t234_hwpm_init.h>
|
#include <hal/t234/t234_hwpm_init.h>
|
||||||
#include <hal/t234/t234_hwpm_internal.h>
|
#include <hal/t234/t234_hwpm_internal.h>
|
||||||
|
|
||||||
struct tegra_soc_hwpm_chip t234_chip_info = {
|
static struct tegra_soc_hwpm_chip t234_chip_info = {
|
||||||
.chip_ips = NULL,
|
.chip_ips = NULL,
|
||||||
|
|
||||||
/* HALs */
|
/* HALs */
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
#include <tegra_hwpm_log.h>
|
#include <tegra_hwpm_log.h>
|
||||||
#include <tegra_hwpm_io.h>
|
#include <tegra_hwpm_io.h>
|
||||||
#include <tegra_hwpm.h>
|
#include <tegra_hwpm.h>
|
||||||
|
#include <tegra_hwpm_debugfs.h>
|
||||||
|
|
||||||
/* FIXME: This is a placeholder for now. We can add debugfs nodes as needed. */
|
/* FIXME: This is a placeholder for now. We can add debugfs nodes as needed. */
|
||||||
void tegra_hwpm_debugfs_init(struct tegra_soc_hwpm *hwpm)
|
void tegra_hwpm_debugfs_init(struct tegra_soc_hwpm *hwpm)
|
||||||
|
|||||||
Reference in New Issue
Block a user