| @@ -1,446 +1,454 @@ | | | @@ -1,446 +1,454 @@ |
1 | /* $NetBSD: tegra_dcreg.h,v 1.2 2015/07/23 14:31:05 jmcneill Exp $ */ | | 1 | /* $NetBSD: tegra_dcreg.h,v 1.3 2015/07/23 15:08:19 skrll Exp $ */ |
2 | | | 2 | |
3 | /*- | | 3 | /*- |
4 | * Copyright (c) 2015 Jared D. McNeill <jmcneill@invisible.ca> | | 4 | * Copyright (c) 2015 Jared D. McNeill <jmcneill@invisible.ca> |
5 | * All rights reserved. | | 5 | * All rights reserved. |
6 | * | | 6 | * |
7 | * Redistribution and use in source and binary forms, with or without | | 7 | * Redistribution and use in source and binary forms, with or without |
8 | * modification, are permitted provided that the following conditions | | 8 | * modification, are permitted provided that the following conditions |
9 | * are met: | | 9 | * are met: |
10 | * 1. Redistributions of source code must retain the above copyright | | 10 | * 1. Redistributions of source code must retain the above copyright |
11 | * notice, this list of conditions and the following disclaimer. | | 11 | * notice, this list of conditions and the following disclaimer. |
12 | * 2. Redistributions in binary form must reproduce the above copyright | | 12 | * 2. Redistributions in binary form must reproduce the above copyright |
13 | * notice, this list of conditions and the following disclaimer in the | | 13 | * notice, this list of conditions and the following disclaimer in the |
14 | * documentation and/or other materials provided with the distribution. | | 14 | * documentation and/or other materials provided with the distribution. |
15 | * | | 15 | * |
16 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | | 16 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
17 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | | 17 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
18 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. | | 18 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
19 | * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, | | 19 | * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
20 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | | 20 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, |
21 | * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | | 21 | * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
22 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED | | 22 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
23 | * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, | | 23 | * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
24 | * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | | 24 | * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
25 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | | 25 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
26 | * SUCH DAMAGE. | | 26 | * SUCH DAMAGE. |
27 | */ | | 27 | */ |
28 | | | 28 | |
29 | #ifndef _ARM_TEGRA_DCREG_H | | 29 | #ifndef _ARM_TEGRA_DCREG_H |
30 | #define _ARM_TEGRA_DCREG_H | | 30 | #define _ARM_TEGRA_DCREG_H |
31 | | | 31 | |
32 | /* | | 32 | /* |
33 | * Display CMD registers | | 33 | * Display CMD registers |
34 | */ | | 34 | */ |
35 | #define DC_CMD_GENERAL_INCR_SYNCPT_REG 0x000 | | 35 | #define DC_CMD_GENERAL_INCR_SYNCPT_REG 0x000 |
36 | #define DC_CMD_GENERAL_INCR_SYNCPT_CNTRL_REG 0x004 | | 36 | #define DC_CMD_GENERAL_INCR_SYNCPT_CNTRL_REG 0x004 |
37 | #define DC_CMD_GENERAL_INCR_SYNCPT_ERROR_REG 0x008 | | 37 | #define DC_CMD_GENERAL_INCR_SYNCPT_ERROR_REG 0x008 |
38 | #define DC_CMD_WIN_A_INCR_SYNCPT_REG 0x020 | | 38 | #define DC_CMD_WIN_A_INCR_SYNCPT_REG 0x020 |
39 | #define DC_CMD_WIN_A_INCR_SYNCPT_CNTRL_REG 0x024 | | 39 | #define DC_CMD_WIN_A_INCR_SYNCPT_CNTRL_REG 0x024 |
40 | #define DC_CMD_WIN_A_INCR_SYNCPT_ERROR_REG 0x028 | | 40 | #define DC_CMD_WIN_A_INCR_SYNCPT_ERROR_REG 0x028 |
41 | #define DC_CMD_WIN_B_INCR_SYNCPT_REG 0x040 | | 41 | #define DC_CMD_WIN_B_INCR_SYNCPT_REG 0x040 |
42 | #define DC_CMD_WIN_B_INCR_SYNCPT_CNTRL_REG 0x044 | | 42 | #define DC_CMD_WIN_B_INCR_SYNCPT_CNTRL_REG 0x044 |
43 | #define DC_CMD_WIN_B_INCR_SYNCPT_ERROR_REG 0x048 | | 43 | #define DC_CMD_WIN_B_INCR_SYNCPT_ERROR_REG 0x048 |
44 | #define DC_CMD_WIN_C_INCR_SYNCPT_REG 0x060 | | 44 | #define DC_CMD_WIN_C_INCR_SYNCPT_REG 0x060 |
45 | #define DC_CMD_WIN_C_INCR_SYNCPT_CNTRL_REG 0x064 | | 45 | #define DC_CMD_WIN_C_INCR_SYNCPT_CNTRL_REG 0x064 |
46 | #define DC_CMD_WIN_C_INCR_SYNCPT_ERROR_REG 0x068 | | 46 | #define DC_CMD_WIN_C_INCR_SYNCPT_ERROR_REG 0x068 |
47 | #define DC_CMD_CONT_SYNCPT_VSYNC_REG 0x0a0 | | 47 | #define DC_CMD_CONT_SYNCPT_VSYNC_REG 0x0a0 |
48 | #define DC_CMD_CTXSW_REG 0x0c0 | | 48 | #define DC_CMD_CTXSW_REG 0x0c0 |
49 | #define DC_CMD_DISPLAY_COMMAND_OPTION0_REG 0x0c4 | | 49 | #define DC_CMD_DISPLAY_COMMAND_OPTION0_REG 0x0c4 |
50 | | | 50 | |
51 | #define DC_CMD_DISPLAY_COMMAND_REG 0x0c8 | | 51 | #define DC_CMD_DISPLAY_COMMAND_REG 0x0c8 |
52 | #define DC_CMD_DISPLAY_COMMAND_RAISE_CHANNEL_ID __BITS(30,27) | | 52 | #define DC_CMD_DISPLAY_COMMAND_RAISE_CHANNEL_ID __BITS(30,27) |
53 | #define DC_CMD_DISPLAY_COMMAND_RAISE_VECTOR __BITS(26,22) | | 53 | #define DC_CMD_DISPLAY_COMMAND_RAISE_VECTOR __BITS(26,22) |
54 | #define DC_CMD_DISPLAY_COMMAND_DISPLAY_CTRL_MODE __BITS(6,5) | | 54 | #define DC_CMD_DISPLAY_COMMAND_DISPLAY_CTRL_MODE __BITS(6,5) |
55 | #define DC_CMD_DISPLAY_COMMAND_DISPLAY_CTRL_MODE_STOP 0 | | 55 | #define DC_CMD_DISPLAY_COMMAND_DISPLAY_CTRL_MODE_STOP 0 |
56 | #define DC_CMD_DISPLAY_COMMAND_DISPLAY_CTRL_MODE_C_DISPLAY 1 | | 56 | #define DC_CMD_DISPLAY_COMMAND_DISPLAY_CTRL_MODE_C_DISPLAY 1 |
57 | #define DC_CMD_DISPLAY_COMMAND_DISPLAY_CTRL_MODE_NC_DISPLAY 2 | | 57 | #define DC_CMD_DISPLAY_COMMAND_DISPLAY_CTRL_MODE_NC_DISPLAY 2 |
58 | #define DC_CMD_DISPLAY_COMMAND_RAISE __BIT(0) | | 58 | #define DC_CMD_DISPLAY_COMMAND_RAISE __BIT(0) |
59 | | | 59 | |
60 | #define DC_CMD_SIGNAL_RAISE_REG 0x0cc | | 60 | #define DC_CMD_SIGNAL_RAISE_REG 0x0cc |
61 | | | 61 | |
62 | #define DC_CMD_DISPLAY_POWER_CONTROL_REG 0x0d8 | | 62 | #define DC_CMD_DISPLAY_POWER_CONTROL_REG 0x0d8 |
63 | #define DC_CMD_DISPLAY_POWER_CONTROL_HSPI_ENABLE __BIT(25) | | 63 | #define DC_CMD_DISPLAY_POWER_CONTROL_HSPI_ENABLE __BIT(25) |
64 | #define DC_CMD_DISPLAY_POWER_CONTROL_SPI_ENABLE __BIT(24) | | 64 | #define DC_CMD_DISPLAY_POWER_CONTROL_SPI_ENABLE __BIT(24) |
65 | #define DC_CMD_DISPLAY_POWER_CONTROL_PM1_ENABLE __BIT(18) | | 65 | #define DC_CMD_DISPLAY_POWER_CONTROL_PM1_ENABLE __BIT(18) |
66 | #define DC_CMD_DISPLAY_POWER_CONTROL_PM0_ENABLE __BIT(16) | | 66 | #define DC_CMD_DISPLAY_POWER_CONTROL_PM0_ENABLE __BIT(16) |
67 | #define DC_CMD_DISPLAY_POWER_CONTROL_PW4_ENABLE __BIT(8) | | 67 | #define DC_CMD_DISPLAY_POWER_CONTROL_PW4_ENABLE __BIT(8) |
68 | #define DC_CMD_DISPLAY_POWER_CONTROL_PW3_ENABLE __BIT(6) | | 68 | #define DC_CMD_DISPLAY_POWER_CONTROL_PW3_ENABLE __BIT(6) |
69 | #define DC_CMD_DISPLAY_POWER_CONTROL_PW2_ENABLE __BIT(4) | | 69 | #define DC_CMD_DISPLAY_POWER_CONTROL_PW2_ENABLE __BIT(4) |
70 | #define DC_CMD_DISPLAY_POWER_CONTROL_PW1_ENABLE __BIT(2) | | 70 | #define DC_CMD_DISPLAY_POWER_CONTROL_PW1_ENABLE __BIT(2) |
71 | #define DC_CMD_DISPLAY_POWER_CONTROL_PW0_ENABLE __BIT(0) | | 71 | #define DC_CMD_DISPLAY_POWER_CONTROL_PW0_ENABLE __BIT(0) |
72 | | | 72 | |
73 | #define DC_CMD_INT_STATUS_REG 0x0dc | | 73 | #define DC_CMD_INT_STATUS_REG 0x0dc |
74 | #define DC_CMD_INT_MASK_REG 0x0e0 | | 74 | #define DC_CMD_INT_MASK_REG 0x0e0 |
75 | #define DC_CMD_INT_ENABLE_REG 0x0e4 | | 75 | #define DC_CMD_INT_ENABLE_REG 0x0e4 |
76 | #define DC_CMD_INT_TYPE_REG 0x0e8 | | 76 | #define DC_CMD_INT_TYPE_REG 0x0e8 |
77 | #define DC_CMD_INT_POLARITY_REG 0x0ec | | 77 | #define DC_CMD_INT_POLARITY_REG 0x0ec |
78 | #define DC_CMD_SIGNAL_RAISE1_REG 0x0f0 | | 78 | #define DC_CMD_SIGNAL_RAISE1_REG 0x0f0 |
79 | #define DC_CMD_SIGNAL_RAISE2_REG 0x0f4 | | 79 | #define DC_CMD_SIGNAL_RAISE2_REG 0x0f4 |
80 | #define DC_CMD_SIGNAL_RAISE3_REG 0x0f8 | | 80 | #define DC_CMD_SIGNAL_RAISE3_REG 0x0f8 |
81 | | | 81 | |
82 | #define DC_CMD_STATE_ACCESS_REG 0x100 | | 82 | #define DC_CMD_STATE_ACCESS_REG 0x100 |
83 | #define DC_CMD_STATE_ACCESS_WRITE_MUX __BIT(2) | | 83 | #define DC_CMD_STATE_ACCESS_WRITE_MUX __BIT(2) |
84 | #define DC_CMD_STATE_ACCESS_READ_MUX __BIT(0) | | 84 | #define DC_CMD_STATE_ACCESS_READ_MUX __BIT(0) |
85 | | | 85 | |
86 | #define DC_CMD_STATE_CONTROL_REG 0x104 | | 86 | #define DC_CMD_STATE_CONTROL_REG 0x104 |
87 | #define DC_CMD_STATE_CONTROL_NC_HOST_TRIG_ENABLE __BIT(24) | | 87 | #define DC_CMD_STATE_CONTROL_NC_HOST_TRIG_ENABLE __BIT(24) |
88 | #define DC_CMD_STATE_CONTROL_CURSOR_UPDATE __BIT(15) | | 88 | #define DC_CMD_STATE_CONTROL_CURSOR_UPDATE __BIT(15) |
89 | #define DC_CMD_STATE_CONTROL_WIN_D_UPDATE __BIT(12) | | 89 | #define DC_CMD_STATE_CONTROL_WIN_D_UPDATE __BIT(12) |
90 | #define DC_CMD_STATE_CONTROL_WIN_C_UPDATE __BIT(11) | | 90 | #define DC_CMD_STATE_CONTROL_WIN_C_UPDATE __BIT(11) |
91 | #define DC_CMD_STATE_CONTROL_WIN_B_UPDATE __BIT(10) | | 91 | #define DC_CMD_STATE_CONTROL_WIN_B_UPDATE __BIT(10) |
92 | #define DC_CMD_STATE_CONTROL_WIN_A_UPDATE __BIT(9) | | 92 | #define DC_CMD_STATE_CONTROL_WIN_A_UPDATE __BIT(9) |
93 | #define DC_CMD_STATE_CONTROL_GENERAL_UPDATE __BIT(8) | | 93 | #define DC_CMD_STATE_CONTROL_GENERAL_UPDATE __BIT(8) |
94 | #define DC_CMD_STATE_CONTROL_CURSOR_ACT_REQ __BIT(7) | | 94 | #define DC_CMD_STATE_CONTROL_CURSOR_ACT_REQ __BIT(7) |
95 | #define DC_CMD_STATE_CONTROL_WIN_D_ACT_REQ __BIT(4) | | 95 | #define DC_CMD_STATE_CONTROL_WIN_D_ACT_REQ __BIT(4) |
96 | #define DC_CMD_STATE_CONTROL_WIN_C_ACT_REQ __BIT(3) | | 96 | #define DC_CMD_STATE_CONTROL_WIN_C_ACT_REQ __BIT(3) |
97 | #define DC_CMD_STATE_CONTROL_WIN_B_ACT_REQ __BIT(2) | | 97 | #define DC_CMD_STATE_CONTROL_WIN_B_ACT_REQ __BIT(2) |
98 | #define DC_CMD_STATE_CONTROL_WIN_A_ACT_REQ __BIT(1) | | 98 | #define DC_CMD_STATE_CONTROL_WIN_A_ACT_REQ __BIT(1) |
99 | #define DC_CMD_STATE_CONTROL_GENERAL_ACT_REQ __BIT(0) | | 99 | #define DC_CMD_STATE_CONTROL_GENERAL_ACT_REQ __BIT(0) |
100 | | | 100 | |
101 | #define DC_CMD_DISPLAY_WINDOW_HEADER_REG 0x108 | | 101 | #define DC_CMD_DISPLAY_WINDOW_HEADER_REG 0x108 |
102 | #define DC_CMD_DISPLAY_WINDOW_HEADER_WINDOW_D_SELECT __BIT(7) | | 102 | #define DC_CMD_DISPLAY_WINDOW_HEADER_WINDOW_D_SELECT __BIT(7) |
103 | #define DC_CMD_DISPLAY_WINDOW_HEADER_WINDOW_C_SELECT __BIT(6) | | 103 | #define DC_CMD_DISPLAY_WINDOW_HEADER_WINDOW_C_SELECT __BIT(6) |
104 | #define DC_CMD_DISPLAY_WINDOW_HEADER_WINDOW_B_SELECT __BIT(5) | | 104 | #define DC_CMD_DISPLAY_WINDOW_HEADER_WINDOW_B_SELECT __BIT(5) |
105 | #define DC_CMD_DISPLAY_WINDOW_HEADER_WINDOW_A_SELECT __BIT(4) | | 105 | #define DC_CMD_DISPLAY_WINDOW_HEADER_WINDOW_A_SELECT __BIT(4) |
106 | | | 106 | |
107 | #define DC_CMD_REG_ACT_CONTROL_REG 0x10c | | 107 | #define DC_CMD_REG_ACT_CONTROL_REG 0x10c |
108 | #define DC_CMD_WIN_T_STATE_CONTROL_REG 0x110 | | 108 | #define DC_CMD_WIN_T_STATE_CONTROL_REG 0x110 |
109 | #define DC_CMD_SECURE_CONTROL_REG 0x114 | | 109 | #define DC_CMD_SECURE_CONTROL_REG 0x114 |
110 | #define DC_CMD_WIN_D_INCR_SYNCPT_REG 0x130 | | 110 | #define DC_CMD_WIN_D_INCR_SYNCPT_REG 0x130 |
111 | #define DC_CMD_WIN_D_INCR_SYNCPT_CNTRL_REG 0x134 | | 111 | #define DC_CMD_WIN_D_INCR_SYNCPT_CNTRL_REG 0x134 |
112 | #define DC_CMD_WIN_D_INCR_SYNCPT_ERROR_REG 0x138 | | 112 | #define DC_CMD_WIN_D_INCR_SYNCPT_ERROR_REG 0x138 |
113 | | | 113 | |
114 | /* | | 114 | /* |
115 | * Display COM registers | | 115 | * Display COM registers |
116 | */ | | 116 | */ |
117 | #define DC_COM_CRC_CONTROL_REG 0xc00 | | 117 | #define DC_COM_CRC_CONTROL_REG 0xc00 |
118 | #define DC_COM_CRC_CHECKSUM_REG 0xc04 | | 118 | #define DC_COM_CRC_CHECKSUM_REG 0xc04 |
119 | #define DC_COM_PIN_MISC_CONTROL_REG 0xc6c | | 119 | #define DC_COM_PIN_MISC_CONTROL_REG 0xc6c |
120 | #define DC_COM_PM0_CONTROL_REG 0xc70 | | 120 | #define DC_COM_PM0_CONTROL_REG 0xc70 |
121 | #define DC_COM_PM0_DUTY_CYCLE_REG 0xc74 | | 121 | #define DC_COM_PM0_DUTY_CYCLE_REG 0xc74 |
122 | #define DC_COM_SCRATCH_REGISTER_A_REG 0xc94 | | 122 | #define DC_COM_SCRATCH_REGISTER_A_REG 0xc94 |
123 | #define DC_COM_SCRATCH_REGISTER_B_REG 0xc98 | | 123 | #define DC_COM_SCRATCH_REGISTER_B_REG 0xc98 |
124 | #define DC_COM_CRC_CHECKSUM_LATCHED_REG 0xca4 | | 124 | #define DC_COM_CRC_CHECKSUM_LATCHED_REG 0xca4 |
125 | #define DC_COM_CMU_CSC_KRR_REG 0xca8 | | 125 | #define DC_COM_CMU_CSC_KRR_REG 0xca8 |
126 | #define DC_COM_CMU_CSC_KGR_REG 0xcac | | 126 | #define DC_COM_CMU_CSC_KGR_REG 0xcac |
127 | #define DC_COM_CMU_CSC_KBR_REG 0xcb0 | | 127 | #define DC_COM_CMU_CSC_KBR_REG 0xcb0 |
128 | #define DC_COM_CMU_CSC_KRG_REG 0xcb4 | | 128 | #define DC_COM_CMU_CSC_KRG_REG 0xcb4 |
129 | #define DC_COM_CMU_CSC_KGG_REG 0xcb8 | | 129 | #define DC_COM_CMU_CSC_KGG_REG 0xcb8 |
130 | #define DC_COM_CMU_CSC_KBG_REG 0xcbc | | 130 | #define DC_COM_CMU_CSC_KBG_REG 0xcbc |
131 | #define DC_COM_CMU_CSC_KRB_REG 0xcc0 | | 131 | #define DC_COM_CMU_CSC_KRB_REG 0xcc0 |
132 | #define DC_COM_CMU_CSC_KGB_REG 0xcc4 | | 132 | #define DC_COM_CMU_CSC_KGB_REG 0xcc4 |
133 | #define DC_COM_CMU_CSC_KBB_REG 0xcc8 | | 133 | #define DC_COM_CMU_CSC_KBB_REG 0xcc8 |
134 | #define DC_COM_CMU_LUT_MASK_REG 0xccc | | 134 | #define DC_COM_CMU_LUT_MASK_REG 0xccc |
135 | #define DC_COM_CMU_LUT1_REG 0xcd8 | | 135 | #define DC_COM_CMU_LUT1_REG 0xcd8 |
136 | #define DC_COM_CMU_LUT2_REG 0xcdc | | 136 | #define DC_COM_CMU_LUT2_REG 0xcdc |
137 | | | 137 | |
138 | /* | | 138 | /* |
139 | * Display DISP registers | | 139 | * Display DISP registers |
140 | */ | | 140 | */ |
141 | #define DC_DISP_DISP_SIGNAL_OPTIONS0_REG 0x1000 | | 141 | #define DC_DISP_DISP_SIGNAL_OPTIONS0_REG 0x1000 |
| | | 142 | #define DC_DISP_DISP_SIGNAL_OPTIONS0_M1_ENABLE __BIT(26) |
| | | 143 | #define DC_DISP_DISP_SIGNAL_OPTIONS0_M0_ENABLE __BIT(24) |
| | | 144 | #define DC_DISP_DISP_SIGNAL_OPTIONS0_V_PULSE3_ENABLE __BIT(20) |
| | | 145 | #define DC_DISP_DISP_SIGNAL_OPTIONS0_V_PULSE2_ENABLE __BIT(19) |
| | | 146 | #define DC_DISP_DISP_SIGNAL_OPTIONS0_V_PULSE1_ENABLE __BIT(18) |
| | | 147 | #define DC_DISP_DISP_SIGNAL_OPTIONS0_V_PULSE0_ENABLE __BIT(16) |
142 | #define DC_DISP_DISP_SIGNAL_OPTIONS0_H_PULSE2_ENABLE __BIT(12) | | 148 | #define DC_DISP_DISP_SIGNAL_OPTIONS0_H_PULSE2_ENABLE __BIT(12) |
| | | 149 | #define DC_DISP_DISP_SIGNAL_OPTIONS0_H_PULSE1_ENABLE __BIT(10) |
| | | 150 | #define DC_DISP_DISP_SIGNAL_OPTIONS0_H_PULSE0_ENABLE __BIT(8) |
143 | | | 151 | |
144 | #define DC_DISP_DISP_WIN_OPTIONS_REG 0x1008 | | 152 | #define DC_DISP_DISP_WIN_OPTIONS_REG 0x1008 |
145 | #define DC_DISP_DISP_WIN_OPTIONS_HDMI_ENABLE __BIT(30) | | 153 | #define DC_DISP_DISP_WIN_OPTIONS_HDMI_ENABLE __BIT(30) |
146 | #define DC_DISP_DISP_WIN_OPTIONS_DSI_ENABLE __BIT(29) | | 154 | #define DC_DISP_DISP_WIN_OPTIONS_DSI_ENABLE __BIT(29) |
147 | #define DC_DISP_DISP_WIN_OPTIONS_SOR_ENABLE __BIT(28) | | 155 | #define DC_DISP_DISP_WIN_OPTIONS_SOR_ENABLE __BIT(25) |
148 | #define DC_DISP_DISP_WIN_OPTIONS_CURSOR_ENABLE __BIT(16) | | 156 | #define DC_DISP_DISP_WIN_OPTIONS_CURSOR_ENABLE __BIT(16) |
149 | | | 157 | |
150 | #define DC_DISP_DISP_TIMING_OPTIONS_REG 0x1014 | | 158 | #define DC_DISP_DISP_TIMING_OPTIONS_REG 0x1014 |
151 | #define DC_DISP_DISP_TIMING_OPTIONS_VSYNC_POS __BITS(11,0) | | 159 | #define DC_DISP_DISP_TIMING_OPTIONS_VSYNC_POS __BITS(11,0) |
152 | | | 160 | |
153 | #define DC_DISP_REF_TO_SYNC_REG 0x1018 | | 161 | #define DC_DISP_REF_TO_SYNC_REG 0x1018 |
154 | #define DC_DISP_REF_TO_SYNC_V __BITS(28,16) | | 162 | #define DC_DISP_REF_TO_SYNC_V __BITS(28,16) |
155 | #define DC_DISP_REF_TO_SYNC_H __BITS(12,0) | | 163 | #define DC_DISP_REF_TO_SYNC_H __BITS(12,0) |
156 | | | 164 | |
157 | #define DC_DISP_SYNC_WIDTH_REG 0x101c | | 165 | #define DC_DISP_SYNC_WIDTH_REG 0x101c |
158 | #define DC_DISP_SYNC_WIDTH_V __BITS(28,16) | | 166 | #define DC_DISP_SYNC_WIDTH_V __BITS(28,16) |
159 | #define DC_DISP_SYNC_WIDTH_H __BITS(12,0) | | 167 | #define DC_DISP_SYNC_WIDTH_H __BITS(12,0) |
160 | | | 168 | |
161 | #define DC_DISP_BACK_PORCH_REG 0x1020 | | 169 | #define DC_DISP_BACK_PORCH_REG 0x1020 |
162 | #define DC_DISP_BACK_PORCH_V __BITS(28,16) | | 170 | #define DC_DISP_BACK_PORCH_V __BITS(28,16) |
163 | #define DC_DISP_BACK_PORCH_H __BITS(12,0) | | 171 | #define DC_DISP_BACK_PORCH_H __BITS(12,0) |
164 | | | 172 | |
165 | #define DC_DISP_DISP_ACTIVE_REG 0x1024 | | 173 | #define DC_DISP_DISP_ACTIVE_REG 0x1024 |
166 | #define DC_DISP_DISP_ACTIVE_V __BITS(28,16) | | 174 | #define DC_DISP_DISP_ACTIVE_V __BITS(28,16) |
167 | #define DC_DISP_DISP_ACTIVE_H __BITS(12,0) | | 175 | #define DC_DISP_DISP_ACTIVE_H __BITS(12,0) |
168 | | | 176 | |
169 | #define DC_DISP_FRONT_PORCH_REG 0x1028 | | 177 | #define DC_DISP_FRONT_PORCH_REG 0x1028 |
170 | #define DC_DISP_FRONT_PORCH_V __BITS(28,16) | | 178 | #define DC_DISP_FRONT_PORCH_V __BITS(28,16) |
171 | #define DC_DISP_FRONT_PORCH_H __BITS(12,0) | | 179 | #define DC_DISP_FRONT_PORCH_H __BITS(12,0) |
172 | | | 180 | |
173 | #define DC_DISP_H_PULSE0_CONTROL_REG 0x102c | | 181 | #define DC_DISP_H_PULSE0_CONTROL_REG 0x102c |
174 | #define DC_DISP_H_PULSE0_POSITION_A_REG 0x1030 | | 182 | #define DC_DISP_H_PULSE0_POSITION_A_REG 0x1030 |
175 | #define DC_DISP_H_PULSE0_POSITION_B_REG 0x1034 | | 183 | #define DC_DISP_H_PULSE0_POSITION_B_REG 0x1034 |
176 | #define DC_DISP_H_PULSE0_POSITION_C_REG 0x1038 | | 184 | #define DC_DISP_H_PULSE0_POSITION_C_REG 0x1038 |
177 | #define DC_DISP_H_PULSE0_POSITION_D_REG 0x103c | | 185 | #define DC_DISP_H_PULSE0_POSITION_D_REG 0x103c |
178 | #define DC_DISP_H_PULSE1_CONTROL_REG 0x1040 | | 186 | #define DC_DISP_H_PULSE1_CONTROL_REG 0x1040 |
179 | #define DC_DISP_H_PULSE1_POSITION_A_REG 0x1044 | | 187 | #define DC_DISP_H_PULSE1_POSITION_A_REG 0x1044 |
180 | #define DC_DISP_H_PULSE1_POSITION_B_REG 0x1048 | | 188 | #define DC_DISP_H_PULSE1_POSITION_B_REG 0x1048 |
181 | #define DC_DISP_H_PULSE1_POSITION_C_REG 0x104c | | 189 | #define DC_DISP_H_PULSE1_POSITION_C_REG 0x104c |
182 | #define DC_DISP_H_PULSE1_POSITION_D_REG 0x1050 | | 190 | #define DC_DISP_H_PULSE1_POSITION_D_REG 0x1050 |
183 | | | 191 | |
184 | #define DC_DISP_H_PULSE2_CONTROL_REG 0x1054 | | 192 | #define DC_DISP_H_PULSE2_CONTROL_REG 0x1054 |
185 | #define DC_DISP_H_PULSE2_CONTROL_LAST __BITS(11,8) | | 193 | #define DC_DISP_H_PULSE2_CONTROL_LAST __BITS(11,8) |
186 | #define DC_DISP_H_PULSE2_CONTROL_LAST_END_A 1 | | 194 | #define DC_DISP_H_PULSE2_CONTROL_LAST_END_A 1 |
187 | #define DC_DISP_H_PULSE2_CONTROL_V_QUAL __BITS(7,6) | | 195 | #define DC_DISP_H_PULSE2_CONTROL_V_QUAL __BITS(7,6) |
188 | #define DC_DISP_H_PULSE2_CONTROL_V_QUAL_VACTIVE 2 | | 196 | #define DC_DISP_H_PULSE2_CONTROL_V_QUAL_VACTIVE 2 |
189 | #define DC_DISP_H_PULSE2_CONTROL_POLARITY __BIT(4) | | 197 | #define DC_DISP_H_PULSE2_CONTROL_POLARITY __BIT(4) |
190 | #define DC_DISP_H_PULSE2_CONTROL_MODE __BIT(3) | | 198 | #define DC_DISP_H_PULSE2_CONTROL_MODE __BIT(3) |
191 | | | 199 | |
192 | #define DC_DISP_H_PULSE2_POSITION_A_REG 0x1058 | | 200 | #define DC_DISP_H_PULSE2_POSITION_A_REG 0x1058 |
193 | #define DC_DISP_H_PULSE2_POSITION_A_END __BITS(28,16) | | 201 | #define DC_DISP_H_PULSE2_POSITION_A_END __BITS(28,16) |
194 | #define DC_DISP_H_PULSE2_POSITION_A_START __BITS(12,0) | | 202 | #define DC_DISP_H_PULSE2_POSITION_A_START __BITS(12,0) |
195 | | | 203 | |
196 | #define DC_DISP_H_PULSE2_POSITION_B_REG 0x105c | | 204 | #define DC_DISP_H_PULSE2_POSITION_B_REG 0x105c |
197 | #define DC_DISP_H_PULSE2_POSITION_C_REG 0x1060 | | 205 | #define DC_DISP_H_PULSE2_POSITION_C_REG 0x1060 |
198 | #define DC_DISP_H_PULSE2_POSITION_D_REG 0x1064 | | 206 | #define DC_DISP_H_PULSE2_POSITION_D_REG 0x1064 |
199 | #define DC_DISP_V_PULSE0_CONTROL_REG 0x1068 | | 207 | #define DC_DISP_V_PULSE0_CONTROL_REG 0x1068 |
200 | #define DC_DISP_V_PULSE0_POSITION_A_REG 0x106c | | 208 | #define DC_DISP_V_PULSE0_POSITION_A_REG 0x106c |
201 | #define DC_DISP_V_PULSE0_POSITION_B_REG 0x1070 | | 209 | #define DC_DISP_V_PULSE0_POSITION_B_REG 0x1070 |
202 | #define DC_DISP_V_PULSE0_POSITION_C_REG 0x1074 | | 210 | #define DC_DISP_V_PULSE0_POSITION_C_REG 0x1074 |
203 | #define DC_DISP_V_PULSE1_CONTROL_REG 0x1078 | | 211 | #define DC_DISP_V_PULSE1_CONTROL_REG 0x1078 |
204 | #define DC_DISP_V_PULSE1_POSITION_A_REG 0x107c | | 212 | #define DC_DISP_V_PULSE1_POSITION_A_REG 0x107c |
205 | #define DC_DISP_V_PULSE1_POSITION_B_REG 0x1080 | | 213 | #define DC_DISP_V_PULSE1_POSITION_B_REG 0x1080 |
206 | #define DC_DISP_V_PULSE1_POSITION_C_REG 0x1084 | | 214 | #define DC_DISP_V_PULSE1_POSITION_C_REG 0x1084 |
207 | #define DC_DISP_V_PULSE2_CONTROL_REG 0x1088 | | 215 | #define DC_DISP_V_PULSE2_CONTROL_REG 0x1088 |
208 | #define DC_DISP_V_PULSE2_POSITION_A_REG 0x108c | | 216 | #define DC_DISP_V_PULSE2_POSITION_A_REG 0x108c |
209 | #define DC_DISP_V_PULSE3_CONTROL_REG 0x1090 | | 217 | #define DC_DISP_V_PULSE3_CONTROL_REG 0x1090 |
210 | #define DC_DISP_V_PULSE3_POSITION_A_REG 0x1094 | | 218 | #define DC_DISP_V_PULSE3_POSITION_A_REG 0x1094 |
211 | | | 219 | |
212 | #define DC_DISP_DISP_CLOCK_CONTROL_REG 0x10b8 | | 220 | #define DC_DISP_DISP_CLOCK_CONTROL_REG 0x10b8 |
213 | #define DC_DISP_DISP_CLOCK_CONTROL_PIXEL_CLK_DIVIDER __BITS(11,8) | | 221 | #define DC_DISP_DISP_CLOCK_CONTROL_PIXEL_CLK_DIVIDER __BITS(11,8) |
214 | #define DC_DISP_DISP_CLOCK_CONTROL_SHIFT_CLK_DIVIDER __BITS(7,0) | | 222 | #define DC_DISP_DISP_CLOCK_CONTROL_SHIFT_CLK_DIVIDER __BITS(7,0) |
215 | | | 223 | |
216 | #define DC_DISP_DISP_INTERFACE_CONTROL_REG 0x10bc | | 224 | #define DC_DISP_DISP_INTERFACE_CONTROL_REG 0x10bc |
217 | | | 225 | |
218 | #define DC_DISP_DISP_COLOR_CONTROL_REG 0x10c0 | | 226 | #define DC_DISP_DISP_COLOR_CONTROL_REG 0x10c0 |
219 | #define DC_DISP_DISP_COLOR_CONTROL_BASE_COLOR_SIZE __BITS(3,0) | | 227 | #define DC_DISP_DISP_COLOR_CONTROL_BASE_COLOR_SIZE __BITS(3,0) |
220 | #define DC_DISP_DISP_COLOR_CONTROL_BASE_COLOR_SIZE_888 8 | | 228 | #define DC_DISP_DISP_COLOR_CONTROL_BASE_COLOR_SIZE_888 8 |
221 | | | 229 | |
222 | #define DC_DISP_COLOR_KEY0_LOWER_REG 0x10d8 | | 230 | #define DC_DISP_COLOR_KEY0_LOWER_REG 0x10d8 |
223 | #define DC_DISP_COLOR_KEY0_UPPER_REG 0x10dc | | 231 | #define DC_DISP_COLOR_KEY0_UPPER_REG 0x10dc |
224 | #define DC_DISP_COLOR_KEY1_LOWER_REG 0x10e0 | | 232 | #define DC_DISP_COLOR_KEY1_LOWER_REG 0x10e0 |
225 | #define DC_DISP_COLOR_KEY1_UPPER_REG 0x10e4 | | 233 | #define DC_DISP_COLOR_KEY1_UPPER_REG 0x10e4 |
226 | #define DC_DISP_CURSOR_FOREGROUND_REG 0x10f0 | | 234 | #define DC_DISP_CURSOR_FOREGROUND_REG 0x10f0 |
227 | #define DC_DISP_CURSOR_BACKGROUND_REG 0x10f4 | | 235 | #define DC_DISP_CURSOR_BACKGROUND_REG 0x10f4 |
228 | #define DC_DISP_CURSOR_START_ADDR_REG 0x10f8 | | 236 | #define DC_DISP_CURSOR_START_ADDR_REG 0x10f8 |
229 | #define DC_DISP_CURSOR_START_ADDR_NS_REG 0x10fc | | 237 | #define DC_DISP_CURSOR_START_ADDR_NS_REG 0x10fc |
230 | #define DC_DISP_CURSOR_POSITION_REG 0x1100 | | 238 | #define DC_DISP_CURSOR_POSITION_REG 0x1100 |
231 | #define DC_DISP_CURSOR_POSITION_NS_REG 0x1104 | | 239 | #define DC_DISP_CURSOR_POSITION_NS_REG 0x1104 |
232 | #define DC_DISP_DC_MCCIF_FIFOCTRL_REG 0x1200 | | 240 | #define DC_DISP_DC_MCCIF_FIFOCTRL_REG 0x1200 |
233 | #define DC_DISP_MCCIF_DISPLAY0A_HYST_REG 0x1204 | | 241 | #define DC_DISP_MCCIF_DISPLAY0A_HYST_REG 0x1204 |
234 | #define DC_DISP_MCCIF_DISPLAY0B_HYST_REG 0x1208 | | 242 | #define DC_DISP_MCCIF_DISPLAY0B_HYST_REG 0x1208 |
235 | #define DC_DISP_MCCIF_DISPLAY0C_HYST_REG 0x120c | | 243 | #define DC_DISP_MCCIF_DISPLAY0C_HYST_REG 0x120c |
236 | #define DC_DISP_DISP_MISC_CONTROL_REG 0x1304 | | 244 | #define DC_DISP_DISP_MISC_CONTROL_REG 0x1304 |
237 | #define DC_DISP_SD_CONTROL_REG 0x1308 | | 245 | #define DC_DISP_SD_CONTROL_REG 0x1308 |
238 | #define DC_DISP_SD_CSC_COEFF_REG 0x130c | | 246 | #define DC_DISP_SD_CSC_COEFF_REG 0x130c |
239 | #define DC_DISP_SD_LUT_REG 0x1310 | | 247 | #define DC_DISP_SD_LUT_REG 0x1310 |
240 | #define DC_DISP_SD_FLICKER_CONTROL_REG 0x1334 | | 248 | #define DC_DISP_SD_FLICKER_CONTROL_REG 0x1334 |
241 | #define DC_DISP_SD_PIXEL_COUNT_REG 0x1338 | | 249 | #define DC_DISP_SD_PIXEL_COUNT_REG 0x1338 |
242 | #define DC_DISP_SD_HISTOGRAM_REG 0x133c | | 250 | #define DC_DISP_SD_HISTOGRAM_REG 0x133c |
243 | #define DC_DISP_SD_BL_PARAMETERS_REG 0x135c | | 251 | #define DC_DISP_SD_BL_PARAMETERS_REG 0x135c |
244 | #define DC_DISP_SD_BL_TF_REG 0x1360 | | 252 | #define DC_DISP_SD_BL_TF_REG 0x1360 |
245 | #define DC_DISP_SD_BL_CONTROL_REG 0x1370 | | 253 | #define DC_DISP_SD_BL_CONTROL_REG 0x1370 |
246 | #define DC_DISP_SD_HW_K_VALUES_REG 0x1374 | | 254 | #define DC_DISP_SD_HW_K_VALUES_REG 0x1374 |
247 | #define DC_DISP_SD_MAN_K_VALUES_REG 0x1378 | | 255 | #define DC_DISP_SD_MAN_K_VALUES_REG 0x1378 |
248 | #define DC_DISP_SD_K_LIMIT_REG 0x137c | | 256 | #define DC_DISP_SD_K_LIMIT_REG 0x137c |
249 | #define DC_DISP_SD_WINDOW_POSITION_REG 0x1380 | | 257 | #define DC_DISP_SD_WINDOW_POSITION_REG 0x1380 |
250 | #define DC_DISP_SD_WINDOW_SIZE_REG 0x1384 | | 258 | #define DC_DISP_SD_WINDOW_SIZE_REG 0x1384 |
251 | #define DC_DISP_SD_SOFT_CLIPPING_REG 0x1388 | | 259 | #define DC_DISP_SD_SOFT_CLIPPING_REG 0x1388 |
252 | #define DC_DISP_SD_SMOOTH_K_REG 0x138c | | 260 | #define DC_DISP_SD_SMOOTH_K_REG 0x138c |
253 | #define DC_DISP_BLEND_BACKGROUND_COLOR_REG 0x1390 | | 261 | #define DC_DISP_BLEND_BACKGROUND_COLOR_REG 0x1390 |
254 | #define DC_DISP_INTERLACE_CONTROL_REG 0x1394 | | 262 | #define DC_DISP_INTERLACE_CONTROL_REG 0x1394 |
255 | #define DC_DISP_INTERLACE_FIELD2_REF_TO_SYNC_REG 0x1398 | | 263 | #define DC_DISP_INTERLACE_FIELD2_REF_TO_SYNC_REG 0x1398 |
256 | #define DC_DISP_INTERLACE_FIELD2_SYNC_WIDTH_REG 0x139c | | 264 | #define DC_DISP_INTERLACE_FIELD2_SYNC_WIDTH_REG 0x139c |
257 | #define DC_DISP_INTERLACE_FIELD2_BACK_PORCH_REG 0x13a0 | | 265 | #define DC_DISP_INTERLACE_FIELD2_BACK_PORCH_REG 0x13a0 |
258 | #define DC_DISP_INTERLACE_FIELD2_FRONT_PORCH_REG 0x13a4 | | 266 | #define DC_DISP_INTERLACE_FIELD2_FRONT_PORCH_REG 0x13a4 |
259 | #define DC_DISP_INTERLACE_FIELD2_DISP_ACTIVE_REG 0x13a8 | | 267 | #define DC_DISP_INTERLACE_FIELD2_DISP_ACTIVE_REG 0x13a8 |
260 | #define DC_DISP_CURSOR_UNDERFLOW_CTRL_REG 0x13ac | | 268 | #define DC_DISP_CURSOR_UNDERFLOW_CTRL_REG 0x13ac |
261 | #define DC_DISP_CURSOR_START_ADDR_HI_REG 0x13b0 | | 269 | #define DC_DISP_CURSOR_START_ADDR_HI_REG 0x13b0 |
262 | #define DC_DISP_CURSOR_START_ADDR_HI_NS_REG 0x13b4 | | 270 | #define DC_DISP_CURSOR_START_ADDR_HI_NS_REG 0x13b4 |
263 | #define DC_DISP_CURSOR_INTERLACE_CONTROL_REG 0x13b8 | | 271 | #define DC_DISP_CURSOR_INTERLACE_CONTROL_REG 0x13b8 |
264 | #define DC_DISP_CSC2_CONTROL_REG 0x13bc | | 272 | #define DC_DISP_CSC2_CONTROL_REG 0x13bc |
265 | #define DC_DISP_BLEND_CURSOR_CONTROL_REG 0x13c4 | | 273 | #define DC_DISP_BLEND_CURSOR_CONTROL_REG 0x13c4 |
266 | #define DC_DISP_DVFS_CURSOR_CONTROL_REG 0x13c8 | | 274 | #define DC_DISP_DVFS_CURSOR_CONTROL_REG 0x13c8 |
267 | #define DC_DISP_CURSOR_UFLOW_DBG_PIXEL_REG 0x13cc | | 275 | #define DC_DISP_CURSOR_UFLOW_DBG_PIXEL_REG 0x13cc |
268 | #define DC_DISP_CURSOR_SPOOLUP_CONTROL_REG 0x13d0 | | 276 | #define DC_DISP_CURSOR_SPOOLUP_CONTROL_REG 0x13d0 |
269 | #define DC_DISP_DISPLAY_CLK_GATE_OVERRIDE_REG 0x13d4 | | 277 | #define DC_DISP_DISPLAY_CLK_GATE_OVERRIDE_REG 0x13d4 |
270 | #define DC_DISP_DISPLAY_DBG_TIMING_REG 0x13d8 | | 278 | #define DC_DISP_DISPLAY_DBG_TIMING_REG 0x13d8 |
271 | #define DC_DISP_DISPLAY_SPARE0_REG 0x13dc | | 279 | #define DC_DISP_DISPLAY_SPARE0_REG 0x13dc |
272 | #define DC_DISP_DISPLAY_SPARE1_REG 0x13e0 | | 280 | #define DC_DISP_DISPLAY_SPARE1_REG 0x13e0 |
273 | | | 281 | |
274 | /* | | 282 | /* |
275 | * Window A registers | | 283 | * Window A registers |
276 | */ | | 284 | */ |
277 | #define DC_WINC_A_COLOR_PALETTE_REG 0x1400 | | 285 | #define DC_WINC_A_COLOR_PALETTE_REG 0x1400 |
278 | #define DC_WINC_A_PALETTE_COLOR_EXT_REG 0x1800 | | 286 | #define DC_WINC_A_PALETTE_COLOR_EXT_REG 0x1800 |
279 | #define DC_WINC_A_H_FILTER_P00_REG 0x1804 | | 287 | #define DC_WINC_A_H_FILTER_P00_REG 0x1804 |
280 | #define DC_WINC_A_H_FILTER_P01_REG 0x1808 | | 288 | #define DC_WINC_A_H_FILTER_P01_REG 0x1808 |
281 | #define DC_WINC_A_H_FILTER_P02_REG 0x180c | | 289 | #define DC_WINC_A_H_FILTER_P02_REG 0x180c |
282 | #define DC_WINC_A_H_FILTER_P03_REG 0x1810 | | 290 | #define DC_WINC_A_H_FILTER_P03_REG 0x1810 |
283 | #define DC_WINC_A_H_FILTER_P04_REG 0x1814 | | 291 | #define DC_WINC_A_H_FILTER_P04_REG 0x1814 |
284 | #define DC_WINC_A_H_FILTER_P05_REG 0x1818 | | 292 | #define DC_WINC_A_H_FILTER_P05_REG 0x1818 |
285 | #define DC_WINC_A_H_FILTER_P06_REG 0x181c | | 293 | #define DC_WINC_A_H_FILTER_P06_REG 0x181c |
286 | #define DC_WINC_A_H_FILTER_P07_REG 0x1820 | | 294 | #define DC_WINC_A_H_FILTER_P07_REG 0x1820 |
287 | #define DC_WINC_A_H_FILTER_P08_REG 0x1824 | | 295 | #define DC_WINC_A_H_FILTER_P08_REG 0x1824 |
288 | #define DC_WINC_A_H_FILTER_P09_REG 0x1828 | | 296 | #define DC_WINC_A_H_FILTER_P09_REG 0x1828 |
289 | #define DC_WINC_A_H_FILTER_P0A_REG 0x182c | | 297 | #define DC_WINC_A_H_FILTER_P0A_REG 0x182c |
290 | #define DC_WINC_A_H_FILTER_P0B_REG 0x1830 | | 298 | #define DC_WINC_A_H_FILTER_P0B_REG 0x1830 |
291 | #define DC_WINC_A_H_FILTER_P0C_REG 0x1834 | | 299 | #define DC_WINC_A_H_FILTER_P0C_REG 0x1834 |
292 | #define DC_WINC_A_H_FILTER_P0D_REG 0x1838 | | 300 | #define DC_WINC_A_H_FILTER_P0D_REG 0x1838 |
293 | #define DC_WINC_A_H_FILTER_P0E_REG 0x183c | | 301 | #define DC_WINC_A_H_FILTER_P0E_REG 0x183c |
294 | #define DC_WINC_A_H_FILTER_P0F_REG 0x1840 | | 302 | #define DC_WINC_A_H_FILTER_P0F_REG 0x1840 |
295 | #define DC_WINC_A_CSC_YOF_REG 0x1844 | | 303 | #define DC_WINC_A_CSC_YOF_REG 0x1844 |
296 | #define DC_WINC_A_CSC_KYRGB_REG 0x1848 | | 304 | #define DC_WINC_A_CSC_KYRGB_REG 0x1848 |
297 | #define DC_WINC_A_CSC_KUR_REG 0x184c | | 305 | #define DC_WINC_A_CSC_KUR_REG 0x184c |
298 | #define DC_WINC_A_CSC_KVR_REG 0x1850 | | 306 | #define DC_WINC_A_CSC_KVR_REG 0x1850 |
299 | #define DC_WINC_A_CSC_KUG_REG 0x1854 | | 307 | #define DC_WINC_A_CSC_KUG_REG 0x1854 |
300 | #define DC_WINC_A_CSC_KVG_REG 0x1858 | | 308 | #define DC_WINC_A_CSC_KVG_REG 0x1858 |
301 | #define DC_WINC_A_CSC_KUB_REG 0x185c | | 309 | #define DC_WINC_A_CSC_KUB_REG 0x185c |
302 | #define DC_WINC_A_CSC_KVB_REG 0x1860 | | 310 | #define DC_WINC_A_CSC_KVB_REG 0x1860 |
303 | #define DC_WINC_A_V_FILTER_P00_REG 0x1864 | | 311 | #define DC_WINC_A_V_FILTER_P00_REG 0x1864 |
304 | #define DC_WINC_A_V_FILTER_P01_REG 0x1868 | | 312 | #define DC_WINC_A_V_FILTER_P01_REG 0x1868 |
305 | #define DC_WINC_A_V_FILTER_P02_REG 0x186c | | 313 | #define DC_WINC_A_V_FILTER_P02_REG 0x186c |
306 | #define DC_WINC_A_V_FILTER_P03_REG 0x1870 | | 314 | #define DC_WINC_A_V_FILTER_P03_REG 0x1870 |
307 | #define DC_WINC_A_V_FILTER_P04_REG 0x1874 | | 315 | #define DC_WINC_A_V_FILTER_P04_REG 0x1874 |
308 | #define DC_WINC_A_V_FILTER_P05_REG 0x1878 | | 316 | #define DC_WINC_A_V_FILTER_P05_REG 0x1878 |
309 | #define DC_WINC_A_V_FILTER_P06_REG 0x187c | | 317 | #define DC_WINC_A_V_FILTER_P06_REG 0x187c |
310 | #define DC_WINC_A_V_FILTER_P07_REG 0x1880 | | 318 | #define DC_WINC_A_V_FILTER_P07_REG 0x1880 |
311 | #define DC_WINC_A_V_FILTER_P08_REG 0x1884 | | 319 | #define DC_WINC_A_V_FILTER_P08_REG 0x1884 |
312 | #define DC_WINC_A_V_FILTER_P09_REG 0x1888 | | 320 | #define DC_WINC_A_V_FILTER_P09_REG 0x1888 |
313 | #define DC_WINC_A_V_FILTER_P0A_REG 0x188c | | 321 | #define DC_WINC_A_V_FILTER_P0A_REG 0x188c |
314 | #define DC_WINC_A_V_FILTER_P0B_REG 0x1890 | | 322 | #define DC_WINC_A_V_FILTER_P0B_REG 0x1890 |
315 | #define DC_WINC_A_V_FILTER_P0C_REG 0x1894 | | 323 | #define DC_WINC_A_V_FILTER_P0C_REG 0x1894 |
316 | #define DC_WINC_A_V_FILTER_P0D_REG 0x1898 | | 324 | #define DC_WINC_A_V_FILTER_P0D_REG 0x1898 |
317 | #define DC_WINC_A_V_FILTER_P0E_REG 0x189c | | 325 | #define DC_WINC_A_V_FILTER_P0E_REG 0x189c |
318 | #define DC_WINC_A_V_FILTER_P0F_REG 0x18a0 | | 326 | #define DC_WINC_A_V_FILTER_P0F_REG 0x18a0 |
319 | #define DC_WINC_A_H_FILTER_HI_P00_REG 0x18a4 | | 327 | #define DC_WINC_A_H_FILTER_HI_P00_REG 0x18a4 |
320 | #define DC_WINC_A_H_FILTER_HI_P01_REG 0x18a8 | | 328 | #define DC_WINC_A_H_FILTER_HI_P01_REG 0x18a8 |
321 | #define DC_WINC_A_H_FILTER_HI_P02_REG 0x18ac | | 329 | #define DC_WINC_A_H_FILTER_HI_P02_REG 0x18ac |
322 | #define DC_WINC_A_H_FILTER_HI_P03_REG 0x18b0 | | 330 | #define DC_WINC_A_H_FILTER_HI_P03_REG 0x18b0 |
323 | #define DC_WINC_A_H_FILTER_HI_P04_REG 0x18b4 | | 331 | #define DC_WINC_A_H_FILTER_HI_P04_REG 0x18b4 |
324 | #define DC_WINC_A_H_FILTER_HI_P05_REG 0x18b8 | | 332 | #define DC_WINC_A_H_FILTER_HI_P05_REG 0x18b8 |
325 | #define DC_WINC_A_H_FILTER_HI_P06_REG 0x18bc | | 333 | #define DC_WINC_A_H_FILTER_HI_P06_REG 0x18bc |
326 | #define DC_WINC_A_H_FILTER_HI_P07_REG 0x18c0 | | 334 | #define DC_WINC_A_H_FILTER_HI_P07_REG 0x18c0 |
327 | #define DC_WINC_A_H_FILTER_HI_P08_REG 0x18c4 | | 335 | #define DC_WINC_A_H_FILTER_HI_P08_REG 0x18c4 |
328 | #define DC_WINC_A_H_FILTER_HI_P09_REG 0x18c8 | | 336 | #define DC_WINC_A_H_FILTER_HI_P09_REG 0x18c8 |
329 | #define DC_WINC_A_H_FILTER_HI_P0A_REG 0x18cc | | 337 | #define DC_WINC_A_H_FILTER_HI_P0A_REG 0x18cc |
330 | #define DC_WINC_A_H_FILTER_HI_P0B_REG 0x18d0 | | 338 | #define DC_WINC_A_H_FILTER_HI_P0B_REG 0x18d0 |
331 | #define DC_WINC_A_H_FILTER_HI_P0C_REG 0x18d4 | | 339 | #define DC_WINC_A_H_FILTER_HI_P0C_REG 0x18d4 |
332 | #define DC_WINC_A_H_FILTER_HI_P0D_REG 0x18d8 | | 340 | #define DC_WINC_A_H_FILTER_HI_P0D_REG 0x18d8 |
333 | #define DC_WINC_A_H_FILTER_HI_P0E_REG 0x18dc | | 341 | #define DC_WINC_A_H_FILTER_HI_P0E_REG 0x18dc |
334 | #define DC_WINC_A_H_FILTER_HI_P0F_REG 0x18e0 | | 342 | #define DC_WINC_A_H_FILTER_HI_P0F_REG 0x18e0 |
335 | | | 343 | |
336 | #define DC_WINC_A_WIN_OPTIONS_REG 0x1c00 | | 344 | #define DC_WINC_A_WIN_OPTIONS_REG 0x1c00 |
337 | #define DC_WINC_A_WIN_OPTIONS_H_FILTER_MODE __BIT(31) | | 345 | #define DC_WINC_A_WIN_OPTIONS_H_FILTER_MODE __BIT(31) |
338 | #define DC_WINC_A_WIN_OPTIONS_WIN_ENABLE __BIT(30) | | 346 | #define DC_WINC_A_WIN_OPTIONS_WIN_ENABLE __BIT(30) |
339 | #define DC_WINC_A_WIN_OPTIONS_INTERLACE_ENABLE __BIT(23) | | 347 | #define DC_WINC_A_WIN_OPTIONS_INTERLACE_ENABLE __BIT(23) |
340 | #define DC_WINC_A_WIN_OPTIONS_YUV_RANGE_EXPAND __BIT(22) | | 348 | #define DC_WINC_A_WIN_OPTIONS_YUV_RANGE_EXPAND __BIT(22) |
341 | #define DC_WINC_A_WIN_OPTIONS_DV_ENABLE __BIT(20) | | 349 | #define DC_WINC_A_WIN_OPTIONS_DV_ENABLE __BIT(20) |
342 | #define DC_WINC_A_WIN_OPTIONS_CSC_ENABLE __BIT(18) | | 350 | #define DC_WINC_A_WIN_OPTIONS_CSC_ENABLE __BIT(18) |
343 | #define DC_WINC_A_WIN_OPTIONS_CP_ENABLE __BIT(16) | | 351 | #define DC_WINC_A_WIN_OPTIONS_CP_ENABLE __BIT(16) |
344 | #define DC_WINC_A_WIN_OPTIONS_V_FILTER_UV_ALIGN __BIT(14) | | 352 | #define DC_WINC_A_WIN_OPTIONS_V_FILTER_UV_ALIGN __BIT(14) |
345 | #define DC_WINC_A_WIN_OPTIONS_V_FILTER_OPTIMIZE __BIT(12) | | 353 | #define DC_WINC_A_WIN_OPTIONS_V_FILTER_OPTIMIZE __BIT(12) |
346 | #define DC_WINC_A_WIN_OPTIONS_V_FILTER_ENABLE __BIT(10) | | 354 | #define DC_WINC_A_WIN_OPTIONS_V_FILTER_ENABLE __BIT(10) |
347 | #define DC_WINC_A_WIN_OPTIONS_H_FILTER_ENABLE __BIT(8) | | 355 | #define DC_WINC_A_WIN_OPTIONS_H_FILTER_ENABLE __BIT(8) |
348 | #define DC_WINC_A_WIN_OPTIONS_COLOR_EXPAND __BIT(6) | | 356 | #define DC_WINC_A_WIN_OPTIONS_COLOR_EXPAND __BIT(6) |
349 | #define DC_WINC_A_WIN_OPTIONS_SCAN_COLUMN __BIT(4) | | 357 | #define DC_WINC_A_WIN_OPTIONS_SCAN_COLUMN __BIT(4) |
350 | #define DC_WINC_A_WIN_OPTIONS_V_DIRECTION __BIT(2) | | 358 | #define DC_WINC_A_WIN_OPTIONS_V_DIRECTION __BIT(2) |
351 | #define DC_WINC_A_WIN_OPTIONS_H_DIRECTION __BIT(0) | | 359 | #define DC_WINC_A_WIN_OPTIONS_H_DIRECTION __BIT(0) |
352 | | | 360 | |
353 | #define DC_WINC_A_BYTE_SWAP_REG 0x1c04 | | 361 | #define DC_WINC_A_BYTE_SWAP_REG 0x1c04 |
354 | #define DC_WINC_A_BYTE_SWAP_SWAP __BITS(2,0) | | 362 | #define DC_WINC_A_BYTE_SWAP_SWAP __BITS(2,0) |
355 | #define DC_WINC_A_BYTE_SWAP_SWAP_NOSWAP 0 | | 363 | #define DC_WINC_A_BYTE_SWAP_SWAP_NOSWAP 0 |
356 | | | 364 | |
357 | #define DC_WINC_A_COLOR_DEPTH_REG 0x1c0c | | 365 | #define DC_WINC_A_COLOR_DEPTH_REG 0x1c0c |
358 | #define DC_WINC_A_COLOR_DEPTH_DEPTH __BITS(6,0) | | 366 | #define DC_WINC_A_COLOR_DEPTH_DEPTH __BITS(6,0) |
359 | #define DC_WINC_A_COLOR_DEPTH_DEPTH_T_A8R8G8B8 12 | | 367 | #define DC_WINC_A_COLOR_DEPTH_DEPTH_T_A8R8G8B8 12 |
360 | #define DC_WINC_A_COLOR_DEPTH_DEPTH_T_X8R8G8B8 37 | | 368 | #define DC_WINC_A_COLOR_DEPTH_DEPTH_T_X8R8G8B8 37 |
361 | | | 369 | |
362 | #define DC_WINC_A_POSITION_REG 0x1c10 | | 370 | #define DC_WINC_A_POSITION_REG 0x1c10 |
363 | #define DC_WINC_A_POSITION_V __BITS(28,16) | | 371 | #define DC_WINC_A_POSITION_V __BITS(28,16) |
364 | #define DC_WINC_A_POSITION_H __BITS(12,0) | | 372 | #define DC_WINC_A_POSITION_H __BITS(12,0) |
365 | | | 373 | |
366 | #define DC_WINC_A_SIZE_REG 0x1c14 | | 374 | #define DC_WINC_A_SIZE_REG 0x1c14 |
367 | #define DC_WINC_A_SIZE_V __BITS(28,16) | | 375 | #define DC_WINC_A_SIZE_V __BITS(28,16) |
368 | #define DC_WINC_A_SIZE_H __BITS(12,0) | | 376 | #define DC_WINC_A_SIZE_H __BITS(12,0) |
369 | | | 377 | |
370 | #define DC_WINC_A_PRESCALED_SIZE_REG 0x1c18 | | 378 | #define DC_WINC_A_PRESCALED_SIZE_REG 0x1c18 |
371 | #define DC_WINC_A_PRESCALED_SIZE_V __BITS(28,16) | | 379 | #define DC_WINC_A_PRESCALED_SIZE_V __BITS(28,16) |
372 | #define DC_WINC_A_PRESCALED_SIZE_H __BITS(14,0) | | 380 | #define DC_WINC_A_PRESCALED_SIZE_H __BITS(14,0) |
373 | | | 381 | |
374 | #define DC_WINC_A_H_INITIAL_DDA_REG 0x1c1c | | 382 | #define DC_WINC_A_H_INITIAL_DDA_REG 0x1c1c |
375 | #define DC_WINC_A_V_INITIAL_DDA_REG 0x1c20 | | 383 | #define DC_WINC_A_V_INITIAL_DDA_REG 0x1c20 |
376 | #define DC_WINC_A_DDA_INCREMENT_REG 0x1c24 | | 384 | #define DC_WINC_A_DDA_INCREMENT_REG 0x1c24 |
377 | | | 385 | |
378 | #define DC_WINC_A_LINE_STRIDE_REG 0x1c28 | | 386 | #define DC_WINC_A_LINE_STRIDE_REG 0x1c28 |
379 | #define DC_WINC_A_LINE_STRIDE_UV_LINE_STRIDE __BITS(31,16) | | 387 | #define DC_WINC_A_LINE_STRIDE_UV_LINE_STRIDE __BITS(31,16) |
380 | #define DC_WINC_A_LINE_STRIDE_LINE_STRIDE __BITS(15,0) | | 388 | #define DC_WINC_A_LINE_STRIDE_LINE_STRIDE __BITS(15,0) |
381 | | | 389 | |
382 | #define DC_WINC_A_DV_CONTROL_REG 0x1c38 | | 390 | #define DC_WINC_A_DV_CONTROL_REG 0x1c38 |
383 | #define DC_WINC_A_BLEND_LAYER_CONTROL_REG 0x1c58 | | 391 | #define DC_WINC_A_BLEND_LAYER_CONTROL_REG 0x1c58 |
384 | #define DC_WINC_A_BLEND_MATCH_SELECT_REG 0x1c5c | | 392 | #define DC_WINC_A_BLEND_MATCH_SELECT_REG 0x1c5c |
385 | #define DC_WINC_A_BLEND_NOMATCH_SELECT_REG 0x1c60 | | 393 | #define DC_WINC_A_BLEND_NOMATCH_SELECT_REG 0x1c60 |
386 | #define DC_WINC_A_BLEND_ALPHA_1BIT_REG 0x1c64 | | 394 | #define DC_WINC_A_BLEND_ALPHA_1BIT_REG 0x1c64 |
387 | | | 395 | |
388 | /* | | 396 | /* |
389 | * WINBUF_A registers | | 397 | * WINBUF_A registers |
390 | */ | | 398 | */ |
391 | #define DC_WINBUF_A_START_ADDR_REG 0x2000 | | 399 | #define DC_WINBUF_A_START_ADDR_REG 0x2000 |
392 | #define DC_WINBUF_A_START_ADDR_NS_REG 0x2004 | | 400 | #define DC_WINBUF_A_START_ADDR_NS_REG 0x2004 |
393 | #define DC_WINBUF_A_START_ADDR_U_REG 0x2008 | | 401 | #define DC_WINBUF_A_START_ADDR_U_REG 0x2008 |
394 | #define DC_WINBUF_A_START_ADDR_U_NS_REG 0x200c | | 402 | #define DC_WINBUF_A_START_ADDR_U_NS_REG 0x200c |
395 | #define DC_WINBUF_A_START_ADDR_V_REG 0x2010 | | 403 | #define DC_WINBUF_A_START_ADDR_V_REG 0x2010 |
396 | #define DC_WINBUF_A_START_ADDR_V_NS_REG 0x2014 | | 404 | #define DC_WINBUF_A_START_ADDR_V_NS_REG 0x2014 |
397 | #define DC_WINBUF_A_ADDR_H_OFFSET_REG 0x2018 | | 405 | #define DC_WINBUF_A_ADDR_H_OFFSET_REG 0x2018 |
398 | #define DC_WINBUF_A_ADDR_H_OFFSET_NS_REG 0x201c | | 406 | #define DC_WINBUF_A_ADDR_H_OFFSET_NS_REG 0x201c |
399 | #define DC_WINBUF_A_ADDR_V_OFFSET_REG 0x2020 | | 407 | #define DC_WINBUF_A_ADDR_V_OFFSET_REG 0x2020 |
400 | #define DC_WINBUF_A_ADDR_V_OFFSET_NS_REG 0x2024 | | 408 | #define DC_WINBUF_A_ADDR_V_OFFSET_NS_REG 0x2024 |
401 | #define DC_WINBUF_A_UFLOW_STATUS_REG 0x2028 | | 409 | #define DC_WINBUF_A_UFLOW_STATUS_REG 0x2028 |
402 | | | 410 | |
403 | #define DC_WINBUF_A_SURFACE_KIND_REG 0x202c | | 411 | #define DC_WINBUF_A_SURFACE_KIND_REG 0x202c |
404 | #define DC_WINBUF_A_SURFACE_KIND_BLOCK_HEIGHT __BITS(6,4) | | 412 | #define DC_WINBUF_A_SURFACE_KIND_BLOCK_HEIGHT __BITS(6,4) |
405 | #define DC_WINBUF_A_SURFACE_KIND_SURFACE_KIND __BITS(1,0) | | 413 | #define DC_WINBUF_A_SURFACE_KIND_SURFACE_KIND __BITS(1,0) |
406 | #define DC_WINBUF_A_SURFACE_KIND_SURFACE_KIND_PITCH 0 | | 414 | #define DC_WINBUF_A_SURFACE_KIND_SURFACE_KIND_PITCH 0 |
407 | #define DC_WINBUF_A_SURFACE_KIND_SURFACE_KIND_TILED 1 | | 415 | #define DC_WINBUF_A_SURFACE_KIND_SURFACE_KIND_TILED 1 |
408 | #define DC_WINBUF_A_SURFACE_KIND_SURFACE_KIND_BL_16B2 2 | | 416 | #define DC_WINBUF_A_SURFACE_KIND_SURFACE_KIND_BL_16B2 2 |
409 | | | 417 | |
410 | #define DC_WINBUF_A_SURFACE_WEIGHT_REG 0x2030 | | 418 | #define DC_WINBUF_A_SURFACE_WEIGHT_REG 0x2030 |
411 | #define DC_WINBUF_A_START_ADDR_HI_REG 0x2034 | | 419 | #define DC_WINBUF_A_START_ADDR_HI_REG 0x2034 |
412 | #define DC_WINBUF_A_START_ADDR_HI_NS_REG 0x2038 | | 420 | #define DC_WINBUF_A_START_ADDR_HI_NS_REG 0x2038 |
413 | #define DC_WINBUF_A_START_ADDR_HI_U_REG 0x203c | | 421 | #define DC_WINBUF_A_START_ADDR_HI_U_REG 0x203c |
414 | #define DC_WINBUF_A_START_ADDR_HI_U_NS_REG 0x2040 | | 422 | #define DC_WINBUF_A_START_ADDR_HI_U_NS_REG 0x2040 |
415 | #define DC_WINBUF_A_START_ADDR_HI_V_REG 0x2044 | | 423 | #define DC_WINBUF_A_START_ADDR_HI_V_REG 0x2044 |
416 | #define DC_WINBUF_A_START_ADDR_HI_V_NS_REG 0x2048 | | 424 | #define DC_WINBUF_A_START_ADDR_HI_V_NS_REG 0x2048 |
417 | #define DC_WINBUF_A_START_ADDR_FIELD2_REG 0x204c | | 425 | #define DC_WINBUF_A_START_ADDR_FIELD2_REG 0x204c |
418 | #define DC_WINBUF_A_START_ADDR_FIELD2_NS_REG 0x2050 | | 426 | #define DC_WINBUF_A_START_ADDR_FIELD2_NS_REG 0x2050 |
419 | #define DC_WINBUF_A_START_ADDR_FIELD2_U_REG 0x2054 | | 427 | #define DC_WINBUF_A_START_ADDR_FIELD2_U_REG 0x2054 |
420 | #define DC_WINBUF_A_START_ADDR_FIELD2_U_NS_REG 0x2058 | | 428 | #define DC_WINBUF_A_START_ADDR_FIELD2_U_NS_REG 0x2058 |
421 | #define DC_WINBUF_A_START_ADDR_FIELD2_V_REG 0x205c | | 429 | #define DC_WINBUF_A_START_ADDR_FIELD2_V_REG 0x205c |
422 | #define DC_WINBUF_A_START_ADDR_FIELD2_V_NS_REG 0x2060 | | 430 | #define DC_WINBUF_A_START_ADDR_FIELD2_V_NS_REG 0x2060 |
423 | #define DC_WINBUF_A_START_ADDR_FIELD2_HI_REG 0x2064 | | 431 | #define DC_WINBUF_A_START_ADDR_FIELD2_HI_REG 0x2064 |
424 | #define DC_WINBUF_A_START_ADDR_FIELD2_HI_NS_REG 0x2068 | | 432 | #define DC_WINBUF_A_START_ADDR_FIELD2_HI_NS_REG 0x2068 |
425 | #define DC_WINBUF_A_START_ADDR_FIELD2_HI_U_REG 0x206c | | 433 | #define DC_WINBUF_A_START_ADDR_FIELD2_HI_U_REG 0x206c |
426 | #define DC_WINBUF_A_START_ADDR_FIELD2_HI_U_NS_REG 0x2070 | | 434 | #define DC_WINBUF_A_START_ADDR_FIELD2_HI_U_NS_REG 0x2070 |
427 | #define DC_WINBUF_A_START_ADDR_FIELD2_HI_V_REG 0x2074 | | 435 | #define DC_WINBUF_A_START_ADDR_FIELD2_HI_V_REG 0x2074 |
428 | #define DC_WINBUF_A_START_ADDR_FIELD2_HI_V_NS_REG 0x2078 | | 436 | #define DC_WINBUF_A_START_ADDR_FIELD2_HI_V_NS_REG 0x2078 |
429 | #define DC_WINBUF_A_ADDR_H_OFFSET_FIELD2_REG 0x207c | | 437 | #define DC_WINBUF_A_ADDR_H_OFFSET_FIELD2_REG 0x207c |
430 | #define DC_WINBUF_A_ADDR_H_OFFSET_FIELD2_NS_REG 0x2080 | | 438 | #define DC_WINBUF_A_ADDR_H_OFFSET_FIELD2_NS_REG 0x2080 |
431 | #define DC_WINBUF_A_ADDR_V_OFFSET_FIELD2_REG 0x2084 | | 439 | #define DC_WINBUF_A_ADDR_V_OFFSET_FIELD2_REG 0x2084 |
432 | #define DC_WINBUF_A_ADDR_V_OFFSET_FIELD2_NS_REG 0x2088 | | 440 | #define DC_WINBUF_A_ADDR_V_OFFSET_FIELD2_NS_REG 0x2088 |
433 | #define DC_WINBUF_A_UFLOW_CTRL_REG 0x2090 | | 441 | #define DC_WINBUF_A_UFLOW_CTRL_REG 0x2090 |
434 | #define DC_WINBUF_A_UFLOW_DBG_PIXEL_REG 0x2094 | | 442 | #define DC_WINBUF_A_UFLOW_DBG_PIXEL_REG 0x2094 |
435 | #define DC_WINBUF_A_UFLOW_THRESHOLD_REG 0x2098 | | 443 | #define DC_WINBUF_A_UFLOW_THRESHOLD_REG 0x2098 |
436 | #define DC_WINBUF_A_SPOOL_UP_REG 0x209c | | 444 | #define DC_WINBUF_A_SPOOL_UP_REG 0x209c |
437 | #define DC_WINBUF_A_SCALEFACTOR_THRESHOLD_REG 0x20a0 | | 445 | #define DC_WINBUF_A_SCALEFACTOR_THRESHOLD_REG 0x20a0 |
438 | #define DC_WINBUF_A_LATENCY_THRESHOLD_REG 0x20a4 | | 446 | #define DC_WINBUF_A_LATENCY_THRESHOLD_REG 0x20a4 |
439 | #define DC_WINBUF_A_MEMFETCH_DEBUG_STATUS_REG 0x20a8 | | 447 | #define DC_WINBUF_A_MEMFETCH_DEBUG_STATUS_REG 0x20a8 |
440 | #define DC_WINBUF_A_MEMFETCH_CONTROL_REG 0x20ac | | 448 | #define DC_WINBUF_A_MEMFETCH_CONTROL_REG 0x20ac |
441 | #define DC_WINBUF_A_OCCUPANCY_THROTTLE_REG 0x20b0 | | 449 | #define DC_WINBUF_A_OCCUPANCY_THROTTLE_REG 0x20b0 |
442 | #define DC_WINBUF_A_SCRATCH_REGISTER_0_REG 0x20b4 | | 450 | #define DC_WINBUF_A_SCRATCH_REGISTER_0_REG 0x20b4 |
443 | #define DC_WINBUF_A_SCRATCH_REGISTER_1_REG 0x20b8 | | 451 | #define DC_WINBUF_A_SCRATCH_REGISTER_1_REG 0x20b8 |
444 | | | 452 | |
445 | | | 453 | |
446 | #endif /* _ARM_TEGRA_DCREG_H */ | | 454 | #endif /* _ARM_TEGRA_DCREG_H */ |