/* * Copyright (c) 2022, 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. */ #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; 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 */