blob: fef6977aaf2934a274c1b2b43326283e13035bdf (
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
/*
* Copyright (c) 2018 Samsung Electronics Co., Ltd.
* http://www.samsung.com
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License Version 2 as publised
* by the Free Software Foundation.
*
* Header for BTS Bus Traffic Shaper
*
* Includes Register information to control BTS devices
*
*/
#define CON 0x000
#define TIMEOUT 0x010
#define RCON 0x020
#define RBLK_UPPER 0x024
#define RBLK_UPPER_FULL 0x02C
#define RBLK_UPPER_BUSY 0x030
#define RBLK_UPPER_MAX 0x034
#define WCON 0x040
#define WBLK_UPPER 0x044
#define WBLK_UPPER_FULL 0x04C
#define WBLK_UPPER_BUSY 0x050
#define WBLK_UPPER_MAX 0x054
#define CORE_QOS_EN 0x4
#define CORE_QOS_BLK 0x10
#define AXQOS_BYPASS 8
#define AXQOS_VAL 12
#define SCIQOS_EN 0
#define SCIQOS_R 2
#define SCIQOS_W 0
#define AXQOS_ONOFF 0
#define BLOCK_UPPER 0
#define BLOCK_UPPER0 0
#define BLOCK_UPPER1 16
#define TIMEOUT_CNT_R 0
#define TIMEOUT_CNT_W 16
#define QURGENT_EN 20
#define BLOCKING_EN 0
#define RMO_PORT_0 0
#define RMO_PORT_1 16
#define WMO_PORT_0 8
#define WMO_PORT_1 24
#define SCI_CTRL 0x0000
#define CRP_CTL3_0 0x10
#define CRP_CTL3_1 0x38
#define CRP_CTL3_2 0x60
#define CRP_CTL3_3 0x88
#define TH_IMM_R_0 0x0100
#define TH_IMM_W_0 0x0180
#define TH_HIGH_R_0 0x0200
#define TH_HIGH_W_0 0x0280
#define HIGH_THRESHOLD_SHIFT 24
#define MID_THRESHOLD_SHIFT 16
#define DEFAULT_QBUSY_TH 0x4
#define SMC_SCHEDCTL_BUNDLE_CTRL4 0x0
#define DEFAULT_QMAX_RD_TH 0x18
#define DEFAULT_QMAX_WR_TH 0x6
#define QMAX_THRESHOLD_R 0x0050
#define QMAX_THRESHOLD_W 0x0054
|