tegra: hwpm: Modify OS common code for HWPM RM

Modify the OS common code to be used by HWPM resource
manager on QNX.

Jira THWPM-54

Change-Id: I5e0e8258eececea1526e50e2efe18c79765b86b0
Signed-off-by: vasukis <vasukis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-hwpm/+/2870342
Reviewed-by: Vedashree Vidwans <vvidwans@nvidia.com>
Reviewed-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-by: Yogesh Solanke <ysolanke@nvidia.com>
Tested-by: Seema Khowala <seemaj@nvidia.com>
This commit is contained in:
vasukis
2023-03-13 17:45:25 +00:00
committed by mobile promotions
parent b27a32e7f0
commit ea6b4bcc07
5 changed files with 25 additions and 104 deletions

View File

@@ -146,6 +146,12 @@ struct tegra_hwpm_ip_ops {
enum tegra_soc_hwpm_ip_reg_op reg_op,
u32 inst_element_index, u64 reg_offset,
u32 *reg_data);
/*
* fd - is used to store the
* file descriptor of the IP devctl node
* in QNX
*/
int fd;
};
/* There are 3 types of HWPM components/apertures */