gh_hdmi.h 83 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648
  1. /*!
  2. *******************************************************************************
  3. **
  4. ** \file gh_hdmi.h
  5. **
  6. ** \brief Video/Sensor Input.
  7. **
  8. ** Copyright: 2012 - 2016 (C) GoKe Microelectronics
  9. **
  10. ** \attention THIS SAMPLE CODE IS PROVIDED AS IS. GOKE MICROELECTRONICS
  11. ** ACCEPTS NO RESPONSIBILITY OR LIABILITY FOR ANY ERRORS OR
  12. ** OMMISSIONS.
  13. **
  14. ** \note Do not modify this file as it is generated automatically.
  15. **
  16. ******************************************************************************/
  17. #ifndef _GH_HDMI_H
  18. #define _GH_HDMI_H
  19. #ifdef __LINUX__
  20. #include "reg4linux.h"
  21. #else
  22. #define FIO_ADDRESS(block,address) (address)
  23. #define FIO_MOFFSET(block,moffset) (moffset)
  24. #endif
  25. #ifndef __LINUX__
  26. #include "gtypes.h" /* global type definitions */
  27. #include "gh_lib_cfg.h" /* configuration */
  28. #endif
  29. #define GH_HDMI_ENABLE_DEBUG_PRINT 0
  30. #ifdef __LINUX__
  31. #define GH_HDMI_DEBUG_PRINT_FUNCTION printk
  32. #else
  33. #define GH_HDMI_DEBUG_PRINT_FUNCTION printf
  34. #endif
  35. #ifndef __LINUX__
  36. #if GH_HDMI_ENABLE_DEBUG_PRINT
  37. #include <stdio.h>
  38. #endif
  39. #endif
  40. /*----------------------------------------------------------------------------*/
  41. /* registers */
  42. /*----------------------------------------------------------------------------*/
  43. #define REG_HDMI_INT_ENABLE FIO_ADDRESS(HDMI,0x90013000) /* read/write */
  44. #define REG_HDMI_INT_STS FIO_ADDRESS(HDMI,0x90013004) /* read */
  45. #define REG_HDMI_OP_MODE FIO_ADDRESS(HDMI,0x90013008) /* read/write */
  46. #define REG_HDMI_CLOCK_GATED FIO_ADDRESS(HDMI,0x9001300C) /* read/write */
  47. #define REG_HDMI_HDMISE_SOFT_RESETN FIO_ADDRESS(HDMI,0x90013010) /* read/write */
  48. #define REG_HDMI_STS FIO_ADDRESS(HDMI,0x90013104) /* read/write */
  49. #define REG_HDMI_AUNIT_MCLK FIO_ADDRESS(HDMI,0x90013100) /* read/write */
  50. #define REG_HDMI_AUNIT_NCTS_CTRL FIO_ADDRESS(HDMI,0x90013104) /* read/write */
  51. #define REG_HDMI_AUNIT_N FIO_ADDRESS(HDMI,0x90013108) /* read/write */
  52. #define REG_HDMI_AUNIT_CTS FIO_ADDRESS(HDMI,0x9001310C) /* read/write */
  53. #define REG_HDMI_AUNIT_SRC FIO_ADDRESS(HDMI,0x90013110) /* read/write */
  54. #define REG_HDMI_AUNIT_CS0 FIO_ADDRESS(HDMI,0x90013114) /* read/write */
  55. #define REG_HDMI_AUNIT_CS1 FIO_ADDRESS(HDMI,0x90013118) /* read/write */
  56. #define REG_HDMI_AUNIT_CS2 FIO_ADDRESS(HDMI,0x9001311C) /* read/write */
  57. #define REG_HDMI_AUNIT_CS3 FIO_ADDRESS(HDMI,0x90013120) /* read/write */
  58. #define REG_HDMI_AUNIT_CS4 FIO_ADDRESS(HDMI,0x90013124) /* read/write */
  59. #define REG_HDMI_AUNIT_CS5 FIO_ADDRESS(HDMI,0x90013128) /* read/write */
  60. #define REG_HDMI_AUNIT_LAYOUT FIO_ADDRESS(HDMI,0x9001312C) /* read/write */
  61. #define REG_HDMI_PACKET_TX_CTRL FIO_ADDRESS(HDMI,0x90013130) /* read/write */
  62. #define REG_HDMI_PACKET_GENERAL_CTRL FIO_ADDRESS(HDMI,0x90013134) /* read/write */
  63. #define REG_HDMI_PACKET0 FIO_ADDRESS(HDMI,0x90013138) /* read/write */
  64. #define REG_HDMI_PACKET1 FIO_ADDRESS(HDMI,0x9001313C) /* read/write */
  65. #define REG_HDMI_PACKET2 FIO_ADDRESS(HDMI,0x90013140) /* read/write */
  66. #define REG_HDMI_PACKET3 FIO_ADDRESS(HDMI,0x90013144) /* read/write */
  67. #define REG_HDMI_PACKET4 FIO_ADDRESS(HDMI,0x90013148) /* read/write */
  68. #define REG_HDMI_PACKET5 FIO_ADDRESS(HDMI,0x9001314C) /* read/write */
  69. #define REG_HDMI_PACKET6 FIO_ADDRESS(HDMI,0x90013150) /* read/write */
  70. #define REG_HDMI_PACKET7 FIO_ADDRESS(HDMI,0x90013154) /* read/write */
  71. #define REG_HDMI_PACKET8 FIO_ADDRESS(HDMI,0x90013158) /* read/write */
  72. #define REG_HDMI_I2S_MODE FIO_ADDRESS(HDMI,0x90013258) /* read/write */
  73. #define REG_HDMI_I2S_RX_CTRL FIO_ADDRESS(HDMI,0x9001325C) /* read/write */
  74. #define REG_HDMI_I2S_WLEN FIO_ADDRESS(HDMI,0x90013260) /* read/write */
  75. #define REG_HDMI_I2S_WPOS FIO_ADDRESS(HDMI,0x90013264) /* read/write */
  76. #define REG_HDMI_I2S_SLOT FIO_ADDRESS(HDMI,0x90013268) /* read/write */
  77. #define REG_HDMI_I2S_RX_FIFO_GTH FIO_ADDRESS(HDMI,0x9001326C) /* read/write */
  78. #define REG_HDMI_I2S_CLOCK FIO_ADDRESS(HDMI,0x90013270) /* read/write */
  79. #define REG_HDMI_I2S_INIT FIO_ADDRESS(HDMI,0x90013274) /* read/write */
  80. #define REG_HDMI_I2S_RX_DATA FIO_ADDRESS(HDMI,0x90013278) /* read/write */
  81. #define REG_HDMI_I2S_FIFO_CNTR FIO_ADDRESS(HDMI,0x90013284) /* read/write */
  82. #define REG_HDMI_I2S_GATE_OFF FIO_ADDRESS(HDMI,0x90013288) /* read/write */
  83. #define REG_HDMI_PACKET_MISC FIO_ADDRESS(HDMI,0x9001328C) /* read/write */
  84. #define REG_HDMI_VUNIT_VBLANK FIO_ADDRESS(HDMI,0x90013290) /* read/write */
  85. #define REG_HDMI_VUNIT_HBLANK FIO_ADDRESS(HDMI,0x90013294) /* read/write */
  86. #define REG_HDMI_VUNIT_VACTIVE FIO_ADDRESS(HDMI,0x90013298) /* read/write */
  87. #define REG_HDMI_VUNIT_HACTIVE FIO_ADDRESS(HDMI,0x9001329C) /* read/write */
  88. #define REG_HDMI_VUNIT_CTRL FIO_ADDRESS(HDMI,0x900132A0) /* read/write */
  89. #define REG_HDMI_VUNIT_VSYNC_DETECT FIO_ADDRESS(HDMI,0x900132A4) /* read/write */
  90. #define REG_HDMI_HDMISE_TM FIO_ADDRESS(HDMI,0x900132A8) /* read/write */
  91. #define REG_HDMI_P2P_AFIFO_LEVEL FIO_ADDRESS(HDMI,0x900132AC) /* read/write */
  92. #define REG_HDMI_P2P_AFIFO_CTRL FIO_ADDRESS(HDMI,0x900132B0) /* read/write */
  93. #define REG_HDMI_HDMISE_DBG FIO_ADDRESS(HDMI,0x900132B4) /* read/write */
  94. #define REG_HDMI_HDMI_PHY_CTRL FIO_ADDRESS(HDMI,0x90013600) /* read/write */
  95. /*----------------------------------------------------------------------------*/
  96. /* bit group structures */
  97. /*----------------------------------------------------------------------------*/
  98. typedef union { /* HDMI_INT_ENABLE */
  99. U32 all;
  100. struct {
  101. U32 vsync_active_detect_en : 1;
  102. U32 hot_plug_detect_en : 1;
  103. U32 hot_plug_loss_en : 1;
  104. U32 cec_rx_interrupt_en : 1;
  105. U32 cec_tx_interrupt_fail_en : 1;
  106. U32 cec_tx_interrupt_ok_en : 1;
  107. U32 : 7;
  108. U32 phy_rx_sense_en : 1;
  109. U32 i2s_rx_fifo_empty_en : 1;
  110. U32 i2s_rx_fifo_full_en : 1;
  111. U32 i2s_rx_fifo_over_en : 1;
  112. U32 i2s_rx_gth_valid_en : 1;
  113. U32 i2s_rx_idle_en : 1;
  114. U32 cts_change_en : 1;
  115. U32 p2p_wfull_en : 1;
  116. U32 p2p_rempty_en : 1;
  117. U32 p2p_below_lb_en : 1;
  118. U32 p2p_exceed_ub_en : 1;
  119. U32 hdmise_idle_en : 1;
  120. U32 phy_rx_sense_remove_en : 1;
  121. U32 : 6;
  122. } bitc;
  123. } GH_HDMI_INT_ENABLE_S;
  124. typedef union { /* HDMI_INT_STS */
  125. U32 all;
  126. struct {
  127. U32 vsync_active_detect : 1;
  128. U32 hot_plug_detect : 1;
  129. U32 hot_plug_loss : 1;
  130. U32 cec_rx_interrupt : 1;
  131. U32 cec_tx_interrupt_fail : 1;
  132. U32 cec_tx_interrupt_ok : 1;
  133. U32 : 7;
  134. U32 phy_rx_sense : 1;
  135. U32 i2s_rx_fifo_empty : 1;
  136. U32 i2s_rx_fifo_full : 1;
  137. U32 i2s_rx_fifo_over : 1;
  138. U32 i2s_rx_gth_valid : 1;
  139. U32 i2s_rx_idle : 1;
  140. U32 cts_change : 1;
  141. U32 p2p_wfull : 1;
  142. U32 p2p_rempty : 1;
  143. U32 p2p_below_lb : 1;
  144. U32 p2p_exceed_ub : 1;
  145. U32 hdmise_idle : 1;
  146. U32 phy_rx_sense_remove : 1;
  147. U32 : 6;
  148. } bitc;
  149. } GH_HDMI_INT_STS_S;
  150. typedef union { /* HDMI_OP_MODE */
  151. U32 all;
  152. struct {
  153. U32 op_mode : 1;
  154. U32 op_en : 1;
  155. U32 : 30;
  156. } bitc;
  157. } GH_HDMI_OP_MODE_S;
  158. typedef union { /* HDMI_CLOCK_GATED */
  159. U32 all;
  160. struct {
  161. U32 hdmise_clock_en : 1;
  162. U32 : 1;
  163. U32 cec_clock_en : 1;
  164. U32 : 29;
  165. } bitc;
  166. } GH_HDMI_CLOCK_GATED_S;
  167. typedef union { /* HDMI_HDMISE_SOFT_RESETN */
  168. U32 all;
  169. struct {
  170. U32 hdmise_soft_resetn : 1;
  171. U32 : 31;
  172. } bitc;
  173. } GH_HDMI_HDMISE_SOFT_RESETN_S;
  174. typedef union { /* HDMI_AUNIT_MCLK */
  175. U32 all;
  176. struct {
  177. U32 mclk_conf : 3;
  178. U32 : 29;
  179. } bitc;
  180. } GH_HDMI_AUNIT_MCLK_S;
  181. typedef union { /* HDMI_AUNIT_NCTS_CTRL */
  182. U32 all;
  183. struct {
  184. U32 cts_sel : 1;
  185. U32 ncts_en : 1;
  186. U32 : 30;
  187. } bitc;
  188. } GH_HDMI_AUNIT_NCTS_CTRL_S;
  189. typedef union { /* HDMI_AUNIT_N */
  190. U32 all;
  191. struct {
  192. U32 aunit_n : 20;
  193. U32 : 12;
  194. } bitc;
  195. } GH_HDMI_AUNIT_N_S;
  196. typedef union { /* HDMI_AUNIT_CTS */
  197. U32 all;
  198. struct {
  199. U32 aunit_cts : 20;
  200. U32 : 12;
  201. } bitc;
  202. } GH_HDMI_AUNIT_CTS_S;
  203. typedef union { /* HDMI_AUNIT_SRC */
  204. U32 all;
  205. struct {
  206. U32 i2s0_en : 1;
  207. U32 i2s1_en : 1;
  208. U32 i2s2_en : 1;
  209. U32 flat_line0 : 1;
  210. U32 flat_line1 : 1;
  211. U32 flat_line2 : 1;
  212. U32 : 26;
  213. } bitc;
  214. } GH_HDMI_AUNIT_SRC_S;
  215. typedef union { /* HDMI_AUNIT_LAYOUT */
  216. U32 all;
  217. struct {
  218. U32 layout : 1;
  219. U32 : 31;
  220. } bitc;
  221. } GH_HDMI_AUNIT_LAYOUT_S;
  222. typedef union { /* HDMI_PACKET_TX_CTRL */
  223. U32 all;
  224. struct {
  225. U32 gen_en : 1;
  226. U32 gen_rpt : 1;
  227. U32 acp_en : 1;
  228. U32 acp_rpt : 1;
  229. U32 isrc_en : 1;
  230. U32 isrc_rpt : 1;
  231. U32 avi_en : 1;
  232. U32 avi_rpt : 1;
  233. U32 spd_en : 1;
  234. U32 spd_rpt : 1;
  235. U32 aud_en : 1;
  236. U32 aud_rpt : 1;
  237. U32 mpeg_en : 1;
  238. U32 mpeg_rpt : 1;
  239. U32 gamut_en : 1;
  240. U32 gamut_rpt : 1;
  241. U32 : 15;
  242. U32 buf_switch_en : 1;
  243. } bitc;
  244. } GH_HDMI_PACKET_TX_CTRL_S;
  245. typedef union { /* HDMI_PACKET_GENERAL_CTRL */
  246. U32 all;
  247. struct {
  248. U32 set_avmute : 1;
  249. U32 : 3;
  250. U32 clr_avmute : 1;
  251. U32 : 3;
  252. U32 cd : 4;
  253. U32 pp : 4;
  254. U32 def_phase : 1;
  255. U32 : 15;
  256. } bitc;
  257. } GH_HDMI_PACKET_GENERAL_CTRL_S;
  258. typedef union { /* HDMI_PACKET0 */
  259. U32 all;
  260. struct {
  261. U32 acp_hb0 : 8;
  262. U32 acp_hb1 : 8;
  263. U32 acp_hb2 : 8;
  264. U32 : 8;
  265. } bitc;
  266. } GH_HDMI_PACKET0_S;
  267. typedef union { /* HDMI_PACKET1 */
  268. U32 all;
  269. struct {
  270. U32 acp_pb0 : 8;
  271. U32 acp_pb1 : 8;
  272. U32 acp_pb2 : 8;
  273. U32 acp_pb3 : 8;
  274. } bitc;
  275. } GH_HDMI_PACKET1_S;
  276. typedef union { /* HDMI_PACKET2 */
  277. U32 all;
  278. struct {
  279. U32 acp_pb4 : 8;
  280. U32 acp_pb5 : 8;
  281. U32 acp_pb6 : 8;
  282. U32 : 8;
  283. } bitc;
  284. } GH_HDMI_PACKET2_S;
  285. typedef union { /* HDMI_PACKET3 */
  286. U32 all;
  287. struct {
  288. U32 acp_pb7 : 8;
  289. U32 acp_pb8 : 8;
  290. U32 acp_pb9 : 8;
  291. U32 acp_pb10 : 8;
  292. } bitc;
  293. } GH_HDMI_PACKET3_S;
  294. typedef union { /* HDMI_PACKET4 */
  295. U32 all;
  296. struct {
  297. U32 acp_pb11 : 8;
  298. U32 acp_pb12 : 8;
  299. U32 acp_pb13 : 8;
  300. U32 : 8;
  301. } bitc;
  302. } GH_HDMI_PACKET4_S;
  303. typedef union { /* HDMI_PACKET5 */
  304. U32 all;
  305. struct {
  306. U32 acp_pb14 : 8;
  307. U32 acp_pb15 : 8;
  308. U32 acp_pb16 : 8;
  309. U32 acp_pb17 : 8;
  310. } bitc;
  311. } GH_HDMI_PACKET5_S;
  312. typedef union { /* HDMI_PACKET6 */
  313. U32 all;
  314. struct {
  315. U32 acp_pb18 : 8;
  316. U32 acp_pb19 : 8;
  317. U32 acp_pb20 : 8;
  318. U32 : 8;
  319. } bitc;
  320. } GH_HDMI_PACKET6_S;
  321. typedef union { /* HDMI_PACKET7 */
  322. U32 all;
  323. struct {
  324. U32 acp_pb21 : 8;
  325. U32 acp_pb22 : 8;
  326. U32 acp_pb23 : 8;
  327. U32 acp_pb24 : 8;
  328. } bitc;
  329. } GH_HDMI_PACKET7_S;
  330. typedef union { /* HDMI_PACKET8 */
  331. U32 all;
  332. struct {
  333. U32 acp_pb25 : 8;
  334. U32 acp_pb26 : 8;
  335. U32 acp_pb27 : 8;
  336. U32 : 8;
  337. } bitc;
  338. } GH_HDMI_PACKET8_S;
  339. typedef union { /* HDMI_I2S_MODE */
  340. U32 all;
  341. struct {
  342. U32 dai_mode : 3;
  343. U32 : 29;
  344. } bitc;
  345. } GH_HDMI_I2S_MODE_S;
  346. typedef union { /* HDMI_I2S_RX_CTRL */
  347. U32 all;
  348. struct {
  349. U32 rx_ws_inv : 1;
  350. U32 rx_ws_mst : 1;
  351. U32 rx_ord : 1;
  352. U32 : 29;
  353. } bitc;
  354. } GH_HDMI_I2S_RX_CTRL_S;
  355. typedef union { /* HDMI_I2S_WLEN */
  356. U32 all;
  357. struct {
  358. U32 dai_wlen : 5;
  359. U32 : 27;
  360. } bitc;
  361. } GH_HDMI_I2S_WLEN_S;
  362. typedef union { /* HDMI_I2S_WPOS */
  363. U32 all;
  364. struct {
  365. U32 dai_wpos : 5;
  366. U32 : 27;
  367. } bitc;
  368. } GH_HDMI_I2S_WPOS_S;
  369. typedef union { /* HDMI_I2S_SLOT */
  370. U32 all;
  371. struct {
  372. U32 dai_slot : 5;
  373. U32 : 27;
  374. } bitc;
  375. } GH_HDMI_I2S_SLOT_S;
  376. typedef union { /* HDMI_I2S_RX_FIFO_GTH */
  377. U32 all;
  378. struct {
  379. U32 rx_fifo_gth : 8;
  380. U32 : 24;
  381. } bitc;
  382. } GH_HDMI_I2S_RX_FIFO_GTH_S;
  383. typedef union { /* HDMI_I2S_CLOCK */
  384. U32 all;
  385. struct {
  386. U32 : 5;
  387. U32 rx_scp : 1;
  388. U32 : 26;
  389. } bitc;
  390. } GH_HDMI_I2S_CLOCK_S;
  391. typedef union { /* HDMI_I2S_INIT */
  392. U32 all;
  393. struct {
  394. U32 dai_reset : 1;
  395. U32 rx_enable : 1;
  396. U32 : 30;
  397. } bitc;
  398. } GH_HDMI_I2S_INIT_S;
  399. typedef union { /* HDMI_I2S_RX_DATA */
  400. U32 all;
  401. struct {
  402. U32 rx_fifo_dout : 24;
  403. U32 : 8;
  404. } bitc;
  405. } GH_HDMI_I2S_RX_DATA_S;
  406. typedef union { /* HDMI_I2S_FIFO_CNTR */
  407. U32 all;
  408. struct {
  409. U32 rx_fifo_cntr : 8;
  410. U32 : 24;
  411. } bitc;
  412. } GH_HDMI_I2S_FIFO_CNTR_S;
  413. typedef union { /* HDMI_I2S_GATE_OFF */
  414. U32 all;
  415. struct {
  416. U32 gate_off_en : 1;
  417. U32 : 31;
  418. } bitc;
  419. } GH_HDMI_I2S_GATE_OFF_S;
  420. typedef union { /* HDMI_PACKET_MISC */
  421. U32 all;
  422. struct {
  423. U32 left_valid_bit : 1;
  424. U32 right_valid_bit : 1;
  425. U32 spd_send_ctrl : 1;
  426. U32 cts_sw_mode : 1;
  427. U32 ncts_priority : 1;
  428. U32 i2s_rx_mode : 1;
  429. U32 : 26;
  430. } bitc;
  431. } GH_HDMI_PACKET_MISC_S;
  432. typedef union { /* HDMI_VUNIT_VBLANK */
  433. U32 all;
  434. struct {
  435. U32 vblank_right_offset : 6;
  436. U32 vblank_pulse_width : 6;
  437. U32 vblank_left_offset : 6;
  438. U32 : 14;
  439. } bitc;
  440. } GH_HDMI_VUNIT_VBLANK_S;
  441. typedef union { /* HDMI_VUNIT_HBLANK */
  442. U32 all;
  443. struct {
  444. U32 hblank_right_offset : 10;
  445. U32 hblank_pulse_width : 10;
  446. U32 hblank_left_offset : 10;
  447. U32 : 2;
  448. } bitc;
  449. } GH_HDMI_VUNIT_HBLANK_S;
  450. typedef union { /* HDMI_VUNIT_VACTIVE */
  451. U32 all;
  452. struct {
  453. U32 vunit_vactive : 11;
  454. U32 : 21;
  455. } bitc;
  456. } GH_HDMI_VUNIT_VACTIVE_S;
  457. typedef union { /* HDMI_VUNIT_HACTIVE */
  458. U32 all;
  459. struct {
  460. U32 vunit_hactive : 12;
  461. U32 : 20;
  462. } bitc;
  463. } GH_HDMI_VUNIT_HACTIVE_S;
  464. typedef union { /* HDMI_VUNIT_CTRL */
  465. U32 all;
  466. struct {
  467. U32 vsync_pol : 1;
  468. U32 hsync_pol : 1;
  469. U32 video_mode : 1;
  470. U32 : 29;
  471. } bitc;
  472. } GH_HDMI_VUNIT_CTRL_S;
  473. typedef union { /* HDMI_VUNIT_VSYNC_DETECT */
  474. U32 all;
  475. struct {
  476. U32 vsync_detect_en : 1;
  477. U32 : 31;
  478. } bitc;
  479. } GH_HDMI_VUNIT_VSYNC_DETECT_S;
  480. typedef union { /* HDMI_HDMISE_TM */
  481. U32 all;
  482. struct {
  483. U32 i2s_dout_mode : 1;
  484. U32 vdata_src_mode : 1;
  485. U32 video_pattern_mode : 1;
  486. U32 adata_src_mode : 1;
  487. U32 : 4;
  488. U32 bg_b : 8;
  489. U32 bg_g : 8;
  490. U32 bg_r : 8;
  491. } bitc;
  492. } GH_HDMI_HDMISE_TM_S;
  493. typedef union { /* HDMI_P2P_AFIFO_LEVEL */
  494. U32 all;
  495. struct {
  496. U32 p2p_afifo_level : 5;
  497. U32 p2p_afifo_min_level : 5;
  498. U32 p2p_afifo_max_level : 5;
  499. U32 p2p_afifo_lb : 4;
  500. U32 p2p_afifo_ub : 4;
  501. U32 : 9;
  502. } bitc;
  503. } GH_HDMI_P2P_AFIFO_LEVEL_S;
  504. typedef union { /* HDMI_P2P_AFIFO_CTRL */
  505. U32 all;
  506. struct {
  507. U32 p2p_afifo_en : 1;
  508. U32 : 31;
  509. } bitc;
  510. } GH_HDMI_P2P_AFIFO_CTRL_S;
  511. typedef union { /* HDMI_HDMISE_DBG */
  512. U32 all;
  513. struct {
  514. U32 dbg_p2p_afifo_bypass : 1;
  515. U32 dbg_vdata_src_mode : 1;
  516. U32 : 2;
  517. U32 dbg_ch_b_rev : 1;
  518. U32 dbg_ch_g_rev : 1;
  519. U32 dbg_ch_r_rev : 1;
  520. U32 : 1;
  521. U32 dbg_ch_swp : 3;
  522. U32 : 21;
  523. } bitc;
  524. } GH_HDMI_HDMISE_DBG_S;
  525. typedef union { /* HDMI_HDMI_PHY_CTRL */
  526. U32 all;
  527. struct {
  528. U32 rstnd_hdmi : 1;
  529. U32 pib : 2;
  530. U32 pes : 2;
  531. U32 pdb_hdmi : 1;
  532. U32 pd_bg : 1;
  533. U32 : 25;
  534. } bitc;
  535. } GH_HDMI_HDMI_PHY_CTRL_S;
  536. /*----------------------------------------------------------------------------*/
  537. /* mirror variables */
  538. /*----------------------------------------------------------------------------*/
  539. #ifdef __cplusplus
  540. extern "C" {
  541. #endif
  542. /*----------------------------------------------------------------------------*/
  543. /* register HDMI_INT_ENABLE (read/write) */
  544. /*----------------------------------------------------------------------------*/
  545. /*! \brief Writes the register 'HDMI_INT_ENABLE'. */
  546. void GH_HDMI_set_INT_ENABLE(U32 data);
  547. /*! \brief Reads the register 'HDMI_INT_ENABLE'. */
  548. U32 GH_HDMI_get_INT_ENABLE(void);
  549. /*! \brief Writes the bit group 'VSYNC_ACTIVE_DETECT_EN' of register 'HDMI_INT_ENABLE'. */
  550. void GH_HDMI_set_INT_ENABLE_VSYNC_ACTIVE_DETECT_EN(U8 data);
  551. /*! \brief Reads the bit group 'VSYNC_ACTIVE_DETECT_EN' of register 'HDMI_INT_ENABLE'. */
  552. U8 GH_HDMI_get_INT_ENABLE_VSYNC_ACTIVE_DETECT_EN(void);
  553. /*! \brief Writes the bit group 'HOT_PLUG_DETECT_EN' of register 'HDMI_INT_ENABLE'. */
  554. void GH_HDMI_set_INT_ENABLE_HOT_PLUG_DETECT_EN(U8 data);
  555. /*! \brief Reads the bit group 'HOT_PLUG_DETECT_EN' of register 'HDMI_INT_ENABLE'. */
  556. U8 GH_HDMI_get_INT_ENABLE_HOT_PLUG_DETECT_EN(void);
  557. /*! \brief Writes the bit group 'HOT_PLUG_LOSS_EN' of register 'HDMI_INT_ENABLE'. */
  558. void GH_HDMI_set_INT_ENABLE_HOT_PLUG_LOSS_EN(U8 data);
  559. /*! \brief Reads the bit group 'HOT_PLUG_LOSS_EN' of register 'HDMI_INT_ENABLE'. */
  560. U8 GH_HDMI_get_INT_ENABLE_HOT_PLUG_LOSS_EN(void);
  561. /*! \brief Writes the bit group 'CEC_RX_INTERRUPT_EN' of register 'HDMI_INT_ENABLE'. */
  562. void GH_HDMI_set_INT_ENABLE_CEC_RX_INTERRUPT_EN(U8 data);
  563. /*! \brief Reads the bit group 'CEC_RX_INTERRUPT_EN' of register 'HDMI_INT_ENABLE'. */
  564. U8 GH_HDMI_get_INT_ENABLE_CEC_RX_INTERRUPT_EN(void);
  565. /*! \brief Writes the bit group 'CEC_TX_INTERRUPT_FAIL_EN' of register 'HDMI_INT_ENABLE'. */
  566. void GH_HDMI_set_INT_ENABLE_CEC_TX_INTERRUPT_FAIL_EN(U8 data);
  567. /*! \brief Reads the bit group 'CEC_TX_INTERRUPT_FAIL_EN' of register 'HDMI_INT_ENABLE'. */
  568. U8 GH_HDMI_get_INT_ENABLE_CEC_TX_INTERRUPT_FAIL_EN(void);
  569. /*! \brief Writes the bit group 'CEC_TX_INTERRUPT_OK_EN' of register 'HDMI_INT_ENABLE'. */
  570. void GH_HDMI_set_INT_ENABLE_CEC_TX_INTERRUPT_OK_EN(U8 data);
  571. /*! \brief Reads the bit group 'CEC_TX_INTERRUPT_OK_EN' of register 'HDMI_INT_ENABLE'. */
  572. U8 GH_HDMI_get_INT_ENABLE_CEC_TX_INTERRUPT_OK_EN(void);
  573. /*! \brief Writes the bit group 'PHY_RX_SENSE_EN' of register 'HDMI_INT_ENABLE'. */
  574. void GH_HDMI_set_INT_ENABLE_PHY_RX_SENSE_EN(U8 data);
  575. /*! \brief Reads the bit group 'PHY_RX_SENSE_EN' of register 'HDMI_INT_ENABLE'. */
  576. U8 GH_HDMI_get_INT_ENABLE_PHY_RX_SENSE_EN(void);
  577. /*! \brief Writes the bit group 'I2S_RX_FIFO_EMPTY_EN' of register 'HDMI_INT_ENABLE'. */
  578. void GH_HDMI_set_INT_ENABLE_I2S_RX_FIFO_EMPTY_EN(U8 data);
  579. /*! \brief Reads the bit group 'I2S_RX_FIFO_EMPTY_EN' of register 'HDMI_INT_ENABLE'. */
  580. U8 GH_HDMI_get_INT_ENABLE_I2S_RX_FIFO_EMPTY_EN(void);
  581. /*! \brief Writes the bit group 'I2S_RX_FIFO_FULL_EN' of register 'HDMI_INT_ENABLE'. */
  582. void GH_HDMI_set_INT_ENABLE_I2S_RX_FIFO_FULL_EN(U8 data);
  583. /*! \brief Reads the bit group 'I2S_RX_FIFO_FULL_EN' of register 'HDMI_INT_ENABLE'. */
  584. U8 GH_HDMI_get_INT_ENABLE_I2S_RX_FIFO_FULL_EN(void);
  585. /*! \brief Writes the bit group 'I2S_RX_FIFO_OVER_EN' of register 'HDMI_INT_ENABLE'. */
  586. void GH_HDMI_set_INT_ENABLE_I2S_RX_FIFO_OVER_EN(U8 data);
  587. /*! \brief Reads the bit group 'I2S_RX_FIFO_OVER_EN' of register 'HDMI_INT_ENABLE'. */
  588. U8 GH_HDMI_get_INT_ENABLE_I2S_RX_FIFO_OVER_EN(void);
  589. /*! \brief Writes the bit group 'I2S_RX_GTH_VALID_EN' of register 'HDMI_INT_ENABLE'. */
  590. void GH_HDMI_set_INT_ENABLE_I2S_RX_GTH_VALID_EN(U8 data);
  591. /*! \brief Reads the bit group 'I2S_RX_GTH_VALID_EN' of register 'HDMI_INT_ENABLE'. */
  592. U8 GH_HDMI_get_INT_ENABLE_I2S_RX_GTH_VALID_EN(void);
  593. /*! \brief Writes the bit group 'I2S_RX_IDLE_EN' of register 'HDMI_INT_ENABLE'. */
  594. void GH_HDMI_set_INT_ENABLE_I2S_RX_IDLE_EN(U8 data);
  595. /*! \brief Reads the bit group 'I2S_RX_IDLE_EN' of register 'HDMI_INT_ENABLE'. */
  596. U8 GH_HDMI_get_INT_ENABLE_I2S_RX_IDLE_EN(void);
  597. /*! \brief Writes the bit group 'CTS_CHANGE_EN' of register 'HDMI_INT_ENABLE'. */
  598. void GH_HDMI_set_INT_ENABLE_CTS_CHANGE_EN(U8 data);
  599. /*! \brief Reads the bit group 'CTS_CHANGE_EN' of register 'HDMI_INT_ENABLE'. */
  600. U8 GH_HDMI_get_INT_ENABLE_CTS_CHANGE_EN(void);
  601. /*! \brief Writes the bit group 'P2P_WFULL_EN' of register 'HDMI_INT_ENABLE'. */
  602. void GH_HDMI_set_INT_ENABLE_P2P_WFULL_EN(U8 data);
  603. /*! \brief Reads the bit group 'P2P_WFULL_EN' of register 'HDMI_INT_ENABLE'. */
  604. U8 GH_HDMI_get_INT_ENABLE_P2P_WFULL_EN(void);
  605. /*! \brief Writes the bit group 'P2P_REMPTY_EN' of register 'HDMI_INT_ENABLE'. */
  606. void GH_HDMI_set_INT_ENABLE_P2P_REMPTY_EN(U8 data);
  607. /*! \brief Reads the bit group 'P2P_REMPTY_EN' of register 'HDMI_INT_ENABLE'. */
  608. U8 GH_HDMI_get_INT_ENABLE_P2P_REMPTY_EN(void);
  609. /*! \brief Writes the bit group 'P2P_BELOW_LB_EN' of register 'HDMI_INT_ENABLE'. */
  610. void GH_HDMI_set_INT_ENABLE_P2P_BELOW_LB_EN(U8 data);
  611. /*! \brief Reads the bit group 'P2P_BELOW_LB_EN' of register 'HDMI_INT_ENABLE'. */
  612. U8 GH_HDMI_get_INT_ENABLE_P2P_BELOW_LB_EN(void);
  613. /*! \brief Writes the bit group 'P2P_EXCEED_UB_EN' of register 'HDMI_INT_ENABLE'. */
  614. void GH_HDMI_set_INT_ENABLE_P2P_EXCEED_UB_EN(U8 data);
  615. /*! \brief Reads the bit group 'P2P_EXCEED_UB_EN' of register 'HDMI_INT_ENABLE'. */
  616. U8 GH_HDMI_get_INT_ENABLE_P2P_EXCEED_UB_EN(void);
  617. /*! \brief Writes the bit group 'HDMISE_IDLE_EN' of register 'HDMI_INT_ENABLE'. */
  618. void GH_HDMI_set_INT_ENABLE_HDMISE_IDLE_EN(U8 data);
  619. /*! \brief Reads the bit group 'HDMISE_IDLE_EN' of register 'HDMI_INT_ENABLE'. */
  620. U8 GH_HDMI_get_INT_ENABLE_HDMISE_IDLE_EN(void);
  621. /*! \brief Writes the bit group 'PHY_RX_SENSE_REMOVE_EN' of register 'HDMI_INT_ENABLE'. */
  622. void GH_HDMI_set_INT_ENABLE_PHY_RX_SENSE_REMOVE_EN(U8 data);
  623. /*! \brief Reads the bit group 'PHY_RX_SENSE_REMOVE_EN' of register 'HDMI_INT_ENABLE'. */
  624. U8 GH_HDMI_get_INT_ENABLE_PHY_RX_SENSE_REMOVE_EN(void);
  625. /*----------------------------------------------------------------------------*/
  626. /* register HDMI_INT_STS (read) */
  627. /*----------------------------------------------------------------------------*/
  628. /*! \brief Reads the register 'HDMI_INT_STS'. */
  629. U32 GH_HDMI_get_INT_STS(void);
  630. /*! \brief Reads the bit group 'VSYNC_ACTIVE_DETECT' of register 'HDMI_INT_STS'. */
  631. U8 GH_HDMI_get_INT_STS_VSYNC_ACTIVE_DETECT(void);
  632. /*! \brief Reads the bit group 'HOT_PLUG_DETECT' of register 'HDMI_INT_STS'. */
  633. U8 GH_HDMI_get_INT_STS_HOT_PLUG_DETECT(void);
  634. /*! \brief Reads the bit group 'HOT_PLUG_LOSS' of register 'HDMI_INT_STS'. */
  635. U8 GH_HDMI_get_INT_STS_HOT_PLUG_LOSS(void);
  636. /*! \brief Reads the bit group 'CEC_RX_INTERRUPT' of register 'HDMI_INT_STS'. */
  637. U8 GH_HDMI_get_INT_STS_CEC_RX_INTERRUPT(void);
  638. /*! \brief Reads the bit group 'CEC_TX_INTERRUPT_FAIL' of register 'HDMI_INT_STS'. */
  639. U8 GH_HDMI_get_INT_STS_CEC_TX_INTERRUPT_FAIL(void);
  640. /*! \brief Reads the bit group 'CEC_TX_INTERRUPT_OK' of register 'HDMI_INT_STS'. */
  641. U8 GH_HDMI_get_INT_STS_CEC_TX_INTERRUPT_OK(void);
  642. /*! \brief Reads the bit group 'PHY_RX_SENSE' of register 'HDMI_INT_STS'. */
  643. U8 GH_HDMI_get_INT_STS_PHY_RX_SENSE(void);
  644. /*! \brief Reads the bit group 'I2S_RX_FIFO_EMPTY' of register 'HDMI_INT_STS'. */
  645. U8 GH_HDMI_get_INT_STS_I2S_RX_FIFO_EMPTY(void);
  646. /*! \brief Reads the bit group 'I2S_RX_FIFO_FULL' of register 'HDMI_INT_STS'. */
  647. U8 GH_HDMI_get_INT_STS_I2S_RX_FIFO_FULL(void);
  648. /*! \brief Reads the bit group 'I2S_RX_FIFO_OVER' of register 'HDMI_INT_STS'. */
  649. U8 GH_HDMI_get_INT_STS_I2S_RX_FIFO_OVER(void);
  650. /*! \brief Reads the bit group 'I2S_RX_GTH_VALID' of register 'HDMI_INT_STS'. */
  651. U8 GH_HDMI_get_INT_STS_I2S_RX_GTH_VALID(void);
  652. /*! \brief Reads the bit group 'I2S_RX_IDLE' of register 'HDMI_INT_STS'. */
  653. U8 GH_HDMI_get_INT_STS_I2S_RX_IDLE(void);
  654. /*! \brief Reads the bit group 'CTS_CHANGE' of register 'HDMI_INT_STS'. */
  655. U8 GH_HDMI_get_INT_STS_CTS_CHANGE(void);
  656. /*! \brief Reads the bit group 'P2P_WFULL' of register 'HDMI_INT_STS'. */
  657. U8 GH_HDMI_get_INT_STS_P2P_WFULL(void);
  658. /*! \brief Reads the bit group 'P2P_REMPTY' of register 'HDMI_INT_STS'. */
  659. U8 GH_HDMI_get_INT_STS_P2P_REMPTY(void);
  660. /*! \brief Reads the bit group 'P2P_BELOW_LB' of register 'HDMI_INT_STS'. */
  661. U8 GH_HDMI_get_INT_STS_P2P_BELOW_LB(void);
  662. /*! \brief Reads the bit group 'P2P_EXCEED_UB' of register 'HDMI_INT_STS'. */
  663. U8 GH_HDMI_get_INT_STS_P2P_EXCEED_UB(void);
  664. /*! \brief Reads the bit group 'HDMISE_IDLE' of register 'HDMI_INT_STS'. */
  665. U8 GH_HDMI_get_INT_STS_HDMISE_IDLE(void);
  666. /*! \brief Reads the bit group 'PHY_RX_SENSE_REMOVE' of register 'HDMI_INT_STS'. */
  667. U8 GH_HDMI_get_INT_STS_PHY_RX_SENSE_REMOVE(void);
  668. /*----------------------------------------------------------------------------*/
  669. /* register HDMI_OP_MODE (read/write) */
  670. /*----------------------------------------------------------------------------*/
  671. /*! \brief Writes the register 'HDMI_OP_MODE'. */
  672. void GH_HDMI_set_OP_MODE(U32 data);
  673. /*! \brief Reads the register 'HDMI_OP_MODE'. */
  674. U32 GH_HDMI_get_OP_MODE(void);
  675. /*! \brief Writes the bit group 'OP_MODE' of register 'HDMI_OP_MODE'. */
  676. void GH_HDMI_set_OP_MODE_OP_MODE(U8 data);
  677. /*! \brief Reads the bit group 'OP_MODE' of register 'HDMI_OP_MODE'. */
  678. U8 GH_HDMI_get_OP_MODE_OP_MODE(void);
  679. /*! \brief Writes the bit group 'OP_EN' of register 'HDMI_OP_MODE'. */
  680. void GH_HDMI_set_OP_MODE_OP_EN(U8 data);
  681. /*! \brief Reads the bit group 'OP_EN' of register 'HDMI_OP_MODE'. */
  682. U8 GH_HDMI_get_OP_MODE_OP_EN(void);
  683. /*----------------------------------------------------------------------------*/
  684. /* register HDMI_CLOCK_GATED (read/write) */
  685. /*----------------------------------------------------------------------------*/
  686. /*! \brief Writes the register 'HDMI_CLOCK_GATED'. */
  687. void GH_HDMI_set_CLOCK_GATED(U32 data);
  688. /*! \brief Reads the register 'HDMI_CLOCK_GATED'. */
  689. U32 GH_HDMI_get_CLOCK_GATED(void);
  690. /*! \brief Writes the bit group 'HDMISE_CLOCK_EN' of register 'HDMI_CLOCK_GATED'. */
  691. void GH_HDMI_set_CLOCK_GATED_HDMISE_CLOCK_EN(U8 data);
  692. /*! \brief Reads the bit group 'HDMISE_CLOCK_EN' of register 'HDMI_CLOCK_GATED'. */
  693. U8 GH_HDMI_get_CLOCK_GATED_HDMISE_CLOCK_EN(void);
  694. /*! \brief Writes the bit group 'CEC_CLOCK_EN' of register 'HDMI_CLOCK_GATED'. */
  695. void GH_HDMI_set_CLOCK_GATED_CEC_CLOCK_EN(U8 data);
  696. /*! \brief Reads the bit group 'CEC_CLOCK_EN' of register 'HDMI_CLOCK_GATED'. */
  697. U8 GH_HDMI_get_CLOCK_GATED_CEC_CLOCK_EN(void);
  698. /*----------------------------------------------------------------------------*/
  699. /* register HDMI_HDMISE_SOFT_RESETN (read/write) */
  700. /*----------------------------------------------------------------------------*/
  701. /*! \brief Writes the register 'HDMI_HDMISE_SOFT_RESETN'. */
  702. void GH_HDMI_set_HDMISE_SOFT_RESETN(U32 data);
  703. /*! \brief Reads the register 'HDMI_HDMISE_SOFT_RESETN'. */
  704. U32 GH_HDMI_get_HDMISE_SOFT_RESETN(void);
  705. /*! \brief Writes the bit group 'HDMISE_SOFT_RESETN' of register 'HDMI_HDMISE_SOFT_RESETN'. */
  706. void GH_HDMI_set_HDMISE_SOFT_RESETN_HDMISE_SOFT_RESETN(U8 data);
  707. /*! \brief Reads the bit group 'HDMISE_SOFT_RESETN' of register 'HDMI_HDMISE_SOFT_RESETN'. */
  708. U8 GH_HDMI_get_HDMISE_SOFT_RESETN_HDMISE_SOFT_RESETN(void);
  709. /*----------------------------------------------------------------------------*/
  710. /* register HDMI_STS (read/write) */
  711. /*----------------------------------------------------------------------------*/
  712. /*! \brief Writes the register 'HDMI_STS'. */
  713. void GH_HDMI_set_STS(U32 data);
  714. /*! \brief Reads the register 'HDMI_STS'. */
  715. U32 GH_HDMI_get_STS(void);
  716. /*----------------------------------------------------------------------------*/
  717. /* register HDMI_AUNIT_MCLK (read/write) */
  718. /*----------------------------------------------------------------------------*/
  719. /*! \brief Writes the register 'HDMI_AUNIT_MCLK'. */
  720. void GH_HDMI_set_AUNIT_MCLK(U32 data);
  721. /*! \brief Reads the register 'HDMI_AUNIT_MCLK'. */
  722. U32 GH_HDMI_get_AUNIT_MCLK(void);
  723. /*! \brief Writes the bit group 'MCLK_CONF' of register 'HDMI_AUNIT_MCLK'. */
  724. void GH_HDMI_set_AUNIT_MCLK_MCLK_CONF(U8 data);
  725. /*! \brief Reads the bit group 'MCLK_CONF' of register 'HDMI_AUNIT_MCLK'. */
  726. U8 GH_HDMI_get_AUNIT_MCLK_MCLK_CONF(void);
  727. /*----------------------------------------------------------------------------*/
  728. /* register HDMI_AUNIT_NCTS_CTRL (read/write) */
  729. /*----------------------------------------------------------------------------*/
  730. /*! \brief Writes the register 'HDMI_AUNIT_NCTS_CTRL'. */
  731. void GH_HDMI_set_AUNIT_NCTS_CTRL(U32 data);
  732. /*! \brief Reads the register 'HDMI_AUNIT_NCTS_CTRL'. */
  733. U32 GH_HDMI_get_AUNIT_NCTS_CTRL(void);
  734. /*! \brief Writes the bit group 'CTS_SEL' of register 'HDMI_AUNIT_NCTS_CTRL'. */
  735. void GH_HDMI_set_AUNIT_NCTS_CTRL_CTS_SEL(U8 data);
  736. /*! \brief Reads the bit group 'CTS_SEL' of register 'HDMI_AUNIT_NCTS_CTRL'. */
  737. U8 GH_HDMI_get_AUNIT_NCTS_CTRL_CTS_SEL(void);
  738. /*! \brief Writes the bit group 'NCTS_EN' of register 'HDMI_AUNIT_NCTS_CTRL'. */
  739. void GH_HDMI_set_AUNIT_NCTS_CTRL_NCTS_EN(U8 data);
  740. /*! \brief Reads the bit group 'NCTS_EN' of register 'HDMI_AUNIT_NCTS_CTRL'. */
  741. U8 GH_HDMI_get_AUNIT_NCTS_CTRL_NCTS_EN(void);
  742. /*----------------------------------------------------------------------------*/
  743. /* register HDMI_AUNIT_N (read/write) */
  744. /*----------------------------------------------------------------------------*/
  745. /*! \brief Writes the register 'HDMI_AUNIT_N'. */
  746. void GH_HDMI_set_AUNIT_N(U32 data);
  747. /*! \brief Reads the register 'HDMI_AUNIT_N'. */
  748. U32 GH_HDMI_get_AUNIT_N(void);
  749. /*! \brief Writes the bit group 'AUNIT_N' of register 'HDMI_AUNIT_N'. */
  750. void GH_HDMI_set_AUNIT_N_AUNIT_N(U32 data);
  751. /*! \brief Reads the bit group 'AUNIT_N' of register 'HDMI_AUNIT_N'. */
  752. U32 GH_HDMI_get_AUNIT_N_AUNIT_N(void);
  753. /*----------------------------------------------------------------------------*/
  754. /* register HDMI_AUNIT_CTS (read/write) */
  755. /*----------------------------------------------------------------------------*/
  756. /*! \brief Writes the register 'HDMI_AUNIT_CTS'. */
  757. void GH_HDMI_set_AUNIT_CTS(U32 data);
  758. /*! \brief Reads the register 'HDMI_AUNIT_CTS'. */
  759. U32 GH_HDMI_get_AUNIT_CTS(void);
  760. /*! \brief Writes the bit group 'AUNIT_CTS' of register 'HDMI_AUNIT_CTS'. */
  761. void GH_HDMI_set_AUNIT_CTS_AUNIT_CTS(U32 data);
  762. /*! \brief Reads the bit group 'AUNIT_CTS' of register 'HDMI_AUNIT_CTS'. */
  763. U32 GH_HDMI_get_AUNIT_CTS_AUNIT_CTS(void);
  764. /*----------------------------------------------------------------------------*/
  765. /* register HDMI_AUNIT_SRC (read/write) */
  766. /*----------------------------------------------------------------------------*/
  767. /*! \brief Writes the register 'HDMI_AUNIT_SRC'. */
  768. void GH_HDMI_set_AUNIT_SRC(U32 data);
  769. /*! \brief Reads the register 'HDMI_AUNIT_SRC'. */
  770. U32 GH_HDMI_get_AUNIT_SRC(void);
  771. /*! \brief Writes the bit group 'I2S0_EN' of register 'HDMI_AUNIT_SRC'. */
  772. void GH_HDMI_set_AUNIT_SRC_I2S0_EN(U8 data);
  773. /*! \brief Reads the bit group 'I2S0_EN' of register 'HDMI_AUNIT_SRC'. */
  774. U8 GH_HDMI_get_AUNIT_SRC_I2S0_EN(void);
  775. /*! \brief Writes the bit group 'I2S1_EN' of register 'HDMI_AUNIT_SRC'. */
  776. void GH_HDMI_set_AUNIT_SRC_I2S1_EN(U8 data);
  777. /*! \brief Reads the bit group 'I2S1_EN' of register 'HDMI_AUNIT_SRC'. */
  778. U8 GH_HDMI_get_AUNIT_SRC_I2S1_EN(void);
  779. /*! \brief Writes the bit group 'I2S2_EN' of register 'HDMI_AUNIT_SRC'. */
  780. void GH_HDMI_set_AUNIT_SRC_I2S2_EN(U8 data);
  781. /*! \brief Reads the bit group 'I2S2_EN' of register 'HDMI_AUNIT_SRC'. */
  782. U8 GH_HDMI_get_AUNIT_SRC_I2S2_EN(void);
  783. /*! \brief Writes the bit group 'FLAT_LINE0' of register 'HDMI_AUNIT_SRC'. */
  784. void GH_HDMI_set_AUNIT_SRC_FLAT_LINE0(U8 data);
  785. /*! \brief Reads the bit group 'FLAT_LINE0' of register 'HDMI_AUNIT_SRC'. */
  786. U8 GH_HDMI_get_AUNIT_SRC_FLAT_LINE0(void);
  787. /*! \brief Writes the bit group 'FLAT_LINE1' of register 'HDMI_AUNIT_SRC'. */
  788. void GH_HDMI_set_AUNIT_SRC_FLAT_LINE1(U8 data);
  789. /*! \brief Reads the bit group 'FLAT_LINE1' of register 'HDMI_AUNIT_SRC'. */
  790. U8 GH_HDMI_get_AUNIT_SRC_FLAT_LINE1(void);
  791. /*! \brief Writes the bit group 'FLAT_LINE2' of register 'HDMI_AUNIT_SRC'. */
  792. void GH_HDMI_set_AUNIT_SRC_FLAT_LINE2(U8 data);
  793. /*! \brief Reads the bit group 'FLAT_LINE2' of register 'HDMI_AUNIT_SRC'. */
  794. U8 GH_HDMI_get_AUNIT_SRC_FLAT_LINE2(void);
  795. /*----------------------------------------------------------------------------*/
  796. /* register HDMI_AUNIT_CS0 (read/write) */
  797. /*----------------------------------------------------------------------------*/
  798. /*! \brief Writes the register 'HDMI_AUNIT_CS0'. */
  799. void GH_HDMI_set_AUNIT_CS0(U32 data);
  800. /*! \brief Reads the register 'HDMI_AUNIT_CS0'. */
  801. U32 GH_HDMI_get_AUNIT_CS0(void);
  802. /*----------------------------------------------------------------------------*/
  803. /* register HDMI_AUNIT_CS1 (read/write) */
  804. /*----------------------------------------------------------------------------*/
  805. /*! \brief Writes the register 'HDMI_AUNIT_CS1'. */
  806. void GH_HDMI_set_AUNIT_CS1(U32 data);
  807. /*! \brief Reads the register 'HDMI_AUNIT_CS1'. */
  808. U32 GH_HDMI_get_AUNIT_CS1(void);
  809. /*----------------------------------------------------------------------------*/
  810. /* register HDMI_AUNIT_CS2 (read/write) */
  811. /*----------------------------------------------------------------------------*/
  812. /*! \brief Writes the register 'HDMI_AUNIT_CS2'. */
  813. void GH_HDMI_set_AUNIT_CS2(U32 data);
  814. /*! \brief Reads the register 'HDMI_AUNIT_CS2'. */
  815. U32 GH_HDMI_get_AUNIT_CS2(void);
  816. /*----------------------------------------------------------------------------*/
  817. /* register HDMI_AUNIT_CS3 (read/write) */
  818. /*----------------------------------------------------------------------------*/
  819. /*! \brief Writes the register 'HDMI_AUNIT_CS3'. */
  820. void GH_HDMI_set_AUNIT_CS3(U32 data);
  821. /*! \brief Reads the register 'HDMI_AUNIT_CS3'. */
  822. U32 GH_HDMI_get_AUNIT_CS3(void);
  823. /*----------------------------------------------------------------------------*/
  824. /* register HDMI_AUNIT_CS4 (read/write) */
  825. /*----------------------------------------------------------------------------*/
  826. /*! \brief Writes the register 'HDMI_AUNIT_CS4'. */
  827. void GH_HDMI_set_AUNIT_CS4(U32 data);
  828. /*! \brief Reads the register 'HDMI_AUNIT_CS4'. */
  829. U32 GH_HDMI_get_AUNIT_CS4(void);
  830. /*----------------------------------------------------------------------------*/
  831. /* register HDMI_AUNIT_CS5 (read/write) */
  832. /*----------------------------------------------------------------------------*/
  833. /*! \brief Writes the register 'HDMI_AUNIT_CS5'. */
  834. void GH_HDMI_set_AUNIT_CS5(U32 data);
  835. /*! \brief Reads the register 'HDMI_AUNIT_CS5'. */
  836. U32 GH_HDMI_get_AUNIT_CS5(void);
  837. /*----------------------------------------------------------------------------*/
  838. /* register HDMI_AUNIT_LAYOUT (read/write) */
  839. /*----------------------------------------------------------------------------*/
  840. /*! \brief Writes the register 'HDMI_AUNIT_LAYOUT'. */
  841. void GH_HDMI_set_AUNIT_LAYOUT(U32 data);
  842. /*! \brief Reads the register 'HDMI_AUNIT_LAYOUT'. */
  843. U32 GH_HDMI_get_AUNIT_LAYOUT(void);
  844. /*! \brief Writes the bit group 'LAYOUT' of register 'HDMI_AUNIT_LAYOUT'. */
  845. void GH_HDMI_set_AUNIT_LAYOUT_LAYOUT(U8 data);
  846. /*! \brief Reads the bit group 'LAYOUT' of register 'HDMI_AUNIT_LAYOUT'. */
  847. U8 GH_HDMI_get_AUNIT_LAYOUT_LAYOUT(void);
  848. /*----------------------------------------------------------------------------*/
  849. /* register HDMI_PACKET_TX_CTRL (read/write) */
  850. /*----------------------------------------------------------------------------*/
  851. /*! \brief Writes the register 'HDMI_PACKET_TX_CTRL'. */
  852. void GH_HDMI_set_PACKET_TX_CTRL(U32 data);
  853. /*! \brief Reads the register 'HDMI_PACKET_TX_CTRL'. */
  854. U32 GH_HDMI_get_PACKET_TX_CTRL(void);
  855. /*! \brief Writes the bit group 'GEN_EN' of register 'HDMI_PACKET_TX_CTRL'. */
  856. void GH_HDMI_set_PACKET_TX_CTRL_GEN_EN(U8 data);
  857. /*! \brief Reads the bit group 'GEN_EN' of register 'HDMI_PACKET_TX_CTRL'. */
  858. U8 GH_HDMI_get_PACKET_TX_CTRL_GEN_EN(void);
  859. /*! \brief Writes the bit group 'GEN_RPT' of register 'HDMI_PACKET_TX_CTRL'. */
  860. void GH_HDMI_set_PACKET_TX_CTRL_GEN_RPT(U8 data);
  861. /*! \brief Reads the bit group 'GEN_RPT' of register 'HDMI_PACKET_TX_CTRL'. */
  862. U8 GH_HDMI_get_PACKET_TX_CTRL_GEN_RPT(void);
  863. /*! \brief Writes the bit group 'ACP_EN' of register 'HDMI_PACKET_TX_CTRL'. */
  864. void GH_HDMI_set_PACKET_TX_CTRL_ACP_EN(U8 data);
  865. /*! \brief Reads the bit group 'ACP_EN' of register 'HDMI_PACKET_TX_CTRL'. */
  866. U8 GH_HDMI_get_PACKET_TX_CTRL_ACP_EN(void);
  867. /*! \brief Writes the bit group 'ACP_RPT' of register 'HDMI_PACKET_TX_CTRL'. */
  868. void GH_HDMI_set_PACKET_TX_CTRL_ACP_RPT(U8 data);
  869. /*! \brief Reads the bit group 'ACP_RPT' of register 'HDMI_PACKET_TX_CTRL'. */
  870. U8 GH_HDMI_get_PACKET_TX_CTRL_ACP_RPT(void);
  871. /*! \brief Writes the bit group 'ISRC_EN' of register 'HDMI_PACKET_TX_CTRL'. */
  872. void GH_HDMI_set_PACKET_TX_CTRL_ISRC_EN(U8 data);
  873. /*! \brief Reads the bit group 'ISRC_EN' of register 'HDMI_PACKET_TX_CTRL'. */
  874. U8 GH_HDMI_get_PACKET_TX_CTRL_ISRC_EN(void);
  875. /*! \brief Writes the bit group 'ISRC_RPT' of register 'HDMI_PACKET_TX_CTRL'. */
  876. void GH_HDMI_set_PACKET_TX_CTRL_ISRC_RPT(U8 data);
  877. /*! \brief Reads the bit group 'ISRC_RPT' of register 'HDMI_PACKET_TX_CTRL'. */
  878. U8 GH_HDMI_get_PACKET_TX_CTRL_ISRC_RPT(void);
  879. /*! \brief Writes the bit group 'AVI_EN' of register 'HDMI_PACKET_TX_CTRL'. */
  880. void GH_HDMI_set_PACKET_TX_CTRL_AVI_EN(U8 data);
  881. /*! \brief Reads the bit group 'AVI_EN' of register 'HDMI_PACKET_TX_CTRL'. */
  882. U8 GH_HDMI_get_PACKET_TX_CTRL_AVI_EN(void);
  883. /*! \brief Writes the bit group 'AVI_RPT' of register 'HDMI_PACKET_TX_CTRL'. */
  884. void GH_HDMI_set_PACKET_TX_CTRL_AVI_RPT(U8 data);
  885. /*! \brief Reads the bit group 'AVI_RPT' of register 'HDMI_PACKET_TX_CTRL'. */
  886. U8 GH_HDMI_get_PACKET_TX_CTRL_AVI_RPT(void);
  887. /*! \brief Writes the bit group 'SPD_EN' of register 'HDMI_PACKET_TX_CTRL'. */
  888. void GH_HDMI_set_PACKET_TX_CTRL_SPD_EN(U8 data);
  889. /*! \brief Reads the bit group 'SPD_EN' of register 'HDMI_PACKET_TX_CTRL'. */
  890. U8 GH_HDMI_get_PACKET_TX_CTRL_SPD_EN(void);
  891. /*! \brief Writes the bit group 'SPD_RPT' of register 'HDMI_PACKET_TX_CTRL'. */
  892. void GH_HDMI_set_PACKET_TX_CTRL_SPD_RPT(U8 data);
  893. /*! \brief Reads the bit group 'SPD_RPT' of register 'HDMI_PACKET_TX_CTRL'. */
  894. U8 GH_HDMI_get_PACKET_TX_CTRL_SPD_RPT(void);
  895. /*! \brief Writes the bit group 'AUD_EN' of register 'HDMI_PACKET_TX_CTRL'. */
  896. void GH_HDMI_set_PACKET_TX_CTRL_AUD_EN(U8 data);
  897. /*! \brief Reads the bit group 'AUD_EN' of register 'HDMI_PACKET_TX_CTRL'. */
  898. U8 GH_HDMI_get_PACKET_TX_CTRL_AUD_EN(void);
  899. /*! \brief Writes the bit group 'AUD_RPT' of register 'HDMI_PACKET_TX_CTRL'. */
  900. void GH_HDMI_set_PACKET_TX_CTRL_AUD_RPT(U8 data);
  901. /*! \brief Reads the bit group 'AUD_RPT' of register 'HDMI_PACKET_TX_CTRL'. */
  902. U8 GH_HDMI_get_PACKET_TX_CTRL_AUD_RPT(void);
  903. /*! \brief Writes the bit group 'MPEG_EN' of register 'HDMI_PACKET_TX_CTRL'. */
  904. void GH_HDMI_set_PACKET_TX_CTRL_MPEG_EN(U8 data);
  905. /*! \brief Reads the bit group 'MPEG_EN' of register 'HDMI_PACKET_TX_CTRL'. */
  906. U8 GH_HDMI_get_PACKET_TX_CTRL_MPEG_EN(void);
  907. /*! \brief Writes the bit group 'MPEG_RPT' of register 'HDMI_PACKET_TX_CTRL'. */
  908. void GH_HDMI_set_PACKET_TX_CTRL_MPEG_RPT(U8 data);
  909. /*! \brief Reads the bit group 'MPEG_RPT' of register 'HDMI_PACKET_TX_CTRL'. */
  910. U8 GH_HDMI_get_PACKET_TX_CTRL_MPEG_RPT(void);
  911. /*! \brief Writes the bit group 'GAMUT_EN' of register 'HDMI_PACKET_TX_CTRL'. */
  912. void GH_HDMI_set_PACKET_TX_CTRL_GAMUT_EN(U8 data);
  913. /*! \brief Reads the bit group 'GAMUT_EN' of register 'HDMI_PACKET_TX_CTRL'. */
  914. U8 GH_HDMI_get_PACKET_TX_CTRL_GAMUT_EN(void);
  915. /*! \brief Writes the bit group 'GAMUT_RPT' of register 'HDMI_PACKET_TX_CTRL'. */
  916. void GH_HDMI_set_PACKET_TX_CTRL_GAMUT_RPT(U8 data);
  917. /*! \brief Reads the bit group 'GAMUT_RPT' of register 'HDMI_PACKET_TX_CTRL'. */
  918. U8 GH_HDMI_get_PACKET_TX_CTRL_GAMUT_RPT(void);
  919. /*! \brief Writes the bit group 'BUF_SWITCH_EN' of register 'HDMI_PACKET_TX_CTRL'. */
  920. void GH_HDMI_set_PACKET_TX_CTRL_BUF_SWITCH_EN(U8 data);
  921. /*! \brief Reads the bit group 'BUF_SWITCH_EN' of register 'HDMI_PACKET_TX_CTRL'. */
  922. U8 GH_HDMI_get_PACKET_TX_CTRL_BUF_SWITCH_EN(void);
  923. /*----------------------------------------------------------------------------*/
  924. /* register HDMI_PACKET_GENERAL_CTRL (read/write) */
  925. /*----------------------------------------------------------------------------*/
  926. /*! \brief Writes the register 'HDMI_PACKET_GENERAL_CTRL'. */
  927. void GH_HDMI_set_PACKET_GENERAL_CTRL(U32 data);
  928. /*! \brief Reads the register 'HDMI_PACKET_GENERAL_CTRL'. */
  929. U32 GH_HDMI_get_PACKET_GENERAL_CTRL(void);
  930. /*! \brief Writes the bit group 'SET_AVMUTE' of register 'HDMI_PACKET_GENERAL_CTRL'. */
  931. void GH_HDMI_set_PACKET_GENERAL_CTRL_SET_AVMUTE(U8 data);
  932. /*! \brief Reads the bit group 'SET_AVMUTE' of register 'HDMI_PACKET_GENERAL_CTRL'. */
  933. U8 GH_HDMI_get_PACKET_GENERAL_CTRL_SET_AVMUTE(void);
  934. /*! \brief Writes the bit group 'CLR_AVMUTE' of register 'HDMI_PACKET_GENERAL_CTRL'. */
  935. void GH_HDMI_set_PACKET_GENERAL_CTRL_CLR_AVMUTE(U8 data);
  936. /*! \brief Reads the bit group 'CLR_AVMUTE' of register 'HDMI_PACKET_GENERAL_CTRL'. */
  937. U8 GH_HDMI_get_PACKET_GENERAL_CTRL_CLR_AVMUTE(void);
  938. /*! \brief Writes the bit group 'CD' of register 'HDMI_PACKET_GENERAL_CTRL'. */
  939. void GH_HDMI_set_PACKET_GENERAL_CTRL_CD(U8 data);
  940. /*! \brief Reads the bit group 'CD' of register 'HDMI_PACKET_GENERAL_CTRL'. */
  941. U8 GH_HDMI_get_PACKET_GENERAL_CTRL_CD(void);
  942. /*! \brief Writes the bit group 'PP' of register 'HDMI_PACKET_GENERAL_CTRL'. */
  943. void GH_HDMI_set_PACKET_GENERAL_CTRL_PP(U8 data);
  944. /*! \brief Reads the bit group 'PP' of register 'HDMI_PACKET_GENERAL_CTRL'. */
  945. U8 GH_HDMI_get_PACKET_GENERAL_CTRL_PP(void);
  946. /*! \brief Writes the bit group 'DEF_PHASE' of register 'HDMI_PACKET_GENERAL_CTRL'. */
  947. void GH_HDMI_set_PACKET_GENERAL_CTRL_DEF_PHASE(U8 data);
  948. /*! \brief Reads the bit group 'DEF_PHASE' of register 'HDMI_PACKET_GENERAL_CTRL'. */
  949. U8 GH_HDMI_get_PACKET_GENERAL_CTRL_DEF_PHASE(void);
  950. /*----------------------------------------------------------------------------*/
  951. /* register HDMI_PACKET0 (read/write) */
  952. /*----------------------------------------------------------------------------*/
  953. /*! \brief Writes the register 'HDMI_PACKET0'. */
  954. void GH_HDMI_set_PACKET0(U8 index, U32 data);
  955. /*! \brief Reads the register 'HDMI_PACKET0'. */
  956. U32 GH_HDMI_get_PACKET0(U8 index);
  957. /*! \brief Writes the bit group 'ACP_HB0' of register 'HDMI_PACKET0'. */
  958. void GH_HDMI_set_PACKET0_ACP_HB0(U8 index, U8 data);
  959. /*! \brief Reads the bit group 'ACP_HB0' of register 'HDMI_PACKET0'. */
  960. U8 GH_HDMI_get_PACKET0_ACP_HB0(U8 index);
  961. /*! \brief Writes the bit group 'ACP_HB1' of register 'HDMI_PACKET0'. */
  962. void GH_HDMI_set_PACKET0_ACP_HB1(U8 index, U8 data);
  963. /*! \brief Reads the bit group 'ACP_HB1' of register 'HDMI_PACKET0'. */
  964. U8 GH_HDMI_get_PACKET0_ACP_HB1(U8 index);
  965. /*! \brief Writes the bit group 'ACP_HB2' of register 'HDMI_PACKET0'. */
  966. void GH_HDMI_set_PACKET0_ACP_HB2(U8 index, U8 data);
  967. /*! \brief Reads the bit group 'ACP_HB2' of register 'HDMI_PACKET0'. */
  968. U8 GH_HDMI_get_PACKET0_ACP_HB2(U8 index);
  969. /*----------------------------------------------------------------------------*/
  970. /* register HDMI_PACKET1 (read/write) */
  971. /*----------------------------------------------------------------------------*/
  972. /*! \brief Writes the register 'HDMI_PACKET1'. */
  973. void GH_HDMI_set_PACKET1(U8 index, U32 data);
  974. /*! \brief Reads the register 'HDMI_PACKET1'. */
  975. U32 GH_HDMI_get_PACKET1(U8 index);
  976. /*! \brief Writes the bit group 'ACP_PB0' of register 'HDMI_PACKET1'. */
  977. void GH_HDMI_set_PACKET1_ACP_PB0(U8 index, U8 data);
  978. /*! \brief Reads the bit group 'ACP_PB0' of register 'HDMI_PACKET1'. */
  979. U8 GH_HDMI_get_PACKET1_ACP_PB0(U8 index);
  980. /*! \brief Writes the bit group 'ACP_PB1' of register 'HDMI_PACKET1'. */
  981. void GH_HDMI_set_PACKET1_ACP_PB1(U8 index, U8 data);
  982. /*! \brief Reads the bit group 'ACP_PB1' of register 'HDMI_PACKET1'. */
  983. U8 GH_HDMI_get_PACKET1_ACP_PB1(U8 index);
  984. /*! \brief Writes the bit group 'ACP_PB2' of register 'HDMI_PACKET1'. */
  985. void GH_HDMI_set_PACKET1_ACP_PB2(U8 index, U8 data);
  986. /*! \brief Reads the bit group 'ACP_PB2' of register 'HDMI_PACKET1'. */
  987. U8 GH_HDMI_get_PACKET1_ACP_PB2(U8 index);
  988. /*! \brief Writes the bit group 'ACP_PB3' of register 'HDMI_PACKET1'. */
  989. void GH_HDMI_set_PACKET1_ACP_PB3(U8 index, U8 data);
  990. /*! \brief Reads the bit group 'ACP_PB3' of register 'HDMI_PACKET1'. */
  991. U8 GH_HDMI_get_PACKET1_ACP_PB3(U8 index);
  992. /*----------------------------------------------------------------------------*/
  993. /* register HDMI_PACKET2 (read/write) */
  994. /*----------------------------------------------------------------------------*/
  995. /*! \brief Writes the register 'HDMI_PACKET2'. */
  996. void GH_HDMI_set_PACKET2(U8 index, U32 data);
  997. /*! \brief Reads the register 'HDMI_PACKET2'. */
  998. U32 GH_HDMI_get_PACKET2(U8 index);
  999. /*! \brief Writes the bit group 'ACP_PB4' of register 'HDMI_PACKET2'. */
  1000. void GH_HDMI_set_PACKET2_ACP_PB4(U8 index, U8 data);
  1001. /*! \brief Reads the bit group 'ACP_PB4' of register 'HDMI_PACKET2'. */
  1002. U8 GH_HDMI_get_PACKET2_ACP_PB4(U8 index);
  1003. /*! \brief Writes the bit group 'ACP_PB5' of register 'HDMI_PACKET2'. */
  1004. void GH_HDMI_set_PACKET2_ACP_PB5(U8 index, U8 data);
  1005. /*! \brief Reads the bit group 'ACP_PB5' of register 'HDMI_PACKET2'. */
  1006. U8 GH_HDMI_get_PACKET2_ACP_PB5(U8 index);
  1007. /*! \brief Writes the bit group 'ACP_PB6' of register 'HDMI_PACKET2'. */
  1008. void GH_HDMI_set_PACKET2_ACP_PB6(U8 index, U8 data);
  1009. /*! \brief Reads the bit group 'ACP_PB6' of register 'HDMI_PACKET2'. */
  1010. U8 GH_HDMI_get_PACKET2_ACP_PB6(U8 index);
  1011. /*----------------------------------------------------------------------------*/
  1012. /* register HDMI_PACKET3 (read/write) */
  1013. /*----------------------------------------------------------------------------*/
  1014. /*! \brief Writes the register 'HDMI_PACKET3'. */
  1015. void GH_HDMI_set_PACKET3(U8 index, U32 data);
  1016. /*! \brief Reads the register 'HDMI_PACKET3'. */
  1017. U32 GH_HDMI_get_PACKET3(U8 index);
  1018. /*! \brief Writes the bit group 'ACP_PB7' of register 'HDMI_PACKET3'. */
  1019. void GH_HDMI_set_PACKET3_ACP_PB7(U8 index, U8 data);
  1020. /*! \brief Reads the bit group 'ACP_PB7' of register 'HDMI_PACKET3'. */
  1021. U8 GH_HDMI_get_PACKET3_ACP_PB7(U8 index);
  1022. /*! \brief Writes the bit group 'ACP_PB8' of register 'HDMI_PACKET3'. */
  1023. void GH_HDMI_set_PACKET3_ACP_PB8(U8 index, U8 data);
  1024. /*! \brief Reads the bit group 'ACP_PB8' of register 'HDMI_PACKET3'. */
  1025. U8 GH_HDMI_get_PACKET3_ACP_PB8(U8 index);
  1026. /*! \brief Writes the bit group 'ACP_PB9' of register 'HDMI_PACKET3'. */
  1027. void GH_HDMI_set_PACKET3_ACP_PB9(U8 index, U8 data);
  1028. /*! \brief Reads the bit group 'ACP_PB9' of register 'HDMI_PACKET3'. */
  1029. U8 GH_HDMI_get_PACKET3_ACP_PB9(U8 index);
  1030. /*! \brief Writes the bit group 'ACP_PB10' of register 'HDMI_PACKET3'. */
  1031. void GH_HDMI_set_PACKET3_ACP_PB10(U8 index, U8 data);
  1032. /*! \brief Reads the bit group 'ACP_PB10' of register 'HDMI_PACKET3'. */
  1033. U8 GH_HDMI_get_PACKET3_ACP_PB10(U8 index);
  1034. /*----------------------------------------------------------------------------*/
  1035. /* register HDMI_PACKET4 (read/write) */
  1036. /*----------------------------------------------------------------------------*/
  1037. /*! \brief Writes the register 'HDMI_PACKET4'. */
  1038. void GH_HDMI_set_PACKET4(U8 index, U32 data);
  1039. /*! \brief Reads the register 'HDMI_PACKET4'. */
  1040. U32 GH_HDMI_get_PACKET4(U8 index);
  1041. /*! \brief Writes the bit group 'ACP_PB11' of register 'HDMI_PACKET4'. */
  1042. void GH_HDMI_set_PACKET4_ACP_PB11(U8 index, U8 data);
  1043. /*! \brief Reads the bit group 'ACP_PB11' of register 'HDMI_PACKET4'. */
  1044. U8 GH_HDMI_get_PACKET4_ACP_PB11(U8 index);
  1045. /*! \brief Writes the bit group 'ACP_PB12' of register 'HDMI_PACKET4'. */
  1046. void GH_HDMI_set_PACKET4_ACP_PB12(U8 index, U8 data);
  1047. /*! \brief Reads the bit group 'ACP_PB12' of register 'HDMI_PACKET4'. */
  1048. U8 GH_HDMI_get_PACKET4_ACP_PB12(U8 index);
  1049. /*! \brief Writes the bit group 'ACP_PB13' of register 'HDMI_PACKET4'. */
  1050. void GH_HDMI_set_PACKET4_ACP_PB13(U8 index, U8 data);
  1051. /*! \brief Reads the bit group 'ACP_PB13' of register 'HDMI_PACKET4'. */
  1052. U8 GH_HDMI_get_PACKET4_ACP_PB13(U8 index);
  1053. /*----------------------------------------------------------------------------*/
  1054. /* register HDMI_PACKET5 (read/write) */
  1055. /*----------------------------------------------------------------------------*/
  1056. /*! \brief Writes the register 'HDMI_PACKET5'. */
  1057. void GH_HDMI_set_PACKET5(U8 index, U32 data);
  1058. /*! \brief Reads the register 'HDMI_PACKET5'. */
  1059. U32 GH_HDMI_get_PACKET5(U8 index);
  1060. /*! \brief Writes the bit group 'ACP_PB14' of register 'HDMI_PACKET5'. */
  1061. void GH_HDMI_set_PACKET5_ACP_PB14(U8 index, U8 data);
  1062. /*! \brief Reads the bit group 'ACP_PB14' of register 'HDMI_PACKET5'. */
  1063. U8 GH_HDMI_get_PACKET5_ACP_PB14(U8 index);
  1064. /*! \brief Writes the bit group 'ACP_PB15' of register 'HDMI_PACKET5'. */
  1065. void GH_HDMI_set_PACKET5_ACP_PB15(U8 index, U8 data);
  1066. /*! \brief Reads the bit group 'ACP_PB15' of register 'HDMI_PACKET5'. */
  1067. U8 GH_HDMI_get_PACKET5_ACP_PB15(U8 index);
  1068. /*! \brief Writes the bit group 'ACP_PB16' of register 'HDMI_PACKET5'. */
  1069. void GH_HDMI_set_PACKET5_ACP_PB16(U8 index, U8 data);
  1070. /*! \brief Reads the bit group 'ACP_PB16' of register 'HDMI_PACKET5'. */
  1071. U8 GH_HDMI_get_PACKET5_ACP_PB16(U8 index);
  1072. /*! \brief Writes the bit group 'ACP_PB17' of register 'HDMI_PACKET5'. */
  1073. void GH_HDMI_set_PACKET5_ACP_PB17(U8 index, U8 data);
  1074. /*! \brief Reads the bit group 'ACP_PB17' of register 'HDMI_PACKET5'. */
  1075. U8 GH_HDMI_get_PACKET5_ACP_PB17(U8 index);
  1076. /*----------------------------------------------------------------------------*/
  1077. /* register HDMI_PACKET6 (read/write) */
  1078. /*----------------------------------------------------------------------------*/
  1079. /*! \brief Writes the register 'HDMI_PACKET6'. */
  1080. void GH_HDMI_set_PACKET6(U8 index, U32 data);
  1081. /*! \brief Reads the register 'HDMI_PACKET6'. */
  1082. U32 GH_HDMI_get_PACKET6(U8 index);
  1083. /*! \brief Writes the bit group 'ACP_PB18' of register 'HDMI_PACKET6'. */
  1084. void GH_HDMI_set_PACKET6_ACP_PB18(U8 index, U8 data);
  1085. /*! \brief Reads the bit group 'ACP_PB18' of register 'HDMI_PACKET6'. */
  1086. U8 GH_HDMI_get_PACKET6_ACP_PB18(U8 index);
  1087. /*! \brief Writes the bit group 'ACP_PB19' of register 'HDMI_PACKET6'. */
  1088. void GH_HDMI_set_PACKET6_ACP_PB19(U8 index, U8 data);
  1089. /*! \brief Reads the bit group 'ACP_PB19' of register 'HDMI_PACKET6'. */
  1090. U8 GH_HDMI_get_PACKET6_ACP_PB19(U8 index);
  1091. /*! \brief Writes the bit group 'ACP_PB20' of register 'HDMI_PACKET6'. */
  1092. void GH_HDMI_set_PACKET6_ACP_PB20(U8 index, U8 data);
  1093. /*! \brief Reads the bit group 'ACP_PB20' of register 'HDMI_PACKET6'. */
  1094. U8 GH_HDMI_get_PACKET6_ACP_PB20(U8 index);
  1095. /*----------------------------------------------------------------------------*/
  1096. /* register HDMI_PACKET7 (read/write) */
  1097. /*----------------------------------------------------------------------------*/
  1098. /*! \brief Writes the register 'HDMI_PACKET7'. */
  1099. void GH_HDMI_set_PACKET7(U8 index, U32 data);
  1100. /*! \brief Reads the register 'HDMI_PACKET7'. */
  1101. U32 GH_HDMI_get_PACKET7(U8 index);
  1102. /*! \brief Writes the bit group 'ACP_PB21' of register 'HDMI_PACKET7'. */
  1103. void GH_HDMI_set_PACKET7_ACP_PB21(U8 index, U8 data);
  1104. /*! \brief Reads the bit group 'ACP_PB21' of register 'HDMI_PACKET7'. */
  1105. U8 GH_HDMI_get_PACKET7_ACP_PB21(U8 index);
  1106. /*! \brief Writes the bit group 'ACP_PB22' of register 'HDMI_PACKET7'. */
  1107. void GH_HDMI_set_PACKET7_ACP_PB22(U8 index, U8 data);
  1108. /*! \brief Reads the bit group 'ACP_PB22' of register 'HDMI_PACKET7'. */
  1109. U8 GH_HDMI_get_PACKET7_ACP_PB22(U8 index);
  1110. /*! \brief Writes the bit group 'ACP_PB23' of register 'HDMI_PACKET7'. */
  1111. void GH_HDMI_set_PACKET7_ACP_PB23(U8 index, U8 data);
  1112. /*! \brief Reads the bit group 'ACP_PB23' of register 'HDMI_PACKET7'. */
  1113. U8 GH_HDMI_get_PACKET7_ACP_PB23(U8 index);
  1114. /*! \brief Writes the bit group 'ACP_PB24' of register 'HDMI_PACKET7'. */
  1115. void GH_HDMI_set_PACKET7_ACP_PB24(U8 index, U8 data);
  1116. /*! \brief Reads the bit group 'ACP_PB24' of register 'HDMI_PACKET7'. */
  1117. U8 GH_HDMI_get_PACKET7_ACP_PB24(U8 index);
  1118. /*----------------------------------------------------------------------------*/
  1119. /* register HDMI_PACKET8 (read/write) */
  1120. /*----------------------------------------------------------------------------*/
  1121. /*! \brief Writes the register 'HDMI_PACKET8'. */
  1122. void GH_HDMI_set_PACKET8(U8 index, U32 data);
  1123. /*! \brief Reads the register 'HDMI_PACKET8'. */
  1124. U32 GH_HDMI_get_PACKET8(U8 index);
  1125. /*! \brief Writes the bit group 'ACP_PB25' of register 'HDMI_PACKET8'. */
  1126. void GH_HDMI_set_PACKET8_ACP_PB25(U8 index, U8 data);
  1127. /*! \brief Reads the bit group 'ACP_PB25' of register 'HDMI_PACKET8'. */
  1128. U8 GH_HDMI_get_PACKET8_ACP_PB25(U8 index);
  1129. /*! \brief Writes the bit group 'ACP_PB26' of register 'HDMI_PACKET8'. */
  1130. void GH_HDMI_set_PACKET8_ACP_PB26(U8 index, U8 data);
  1131. /*! \brief Reads the bit group 'ACP_PB26' of register 'HDMI_PACKET8'. */
  1132. U8 GH_HDMI_get_PACKET8_ACP_PB26(U8 index);
  1133. /*! \brief Writes the bit group 'ACP_PB27' of register 'HDMI_PACKET8'. */
  1134. void GH_HDMI_set_PACKET8_ACP_PB27(U8 index, U8 data);
  1135. /*! \brief Reads the bit group 'ACP_PB27' of register 'HDMI_PACKET8'. */
  1136. U8 GH_HDMI_get_PACKET8_ACP_PB27(U8 index);
  1137. /*----------------------------------------------------------------------------*/
  1138. /* register HDMI_I2S_MODE (read/write) */
  1139. /*----------------------------------------------------------------------------*/
  1140. /*! \brief Writes the register 'HDMI_I2S_MODE'. */
  1141. void GH_HDMI_set_I2S_MODE(U32 data);
  1142. /*! \brief Reads the register 'HDMI_I2S_MODE'. */
  1143. U32 GH_HDMI_get_I2S_MODE(void);
  1144. /*! \brief Writes the bit group 'dai_mode' of register 'HDMI_I2S_MODE'. */
  1145. void GH_HDMI_set_I2S_MODE_dai_mode(U8 data);
  1146. /*! \brief Reads the bit group 'dai_mode' of register 'HDMI_I2S_MODE'. */
  1147. U8 GH_HDMI_get_I2S_MODE_dai_mode(void);
  1148. /*----------------------------------------------------------------------------*/
  1149. /* register HDMI_I2S_RX_CTRL (read/write) */
  1150. /*----------------------------------------------------------------------------*/
  1151. /*! \brief Writes the register 'HDMI_I2S_RX_CTRL'. */
  1152. void GH_HDMI_set_I2S_RX_CTRL(U32 data);
  1153. /*! \brief Reads the register 'HDMI_I2S_RX_CTRL'. */
  1154. U32 GH_HDMI_get_I2S_RX_CTRL(void);
  1155. /*! \brief Writes the bit group 'rx_ws_inv' of register 'HDMI_I2S_RX_CTRL'. */
  1156. void GH_HDMI_set_I2S_RX_CTRL_rx_ws_inv(U8 data);
  1157. /*! \brief Reads the bit group 'rx_ws_inv' of register 'HDMI_I2S_RX_CTRL'. */
  1158. U8 GH_HDMI_get_I2S_RX_CTRL_rx_ws_inv(void);
  1159. /*! \brief Writes the bit group 'rx_ws_mst' of register 'HDMI_I2S_RX_CTRL'. */
  1160. void GH_HDMI_set_I2S_RX_CTRL_rx_ws_mst(U8 data);
  1161. /*! \brief Reads the bit group 'rx_ws_mst' of register 'HDMI_I2S_RX_CTRL'. */
  1162. U8 GH_HDMI_get_I2S_RX_CTRL_rx_ws_mst(void);
  1163. /*! \brief Writes the bit group 'rx_ord' of register 'HDMI_I2S_RX_CTRL'. */
  1164. void GH_HDMI_set_I2S_RX_CTRL_rx_ord(U8 data);
  1165. /*! \brief Reads the bit group 'rx_ord' of register 'HDMI_I2S_RX_CTRL'. */
  1166. U8 GH_HDMI_get_I2S_RX_CTRL_rx_ord(void);
  1167. /*----------------------------------------------------------------------------*/
  1168. /* register HDMI_I2S_WLEN (read/write) */
  1169. /*----------------------------------------------------------------------------*/
  1170. /*! \brief Writes the register 'HDMI_I2S_WLEN'. */
  1171. void GH_HDMI_set_I2S_WLEN(U32 data);
  1172. /*! \brief Reads the register 'HDMI_I2S_WLEN'. */
  1173. U32 GH_HDMI_get_I2S_WLEN(void);
  1174. /*! \brief Writes the bit group 'dai_wlen' of register 'HDMI_I2S_WLEN'. */
  1175. void GH_HDMI_set_I2S_WLEN_dai_wlen(U8 data);
  1176. /*! \brief Reads the bit group 'dai_wlen' of register 'HDMI_I2S_WLEN'. */
  1177. U8 GH_HDMI_get_I2S_WLEN_dai_wlen(void);
  1178. /*----------------------------------------------------------------------------*/
  1179. /* register HDMI_I2S_WPOS (read/write) */
  1180. /*----------------------------------------------------------------------------*/
  1181. /*! \brief Writes the register 'HDMI_I2S_WPOS'. */
  1182. void GH_HDMI_set_I2S_WPOS(U32 data);
  1183. /*! \brief Reads the register 'HDMI_I2S_WPOS'. */
  1184. U32 GH_HDMI_get_I2S_WPOS(void);
  1185. /*! \brief Writes the bit group 'dai_wpos' of register 'HDMI_I2S_WPOS'. */
  1186. void GH_HDMI_set_I2S_WPOS_dai_wpos(U8 data);
  1187. /*! \brief Reads the bit group 'dai_wpos' of register 'HDMI_I2S_WPOS'. */
  1188. U8 GH_HDMI_get_I2S_WPOS_dai_wpos(void);
  1189. /*----------------------------------------------------------------------------*/
  1190. /* register HDMI_I2S_SLOT (read/write) */
  1191. /*----------------------------------------------------------------------------*/
  1192. /*! \brief Writes the register 'HDMI_I2S_SLOT'. */
  1193. void GH_HDMI_set_I2S_SLOT(U32 data);
  1194. /*! \brief Reads the register 'HDMI_I2S_SLOT'. */
  1195. U32 GH_HDMI_get_I2S_SLOT(void);
  1196. /*! \brief Writes the bit group 'dai_slot' of register 'HDMI_I2S_SLOT'. */
  1197. void GH_HDMI_set_I2S_SLOT_dai_slot(U8 data);
  1198. /*! \brief Reads the bit group 'dai_slot' of register 'HDMI_I2S_SLOT'. */
  1199. U8 GH_HDMI_get_I2S_SLOT_dai_slot(void);
  1200. /*----------------------------------------------------------------------------*/
  1201. /* register HDMI_I2S_RX_FIFO_GTH (read/write) */
  1202. /*----------------------------------------------------------------------------*/
  1203. /*! \brief Writes the register 'HDMI_I2S_RX_FIFO_GTH'. */
  1204. void GH_HDMI_set_I2S_RX_FIFO_GTH(U32 data);
  1205. /*! \brief Reads the register 'HDMI_I2S_RX_FIFO_GTH'. */
  1206. U32 GH_HDMI_get_I2S_RX_FIFO_GTH(void);
  1207. /*! \brief Writes the bit group 'rx_FIFO_gth' of register 'HDMI_I2S_RX_FIFO_GTH'. */
  1208. void GH_HDMI_set_I2S_RX_FIFO_GTH_rx_FIFO_gth(U8 data);
  1209. /*! \brief Reads the bit group 'rx_FIFO_gth' of register 'HDMI_I2S_RX_FIFO_GTH'. */
  1210. U8 GH_HDMI_get_I2S_RX_FIFO_GTH_rx_FIFO_gth(void);
  1211. /*----------------------------------------------------------------------------*/
  1212. /* register HDMI_I2S_CLOCK (read/write) */
  1213. /*----------------------------------------------------------------------------*/
  1214. /*! \brief Writes the register 'HDMI_I2S_CLOCK'. */
  1215. void GH_HDMI_set_I2S_CLOCK(U32 data);
  1216. /*! \brief Reads the register 'HDMI_I2S_CLOCK'. */
  1217. U32 GH_HDMI_get_I2S_CLOCK(void);
  1218. /*! \brief Writes the bit group 'rx_scp' of register 'HDMI_I2S_CLOCK'. */
  1219. void GH_HDMI_set_I2S_CLOCK_rx_scp(U8 data);
  1220. /*! \brief Reads the bit group 'rx_scp' of register 'HDMI_I2S_CLOCK'. */
  1221. U8 GH_HDMI_get_I2S_CLOCK_rx_scp(void);
  1222. /*----------------------------------------------------------------------------*/
  1223. /* register HDMI_I2S_INIT (read/write) */
  1224. /*----------------------------------------------------------------------------*/
  1225. /*! \brief Writes the register 'HDMI_I2S_INIT'. */
  1226. void GH_HDMI_set_I2S_INIT(U32 data);
  1227. /*! \brief Reads the register 'HDMI_I2S_INIT'. */
  1228. U32 GH_HDMI_get_I2S_INIT(void);
  1229. /*! \brief Writes the bit group 'dai_reset' of register 'HDMI_I2S_INIT'. */
  1230. void GH_HDMI_set_I2S_INIT_dai_reset(U8 data);
  1231. /*! \brief Reads the bit group 'dai_reset' of register 'HDMI_I2S_INIT'. */
  1232. U8 GH_HDMI_get_I2S_INIT_dai_reset(void);
  1233. /*! \brief Writes the bit group 'rx_enable' of register 'HDMI_I2S_INIT'. */
  1234. void GH_HDMI_set_I2S_INIT_rx_enable(U8 data);
  1235. /*! \brief Reads the bit group 'rx_enable' of register 'HDMI_I2S_INIT'. */
  1236. U8 GH_HDMI_get_I2S_INIT_rx_enable(void);
  1237. /*----------------------------------------------------------------------------*/
  1238. /* register HDMI_I2S_RX_DATA (read/write) */
  1239. /*----------------------------------------------------------------------------*/
  1240. /*! \brief Writes the register 'HDMI_I2S_RX_DATA'. */
  1241. void GH_HDMI_set_I2S_RX_DATA(U8 index, U32 data);
  1242. /*! \brief Reads the register 'HDMI_I2S_RX_DATA'. */
  1243. U32 GH_HDMI_get_I2S_RX_DATA(U8 index);
  1244. /*! \brief Writes the bit group 'rx_FIFO_dout' of register 'HDMI_I2S_RX_DATA'. */
  1245. void GH_HDMI_set_I2S_RX_DATA_rx_FIFO_dout(U8 index, U32 data);
  1246. /*! \brief Reads the bit group 'rx_FIFO_dout' of register 'HDMI_I2S_RX_DATA'. */
  1247. U32 GH_HDMI_get_I2S_RX_DATA_rx_FIFO_dout(U8 index);
  1248. /*----------------------------------------------------------------------------*/
  1249. /* register HDMI_I2S_FIFO_CNTR (read/write) */
  1250. /*----------------------------------------------------------------------------*/
  1251. /*! \brief Writes the register 'HDMI_I2S_FIFO_CNTR'. */
  1252. void GH_HDMI_set_I2S_FIFO_CNTR(U32 data);
  1253. /*! \brief Reads the register 'HDMI_I2S_FIFO_CNTR'. */
  1254. U32 GH_HDMI_get_I2S_FIFO_CNTR(void);
  1255. /*! \brief Writes the bit group 'rx_FIFO_cntr' of register 'HDMI_I2S_FIFO_CNTR'. */
  1256. void GH_HDMI_set_I2S_FIFO_CNTR_rx_FIFO_cntr(U8 data);
  1257. /*! \brief Reads the bit group 'rx_FIFO_cntr' of register 'HDMI_I2S_FIFO_CNTR'. */
  1258. U8 GH_HDMI_get_I2S_FIFO_CNTR_rx_FIFO_cntr(void);
  1259. /*----------------------------------------------------------------------------*/
  1260. /* register HDMI_I2S_GATE_OFF (read/write) */
  1261. /*----------------------------------------------------------------------------*/
  1262. /*! \brief Writes the register 'HDMI_I2S_GATE_OFF'. */
  1263. void GH_HDMI_set_I2S_GATE_OFF(U32 data);
  1264. /*! \brief Reads the register 'HDMI_I2S_GATE_OFF'. */
  1265. U32 GH_HDMI_get_I2S_GATE_OFF(void);
  1266. /*! \brief Writes the bit group 'gate_off_en' of register 'HDMI_I2S_GATE_OFF'. */
  1267. void GH_HDMI_set_I2S_GATE_OFF_gate_off_en(U8 data);
  1268. /*! \brief Reads the bit group 'gate_off_en' of register 'HDMI_I2S_GATE_OFF'. */
  1269. U8 GH_HDMI_get_I2S_GATE_OFF_gate_off_en(void);
  1270. /*----------------------------------------------------------------------------*/
  1271. /* register HDMI_PACKET_MISC (read/write) */
  1272. /*----------------------------------------------------------------------------*/
  1273. /*! \brief Writes the register 'HDMI_PACKET_MISC'. */
  1274. void GH_HDMI_set_PACKET_MISC(U32 data);
  1275. /*! \brief Reads the register 'HDMI_PACKET_MISC'. */
  1276. U32 GH_HDMI_get_PACKET_MISC(void);
  1277. /*! \brief Writes the bit group 'LEFT_VALID_BIT' of register 'HDMI_PACKET_MISC'. */
  1278. void GH_HDMI_set_PACKET_MISC_LEFT_VALID_BIT(U8 data);
  1279. /*! \brief Reads the bit group 'LEFT_VALID_BIT' of register 'HDMI_PACKET_MISC'. */
  1280. U8 GH_HDMI_get_PACKET_MISC_LEFT_VALID_BIT(void);
  1281. /*! \brief Writes the bit group 'RIGHT_VALID_BIT' of register 'HDMI_PACKET_MISC'. */
  1282. void GH_HDMI_set_PACKET_MISC_RIGHT_VALID_BIT(U8 data);
  1283. /*! \brief Reads the bit group 'RIGHT_VALID_BIT' of register 'HDMI_PACKET_MISC'. */
  1284. U8 GH_HDMI_get_PACKET_MISC_RIGHT_VALID_BIT(void);
  1285. /*! \brief Writes the bit group 'SPD_SEND_CTRL' of register 'HDMI_PACKET_MISC'. */
  1286. void GH_HDMI_set_PACKET_MISC_SPD_SEND_CTRL(U8 data);
  1287. /*! \brief Reads the bit group 'SPD_SEND_CTRL' of register 'HDMI_PACKET_MISC'. */
  1288. U8 GH_HDMI_get_PACKET_MISC_SPD_SEND_CTRL(void);
  1289. /*! \brief Writes the bit group 'CTS_SW_MODE' of register 'HDMI_PACKET_MISC'. */
  1290. void GH_HDMI_set_PACKET_MISC_CTS_SW_MODE(U8 data);
  1291. /*! \brief Reads the bit group 'CTS_SW_MODE' of register 'HDMI_PACKET_MISC'. */
  1292. U8 GH_HDMI_get_PACKET_MISC_CTS_SW_MODE(void);
  1293. /*! \brief Writes the bit group 'NCTS_PRIORITY' of register 'HDMI_PACKET_MISC'. */
  1294. void GH_HDMI_set_PACKET_MISC_NCTS_PRIORITY(U8 data);
  1295. /*! \brief Reads the bit group 'NCTS_PRIORITY' of register 'HDMI_PACKET_MISC'. */
  1296. U8 GH_HDMI_get_PACKET_MISC_NCTS_PRIORITY(void);
  1297. /*! \brief Writes the bit group 'I2S_RX_MODE' of register 'HDMI_PACKET_MISC'. */
  1298. void GH_HDMI_set_PACKET_MISC_I2S_RX_MODE(U8 data);
  1299. /*! \brief Reads the bit group 'I2S_RX_MODE' of register 'HDMI_PACKET_MISC'. */
  1300. U8 GH_HDMI_get_PACKET_MISC_I2S_RX_MODE(void);
  1301. /*----------------------------------------------------------------------------*/
  1302. /* register HDMI_VUNIT_VBLANK (read/write) */
  1303. /*----------------------------------------------------------------------------*/
  1304. /*! \brief Writes the register 'HDMI_VUNIT_VBLANK'. */
  1305. void GH_HDMI_set_VUNIT_VBLANK(U32 data);
  1306. /*! \brief Reads the register 'HDMI_VUNIT_VBLANK'. */
  1307. U32 GH_HDMI_get_VUNIT_VBLANK(void);
  1308. /*! \brief Writes the bit group 'VBLANK_RIGHT_OFFSET' of register 'HDMI_VUNIT_VBLANK'. */
  1309. void GH_HDMI_set_VUNIT_VBLANK_VBLANK_RIGHT_OFFSET(U8 data);
  1310. /*! \brief Reads the bit group 'VBLANK_RIGHT_OFFSET' of register 'HDMI_VUNIT_VBLANK'. */
  1311. U8 GH_HDMI_get_VUNIT_VBLANK_VBLANK_RIGHT_OFFSET(void);
  1312. /*! \brief Writes the bit group 'VBLANK_PULSE_WIDTH' of register 'HDMI_VUNIT_VBLANK'. */
  1313. void GH_HDMI_set_VUNIT_VBLANK_VBLANK_PULSE_WIDTH(U8 data);
  1314. /*! \brief Reads the bit group 'VBLANK_PULSE_WIDTH' of register 'HDMI_VUNIT_VBLANK'. */
  1315. U8 GH_HDMI_get_VUNIT_VBLANK_VBLANK_PULSE_WIDTH(void);
  1316. /*! \brief Writes the bit group 'VBLANK_LEFT_OFFSET' of register 'HDMI_VUNIT_VBLANK'. */
  1317. void GH_HDMI_set_VUNIT_VBLANK_VBLANK_LEFT_OFFSET(U8 data);
  1318. /*! \brief Reads the bit group 'VBLANK_LEFT_OFFSET' of register 'HDMI_VUNIT_VBLANK'. */
  1319. U8 GH_HDMI_get_VUNIT_VBLANK_VBLANK_LEFT_OFFSET(void);
  1320. /*----------------------------------------------------------------------------*/
  1321. /* register HDMI_VUNIT_HBLANK (read/write) */
  1322. /*----------------------------------------------------------------------------*/
  1323. /*! \brief Writes the register 'HDMI_VUNIT_HBLANK'. */
  1324. void GH_HDMI_set_VUNIT_HBLANK(U32 data);
  1325. /*! \brief Reads the register 'HDMI_VUNIT_HBLANK'. */
  1326. U32 GH_HDMI_get_VUNIT_HBLANK(void);
  1327. /*! \brief Writes the bit group 'HBLANK_RIGHT_OFFSET' of register 'HDMI_VUNIT_HBLANK'. */
  1328. void GH_HDMI_set_VUNIT_HBLANK_HBLANK_RIGHT_OFFSET(U16 data);
  1329. /*! \brief Reads the bit group 'HBLANK_RIGHT_OFFSET' of register 'HDMI_VUNIT_HBLANK'. */
  1330. U16 GH_HDMI_get_VUNIT_HBLANK_HBLANK_RIGHT_OFFSET(void);
  1331. /*! \brief Writes the bit group 'HBLANK_PULSE_WIDTH' of register 'HDMI_VUNIT_HBLANK'. */
  1332. void GH_HDMI_set_VUNIT_HBLANK_HBLANK_PULSE_WIDTH(U16 data);
  1333. /*! \brief Reads the bit group 'HBLANK_PULSE_WIDTH' of register 'HDMI_VUNIT_HBLANK'. */
  1334. U16 GH_HDMI_get_VUNIT_HBLANK_HBLANK_PULSE_WIDTH(void);
  1335. /*! \brief Writes the bit group 'HBLANK_LEFT_OFFSET' of register 'HDMI_VUNIT_HBLANK'. */
  1336. void GH_HDMI_set_VUNIT_HBLANK_HBLANK_LEFT_OFFSET(U16 data);
  1337. /*! \brief Reads the bit group 'HBLANK_LEFT_OFFSET' of register 'HDMI_VUNIT_HBLANK'. */
  1338. U16 GH_HDMI_get_VUNIT_HBLANK_HBLANK_LEFT_OFFSET(void);
  1339. /*----------------------------------------------------------------------------*/
  1340. /* register HDMI_VUNIT_VACTIVE (read/write) */
  1341. /*----------------------------------------------------------------------------*/
  1342. /*! \brief Writes the register 'HDMI_VUNIT_VACTIVE'. */
  1343. void GH_HDMI_set_VUNIT_VACTIVE(U32 data);
  1344. /*! \brief Reads the register 'HDMI_VUNIT_VACTIVE'. */
  1345. U32 GH_HDMI_get_VUNIT_VACTIVE(void);
  1346. /*! \brief Writes the bit group 'VUNIT_VACTIVE' of register 'HDMI_VUNIT_VACTIVE'. */
  1347. void GH_HDMI_set_VUNIT_VACTIVE_VUNIT_VACTIVE(U16 data);
  1348. /*! \brief Reads the bit group 'VUNIT_VACTIVE' of register 'HDMI_VUNIT_VACTIVE'. */
  1349. U16 GH_HDMI_get_VUNIT_VACTIVE_VUNIT_VACTIVE(void);
  1350. /*----------------------------------------------------------------------------*/
  1351. /* register HDMI_VUNIT_HACTIVE (read/write) */
  1352. /*----------------------------------------------------------------------------*/
  1353. /*! \brief Writes the register 'HDMI_VUNIT_HACTIVE'. */
  1354. void GH_HDMI_set_VUNIT_HACTIVE(U32 data);
  1355. /*! \brief Reads the register 'HDMI_VUNIT_HACTIVE'. */
  1356. U32 GH_HDMI_get_VUNIT_HACTIVE(void);
  1357. /*! \brief Writes the bit group 'VUNIT_HACTIVE' of register 'HDMI_VUNIT_HACTIVE'. */
  1358. void GH_HDMI_set_VUNIT_HACTIVE_VUNIT_HACTIVE(U16 data);
  1359. /*! \brief Reads the bit group 'VUNIT_HACTIVE' of register 'HDMI_VUNIT_HACTIVE'. */
  1360. U16 GH_HDMI_get_VUNIT_HACTIVE_VUNIT_HACTIVE(void);
  1361. /*----------------------------------------------------------------------------*/
  1362. /* register HDMI_VUNIT_CTRL (read/write) */
  1363. /*----------------------------------------------------------------------------*/
  1364. /*! \brief Writes the register 'HDMI_VUNIT_CTRL'. */
  1365. void GH_HDMI_set_VUNIT_CTRL(U32 data);
  1366. /*! \brief Reads the register 'HDMI_VUNIT_CTRL'. */
  1367. U32 GH_HDMI_get_VUNIT_CTRL(void);
  1368. /*! \brief Writes the bit group 'VSYNC_POL' of register 'HDMI_VUNIT_CTRL'. */
  1369. void GH_HDMI_set_VUNIT_CTRL_VSYNC_POL(U8 data);
  1370. /*! \brief Reads the bit group 'VSYNC_POL' of register 'HDMI_VUNIT_CTRL'. */
  1371. U8 GH_HDMI_get_VUNIT_CTRL_VSYNC_POL(void);
  1372. /*! \brief Writes the bit group 'HSYNC_POL' of register 'HDMI_VUNIT_CTRL'. */
  1373. void GH_HDMI_set_VUNIT_CTRL_HSYNC_POL(U8 data);
  1374. /*! \brief Reads the bit group 'HSYNC_POL' of register 'HDMI_VUNIT_CTRL'. */
  1375. U8 GH_HDMI_get_VUNIT_CTRL_HSYNC_POL(void);
  1376. /*! \brief Writes the bit group 'VIDEO_MODE' of register 'HDMI_VUNIT_CTRL'. */
  1377. void GH_HDMI_set_VUNIT_CTRL_VIDEO_MODE(U8 data);
  1378. /*! \brief Reads the bit group 'VIDEO_MODE' of register 'HDMI_VUNIT_CTRL'. */
  1379. U8 GH_HDMI_get_VUNIT_CTRL_VIDEO_MODE(void);
  1380. /*----------------------------------------------------------------------------*/
  1381. /* register HDMI_VUNIT_VSYNC_DETECT (read/write) */
  1382. /*----------------------------------------------------------------------------*/
  1383. /*! \brief Writes the register 'HDMI_VUNIT_VSYNC_DETECT'. */
  1384. void GH_HDMI_set_VUNIT_VSYNC_DETECT(U32 data);
  1385. /*! \brief Reads the register 'HDMI_VUNIT_VSYNC_DETECT'. */
  1386. U32 GH_HDMI_get_VUNIT_VSYNC_DETECT(void);
  1387. /*! \brief Writes the bit group 'VSYNC_DETECT_EN' of register 'HDMI_VUNIT_VSYNC_DETECT'. */
  1388. void GH_HDMI_set_VUNIT_VSYNC_DETECT_VSYNC_DETECT_EN(U8 data);
  1389. /*! \brief Reads the bit group 'VSYNC_DETECT_EN' of register 'HDMI_VUNIT_VSYNC_DETECT'. */
  1390. U8 GH_HDMI_get_VUNIT_VSYNC_DETECT_VSYNC_DETECT_EN(void);
  1391. /*----------------------------------------------------------------------------*/
  1392. /* register HDMI_HDMISE_TM (read/write) */
  1393. /*----------------------------------------------------------------------------*/
  1394. /*! \brief Writes the register 'HDMI_HDMISE_TM'. */
  1395. void GH_HDMI_set_HDMISE_TM(U32 data);
  1396. /*! \brief Reads the register 'HDMI_HDMISE_TM'. */
  1397. U32 GH_HDMI_get_HDMISE_TM(void);
  1398. /*! \brief Writes the bit group 'I2S_DOUT_MODE' of register 'HDMI_HDMISE_TM'. */
  1399. void GH_HDMI_set_HDMISE_TM_I2S_DOUT_MODE(U8 data);
  1400. /*! \brief Reads the bit group 'I2S_DOUT_MODE' of register 'HDMI_HDMISE_TM'. */
  1401. U8 GH_HDMI_get_HDMISE_TM_I2S_DOUT_MODE(void);
  1402. /*! \brief Writes the bit group 'VDATA_SRC_MODE' of register 'HDMI_HDMISE_TM'. */
  1403. void GH_HDMI_set_HDMISE_TM_VDATA_SRC_MODE(U8 data);
  1404. /*! \brief Reads the bit group 'VDATA_SRC_MODE' of register 'HDMI_HDMISE_TM'. */
  1405. U8 GH_HDMI_get_HDMISE_TM_VDATA_SRC_MODE(void);
  1406. /*! \brief Writes the bit group 'VIDEO_PATTERN_MODE' of register 'HDMI_HDMISE_TM'. */
  1407. void GH_HDMI_set_HDMISE_TM_VIDEO_PATTERN_MODE(U8 data);
  1408. /*! \brief Reads the bit group 'VIDEO_PATTERN_MODE' of register 'HDMI_HDMISE_TM'. */
  1409. U8 GH_HDMI_get_HDMISE_TM_VIDEO_PATTERN_MODE(void);
  1410. /*! \brief Writes the bit group 'ADATA_SRC_MODE' of register 'HDMI_HDMISE_TM'. */
  1411. void GH_HDMI_set_HDMISE_TM_ADATA_SRC_MODE(U8 data);
  1412. /*! \brief Reads the bit group 'ADATA_SRC_MODE' of register 'HDMI_HDMISE_TM'. */
  1413. U8 GH_HDMI_get_HDMISE_TM_ADATA_SRC_MODE(void);
  1414. /*! \brief Writes the bit group 'BG_B' of register 'HDMI_HDMISE_TM'. */
  1415. void GH_HDMI_set_HDMISE_TM_BG_B(U8 data);
  1416. /*! \brief Reads the bit group 'BG_B' of register 'HDMI_HDMISE_TM'. */
  1417. U8 GH_HDMI_get_HDMISE_TM_BG_B(void);
  1418. /*! \brief Writes the bit group 'BG_G' of register 'HDMI_HDMISE_TM'. */
  1419. void GH_HDMI_set_HDMISE_TM_BG_G(U8 data);
  1420. /*! \brief Reads the bit group 'BG_G' of register 'HDMI_HDMISE_TM'. */
  1421. U8 GH_HDMI_get_HDMISE_TM_BG_G(void);
  1422. /*! \brief Writes the bit group 'BG_R' of register 'HDMI_HDMISE_TM'. */
  1423. void GH_HDMI_set_HDMISE_TM_BG_R(U8 data);
  1424. /*! \brief Reads the bit group 'BG_R' of register 'HDMI_HDMISE_TM'. */
  1425. U8 GH_HDMI_get_HDMISE_TM_BG_R(void);
  1426. /*----------------------------------------------------------------------------*/
  1427. /* register HDMI_P2P_AFIFO_LEVEL (read/write) */
  1428. /*----------------------------------------------------------------------------*/
  1429. /*! \brief Writes the register 'HDMI_P2P_AFIFO_LEVEL'. */
  1430. void GH_HDMI_set_P2P_AFIFO_LEVEL(U32 data);
  1431. /*! \brief Reads the register 'HDMI_P2P_AFIFO_LEVEL'. */
  1432. U32 GH_HDMI_get_P2P_AFIFO_LEVEL(void);
  1433. /*! \brief Writes the bit group 'P2P_AFIFO_LEVEL' of register 'HDMI_P2P_AFIFO_LEVEL'. */
  1434. void GH_HDMI_set_P2P_AFIFO_LEVEL_P2P_AFIFO_LEVEL(U8 data);
  1435. /*! \brief Reads the bit group 'P2P_AFIFO_LEVEL' of register 'HDMI_P2P_AFIFO_LEVEL'. */
  1436. U8 GH_HDMI_get_P2P_AFIFO_LEVEL_P2P_AFIFO_LEVEL(void);
  1437. /*! \brief Writes the bit group 'P2P_AFIFO_MIN_LEVEL' of register 'HDMI_P2P_AFIFO_LEVEL'. */
  1438. void GH_HDMI_set_P2P_AFIFO_LEVEL_P2P_AFIFO_MIN_LEVEL(U8 data);
  1439. /*! \brief Reads the bit group 'P2P_AFIFO_MIN_LEVEL' of register 'HDMI_P2P_AFIFO_LEVEL'. */
  1440. U8 GH_HDMI_get_P2P_AFIFO_LEVEL_P2P_AFIFO_MIN_LEVEL(void);
  1441. /*! \brief Writes the bit group 'P2P_AFIFO_MAX_LEVEL' of register 'HDMI_P2P_AFIFO_LEVEL'. */
  1442. void GH_HDMI_set_P2P_AFIFO_LEVEL_P2P_AFIFO_MAX_LEVEL(U8 data);
  1443. /*! \brief Reads the bit group 'P2P_AFIFO_MAX_LEVEL' of register 'HDMI_P2P_AFIFO_LEVEL'. */
  1444. U8 GH_HDMI_get_P2P_AFIFO_LEVEL_P2P_AFIFO_MAX_LEVEL(void);
  1445. /*! \brief Writes the bit group 'P2P_AFIFO_LB' of register 'HDMI_P2P_AFIFO_LEVEL'. */
  1446. void GH_HDMI_set_P2P_AFIFO_LEVEL_P2P_AFIFO_LB(U8 data);
  1447. /*! \brief Reads the bit group 'P2P_AFIFO_LB' of register 'HDMI_P2P_AFIFO_LEVEL'. */
  1448. U8 GH_HDMI_get_P2P_AFIFO_LEVEL_P2P_AFIFO_LB(void);
  1449. /*! \brief Writes the bit group 'P2P_AFIFO_UB' of register 'HDMI_P2P_AFIFO_LEVEL'. */
  1450. void GH_HDMI_set_P2P_AFIFO_LEVEL_P2P_AFIFO_UB(U8 data);
  1451. /*! \brief Reads the bit group 'P2P_AFIFO_UB' of register 'HDMI_P2P_AFIFO_LEVEL'. */
  1452. U8 GH_HDMI_get_P2P_AFIFO_LEVEL_P2P_AFIFO_UB(void);
  1453. /*----------------------------------------------------------------------------*/
  1454. /* register HDMI_P2P_AFIFO_CTRL (read/write) */
  1455. /*----------------------------------------------------------------------------*/
  1456. /*! \brief Writes the register 'HDMI_P2P_AFIFO_CTRL'. */
  1457. void GH_HDMI_set_P2P_AFIFO_CTRL(U32 data);
  1458. /*! \brief Reads the register 'HDMI_P2P_AFIFO_CTRL'. */
  1459. U32 GH_HDMI_get_P2P_AFIFO_CTRL(void);
  1460. /*! \brief Writes the bit group 'P2P_AFIFO_EN' of register 'HDMI_P2P_AFIFO_CTRL'. */
  1461. void GH_HDMI_set_P2P_AFIFO_CTRL_P2P_AFIFO_EN(U8 data);
  1462. /*! \brief Reads the bit group 'P2P_AFIFO_EN' of register 'HDMI_P2P_AFIFO_CTRL'. */
  1463. U8 GH_HDMI_get_P2P_AFIFO_CTRL_P2P_AFIFO_EN(void);
  1464. /*----------------------------------------------------------------------------*/
  1465. /* register HDMI_HDMISE_DBG (read/write) */
  1466. /*----------------------------------------------------------------------------*/
  1467. /*! \brief Writes the register 'HDMI_HDMISE_DBG'. */
  1468. void GH_HDMI_set_HDMISE_DBG(U32 data);
  1469. /*! \brief Reads the register 'HDMI_HDMISE_DBG'. */
  1470. U32 GH_HDMI_get_HDMISE_DBG(void);
  1471. /*! \brief Writes the bit group 'DBG_P2P_AFIFO_BYPASS' of register 'HDMI_HDMISE_DBG'. */
  1472. void GH_HDMI_set_HDMISE_DBG_DBG_P2P_AFIFO_BYPASS(U8 data);
  1473. /*! \brief Reads the bit group 'DBG_P2P_AFIFO_BYPASS' of register 'HDMI_HDMISE_DBG'. */
  1474. U8 GH_HDMI_get_HDMISE_DBG_DBG_P2P_AFIFO_BYPASS(void);
  1475. /*! \brief Writes the bit group 'DBG_VDATA_SRC_MODE' of register 'HDMI_HDMISE_DBG'. */
  1476. void GH_HDMI_set_HDMISE_DBG_DBG_VDATA_SRC_MODE(U8 data);
  1477. /*! \brief Reads the bit group 'DBG_VDATA_SRC_MODE' of register 'HDMI_HDMISE_DBG'. */
  1478. U8 GH_HDMI_get_HDMISE_DBG_DBG_VDATA_SRC_MODE(void);
  1479. /*! \brief Writes the bit group 'DBG_CH_B_REV' of register 'HDMI_HDMISE_DBG'. */
  1480. void GH_HDMI_set_HDMISE_DBG_DBG_CH_B_REV(U8 data);
  1481. /*! \brief Reads the bit group 'DBG_CH_B_REV' of register 'HDMI_HDMISE_DBG'. */
  1482. U8 GH_HDMI_get_HDMISE_DBG_DBG_CH_B_REV(void);
  1483. /*! \brief Writes the bit group 'DBG_CH_G_REV' of register 'HDMI_HDMISE_DBG'. */
  1484. void GH_HDMI_set_HDMISE_DBG_DBG_CH_G_REV(U8 data);
  1485. /*! \brief Reads the bit group 'DBG_CH_G_REV' of register 'HDMI_HDMISE_DBG'. */
  1486. U8 GH_HDMI_get_HDMISE_DBG_DBG_CH_G_REV(void);
  1487. /*! \brief Writes the bit group 'DBG_CH_R_REV' of register 'HDMI_HDMISE_DBG'. */
  1488. void GH_HDMI_set_HDMISE_DBG_DBG_CH_R_REV(U8 data);
  1489. /*! \brief Reads the bit group 'DBG_CH_R_REV' of register 'HDMI_HDMISE_DBG'. */
  1490. U8 GH_HDMI_get_HDMISE_DBG_DBG_CH_R_REV(void);
  1491. /*! \brief Writes the bit group 'DBG_CH_SWP' of register 'HDMI_HDMISE_DBG'. */
  1492. void GH_HDMI_set_HDMISE_DBG_DBG_CH_SWP(U8 data);
  1493. /*! \brief Reads the bit group 'DBG_CH_SWP' of register 'HDMI_HDMISE_DBG'. */
  1494. U8 GH_HDMI_get_HDMISE_DBG_DBG_CH_SWP(void);
  1495. /*----------------------------------------------------------------------------*/
  1496. /* register HDMI_HDMI_PHY_CTRL (read/write) */
  1497. /*----------------------------------------------------------------------------*/
  1498. /*! \brief Writes the register 'HDMI_HDMI_PHY_CTRL'. */
  1499. void GH_HDMI_set_HDMI_PHY_CTRL(U32 data);
  1500. /*! \brief Reads the register 'HDMI_HDMI_PHY_CTRL'. */
  1501. U32 GH_HDMI_get_HDMI_PHY_CTRL(void);
  1502. /*! \brief Writes the bit group 'RSTND_HDMI' of register 'HDMI_HDMI_PHY_CTRL'. */
  1503. void GH_HDMI_set_HDMI_PHY_CTRL_RSTND_HDMI(U8 data);
  1504. /*! \brief Reads the bit group 'RSTND_HDMI' of register 'HDMI_HDMI_PHY_CTRL'. */
  1505. U8 GH_HDMI_get_HDMI_PHY_CTRL_RSTND_HDMI(void);
  1506. /*! \brief Writes the bit group 'PIB' of register 'HDMI_HDMI_PHY_CTRL'. */
  1507. void GH_HDMI_set_HDMI_PHY_CTRL_PIB(U8 data);
  1508. /*! \brief Reads the bit group 'PIB' of register 'HDMI_HDMI_PHY_CTRL'. */
  1509. U8 GH_HDMI_get_HDMI_PHY_CTRL_PIB(void);
  1510. /*! \brief Writes the bit group 'PES' of register 'HDMI_HDMI_PHY_CTRL'. */
  1511. void GH_HDMI_set_HDMI_PHY_CTRL_PES(U8 data);
  1512. /*! \brief Reads the bit group 'PES' of register 'HDMI_HDMI_PHY_CTRL'. */
  1513. U8 GH_HDMI_get_HDMI_PHY_CTRL_PES(void);
  1514. /*! \brief Writes the bit group 'PDB_HDMI' of register 'HDMI_HDMI_PHY_CTRL'. */
  1515. void GH_HDMI_set_HDMI_PHY_CTRL_PDB_HDMI(U8 data);
  1516. /*! \brief Reads the bit group 'PDB_HDMI' of register 'HDMI_HDMI_PHY_CTRL'. */
  1517. U8 GH_HDMI_get_HDMI_PHY_CTRL_PDB_HDMI(void);
  1518. /*! \brief Writes the bit group 'PD_BG' of register 'HDMI_HDMI_PHY_CTRL'. */
  1519. void GH_HDMI_set_HDMI_PHY_CTRL_PD_BG(U8 data);
  1520. /*! \brief Reads the bit group 'PD_BG' of register 'HDMI_HDMI_PHY_CTRL'. */
  1521. U8 GH_HDMI_get_HDMI_PHY_CTRL_PD_BG(void);
  1522. /*----------------------------------------------------------------------------*/
  1523. /* init function */
  1524. /*----------------------------------------------------------------------------*/
  1525. /*! \brief Initialises the registers and mirror variables. */
  1526. void GH_HDMI_init(void);
  1527. #ifdef SRC_INLINE
  1528. #define SRC_INC 1
  1529. #include "gh_hdmi.c"
  1530. #undef SRC_INC
  1531. #endif
  1532. #ifdef __cplusplus
  1533. }
  1534. #endif
  1535. #endif /* _GH_HDMI_H */
  1536. /*----------------------------------------------------------------------------*/
  1537. /* end of file */
  1538. /*----------------------------------------------------------------------------*/