| .. | .. |
|---|
| 108 | 108 | #define TEGRA186_SID_SE_VM6 0x4e |
|---|
| 109 | 109 | #define TEGRA186_SID_SE_VM7 0x4f |
|---|
| 110 | 110 | |
|---|
| 111 | +/* |
|---|
| 112 | + * memory client IDs |
|---|
| 113 | + */ |
|---|
| 114 | + |
|---|
| 115 | +/* Misses from System Memory Management Unit (SMMU) Page Table Cache (PTC) */ |
|---|
| 116 | +#define TEGRA186_MEMORY_CLIENT_PTCR 0x00 |
|---|
| 117 | +/* PCIE reads */ |
|---|
| 118 | +#define TEGRA186_MEMORY_CLIENT_AFIR 0x0e |
|---|
| 119 | +/* High-definition audio (HDA) reads */ |
|---|
| 120 | +#define TEGRA186_MEMORY_CLIENT_HDAR 0x15 |
|---|
| 121 | +/* Host channel data reads */ |
|---|
| 122 | +#define TEGRA186_MEMORY_CLIENT_HOST1XDMAR 0x16 |
|---|
| 123 | +#define TEGRA186_MEMORY_CLIENT_NVENCSRD 0x1c |
|---|
| 124 | +/* SATA reads */ |
|---|
| 125 | +#define TEGRA186_MEMORY_CLIENT_SATAR 0x1f |
|---|
| 126 | +/* Reads from Cortex-A9 4 CPU cores via the L2 cache */ |
|---|
| 127 | +#define TEGRA186_MEMORY_CLIENT_MPCORER 0x27 |
|---|
| 128 | +#define TEGRA186_MEMORY_CLIENT_NVENCSWR 0x2b |
|---|
| 129 | +/* PCIE writes */ |
|---|
| 130 | +#define TEGRA186_MEMORY_CLIENT_AFIW 0x31 |
|---|
| 131 | +/* High-definition audio (HDA) writes */ |
|---|
| 132 | +#define TEGRA186_MEMORY_CLIENT_HDAW 0x35 |
|---|
| 133 | +/* Writes from Cortex-A9 4 CPU cores via the L2 cache */ |
|---|
| 134 | +#define TEGRA186_MEMORY_CLIENT_MPCOREW 0x39 |
|---|
| 135 | +/* SATA writes */ |
|---|
| 136 | +#define TEGRA186_MEMORY_CLIENT_SATAW 0x3d |
|---|
| 137 | +/* ISP Read client for Crossbar A */ |
|---|
| 138 | +#define TEGRA186_MEMORY_CLIENT_ISPRA 0x44 |
|---|
| 139 | +/* ISP Write client for Crossbar A */ |
|---|
| 140 | +#define TEGRA186_MEMORY_CLIENT_ISPWA 0x46 |
|---|
| 141 | +/* ISP Write client Crossbar B */ |
|---|
| 142 | +#define TEGRA186_MEMORY_CLIENT_ISPWB 0x47 |
|---|
| 143 | +/* XUSB reads */ |
|---|
| 144 | +#define TEGRA186_MEMORY_CLIENT_XUSB_HOSTR 0x4a |
|---|
| 145 | +/* XUSB_HOST writes */ |
|---|
| 146 | +#define TEGRA186_MEMORY_CLIENT_XUSB_HOSTW 0x4b |
|---|
| 147 | +/* XUSB reads */ |
|---|
| 148 | +#define TEGRA186_MEMORY_CLIENT_XUSB_DEVR 0x4c |
|---|
| 149 | +/* XUSB_DEV writes */ |
|---|
| 150 | +#define TEGRA186_MEMORY_CLIENT_XUSB_DEVW 0x4d |
|---|
| 151 | +/* TSEC Memory Return Data Client Description */ |
|---|
| 152 | +#define TEGRA186_MEMORY_CLIENT_TSECSRD 0x54 |
|---|
| 153 | +/* TSEC Memory Write Client Description */ |
|---|
| 154 | +#define TEGRA186_MEMORY_CLIENT_TSECSWR 0x55 |
|---|
| 155 | +/* 3D, ltcx reads instance 0 */ |
|---|
| 156 | +#define TEGRA186_MEMORY_CLIENT_GPUSRD 0x58 |
|---|
| 157 | +/* 3D, ltcx writes instance 0 */ |
|---|
| 158 | +#define TEGRA186_MEMORY_CLIENT_GPUSWR 0x59 |
|---|
| 159 | +/* sdmmca memory read client */ |
|---|
| 160 | +#define TEGRA186_MEMORY_CLIENT_SDMMCRA 0x60 |
|---|
| 161 | +/* sdmmcbmemory read client */ |
|---|
| 162 | +#define TEGRA186_MEMORY_CLIENT_SDMMCRAA 0x61 |
|---|
| 163 | +/* sdmmc memory read client */ |
|---|
| 164 | +#define TEGRA186_MEMORY_CLIENT_SDMMCR 0x62 |
|---|
| 165 | +/* sdmmcd memory read client */ |
|---|
| 166 | +#define TEGRA186_MEMORY_CLIENT_SDMMCRAB 0x63 |
|---|
| 167 | +/* sdmmca memory write client */ |
|---|
| 168 | +#define TEGRA186_MEMORY_CLIENT_SDMMCWA 0x64 |
|---|
| 169 | +/* sdmmcb memory write client */ |
|---|
| 170 | +#define TEGRA186_MEMORY_CLIENT_SDMMCWAA 0x65 |
|---|
| 171 | +/* sdmmc memory write client */ |
|---|
| 172 | +#define TEGRA186_MEMORY_CLIENT_SDMMCW 0x66 |
|---|
| 173 | +/* sdmmcd memory write client */ |
|---|
| 174 | +#define TEGRA186_MEMORY_CLIENT_SDMMCWAB 0x67 |
|---|
| 175 | +#define TEGRA186_MEMORY_CLIENT_VICSRD 0x6c |
|---|
| 176 | +#define TEGRA186_MEMORY_CLIENT_VICSWR 0x6d |
|---|
| 177 | +/* VI Write client */ |
|---|
| 178 | +#define TEGRA186_MEMORY_CLIENT_VIW 0x72 |
|---|
| 179 | +#define TEGRA186_MEMORY_CLIENT_NVDECSRD 0x78 |
|---|
| 180 | +#define TEGRA186_MEMORY_CLIENT_NVDECSWR 0x79 |
|---|
| 181 | +/* Audio Processing (APE) engine reads */ |
|---|
| 182 | +#define TEGRA186_MEMORY_CLIENT_APER 0x7a |
|---|
| 183 | +/* Audio Processing (APE) engine writes */ |
|---|
| 184 | +#define TEGRA186_MEMORY_CLIENT_APEW 0x7b |
|---|
| 185 | +#define TEGRA186_MEMORY_CLIENT_NVJPGSRD 0x7e |
|---|
| 186 | +#define TEGRA186_MEMORY_CLIENT_NVJPGSWR 0x7f |
|---|
| 187 | +/* SE Memory Return Data Client Description */ |
|---|
| 188 | +#define TEGRA186_MEMORY_CLIENT_SESRD 0x80 |
|---|
| 189 | +/* SE Memory Write Client Description */ |
|---|
| 190 | +#define TEGRA186_MEMORY_CLIENT_SESWR 0x81 |
|---|
| 191 | +/* ETR reads */ |
|---|
| 192 | +#define TEGRA186_MEMORY_CLIENT_ETRR 0x84 |
|---|
| 193 | +/* ETR writes */ |
|---|
| 194 | +#define TEGRA186_MEMORY_CLIENT_ETRW 0x85 |
|---|
| 195 | +/* TSECB Memory Return Data Client Description */ |
|---|
| 196 | +#define TEGRA186_MEMORY_CLIENT_TSECSRDB 0x86 |
|---|
| 197 | +/* TSECB Memory Write Client Description */ |
|---|
| 198 | +#define TEGRA186_MEMORY_CLIENT_TSECSWRB 0x87 |
|---|
| 199 | +/* 3D, ltcx reads instance 1 */ |
|---|
| 200 | +#define TEGRA186_MEMORY_CLIENT_GPUSRD2 0x88 |
|---|
| 201 | +/* 3D, ltcx writes instance 1 */ |
|---|
| 202 | +#define TEGRA186_MEMORY_CLIENT_GPUSWR2 0x89 |
|---|
| 203 | +/* AXI Switch read client */ |
|---|
| 204 | +#define TEGRA186_MEMORY_CLIENT_AXISR 0x8c |
|---|
| 205 | +/* AXI Switch write client */ |
|---|
| 206 | +#define TEGRA186_MEMORY_CLIENT_AXISW 0x8d |
|---|
| 207 | +/* EQOS read client */ |
|---|
| 208 | +#define TEGRA186_MEMORY_CLIENT_EQOSR 0x8e |
|---|
| 209 | +/* EQOS write client */ |
|---|
| 210 | +#define TEGRA186_MEMORY_CLIENT_EQOSW 0x8f |
|---|
| 211 | +/* UFSHC read client */ |
|---|
| 212 | +#define TEGRA186_MEMORY_CLIENT_UFSHCR 0x90 |
|---|
| 213 | +/* UFSHC write client */ |
|---|
| 214 | +#define TEGRA186_MEMORY_CLIENT_UFSHCW 0x91 |
|---|
| 215 | +/* NVDISPLAY read client */ |
|---|
| 216 | +#define TEGRA186_MEMORY_CLIENT_NVDISPLAYR 0x92 |
|---|
| 217 | +/* BPMP read client */ |
|---|
| 218 | +#define TEGRA186_MEMORY_CLIENT_BPMPR 0x93 |
|---|
| 219 | +/* BPMP write client */ |
|---|
| 220 | +#define TEGRA186_MEMORY_CLIENT_BPMPW 0x94 |
|---|
| 221 | +/* BPMPDMA read client */ |
|---|
| 222 | +#define TEGRA186_MEMORY_CLIENT_BPMPDMAR 0x95 |
|---|
| 223 | +/* BPMPDMA write client */ |
|---|
| 224 | +#define TEGRA186_MEMORY_CLIENT_BPMPDMAW 0x96 |
|---|
| 225 | +/* AON read client */ |
|---|
| 226 | +#define TEGRA186_MEMORY_CLIENT_AONR 0x97 |
|---|
| 227 | +/* AON write client */ |
|---|
| 228 | +#define TEGRA186_MEMORY_CLIENT_AONW 0x98 |
|---|
| 229 | +/* AONDMA read client */ |
|---|
| 230 | +#define TEGRA186_MEMORY_CLIENT_AONDMAR 0x99 |
|---|
| 231 | +/* AONDMA write client */ |
|---|
| 232 | +#define TEGRA186_MEMORY_CLIENT_AONDMAW 0x9a |
|---|
| 233 | +/* SCE read client */ |
|---|
| 234 | +#define TEGRA186_MEMORY_CLIENT_SCER 0x9b |
|---|
| 235 | +/* SCE write client */ |
|---|
| 236 | +#define TEGRA186_MEMORY_CLIENT_SCEW 0x9c |
|---|
| 237 | +/* SCEDMA read client */ |
|---|
| 238 | +#define TEGRA186_MEMORY_CLIENT_SCEDMAR 0x9d |
|---|
| 239 | +/* SCEDMA write client */ |
|---|
| 240 | +#define TEGRA186_MEMORY_CLIENT_SCEDMAW 0x9e |
|---|
| 241 | +/* APEDMA read client */ |
|---|
| 242 | +#define TEGRA186_MEMORY_CLIENT_APEDMAR 0x9f |
|---|
| 243 | +/* APEDMA write client */ |
|---|
| 244 | +#define TEGRA186_MEMORY_CLIENT_APEDMAW 0xa0 |
|---|
| 245 | +/* NVDISPLAY read client instance 2 */ |
|---|
| 246 | +#define TEGRA186_MEMORY_CLIENT_NVDISPLAYR1 0xa1 |
|---|
| 247 | +#define TEGRA186_MEMORY_CLIENT_VICSRD1 0xa2 |
|---|
| 248 | +#define TEGRA186_MEMORY_CLIENT_NVDECSRD1 0xa3 |
|---|
| 249 | + |
|---|
| 111 | 250 | #endif |
|---|