Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/drivers/firmware/samsung/exynos-acpm-dvfs.h
38189 views
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
/*
3
* Copyright 2020 Samsung Electronics Co., Ltd.
4
* Copyright 2020 Google LLC.
5
* Copyright 2025 Linaro Ltd.
6
*/
7
#ifndef __EXYNOS_ACPM_DVFS_H__
8
#define __EXYNOS_ACPM_DVFS_H__
9
10
#include <linux/types.h>
11
12
struct acpm_handle;
13
14
int acpm_dvfs_set_rate(const struct acpm_handle *handle,
15
unsigned int acpm_chan_id, unsigned int id,
16
unsigned long rate);
17
unsigned long acpm_dvfs_get_rate(const struct acpm_handle *handle,
18
unsigned int acpm_chan_id,
19
unsigned int clk_id);
20
21
#endif /* __EXYNOS_ACPM_DVFS_H__ */
22
23