tegra: hwpm: replace dt_index with element_index

Currently, dt_index aperture spec actually holds the element index of
the aperture within the IP instance. Hence, replace dt_index with
element_index to better indicate its purpose.

JIRA THWPM-71

Change-Id: Ic805da3281c60991e7966a80f442d84a2cfcf7cc
Signed-off-by: Vedashree Vidwans <vvidwans@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-hwpm/+/2797447
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Seema Khowala <seemaj@nvidia.com>
This commit is contained in:
Vedashree Vidwans
2022-10-20 09:38:16 -07:00
committed by mobile promotions
parent afe35d034f
commit da9a29418a
20 changed files with 129 additions and 129 deletions

View File

@@ -199,10 +199,10 @@ struct hwpm_ip_aperture {
u32 element_index_mask;
/*
* Element index in device tree entry
* Index of the element within the IP instance
* For perfmux entries, this index is passed to hwpm_ip_reg_op()
*/
u32 dt_index;
u32 element_index;
/* MMIO device tree aperture - only populated for perfmon */
void __iomem *dt_mmio;