blob: c29bf2e99086f89c33d1d1d08b7c7119d15bd58c (
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
|
/* 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_REG_H__
#define __DSP_REG_H__
#define REG_SEC_R (0x1 << 0)
#define REG_SEC_W (0x1 << 1)
#define REG_SEC_RW (REG_SEC_R | REG_SEC_W)
#define REG_SEC_DENY (0x1 << 2)
#define REG_RDONLY (0x1 << 3)
#define REG_WRONLY (0x1 << 4)
struct dsp_reg_format {
const unsigned int base;
const unsigned int offset;
const unsigned int flag;
const unsigned int count;
const unsigned int interval;
const char *name;
};
#endif
|