aboutsummaryrefslogtreecommitdiff
path: root/product/rcar/module/rcar_dvfs/src/mod_dvfs_util_private.h
blob: 8bc335622e09f4904d2f0092546ded830c78d867 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * Arm SCP/MCP Software
 * Copyright (c) 2017-2020, Arm Limited and Contributors. All rights reserved.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

#ifndef MOD_DVFS_UTIL_PRIVATE_H
#define MOD_DVFS_UTIL_PRIVATE_H

#include <mod_dvfs_domain_api_private.h>

#include <mod_dvfs.h>

int __mod_dvfs_set_opp(
    const struct mod_dvfs_domain_ctx *ctx,
    const struct mod_dvfs_opp *new_opp);

int __mod_dvfs_get_current_opp(
    const struct mod_dvfs_domain_ctx *ctx,
    struct mod_dvfs_opp *opp);

#endif /* MOD_DVFS_PRIVATE_H */