flexcop_ibi_value_be.h 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456
  1. /* Linux driver for digital TV devices equipped with B2C2 FlexcopII(b)/III
  2. * register descriptions
  3. * see flexcop.c for copyright information
  4. */
  5. /* This file is automatically generated, do not edit things here. */
  6. #ifndef __FLEXCOP_IBI_VALUE_INCLUDED__
  7. #define __FLEXCOP_IBI_VALUE_INCLUDED__
  8. typedef union {
  9. u32 raw;
  10. struct {
  11. u32 dma_address0 :30;
  12. u32 dma_0No_update : 1;
  13. u32 dma_0start : 1;
  14. } dma_0x0;
  15. struct {
  16. u32 dma_addr_size :24;
  17. u32 DMA_maxpackets : 8;
  18. } dma_0x4_remap;
  19. struct {
  20. u32 dma_addr_size :24;
  21. u32 unused : 1;
  22. u32 dma1timer : 7;
  23. } dma_0x4_read;
  24. struct {
  25. u32 dma_addr_size :24;
  26. u32 dmatimer : 7;
  27. u32 unused : 1;
  28. } dma_0x4_write;
  29. struct {
  30. u32 dma_cur_addr :30;
  31. u32 unused : 2;
  32. } dma_0x8;
  33. struct {
  34. u32 dma_address1 :30;
  35. u32 remap_enable : 1;
  36. u32 dma_1start : 1;
  37. } dma_0xc;
  38. struct {
  39. u32 st_done : 1;
  40. u32 no_base_addr_ack_error : 1;
  41. u32 twoWS_port_reg : 2;
  42. u32 total_bytes : 2;
  43. u32 twoWS_rw : 1;
  44. u32 working_start : 1;
  45. u32 data1_reg : 8;
  46. u32 baseaddr : 8;
  47. u32 reserved1 : 1;
  48. u32 chipaddr : 7;
  49. } tw_sm_c_100;
  50. struct {
  51. u32 unused : 6;
  52. u32 force_stop : 1;
  53. u32 exlicit_stops : 1;
  54. u32 data4_reg : 8;
  55. u32 data3_reg : 8;
  56. u32 data2_reg : 8;
  57. } tw_sm_c_104;
  58. struct {
  59. u32 reserved2 :19;
  60. u32 tlo1 : 5;
  61. u32 reserved1 : 2;
  62. u32 thi1 : 6;
  63. } tw_sm_c_108;
  64. struct {
  65. u32 reserved2 :19;
  66. u32 tlo1 : 5;
  67. u32 reserved1 : 2;
  68. u32 thi1 : 6;
  69. } tw_sm_c_10c;
  70. struct {
  71. u32 reserved2 :19;
  72. u32 tlo1 : 5;
  73. u32 reserved1 : 2;
  74. u32 thi1 : 6;
  75. } tw_sm_c_110;
  76. struct {
  77. u32 LNB_CTLPrescaler_sig : 2;
  78. u32 LNB_CTLLowCount_sig :15;
  79. u32 LNB_CTLHighCount_sig :15;
  80. } lnb_switch_freq_200;
  81. struct {
  82. u32 Rev_N_sig_reserved2 : 1;
  83. u32 Rev_N_sig_caps : 1;
  84. u32 Rev_N_sig_reserved1 : 2;
  85. u32 Rev_N_sig_revision_hi : 4;
  86. u32 reserved :20;
  87. u32 Per_reset_sig : 1;
  88. u32 LNB_L_H_sig : 1;
  89. u32 ACPI3_sig : 1;
  90. u32 ACPI1_sig : 1;
  91. } misc_204;
  92. struct {
  93. u32 unused : 9;
  94. u32 Mailbox_from_V8_Enable_sig : 1;
  95. u32 DMA2_Size_IRQ_Enable_sig : 1;
  96. u32 DMA1_Size_IRQ_Enable_sig : 1;
  97. u32 DMA2_Timer_Enable_sig : 1;
  98. u32 DMA2_IRQ_Enable_sig : 1;
  99. u32 DMA1_Timer_Enable_sig : 1;
  100. u32 DMA1_IRQ_Enable_sig : 1;
  101. u32 Rcv_Data_sig : 1;
  102. u32 MAC_filter_Mode_sig : 1;
  103. u32 Multi2_Enable_sig : 1;
  104. u32 Per_CA_Enable_sig : 1;
  105. u32 SMC_Enable_sig : 1;
  106. u32 CA_Enable_sig : 1;
  107. u32 WAN_CA_Enable_sig : 1;
  108. u32 WAN_Enable_sig : 1;
  109. u32 Mask_filter_sig : 1;
  110. u32 Null_filter_sig : 1;
  111. u32 ECM_filter_sig : 1;
  112. u32 EMM_filter_sig : 1;
  113. u32 PMT_filter_sig : 1;
  114. u32 PCR_filter_sig : 1;
  115. u32 Stream2_filter_sig : 1;
  116. u32 Stream1_filter_sig : 1;
  117. } ctrl_208;
  118. struct {
  119. u32 reserved :21;
  120. u32 Transport_Error : 1;
  121. u32 LLC_SNAP_FLAG_set : 1;
  122. u32 Continuity_error_flag : 1;
  123. u32 Data_receiver_error : 1;
  124. u32 Mailbox_from_V8_Status_sig : 1;
  125. u32 DMA2_Size_IRQ_Status : 1;
  126. u32 DMA1_Size_IRQ_Status : 1;
  127. u32 DMA2_Timer_Status : 1;
  128. u32 DMA2_IRQ_Status : 1;
  129. u32 DMA1_Timer_Status : 1;
  130. u32 DMA1_IRQ_Status : 1;
  131. } irq_20c;
  132. struct {
  133. u32 Special_controls :16;
  134. u32 Block_reset_enable : 8;
  135. u32 reset_block_700 : 1;
  136. u32 reset_block_600 : 1;
  137. u32 reset_block_500 : 1;
  138. u32 reset_block_400 : 1;
  139. u32 reset_block_300 : 1;
  140. u32 reset_block_200 : 1;
  141. u32 reset_block_100 : 1;
  142. u32 reset_block_000 : 1;
  143. } sw_reset_210;
  144. struct {
  145. u32 unused2 :20;
  146. u32 polarity_PS_ERR_sig : 1;
  147. u32 polarity_PS_SYNC_sig : 1;
  148. u32 polarity_PS_VALID_sig : 1;
  149. u32 polarity_PS_CLK_sig : 1;
  150. u32 unused1 : 3;
  151. u32 s2p_sel_sig : 1;
  152. u32 section_pkg_enable_sig : 1;
  153. u32 halt_V8_sig : 1;
  154. u32 v2WS_oe_sig : 1;
  155. u32 vuart_oe_sig : 1;
  156. } misc_214;
  157. struct {
  158. u32 Mailbox_from_V8 :32;
  159. } mbox_v8_to_host_218;
  160. struct {
  161. u32 sysramaccess_busmuster : 1;
  162. u32 sysramaccess_write : 1;
  163. u32 unused : 7;
  164. u32 sysramaccess_addr :15;
  165. u32 sysramaccess_data : 8;
  166. } mbox_host_to_v8_21c;
  167. struct {
  168. u32 debug_fifo_problem : 1;
  169. u32 debug_flag_write_status00 : 1;
  170. u32 Stream2_trans : 1;
  171. u32 Stream2_PID :13;
  172. u32 debug_flag_pid_saved : 1;
  173. u32 MAC_Multicast_filter : 1;
  174. u32 Stream1_trans : 1;
  175. u32 Stream1_PID :13;
  176. } pid_filter_300;
  177. struct {
  178. u32 reserved : 2;
  179. u32 PMT_trans : 1;
  180. u32 PMT_PID :13;
  181. u32 debug_overrun2 : 1;
  182. u32 debug_overrun3 : 1;
  183. u32 PCR_trans : 1;
  184. u32 PCR_PID :13;
  185. } pid_filter_304;
  186. struct {
  187. u32 reserved : 2;
  188. u32 ECM_trans : 1;
  189. u32 ECM_PID :13;
  190. u32 EMM_filter_6 : 1;
  191. u32 EMM_filter_4 : 1;
  192. u32 EMM_trans : 1;
  193. u32 EMM_PID :13;
  194. } pid_filter_308;
  195. struct {
  196. u32 unused2 : 3;
  197. u32 Group_mask :13;
  198. u32 unused1 : 2;
  199. u32 Group_trans : 1;
  200. u32 Group_PID :13;
  201. } pid_filter_30c_ext_ind_0_7;
  202. struct {
  203. u32 unused :15;
  204. u32 net_master_read :17;
  205. } pid_filter_30c_ext_ind_1;
  206. struct {
  207. u32 unused :15;
  208. u32 net_master_write :17;
  209. } pid_filter_30c_ext_ind_2;
  210. struct {
  211. u32 unused :15;
  212. u32 next_net_master_write :17;
  213. } pid_filter_30c_ext_ind_3;
  214. struct {
  215. u32 reserved2 : 5;
  216. u32 stack_read :10;
  217. u32 reserved1 : 6;
  218. u32 state_write :10;
  219. u32 unused1 : 1;
  220. } pid_filter_30c_ext_ind_4;
  221. struct {
  222. u32 unused :22;
  223. u32 stack_cnt :10;
  224. } pid_filter_30c_ext_ind_5;
  225. struct {
  226. u32 unused : 4;
  227. u32 data_size_reg :12;
  228. u32 write_status4 : 2;
  229. u32 write_status1 : 2;
  230. u32 pid_fsm_save_reg300 : 2;
  231. u32 pid_fsm_save_reg4 : 2;
  232. u32 pid_fsm_save_reg3 : 2;
  233. u32 pid_fsm_save_reg2 : 2;
  234. u32 pid_fsm_save_reg1 : 2;
  235. u32 pid_fsm_save_reg0 : 2;
  236. } pid_filter_30c_ext_ind_6;
  237. struct {
  238. u32 unused :22;
  239. u32 pass_alltables : 1;
  240. u32 AB_select : 1;
  241. u32 extra_index_reg : 3;
  242. u32 index_reg : 5;
  243. } index_reg_310;
  244. struct {
  245. u32 reserved :17;
  246. u32 PID_enable_bit : 1;
  247. u32 PID_trans : 1;
  248. u32 PID :13;
  249. } pid_n_reg_314;
  250. struct {
  251. u32 reserved : 6;
  252. u32 HighAB_bit : 1;
  253. u32 Enable_bit : 1;
  254. u32 A6_byte : 8;
  255. u32 A5_byte : 8;
  256. u32 A4_byte : 8;
  257. } mac_low_reg_318;
  258. struct {
  259. u32 reserved : 8;
  260. u32 A3_byte : 8;
  261. u32 A2_byte : 8;
  262. u32 A1_byte : 8;
  263. } mac_high_reg_31c;
  264. struct {
  265. u32 data_Tag_ID :16;
  266. u32 reserved :16;
  267. } data_tag_400;
  268. struct {
  269. u32 Card_IDbyte3 : 8;
  270. u32 Card_IDbyte4 : 8;
  271. u32 Card_IDbyte5 : 8;
  272. u32 Card_IDbyte6 : 8;
  273. } card_id_408;
  274. struct {
  275. u32 Card_IDbyte1 : 8;
  276. u32 Card_IDbyte2 : 8;
  277. } card_id_40c;
  278. struct {
  279. u32 MAC6 : 8;
  280. u32 MAC3 : 8;
  281. u32 MAC2 : 8;
  282. u32 MAC1 : 8;
  283. } mac_address_418;
  284. struct {
  285. u32 reserved :16;
  286. u32 MAC8 : 8;
  287. u32 MAC7 : 8;
  288. } mac_address_41c;
  289. struct {
  290. u32 reserved :21;
  291. u32 txbuffempty : 1;
  292. u32 ReceiveByteFrameError : 1;
  293. u32 ReceiveDataReady : 1;
  294. u32 transmitter_data_byte : 8;
  295. } ci_600;
  296. struct {
  297. u32 pi_component_reg : 3;
  298. u32 pi_rw : 1;
  299. u32 pi_ha :20;
  300. u32 pi_d : 8;
  301. } pi_604;
  302. struct {
  303. u32 pi_busy_n : 1;
  304. u32 pi_wait_n : 1;
  305. u32 pi_timeout_status : 1;
  306. u32 pi_CiMax_IRQ_n : 1;
  307. u32 config_cclk : 1;
  308. u32 config_cs_n : 1;
  309. u32 config_wr_n : 1;
  310. u32 config_Prog_n : 1;
  311. u32 config_Init_stat : 1;
  312. u32 config_Done_stat : 1;
  313. u32 pcmcia_b_mod_pwr_n : 1;
  314. u32 pcmcia_a_mod_pwr_n : 1;
  315. u32 reserved : 3;
  316. u32 Timer_addr : 5;
  317. u32 unused : 1;
  318. u32 timer_data : 7;
  319. u32 Timer_Load_req : 1;
  320. u32 Timer_Read_req : 1;
  321. u32 oncecycle_read : 1;
  322. u32 serialReset : 1;
  323. } pi_608;
  324. struct {
  325. u32 reserved : 6;
  326. u32 rw_flag : 1;
  327. u32 dvb_en : 1;
  328. u32 key_array_row : 5;
  329. u32 key_array_col : 3;
  330. u32 key_code : 2;
  331. u32 key_enable : 1;
  332. u32 PID :13;
  333. } dvb_reg_60c;
  334. struct {
  335. u32 start_sram_ibi : 1;
  336. u32 reserved2 : 1;
  337. u32 ce_pin_reg : 1;
  338. u32 oe_pin_reg : 1;
  339. u32 reserved1 : 3;
  340. u32 sc_xfer_bit : 1;
  341. u32 sram_data : 8;
  342. u32 sram_rw : 1;
  343. u32 sram_addr :15;
  344. } sram_ctrl_reg_700;
  345. struct {
  346. u32 net_addr_write :16;
  347. u32 net_addr_read :16;
  348. } net_buf_reg_704;
  349. struct {
  350. u32 cai_cnt : 4;
  351. u32 reserved2 : 6;
  352. u32 cai_write :11;
  353. u32 reserved1 : 5;
  354. u32 cai_read :11;
  355. } cai_buf_reg_708;
  356. struct {
  357. u32 cao_cnt : 4;
  358. u32 reserved2 : 6;
  359. u32 cap_write :11;
  360. u32 reserved1 : 5;
  361. u32 cao_read :11;
  362. } cao_buf_reg_70c;
  363. struct {
  364. u32 media_cnt : 4;
  365. u32 reserved2 : 6;
  366. u32 media_write :11;
  367. u32 reserved1 : 5;
  368. u32 media_read :11;
  369. } media_buf_reg_710;
  370. struct {
  371. u32 reserved :17;
  372. u32 ctrl_maximumfill : 1;
  373. u32 ctrl_sramdma : 1;
  374. u32 ctrl_usb_wan : 1;
  375. u32 cao_ovflow_error : 1;
  376. u32 cai_ovflow_error : 1;
  377. u32 media_ovflow_error : 1;
  378. u32 net_ovflow_error : 1;
  379. u32 MEDIA_Dest : 2;
  380. u32 CAO_Dest : 2;
  381. u32 CAI_Dest : 2;
  382. u32 NET_Dest : 2;
  383. } sram_dest_reg_714;
  384. struct {
  385. u32 reserved3 :11;
  386. u32 net_addr_write : 1;
  387. u32 reserved2 : 3;
  388. u32 net_addr_read : 1;
  389. u32 reserved1 : 4;
  390. u32 net_cnt :12;
  391. } net_buf_reg_718;
  392. struct {
  393. u32 reserved3 : 4;
  394. u32 wan_pkt_frame : 4;
  395. u32 reserved2 : 4;
  396. u32 sram_memmap : 2;
  397. u32 sram_chip : 2;
  398. u32 wan_wait_state : 8;
  399. u32 reserved1 : 6;
  400. u32 wan_speed_sig : 2;
  401. } wan_ctrl_reg_71c;
  402. } flexcop_ibi_value;
  403. #endif