Loading...
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * Copyright 2017 Linaro Ltd.
4 * Copyright 2017 ZTE Corporation.
5 */
6
7#ifndef __ZX_TVENC_REGS_H__
8#define __ZX_TVENC_REGS_H__
9
10#define VENC_VIDEO_INFO 0x04
11#define VENC_VIDEO_RES 0x08
12#define VENC_FIELD1_PARAM 0x10
13#define VENC_FIELD2_PARAM 0x14
14#define VENC_LINE_O_1 0x18
15#define VENC_LINE_E_1 0x1c
16#define VENC_LINE_O_2 0x20
17#define VENC_LINE_E_2 0x24
18#define VENC_LINE_TIMING_PARAM 0x28
19#define VENC_WEIGHT_VALUE 0x2c
20#define VENC_BLANK_BLACK_LEVEL 0x30
21#define VENC_BURST_LEVEL 0x34
22#define VENC_CONTROL_PARAM 0x3c
23#define VENC_SUB_CARRIER_PHASE1 0x40
24#define VENC_PHASE_LINE_INCR_CVBS 0x48
25#define VENC_ENABLE 0xa8
26
27#endif /* __ZX_TVENC_REGS_H__ */
1/*
2 * Copyright 2017 Linaro Ltd.
3 * Copyright 2017 ZTE Corporation.
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
8 *
9 */
10
11#ifndef __ZX_TVENC_REGS_H__
12#define __ZX_TVENC_REGS_H__
13
14#define VENC_VIDEO_INFO 0x04
15#define VENC_VIDEO_RES 0x08
16#define VENC_FIELD1_PARAM 0x10
17#define VENC_FIELD2_PARAM 0x14
18#define VENC_LINE_O_1 0x18
19#define VENC_LINE_E_1 0x1c
20#define VENC_LINE_O_2 0x20
21#define VENC_LINE_E_2 0x24
22#define VENC_LINE_TIMING_PARAM 0x28
23#define VENC_WEIGHT_VALUE 0x2c
24#define VENC_BLANK_BLACK_LEVEL 0x30
25#define VENC_BURST_LEVEL 0x34
26#define VENC_CONTROL_PARAM 0x3c
27#define VENC_SUB_CARRIER_PHASE1 0x40
28#define VENC_PHASE_LINE_INCR_CVBS 0x48
29#define VENC_ENABLE 0xa8
30
31#endif /* __ZX_TVENC_REGS_H__ */