blob: 0af204f5e29141425a6371ba26906a6a4aff3323 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
/* SPDX-License-Identifier: GPL-2.0 */
/*
* Samsung Exynos SoC series dsp driver
*
* Copyright (c) 2019 Samsung Electronics Co., Ltd.
* http://www.samsung.com/
*/
#ifndef __DSP_CONTROL_H__
#define __DSP_CONTROL_H__
#define SCENARIO_NAME_MAX (32)
enum dsp_control_id {
DSP_CONTROL_ENABLE_DVFS,
DSP_CONTROL_DISABLE_DVFS,
DSP_CONTROL_ENABLE_BOOST,
DSP_CONTROL_DISABLE_BOOST,
DSP_CONTROL_REQUEST_MO,
DSP_CONTROL_RELEASE_MO,
};
struct dsp_control_dvfs {
unsigned int pm_qos;
unsigned int reserved[3];
};
struct dsp_control_boost {
unsigned int reserved[4];
};
struct dsp_control_mo {
unsigned char scenario_name[SCENARIO_NAME_MAX];
unsigned int reserved[2];
};
union dsp_control {
struct dsp_control_dvfs dvfs;
struct dsp_control_boost boost;
struct dsp_control_mo mo;
};
#endif
|