cudbg_entity.h 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484
  1. /*
  2. * Copyright (C) 2017 Chelsio Communications. All rights reserved.
  3. *
  4. * This program is free software; you can redistribute it and/or modify it
  5. * under the terms and conditions of the GNU General Public License,
  6. * version 2, as published by the Free Software Foundation.
  7. *
  8. * This program is distributed in the hope it will be useful, but WITHOUT
  9. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  10. * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  11. * more details.
  12. *
  13. * The full GNU General Public License is included in this distribution in
  14. * the file called "COPYING".
  15. *
  16. */
  17. #ifndef __CUDBG_ENTITY_H__
  18. #define __CUDBG_ENTITY_H__
  19. #define EDC0_FLAG 0
  20. #define EDC1_FLAG 1
  21. #define MC_FLAG 2
  22. #define MC0_FLAG 3
  23. #define MC1_FLAG 4
  24. #define HMA_FLAG 5
  25. #define CUDBG_ENTITY_SIGNATURE 0xCCEDB001
  26. struct cudbg_mbox_log {
  27. struct mbox_cmd entry;
  28. u32 hi[MBOX_LEN / 8];
  29. u32 lo[MBOX_LEN / 8];
  30. };
  31. struct cudbg_cim_qcfg {
  32. u8 chip;
  33. u16 base[CIM_NUM_IBQ + CIM_NUM_OBQ_T5];
  34. u16 size[CIM_NUM_IBQ + CIM_NUM_OBQ_T5];
  35. u16 thres[CIM_NUM_IBQ];
  36. u32 obq_wr[2 * CIM_NUM_OBQ_T5];
  37. u32 stat[4 * (CIM_NUM_IBQ + CIM_NUM_OBQ_T5)];
  38. };
  39. struct cudbg_rss_vf_conf {
  40. u32 rss_vf_vfl;
  41. u32 rss_vf_vfh;
  42. };
  43. struct cudbg_pm_stats {
  44. u32 tx_cnt[T6_PM_NSTATS];
  45. u32 rx_cnt[T6_PM_NSTATS];
  46. u64 tx_cyc[T6_PM_NSTATS];
  47. u64 rx_cyc[T6_PM_NSTATS];
  48. };
  49. struct cudbg_hw_sched {
  50. u32 kbps[NTX_SCHED];
  51. u32 ipg[NTX_SCHED];
  52. u32 pace_tab[NTX_SCHED];
  53. u32 mode;
  54. u32 map;
  55. };
  56. #define SGE_QBASE_DATA_REG_NUM 4
  57. struct sge_qbase_reg_field {
  58. u32 reg_addr;
  59. u32 reg_data[SGE_QBASE_DATA_REG_NUM];
  60. /* Max supported PFs */
  61. u32 pf_data_value[PCIE_FW_MASTER_M + 1][SGE_QBASE_DATA_REG_NUM];
  62. /* Max supported VFs */
  63. u32 vf_data_value[T6_VF_M + 1][SGE_QBASE_DATA_REG_NUM];
  64. u32 vfcount; /* Actual number of max vfs in current configuration */
  65. };
  66. struct ireg_field {
  67. u32 ireg_addr;
  68. u32 ireg_data;
  69. u32 ireg_local_offset;
  70. u32 ireg_offset_range;
  71. };
  72. struct ireg_buf {
  73. struct ireg_field tp_pio;
  74. u32 outbuf[32];
  75. };
  76. struct cudbg_ulprx_la {
  77. u32 data[ULPRX_LA_SIZE * 8];
  78. u32 size;
  79. };
  80. struct cudbg_tp_la {
  81. u32 size;
  82. u32 mode;
  83. u8 data[0];
  84. };
  85. static const char * const cudbg_region[] = {
  86. "DBQ contexts:", "IMSG contexts:", "FLM cache:", "TCBs:",
  87. "Pstructs:", "Timers:", "Rx FL:", "Tx FL:", "Pstruct FL:",
  88. "Tx payload:", "Rx payload:", "LE hash:", "iSCSI region:",
  89. "TDDP region:", "TPT region:", "STAG region:", "RQ region:",
  90. "RQUDP region:", "PBL region:", "TXPBL region:",
  91. "DBVFIFO region:", "ULPRX state:", "ULPTX state:",
  92. "On-chip queues:"
  93. };
  94. /* Memory region info relative to current memory (i.e. wrt 0). */
  95. struct cudbg_region_info {
  96. bool exist; /* Does region exists in current memory? */
  97. u32 start; /* Start wrt 0 */
  98. u32 end; /* End wrt 0 */
  99. };
  100. struct cudbg_mem_desc {
  101. u32 base;
  102. u32 limit;
  103. u32 idx;
  104. };
  105. #define CUDBG_MEMINFO_REV 1
  106. struct cudbg_meminfo {
  107. struct cudbg_mem_desc avail[4];
  108. struct cudbg_mem_desc mem[ARRAY_SIZE(cudbg_region) + 3];
  109. u32 avail_c;
  110. u32 mem_c;
  111. u32 up_ram_lo;
  112. u32 up_ram_hi;
  113. u32 up_extmem2_lo;
  114. u32 up_extmem2_hi;
  115. u32 rx_pages_data[3];
  116. u32 tx_pages_data[4];
  117. u32 p_structs;
  118. u32 reserved[12];
  119. u32 port_used[4];
  120. u32 port_alloc[4];
  121. u32 loopback_used[NCHAN];
  122. u32 loopback_alloc[NCHAN];
  123. u32 p_structs_free_cnt;
  124. u32 free_rx_cnt;
  125. u32 free_tx_cnt;
  126. };
  127. struct cudbg_cim_pif_la {
  128. int size;
  129. u8 data[0];
  130. };
  131. struct cudbg_clk_info {
  132. u64 retransmit_min;
  133. u64 retransmit_max;
  134. u64 persist_timer_min;
  135. u64 persist_timer_max;
  136. u64 keepalive_idle_timer;
  137. u64 keepalive_interval;
  138. u64 initial_srtt;
  139. u64 finwait2_timer;
  140. u32 dack_timer;
  141. u32 res;
  142. u32 cclk_ps;
  143. u32 tre;
  144. u32 dack_re;
  145. };
  146. struct cudbg_tid_info_region {
  147. u32 ntids;
  148. u32 nstids;
  149. u32 stid_base;
  150. u32 hash_base;
  151. u32 natids;
  152. u32 nftids;
  153. u32 ftid_base;
  154. u32 aftid_base;
  155. u32 aftid_end;
  156. u32 sftid_base;
  157. u32 nsftids;
  158. u32 uotid_base;
  159. u32 nuotids;
  160. u32 sb;
  161. u32 flags;
  162. u32 le_db_conf;
  163. u32 ip_users;
  164. u32 ipv6_users;
  165. u32 hpftid_base;
  166. u32 nhpftids;
  167. };
  168. #define CUDBG_TID_INFO_REV 1
  169. struct cudbg_tid_info_region_rev1 {
  170. struct cudbg_ver_hdr ver_hdr;
  171. struct cudbg_tid_info_region tid;
  172. u32 tid_start;
  173. u32 reserved[16];
  174. };
  175. #define CUDBG_LOWMEM_MAX_CTXT_QIDS 256
  176. #define CUDBG_MAX_FL_QIDS 1024
  177. struct cudbg_ch_cntxt {
  178. u32 cntxt_type;
  179. u32 cntxt_id;
  180. u32 data[SGE_CTXT_SIZE / 4];
  181. };
  182. #define CUDBG_MAX_RPLC_SIZE 128
  183. struct cudbg_mps_tcam {
  184. u64 mask;
  185. u32 rplc[8];
  186. u32 idx;
  187. u32 cls_lo;
  188. u32 cls_hi;
  189. u32 rplc_size;
  190. u32 vniy;
  191. u32 vnix;
  192. u32 dip_hit;
  193. u32 vlan_vld;
  194. u32 repli;
  195. u16 ivlan;
  196. u8 addr[ETH_ALEN];
  197. u8 lookup_type;
  198. u8 port_num;
  199. u8 reserved[2];
  200. };
  201. #define CUDBG_VPD_PF_SIZE 0x800
  202. #define CUDBG_SCFG_VER_ADDR 0x06
  203. #define CUDBG_SCFG_VER_LEN 4
  204. #define CUDBG_VPD_VER_ADDR 0x18c7
  205. #define CUDBG_VPD_VER_LEN 2
  206. struct cudbg_vpd_data {
  207. u8 sn[SERNUM_LEN + 1];
  208. u8 bn[PN_LEN + 1];
  209. u8 na[MACADDR_LEN + 1];
  210. u8 mn[ID_LEN + 1];
  211. u16 fw_major;
  212. u16 fw_minor;
  213. u16 fw_micro;
  214. u16 fw_build;
  215. u32 scfg_vers;
  216. u32 vpd_vers;
  217. };
  218. #define CUDBG_MAX_TCAM_TID 0x800
  219. #define CUDBG_T6_CLIP 1536
  220. #define CUDBG_MAX_TID_COMP_EN 6144
  221. #define CUDBG_MAX_TID_COMP_DIS 3072
  222. enum cudbg_le_entry_types {
  223. LE_ET_UNKNOWN = 0,
  224. LE_ET_TCAM_CON = 1,
  225. LE_ET_TCAM_SERVER = 2,
  226. LE_ET_TCAM_FILTER = 3,
  227. LE_ET_TCAM_CLIP = 4,
  228. LE_ET_TCAM_ROUTING = 5,
  229. LE_ET_HASH_CON = 6,
  230. LE_ET_INVALID_TID = 8,
  231. };
  232. struct cudbg_tcam {
  233. u32 filter_start;
  234. u32 server_start;
  235. u32 clip_start;
  236. u32 routing_start;
  237. u32 tid_hash_base;
  238. u32 max_tid;
  239. };
  240. struct cudbg_tid_data {
  241. u32 tid;
  242. u32 dbig_cmd;
  243. u32 dbig_conf;
  244. u32 dbig_rsp_stat;
  245. u32 data[NUM_LE_DB_DBGI_RSP_DATA_INSTANCES];
  246. };
  247. #define CUDBG_NUM_ULPTX 11
  248. #define CUDBG_NUM_ULPTX_READ 512
  249. #define CUDBG_NUM_ULPTX_ASIC 6
  250. #define CUDBG_NUM_ULPTX_ASIC_READ 128
  251. #define CUDBG_ULPTX_LA_REV 1
  252. struct cudbg_ulptx_la {
  253. u32 rdptr[CUDBG_NUM_ULPTX];
  254. u32 wrptr[CUDBG_NUM_ULPTX];
  255. u32 rddata[CUDBG_NUM_ULPTX];
  256. u32 rd_data[CUDBG_NUM_ULPTX][CUDBG_NUM_ULPTX_READ];
  257. u32 rdptr_asic[CUDBG_NUM_ULPTX_ASIC_READ];
  258. u32 rddata_asic[CUDBG_NUM_ULPTX_ASIC_READ][CUDBG_NUM_ULPTX_ASIC];
  259. };
  260. #define CUDBG_CHAC_PBT_ADDR 0x2800
  261. #define CUDBG_CHAC_PBT_LRF 0x3000
  262. #define CUDBG_CHAC_PBT_DATA 0x3800
  263. #define CUDBG_PBT_DYNAMIC_ENTRIES 8
  264. #define CUDBG_PBT_STATIC_ENTRIES 16
  265. #define CUDBG_LRF_ENTRIES 8
  266. #define CUDBG_PBT_DATA_ENTRIES 512
  267. struct cudbg_pbt_tables {
  268. u32 pbt_dynamic[CUDBG_PBT_DYNAMIC_ENTRIES];
  269. u32 pbt_static[CUDBG_PBT_STATIC_ENTRIES];
  270. u32 lrf_table[CUDBG_LRF_ENTRIES];
  271. u32 pbt_data[CUDBG_PBT_DATA_ENTRIES];
  272. };
  273. #define IREG_NUM_ELEM 4
  274. static const u32 t6_tp_pio_array[][IREG_NUM_ELEM] = {
  275. {0x7e40, 0x7e44, 0x020, 28}, /* t6_tp_pio_regs_20_to_3b */
  276. {0x7e40, 0x7e44, 0x040, 10}, /* t6_tp_pio_regs_40_to_49 */
  277. {0x7e40, 0x7e44, 0x050, 10}, /* t6_tp_pio_regs_50_to_59 */
  278. {0x7e40, 0x7e44, 0x060, 14}, /* t6_tp_pio_regs_60_to_6d */
  279. {0x7e40, 0x7e44, 0x06F, 1}, /* t6_tp_pio_regs_6f */
  280. {0x7e40, 0x7e44, 0x070, 6}, /* t6_tp_pio_regs_70_to_75 */
  281. {0x7e40, 0x7e44, 0x130, 18}, /* t6_tp_pio_regs_130_to_141 */
  282. {0x7e40, 0x7e44, 0x145, 19}, /* t6_tp_pio_regs_145_to_157 */
  283. {0x7e40, 0x7e44, 0x160, 1}, /* t6_tp_pio_regs_160 */
  284. {0x7e40, 0x7e44, 0x230, 25}, /* t6_tp_pio_regs_230_to_248 */
  285. {0x7e40, 0x7e44, 0x24a, 3}, /* t6_tp_pio_regs_24c */
  286. {0x7e40, 0x7e44, 0x8C0, 1} /* t6_tp_pio_regs_8c0 */
  287. };
  288. static const u32 t5_tp_pio_array[][IREG_NUM_ELEM] = {
  289. {0x7e40, 0x7e44, 0x020, 28}, /* t5_tp_pio_regs_20_to_3b */
  290. {0x7e40, 0x7e44, 0x040, 19}, /* t5_tp_pio_regs_40_to_52 */
  291. {0x7e40, 0x7e44, 0x054, 2}, /* t5_tp_pio_regs_54_to_55 */
  292. {0x7e40, 0x7e44, 0x060, 13}, /* t5_tp_pio_regs_60_to_6c */
  293. {0x7e40, 0x7e44, 0x06F, 1}, /* t5_tp_pio_regs_6f */
  294. {0x7e40, 0x7e44, 0x120, 4}, /* t5_tp_pio_regs_120_to_123 */
  295. {0x7e40, 0x7e44, 0x12b, 2}, /* t5_tp_pio_regs_12b_to_12c */
  296. {0x7e40, 0x7e44, 0x12f, 21}, /* t5_tp_pio_regs_12f_to_143 */
  297. {0x7e40, 0x7e44, 0x145, 19}, /* t5_tp_pio_regs_145_to_157 */
  298. {0x7e40, 0x7e44, 0x230, 25}, /* t5_tp_pio_regs_230_to_248 */
  299. {0x7e40, 0x7e44, 0x8C0, 1} /* t5_tp_pio_regs_8c0 */
  300. };
  301. static const u32 t6_tp_tm_pio_array[][IREG_NUM_ELEM] = {
  302. {0x7e18, 0x7e1c, 0x0, 12}
  303. };
  304. static const u32 t5_tp_tm_pio_array[][IREG_NUM_ELEM] = {
  305. {0x7e18, 0x7e1c, 0x0, 12}
  306. };
  307. static const u32 t6_tp_mib_index_array[6][IREG_NUM_ELEM] = {
  308. {0x7e50, 0x7e54, 0x0, 13},
  309. {0x7e50, 0x7e54, 0x10, 6},
  310. {0x7e50, 0x7e54, 0x18, 21},
  311. {0x7e50, 0x7e54, 0x30, 32},
  312. {0x7e50, 0x7e54, 0x50, 22},
  313. {0x7e50, 0x7e54, 0x68, 12}
  314. };
  315. static const u32 t5_tp_mib_index_array[9][IREG_NUM_ELEM] = {
  316. {0x7e50, 0x7e54, 0x0, 13},
  317. {0x7e50, 0x7e54, 0x10, 6},
  318. {0x7e50, 0x7e54, 0x18, 8},
  319. {0x7e50, 0x7e54, 0x20, 13},
  320. {0x7e50, 0x7e54, 0x30, 16},
  321. {0x7e50, 0x7e54, 0x40, 16},
  322. {0x7e50, 0x7e54, 0x50, 16},
  323. {0x7e50, 0x7e54, 0x60, 6},
  324. {0x7e50, 0x7e54, 0x68, 4}
  325. };
  326. static const u32 t5_sge_dbg_index_array[2][IREG_NUM_ELEM] = {
  327. {0x10cc, 0x10d0, 0x0, 16},
  328. {0x10cc, 0x10d4, 0x0, 16},
  329. };
  330. static const u32 t6_sge_qbase_index_array[] = {
  331. /* 1 addr reg SGE_QBASE_INDEX and 4 data reg SGE_QBASE_MAP[0-3] */
  332. 0x1250, 0x1240, 0x1244, 0x1248, 0x124c,
  333. };
  334. static const u32 t5_pcie_pdbg_array[][IREG_NUM_ELEM] = {
  335. {0x5a04, 0x5a0c, 0x00, 0x20}, /* t5_pcie_pdbg_regs_00_to_20 */
  336. {0x5a04, 0x5a0c, 0x21, 0x20}, /* t5_pcie_pdbg_regs_21_to_40 */
  337. {0x5a04, 0x5a0c, 0x41, 0x10}, /* t5_pcie_pdbg_regs_41_to_50 */
  338. };
  339. static const u32 t5_pcie_cdbg_array[][IREG_NUM_ELEM] = {
  340. {0x5a10, 0x5a18, 0x00, 0x20}, /* t5_pcie_cdbg_regs_00_to_20 */
  341. {0x5a10, 0x5a18, 0x21, 0x18}, /* t5_pcie_cdbg_regs_21_to_37 */
  342. };
  343. static const u32 t5_pm_rx_array[][IREG_NUM_ELEM] = {
  344. {0x8FD0, 0x8FD4, 0x10000, 0x20}, /* t5_pm_rx_regs_10000_to_10020 */
  345. {0x8FD0, 0x8FD4, 0x10021, 0x0D}, /* t5_pm_rx_regs_10021_to_1002c */
  346. };
  347. static const u32 t5_pm_tx_array[][IREG_NUM_ELEM] = {
  348. {0x8FF0, 0x8FF4, 0x10000, 0x20}, /* t5_pm_tx_regs_10000_to_10020 */
  349. {0x8FF0, 0x8FF4, 0x10021, 0x1D}, /* t5_pm_tx_regs_10021_to_1003c */
  350. };
  351. #define CUDBG_NUM_PCIE_CONFIG_REGS 0x61
  352. static const u32 t5_pcie_config_array[][2] = {
  353. {0x0, 0x34},
  354. {0x3c, 0x40},
  355. {0x50, 0x64},
  356. {0x70, 0x80},
  357. {0x94, 0xa0},
  358. {0xb0, 0xb8},
  359. {0xd0, 0xd4},
  360. {0x100, 0x128},
  361. {0x140, 0x148},
  362. {0x150, 0x164},
  363. {0x170, 0x178},
  364. {0x180, 0x194},
  365. {0x1a0, 0x1b8},
  366. {0x1c0, 0x208},
  367. };
  368. static const u32 t6_ma_ireg_array[][IREG_NUM_ELEM] = {
  369. {0x78f8, 0x78fc, 0xa000, 23}, /* t6_ma_regs_a000_to_a016 */
  370. {0x78f8, 0x78fc, 0xa400, 30}, /* t6_ma_regs_a400_to_a41e */
  371. {0x78f8, 0x78fc, 0xa800, 20} /* t6_ma_regs_a800_to_a813 */
  372. };
  373. static const u32 t6_ma_ireg_array2[][IREG_NUM_ELEM] = {
  374. {0x78f8, 0x78fc, 0xe400, 17}, /* t6_ma_regs_e400_to_e600 */
  375. {0x78f8, 0x78fc, 0xe640, 13} /* t6_ma_regs_e640_to_e7c0 */
  376. };
  377. static const u32 t6_up_cim_reg_array[][IREG_NUM_ELEM + 1] = {
  378. {0x7b50, 0x7b54, 0x2000, 0x20, 0}, /* up_cim_2000_to_207c */
  379. {0x7b50, 0x7b54, 0x2080, 0x1d, 0}, /* up_cim_2080_to_20fc */
  380. {0x7b50, 0x7b54, 0x00, 0x20, 0}, /* up_cim_00_to_7c */
  381. {0x7b50, 0x7b54, 0x80, 0x20, 0}, /* up_cim_80_to_fc */
  382. {0x7b50, 0x7b54, 0x100, 0x11, 0}, /* up_cim_100_to_14c */
  383. {0x7b50, 0x7b54, 0x200, 0x10, 0}, /* up_cim_200_to_23c */
  384. {0x7b50, 0x7b54, 0x240, 0x2, 0}, /* up_cim_240_to_244 */
  385. {0x7b50, 0x7b54, 0x250, 0x2, 0}, /* up_cim_250_to_254 */
  386. {0x7b50, 0x7b54, 0x260, 0x2, 0}, /* up_cim_260_to_264 */
  387. {0x7b50, 0x7b54, 0x270, 0x2, 0}, /* up_cim_270_to_274 */
  388. {0x7b50, 0x7b54, 0x280, 0x20, 0}, /* up_cim_280_to_2fc */
  389. {0x7b50, 0x7b54, 0x300, 0x20, 0}, /* up_cim_300_to_37c */
  390. {0x7b50, 0x7b54, 0x380, 0x14, 0}, /* up_cim_380_to_3cc */
  391. {0x7b50, 0x7b54, 0x4900, 0x4, 0x4}, /* up_cim_4900_to_4c60 */
  392. {0x7b50, 0x7b54, 0x4904, 0x4, 0x4}, /* up_cim_4904_to_4c64 */
  393. {0x7b50, 0x7b54, 0x4908, 0x4, 0x4}, /* up_cim_4908_to_4c68 */
  394. {0x7b50, 0x7b54, 0x4910, 0x4, 0x4}, /* up_cim_4910_to_4c70 */
  395. {0x7b50, 0x7b54, 0x4914, 0x4, 0x4}, /* up_cim_4914_to_4c74 */
  396. {0x7b50, 0x7b54, 0x4920, 0x10, 0x10}, /* up_cim_4920_to_4a10 */
  397. {0x7b50, 0x7b54, 0x4924, 0x10, 0x10}, /* up_cim_4924_to_4a14 */
  398. {0x7b50, 0x7b54, 0x4928, 0x10, 0x10}, /* up_cim_4928_to_4a18 */
  399. {0x7b50, 0x7b54, 0x492c, 0x10, 0x10}, /* up_cim_492c_to_4a1c */
  400. };
  401. static const u32 t5_up_cim_reg_array[][IREG_NUM_ELEM + 1] = {
  402. {0x7b50, 0x7b54, 0x2000, 0x20, 0}, /* up_cim_2000_to_207c */
  403. {0x7b50, 0x7b54, 0x2080, 0x19, 0}, /* up_cim_2080_to_20ec */
  404. {0x7b50, 0x7b54, 0x00, 0x20, 0}, /* up_cim_00_to_7c */
  405. {0x7b50, 0x7b54, 0x80, 0x20, 0}, /* up_cim_80_to_fc */
  406. {0x7b50, 0x7b54, 0x100, 0x11, 0}, /* up_cim_100_to_14c */
  407. {0x7b50, 0x7b54, 0x200, 0x10, 0}, /* up_cim_200_to_23c */
  408. {0x7b50, 0x7b54, 0x240, 0x2, 0}, /* up_cim_240_to_244 */
  409. {0x7b50, 0x7b54, 0x250, 0x2, 0}, /* up_cim_250_to_254 */
  410. {0x7b50, 0x7b54, 0x260, 0x2, 0}, /* up_cim_260_to_264 */
  411. {0x7b50, 0x7b54, 0x270, 0x2, 0}, /* up_cim_270_to_274 */
  412. {0x7b50, 0x7b54, 0x280, 0x20, 0}, /* up_cim_280_to_2fc */
  413. {0x7b50, 0x7b54, 0x300, 0x20, 0}, /* up_cim_300_to_37c */
  414. {0x7b50, 0x7b54, 0x380, 0x14, 0}, /* up_cim_380_to_3cc */
  415. };
  416. static const u32 t6_hma_ireg_array[][IREG_NUM_ELEM] = {
  417. {0x51320, 0x51324, 0xa000, 32} /* t6_hma_regs_a000_to_a01f */
  418. };
  419. #endif /* __CUDBG_ENTITY_H__ */