mirror of
git://nv-tegra.nvidia.com/linux-hwpm.git
synced 2025-12-22 17:30:40 +03:00
This is a follow up to fix svcacv warning in 3186843 about missing spdx identifier. Bug 4707244 Change-Id: If004830eb12e19bbdd8c6ef84818aca36ee5ebd7 Signed-off-by: Vedashree Vidwans <vvidwans@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-hwpm/+/3210319 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
36 lines
1.5 KiB
C
36 lines
1.5 KiB
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* SPDX-FileCopyrightText: Copyright (c) 2022-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms and conditions of the GNU General Public License,
|
|
* version 2, as published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope it will be useful, but WITHOUT
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
|
* more details.
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef TEGRA_HWPM_OS_LINUX_APERTURE_UTILS_H
|
|
#define TEGRA_HWPM_OS_LINUX_APERTURE_UTILS_H
|
|
|
|
struct tegra_soc_hwpm;
|
|
struct hwpm_ip_inst;
|
|
struct hwpm_ip_aperture;
|
|
|
|
u32 tegra_hwpm_ffs_impl(struct tegra_soc_hwpm *hwpm, u64 number);
|
|
|
|
int tegra_hwpm_perfmon_reserve_impl(struct tegra_soc_hwpm *hwpm,
|
|
struct hwpm_ip_inst *ip_inst, struct hwpm_ip_aperture *perfmon);
|
|
int tegra_hwpm_perfmux_reserve_impl(struct tegra_soc_hwpm *hwpm,
|
|
struct hwpm_ip_inst *ip_inst, struct hwpm_ip_aperture *perfmux);
|
|
int tegra_hwpm_perfmon_release_impl(struct tegra_soc_hwpm *hwpm,
|
|
struct hwpm_ip_aperture *perfmon);
|
|
int tegra_hwpm_perfmux_release_impl(struct tegra_soc_hwpm *hwpm,
|
|
struct hwpm_ip_aperture *perfmux);
|
|
|
|
#endif /* TEGRA_HWPM_OS_LINUX_APERTURE_UTILS_H */
|