xref: /linux/drivers/media/common/b2c2/flexcop_ibi_value_le.h (revision 498495dba268b20e8eadd7fe93c140c68b6cc9d2)
1*b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */
23785bc17SMauro Carvalho Chehab /* Linux driver for digital TV devices equipped with B2C2 FlexcopII(b)/III
33785bc17SMauro Carvalho Chehab  * register descriptions
43785bc17SMauro Carvalho Chehab  * see flexcop.c for copyright information
53785bc17SMauro Carvalho Chehab  */
63785bc17SMauro Carvalho Chehab /* This file is automatically generated, do not edit things here. */
73785bc17SMauro Carvalho Chehab #ifndef __FLEXCOP_IBI_VALUE_INCLUDED__
83785bc17SMauro Carvalho Chehab #define __FLEXCOP_IBI_VALUE_INCLUDED__
93785bc17SMauro Carvalho Chehab 
103785bc17SMauro Carvalho Chehab typedef union {
113785bc17SMauro Carvalho Chehab 	u32 raw;
123785bc17SMauro Carvalho Chehab 
133785bc17SMauro Carvalho Chehab 	struct {
143785bc17SMauro Carvalho Chehab 		u32 dma_0start                     : 1;
153785bc17SMauro Carvalho Chehab 		u32 dma_0No_update                 : 1;
163785bc17SMauro Carvalho Chehab 		u32 dma_address0                   :30;
173785bc17SMauro Carvalho Chehab 	} dma_0x0;
183785bc17SMauro Carvalho Chehab 
193785bc17SMauro Carvalho Chehab 	struct {
203785bc17SMauro Carvalho Chehab 		u32 DMA_maxpackets                 : 8;
213785bc17SMauro Carvalho Chehab 		u32 dma_addr_size                  :24;
223785bc17SMauro Carvalho Chehab 	} dma_0x4_remap;
233785bc17SMauro Carvalho Chehab 
243785bc17SMauro Carvalho Chehab 	struct {
253785bc17SMauro Carvalho Chehab 		u32 dma1timer                      : 7;
263785bc17SMauro Carvalho Chehab 		u32 unused                         : 1;
273785bc17SMauro Carvalho Chehab 		u32 dma_addr_size                  :24;
283785bc17SMauro Carvalho Chehab 	} dma_0x4_read;
293785bc17SMauro Carvalho Chehab 
303785bc17SMauro Carvalho Chehab 	struct {
313785bc17SMauro Carvalho Chehab 		u32 unused                         : 1;
323785bc17SMauro Carvalho Chehab 		u32 dmatimer                       : 7;
333785bc17SMauro Carvalho Chehab 		u32 dma_addr_size                  :24;
343785bc17SMauro Carvalho Chehab 	} dma_0x4_write;
353785bc17SMauro Carvalho Chehab 
363785bc17SMauro Carvalho Chehab 	struct {
373785bc17SMauro Carvalho Chehab 		u32 unused                         : 2;
383785bc17SMauro Carvalho Chehab 		u32 dma_cur_addr                   :30;
393785bc17SMauro Carvalho Chehab 	} dma_0x8;
403785bc17SMauro Carvalho Chehab 
413785bc17SMauro Carvalho Chehab 	struct {
423785bc17SMauro Carvalho Chehab 		u32 dma_1start                     : 1;
433785bc17SMauro Carvalho Chehab 		u32 remap_enable                   : 1;
443785bc17SMauro Carvalho Chehab 		u32 dma_address1                   :30;
453785bc17SMauro Carvalho Chehab 	} dma_0xc;
463785bc17SMauro Carvalho Chehab 
473785bc17SMauro Carvalho Chehab 	struct {
483785bc17SMauro Carvalho Chehab 		u32 chipaddr                       : 7;
493785bc17SMauro Carvalho Chehab 		u32 reserved1                      : 1;
503785bc17SMauro Carvalho Chehab 		u32 baseaddr                       : 8;
513785bc17SMauro Carvalho Chehab 		u32 data1_reg                      : 8;
523785bc17SMauro Carvalho Chehab 		u32 working_start                  : 1;
533785bc17SMauro Carvalho Chehab 		u32 twoWS_rw                       : 1;
543785bc17SMauro Carvalho Chehab 		u32 total_bytes                    : 2;
553785bc17SMauro Carvalho Chehab 		u32 twoWS_port_reg                 : 2;
563785bc17SMauro Carvalho Chehab 		u32 no_base_addr_ack_error         : 1;
573785bc17SMauro Carvalho Chehab 		u32 st_done                        : 1;
583785bc17SMauro Carvalho Chehab 	} tw_sm_c_100;
593785bc17SMauro Carvalho Chehab 
603785bc17SMauro Carvalho Chehab 	struct {
613785bc17SMauro Carvalho Chehab 		u32 data2_reg                      : 8;
623785bc17SMauro Carvalho Chehab 		u32 data3_reg                      : 8;
633785bc17SMauro Carvalho Chehab 		u32 data4_reg                      : 8;
643785bc17SMauro Carvalho Chehab 		u32 exlicit_stops                  : 1;
653785bc17SMauro Carvalho Chehab 		u32 force_stop                     : 1;
663785bc17SMauro Carvalho Chehab 		u32 unused                         : 6;
673785bc17SMauro Carvalho Chehab 	} tw_sm_c_104;
683785bc17SMauro Carvalho Chehab 
693785bc17SMauro Carvalho Chehab 	struct {
703785bc17SMauro Carvalho Chehab 		u32 thi1                           : 6;
713785bc17SMauro Carvalho Chehab 		u32 reserved1                      : 2;
723785bc17SMauro Carvalho Chehab 		u32 tlo1                           : 5;
733785bc17SMauro Carvalho Chehab 		u32 reserved2                      :19;
743785bc17SMauro Carvalho Chehab 	} tw_sm_c_108;
753785bc17SMauro Carvalho Chehab 
763785bc17SMauro Carvalho Chehab 	struct {
773785bc17SMauro Carvalho Chehab 		u32 thi1                           : 6;
783785bc17SMauro Carvalho Chehab 		u32 reserved1                      : 2;
793785bc17SMauro Carvalho Chehab 		u32 tlo1                           : 5;
803785bc17SMauro Carvalho Chehab 		u32 reserved2                      :19;
813785bc17SMauro Carvalho Chehab 	} tw_sm_c_10c;
823785bc17SMauro Carvalho Chehab 
833785bc17SMauro Carvalho Chehab 	struct {
843785bc17SMauro Carvalho Chehab 		u32 thi1                           : 6;
853785bc17SMauro Carvalho Chehab 		u32 reserved1                      : 2;
863785bc17SMauro Carvalho Chehab 		u32 tlo1                           : 5;
873785bc17SMauro Carvalho Chehab 		u32 reserved2                      :19;
883785bc17SMauro Carvalho Chehab 	} tw_sm_c_110;
893785bc17SMauro Carvalho Chehab 
903785bc17SMauro Carvalho Chehab 	struct {
913785bc17SMauro Carvalho Chehab 		u32 LNB_CTLHighCount_sig           :15;
923785bc17SMauro Carvalho Chehab 		u32 LNB_CTLLowCount_sig            :15;
933785bc17SMauro Carvalho Chehab 		u32 LNB_CTLPrescaler_sig           : 2;
943785bc17SMauro Carvalho Chehab 	} lnb_switch_freq_200;
953785bc17SMauro Carvalho Chehab 
963785bc17SMauro Carvalho Chehab 	struct {
973785bc17SMauro Carvalho Chehab 		u32 ACPI1_sig                      : 1;
983785bc17SMauro Carvalho Chehab 		u32 ACPI3_sig                      : 1;
993785bc17SMauro Carvalho Chehab 		u32 LNB_L_H_sig                    : 1;
1003785bc17SMauro Carvalho Chehab 		u32 Per_reset_sig                  : 1;
1013785bc17SMauro Carvalho Chehab 		u32 reserved                       :20;
1023785bc17SMauro Carvalho Chehab 		u32 Rev_N_sig_revision_hi          : 4;
1033785bc17SMauro Carvalho Chehab 		u32 Rev_N_sig_reserved1            : 2;
1043785bc17SMauro Carvalho Chehab 		u32 Rev_N_sig_caps                 : 1;
1053785bc17SMauro Carvalho Chehab 		u32 Rev_N_sig_reserved2            : 1;
1063785bc17SMauro Carvalho Chehab 	} misc_204;
1073785bc17SMauro Carvalho Chehab 
1083785bc17SMauro Carvalho Chehab 	struct {
1093785bc17SMauro Carvalho Chehab 		u32 Stream1_filter_sig             : 1;
1103785bc17SMauro Carvalho Chehab 		u32 Stream2_filter_sig             : 1;
1113785bc17SMauro Carvalho Chehab 		u32 PCR_filter_sig                 : 1;
1123785bc17SMauro Carvalho Chehab 		u32 PMT_filter_sig                 : 1;
1133785bc17SMauro Carvalho Chehab 		u32 EMM_filter_sig                 : 1;
1143785bc17SMauro Carvalho Chehab 		u32 ECM_filter_sig                 : 1;
1153785bc17SMauro Carvalho Chehab 		u32 Null_filter_sig                : 1;
1163785bc17SMauro Carvalho Chehab 		u32 Mask_filter_sig                : 1;
1173785bc17SMauro Carvalho Chehab 		u32 WAN_Enable_sig                 : 1;
1183785bc17SMauro Carvalho Chehab 		u32 WAN_CA_Enable_sig              : 1;
1193785bc17SMauro Carvalho Chehab 		u32 CA_Enable_sig                  : 1;
1203785bc17SMauro Carvalho Chehab 		u32 SMC_Enable_sig                 : 1;
1213785bc17SMauro Carvalho Chehab 		u32 Per_CA_Enable_sig              : 1;
1223785bc17SMauro Carvalho Chehab 		u32 Multi2_Enable_sig              : 1;
1233785bc17SMauro Carvalho Chehab 		u32 MAC_filter_Mode_sig            : 1;
1243785bc17SMauro Carvalho Chehab 		u32 Rcv_Data_sig                   : 1;
1253785bc17SMauro Carvalho Chehab 		u32 DMA1_IRQ_Enable_sig            : 1;
1263785bc17SMauro Carvalho Chehab 		u32 DMA1_Timer_Enable_sig          : 1;
1273785bc17SMauro Carvalho Chehab 		u32 DMA2_IRQ_Enable_sig            : 1;
1283785bc17SMauro Carvalho Chehab 		u32 DMA2_Timer_Enable_sig          : 1;
1293785bc17SMauro Carvalho Chehab 		u32 DMA1_Size_IRQ_Enable_sig       : 1;
1303785bc17SMauro Carvalho Chehab 		u32 DMA2_Size_IRQ_Enable_sig       : 1;
1313785bc17SMauro Carvalho Chehab 		u32 Mailbox_from_V8_Enable_sig     : 1;
1323785bc17SMauro Carvalho Chehab 		u32 unused                         : 9;
1333785bc17SMauro Carvalho Chehab 	} ctrl_208;
1343785bc17SMauro Carvalho Chehab 
1353785bc17SMauro Carvalho Chehab 	struct {
1363785bc17SMauro Carvalho Chehab 		u32 DMA1_IRQ_Status                : 1;
1373785bc17SMauro Carvalho Chehab 		u32 DMA1_Timer_Status              : 1;
1383785bc17SMauro Carvalho Chehab 		u32 DMA2_IRQ_Status                : 1;
1393785bc17SMauro Carvalho Chehab 		u32 DMA2_Timer_Status              : 1;
1403785bc17SMauro Carvalho Chehab 		u32 DMA1_Size_IRQ_Status           : 1;
1413785bc17SMauro Carvalho Chehab 		u32 DMA2_Size_IRQ_Status           : 1;
1423785bc17SMauro Carvalho Chehab 		u32 Mailbox_from_V8_Status_sig     : 1;
1433785bc17SMauro Carvalho Chehab 		u32 Data_receiver_error            : 1;
1443785bc17SMauro Carvalho Chehab 		u32 Continuity_error_flag          : 1;
1453785bc17SMauro Carvalho Chehab 		u32 LLC_SNAP_FLAG_set              : 1;
1463785bc17SMauro Carvalho Chehab 		u32 Transport_Error                : 1;
1473785bc17SMauro Carvalho Chehab 		u32 reserved                       :21;
1483785bc17SMauro Carvalho Chehab 	} irq_20c;
1493785bc17SMauro Carvalho Chehab 
1503785bc17SMauro Carvalho Chehab 	struct {
1513785bc17SMauro Carvalho Chehab 		u32 reset_block_000                : 1;
1523785bc17SMauro Carvalho Chehab 		u32 reset_block_100                : 1;
1533785bc17SMauro Carvalho Chehab 		u32 reset_block_200                : 1;
1543785bc17SMauro Carvalho Chehab 		u32 reset_block_300                : 1;
1553785bc17SMauro Carvalho Chehab 		u32 reset_block_400                : 1;
1563785bc17SMauro Carvalho Chehab 		u32 reset_block_500                : 1;
1573785bc17SMauro Carvalho Chehab 		u32 reset_block_600                : 1;
1583785bc17SMauro Carvalho Chehab 		u32 reset_block_700                : 1;
1593785bc17SMauro Carvalho Chehab 		u32 Block_reset_enable             : 8;
1603785bc17SMauro Carvalho Chehab 		u32 Special_controls               :16;
1613785bc17SMauro Carvalho Chehab 	} sw_reset_210;
1623785bc17SMauro Carvalho Chehab 
1633785bc17SMauro Carvalho Chehab 	struct {
1643785bc17SMauro Carvalho Chehab 		u32 vuart_oe_sig                   : 1;
1653785bc17SMauro Carvalho Chehab 		u32 v2WS_oe_sig                    : 1;
1663785bc17SMauro Carvalho Chehab 		u32 halt_V8_sig                    : 1;
1673785bc17SMauro Carvalho Chehab 		u32 section_pkg_enable_sig         : 1;
1683785bc17SMauro Carvalho Chehab 		u32 s2p_sel_sig                    : 1;
1693785bc17SMauro Carvalho Chehab 		u32 unused1                        : 3;
1703785bc17SMauro Carvalho Chehab 		u32 polarity_PS_CLK_sig            : 1;
1713785bc17SMauro Carvalho Chehab 		u32 polarity_PS_VALID_sig          : 1;
1723785bc17SMauro Carvalho Chehab 		u32 polarity_PS_SYNC_sig           : 1;
1733785bc17SMauro Carvalho Chehab 		u32 polarity_PS_ERR_sig            : 1;
1743785bc17SMauro Carvalho Chehab 		u32 unused2                        :20;
1753785bc17SMauro Carvalho Chehab 	} misc_214;
1763785bc17SMauro Carvalho Chehab 
1773785bc17SMauro Carvalho Chehab 	struct {
1783785bc17SMauro Carvalho Chehab 		u32 Mailbox_from_V8                :32;
1793785bc17SMauro Carvalho Chehab 	} mbox_v8_to_host_218;
1803785bc17SMauro Carvalho Chehab 
1813785bc17SMauro Carvalho Chehab 	struct {
1823785bc17SMauro Carvalho Chehab 		u32 sysramaccess_data              : 8;
1833785bc17SMauro Carvalho Chehab 		u32 sysramaccess_addr              :15;
1843785bc17SMauro Carvalho Chehab 		u32 unused                         : 7;
1853785bc17SMauro Carvalho Chehab 		u32 sysramaccess_write             : 1;
1863785bc17SMauro Carvalho Chehab 		u32 sysramaccess_busmuster         : 1;
1873785bc17SMauro Carvalho Chehab 	} mbox_host_to_v8_21c;
1883785bc17SMauro Carvalho Chehab 
1893785bc17SMauro Carvalho Chehab 	struct {
1903785bc17SMauro Carvalho Chehab 		u32 Stream1_PID                    :13;
1913785bc17SMauro Carvalho Chehab 		u32 Stream1_trans                  : 1;
1923785bc17SMauro Carvalho Chehab 		u32 MAC_Multicast_filter           : 1;
1933785bc17SMauro Carvalho Chehab 		u32 debug_flag_pid_saved           : 1;
1943785bc17SMauro Carvalho Chehab 		u32 Stream2_PID                    :13;
1953785bc17SMauro Carvalho Chehab 		u32 Stream2_trans                  : 1;
1963785bc17SMauro Carvalho Chehab 		u32 debug_flag_write_status00      : 1;
1973785bc17SMauro Carvalho Chehab 		u32 debug_fifo_problem             : 1;
1983785bc17SMauro Carvalho Chehab 	} pid_filter_300;
1993785bc17SMauro Carvalho Chehab 
2003785bc17SMauro Carvalho Chehab 	struct {
2013785bc17SMauro Carvalho Chehab 		u32 PCR_PID                        :13;
2023785bc17SMauro Carvalho Chehab 		u32 PCR_trans                      : 1;
2033785bc17SMauro Carvalho Chehab 		u32 debug_overrun3                 : 1;
2043785bc17SMauro Carvalho Chehab 		u32 debug_overrun2                 : 1;
2053785bc17SMauro Carvalho Chehab 		u32 PMT_PID                        :13;
2063785bc17SMauro Carvalho Chehab 		u32 PMT_trans                      : 1;
2073785bc17SMauro Carvalho Chehab 		u32 reserved                       : 2;
2083785bc17SMauro Carvalho Chehab 	} pid_filter_304;
2093785bc17SMauro Carvalho Chehab 
2103785bc17SMauro Carvalho Chehab 	struct {
2113785bc17SMauro Carvalho Chehab 		u32 EMM_PID                        :13;
2123785bc17SMauro Carvalho Chehab 		u32 EMM_trans                      : 1;
2133785bc17SMauro Carvalho Chehab 		u32 EMM_filter_4                   : 1;
2143785bc17SMauro Carvalho Chehab 		u32 EMM_filter_6                   : 1;
2153785bc17SMauro Carvalho Chehab 		u32 ECM_PID                        :13;
2163785bc17SMauro Carvalho Chehab 		u32 ECM_trans                      : 1;
2173785bc17SMauro Carvalho Chehab 		u32 reserved                       : 2;
2183785bc17SMauro Carvalho Chehab 	} pid_filter_308;
2193785bc17SMauro Carvalho Chehab 
2203785bc17SMauro Carvalho Chehab 	struct {
2213785bc17SMauro Carvalho Chehab 		u32 Group_PID                      :13;
2223785bc17SMauro Carvalho Chehab 		u32 Group_trans                    : 1;
2233785bc17SMauro Carvalho Chehab 		u32 unused1                        : 2;
2243785bc17SMauro Carvalho Chehab 		u32 Group_mask                     :13;
2253785bc17SMauro Carvalho Chehab 		u32 unused2                        : 3;
2263785bc17SMauro Carvalho Chehab 	} pid_filter_30c_ext_ind_0_7;
2273785bc17SMauro Carvalho Chehab 
2283785bc17SMauro Carvalho Chehab 	struct {
2293785bc17SMauro Carvalho Chehab 		u32 net_master_read                :17;
2303785bc17SMauro Carvalho Chehab 		u32 unused                         :15;
2313785bc17SMauro Carvalho Chehab 	} pid_filter_30c_ext_ind_1;
2323785bc17SMauro Carvalho Chehab 
2333785bc17SMauro Carvalho Chehab 	struct {
2343785bc17SMauro Carvalho Chehab 		u32 net_master_write               :17;
2353785bc17SMauro Carvalho Chehab 		u32 unused                         :15;
2363785bc17SMauro Carvalho Chehab 	} pid_filter_30c_ext_ind_2;
2373785bc17SMauro Carvalho Chehab 
2383785bc17SMauro Carvalho Chehab 	struct {
2393785bc17SMauro Carvalho Chehab 		u32 next_net_master_write          :17;
2403785bc17SMauro Carvalho Chehab 		u32 unused                         :15;
2413785bc17SMauro Carvalho Chehab 	} pid_filter_30c_ext_ind_3;
2423785bc17SMauro Carvalho Chehab 
2433785bc17SMauro Carvalho Chehab 	struct {
2443785bc17SMauro Carvalho Chehab 		u32 unused1                        : 1;
2453785bc17SMauro Carvalho Chehab 		u32 state_write                    :10;
2463785bc17SMauro Carvalho Chehab 		u32 reserved1                      : 6;
2473785bc17SMauro Carvalho Chehab 		u32 stack_read                     :10;
2483785bc17SMauro Carvalho Chehab 		u32 reserved2                      : 5;
2493785bc17SMauro Carvalho Chehab 	} pid_filter_30c_ext_ind_4;
2503785bc17SMauro Carvalho Chehab 
2513785bc17SMauro Carvalho Chehab 	struct {
2523785bc17SMauro Carvalho Chehab 		u32 stack_cnt                      :10;
2533785bc17SMauro Carvalho Chehab 		u32 unused                         :22;
2543785bc17SMauro Carvalho Chehab 	} pid_filter_30c_ext_ind_5;
2553785bc17SMauro Carvalho Chehab 
2563785bc17SMauro Carvalho Chehab 	struct {
2573785bc17SMauro Carvalho Chehab 		u32 pid_fsm_save_reg0              : 2;
2583785bc17SMauro Carvalho Chehab 		u32 pid_fsm_save_reg1              : 2;
2593785bc17SMauro Carvalho Chehab 		u32 pid_fsm_save_reg2              : 2;
2603785bc17SMauro Carvalho Chehab 		u32 pid_fsm_save_reg3              : 2;
2613785bc17SMauro Carvalho Chehab 		u32 pid_fsm_save_reg4              : 2;
2623785bc17SMauro Carvalho Chehab 		u32 pid_fsm_save_reg300            : 2;
2633785bc17SMauro Carvalho Chehab 		u32 write_status1                  : 2;
2643785bc17SMauro Carvalho Chehab 		u32 write_status4                  : 2;
2653785bc17SMauro Carvalho Chehab 		u32 data_size_reg                  :12;
2663785bc17SMauro Carvalho Chehab 		u32 unused                         : 4;
2673785bc17SMauro Carvalho Chehab 	} pid_filter_30c_ext_ind_6;
2683785bc17SMauro Carvalho Chehab 
2693785bc17SMauro Carvalho Chehab 	struct {
2703785bc17SMauro Carvalho Chehab 		u32 index_reg                      : 5;
2713785bc17SMauro Carvalho Chehab 		u32 extra_index_reg                : 3;
2723785bc17SMauro Carvalho Chehab 		u32 AB_select                      : 1;
2733785bc17SMauro Carvalho Chehab 		u32 pass_alltables                 : 1;
2743785bc17SMauro Carvalho Chehab 		u32 unused                         :22;
2753785bc17SMauro Carvalho Chehab 	} index_reg_310;
2763785bc17SMauro Carvalho Chehab 
2773785bc17SMauro Carvalho Chehab 	struct {
2783785bc17SMauro Carvalho Chehab 		u32 PID                            :13;
2793785bc17SMauro Carvalho Chehab 		u32 PID_trans                      : 1;
2803785bc17SMauro Carvalho Chehab 		u32 PID_enable_bit                 : 1;
2813785bc17SMauro Carvalho Chehab 		u32 reserved                       :17;
2823785bc17SMauro Carvalho Chehab 	} pid_n_reg_314;
2833785bc17SMauro Carvalho Chehab 
2843785bc17SMauro Carvalho Chehab 	struct {
2853785bc17SMauro Carvalho Chehab 		u32 A4_byte                        : 8;
2863785bc17SMauro Carvalho Chehab 		u32 A5_byte                        : 8;
2873785bc17SMauro Carvalho Chehab 		u32 A6_byte                        : 8;
2883785bc17SMauro Carvalho Chehab 		u32 Enable_bit                     : 1;
2893785bc17SMauro Carvalho Chehab 		u32 HighAB_bit                     : 1;
2903785bc17SMauro Carvalho Chehab 		u32 reserved                       : 6;
2913785bc17SMauro Carvalho Chehab 	} mac_low_reg_318;
2923785bc17SMauro Carvalho Chehab 
2933785bc17SMauro Carvalho Chehab 	struct {
2943785bc17SMauro Carvalho Chehab 		u32 A1_byte                        : 8;
2953785bc17SMauro Carvalho Chehab 		u32 A2_byte                        : 8;
2963785bc17SMauro Carvalho Chehab 		u32 A3_byte                        : 8;
2973785bc17SMauro Carvalho Chehab 		u32 reserved                       : 8;
2983785bc17SMauro Carvalho Chehab 	} mac_high_reg_31c;
2993785bc17SMauro Carvalho Chehab 
3003785bc17SMauro Carvalho Chehab 	struct {
3013785bc17SMauro Carvalho Chehab 		u32 reserved                       :16;
3023785bc17SMauro Carvalho Chehab 		u32 data_Tag_ID                    :16;
3033785bc17SMauro Carvalho Chehab 	} data_tag_400;
3043785bc17SMauro Carvalho Chehab 
3053785bc17SMauro Carvalho Chehab 	struct {
3063785bc17SMauro Carvalho Chehab 		u32 Card_IDbyte6                   : 8;
3073785bc17SMauro Carvalho Chehab 		u32 Card_IDbyte5                   : 8;
3083785bc17SMauro Carvalho Chehab 		u32 Card_IDbyte4                   : 8;
3093785bc17SMauro Carvalho Chehab 		u32 Card_IDbyte3                   : 8;
3103785bc17SMauro Carvalho Chehab 	} card_id_408;
3113785bc17SMauro Carvalho Chehab 
3123785bc17SMauro Carvalho Chehab 	struct {
3133785bc17SMauro Carvalho Chehab 		u32 Card_IDbyte2                   : 8;
3143785bc17SMauro Carvalho Chehab 		u32 Card_IDbyte1                   : 8;
3153785bc17SMauro Carvalho Chehab 	} card_id_40c;
3163785bc17SMauro Carvalho Chehab 
3173785bc17SMauro Carvalho Chehab 	struct {
3183785bc17SMauro Carvalho Chehab 		u32 MAC1                           : 8;
3193785bc17SMauro Carvalho Chehab 		u32 MAC2                           : 8;
3203785bc17SMauro Carvalho Chehab 		u32 MAC3                           : 8;
3213785bc17SMauro Carvalho Chehab 		u32 MAC6                           : 8;
3223785bc17SMauro Carvalho Chehab 	} mac_address_418;
3233785bc17SMauro Carvalho Chehab 
3243785bc17SMauro Carvalho Chehab 	struct {
3253785bc17SMauro Carvalho Chehab 		u32 MAC7                           : 8;
3263785bc17SMauro Carvalho Chehab 		u32 MAC8                           : 8;
3273785bc17SMauro Carvalho Chehab 		u32 reserved                       :16;
3283785bc17SMauro Carvalho Chehab 	} mac_address_41c;
3293785bc17SMauro Carvalho Chehab 
3303785bc17SMauro Carvalho Chehab 	struct {
3313785bc17SMauro Carvalho Chehab 		u32 transmitter_data_byte          : 8;
3323785bc17SMauro Carvalho Chehab 		u32 ReceiveDataReady               : 1;
3333785bc17SMauro Carvalho Chehab 		u32 ReceiveByteFrameError          : 1;
3343785bc17SMauro Carvalho Chehab 		u32 txbuffempty                    : 1;
3353785bc17SMauro Carvalho Chehab 		u32 reserved                       :21;
3363785bc17SMauro Carvalho Chehab 	} ci_600;
3373785bc17SMauro Carvalho Chehab 
3383785bc17SMauro Carvalho Chehab 	struct {
3393785bc17SMauro Carvalho Chehab 		u32 pi_d                           : 8;
3403785bc17SMauro Carvalho Chehab 		u32 pi_ha                          :20;
3413785bc17SMauro Carvalho Chehab 		u32 pi_rw                          : 1;
3423785bc17SMauro Carvalho Chehab 		u32 pi_component_reg               : 3;
3433785bc17SMauro Carvalho Chehab 	} pi_604;
3443785bc17SMauro Carvalho Chehab 
3453785bc17SMauro Carvalho Chehab 	struct {
3463785bc17SMauro Carvalho Chehab 		u32 serialReset                    : 1;
3473785bc17SMauro Carvalho Chehab 		u32 oncecycle_read                 : 1;
3483785bc17SMauro Carvalho Chehab 		u32 Timer_Read_req                 : 1;
3493785bc17SMauro Carvalho Chehab 		u32 Timer_Load_req                 : 1;
3503785bc17SMauro Carvalho Chehab 		u32 timer_data                     : 7;
3513785bc17SMauro Carvalho Chehab 		u32 unused                         : 1;
3523785bc17SMauro Carvalho Chehab 		u32 Timer_addr                     : 5;
3533785bc17SMauro Carvalho Chehab 		u32 reserved                       : 3;
3543785bc17SMauro Carvalho Chehab 		u32 pcmcia_a_mod_pwr_n             : 1;
3553785bc17SMauro Carvalho Chehab 		u32 pcmcia_b_mod_pwr_n             : 1;
3563785bc17SMauro Carvalho Chehab 		u32 config_Done_stat               : 1;
3573785bc17SMauro Carvalho Chehab 		u32 config_Init_stat               : 1;
3583785bc17SMauro Carvalho Chehab 		u32 config_Prog_n                  : 1;
3593785bc17SMauro Carvalho Chehab 		u32 config_wr_n                    : 1;
3603785bc17SMauro Carvalho Chehab 		u32 config_cs_n                    : 1;
3613785bc17SMauro Carvalho Chehab 		u32 config_cclk                    : 1;
3623785bc17SMauro Carvalho Chehab 		u32 pi_CiMax_IRQ_n                 : 1;
3633785bc17SMauro Carvalho Chehab 		u32 pi_timeout_status              : 1;
3643785bc17SMauro Carvalho Chehab 		u32 pi_wait_n                      : 1;
3653785bc17SMauro Carvalho Chehab 		u32 pi_busy_n                      : 1;
3663785bc17SMauro Carvalho Chehab 	} pi_608;
3673785bc17SMauro Carvalho Chehab 
3683785bc17SMauro Carvalho Chehab 	struct {
3693785bc17SMauro Carvalho Chehab 		u32 PID                            :13;
3703785bc17SMauro Carvalho Chehab 		u32 key_enable                     : 1;
3713785bc17SMauro Carvalho Chehab 		u32 key_code                       : 2;
3723785bc17SMauro Carvalho Chehab 		u32 key_array_col                  : 3;
3733785bc17SMauro Carvalho Chehab 		u32 key_array_row                  : 5;
3743785bc17SMauro Carvalho Chehab 		u32 dvb_en                         : 1;
3753785bc17SMauro Carvalho Chehab 		u32 rw_flag                        : 1;
3763785bc17SMauro Carvalho Chehab 		u32 reserved                       : 6;
3773785bc17SMauro Carvalho Chehab 	} dvb_reg_60c;
3783785bc17SMauro Carvalho Chehab 
3793785bc17SMauro Carvalho Chehab 	struct {
3803785bc17SMauro Carvalho Chehab 		u32 sram_addr                      :15;
3813785bc17SMauro Carvalho Chehab 		u32 sram_rw                        : 1;
3823785bc17SMauro Carvalho Chehab 		u32 sram_data                      : 8;
3833785bc17SMauro Carvalho Chehab 		u32 sc_xfer_bit                    : 1;
3843785bc17SMauro Carvalho Chehab 		u32 reserved1                      : 3;
3853785bc17SMauro Carvalho Chehab 		u32 oe_pin_reg                     : 1;
3863785bc17SMauro Carvalho Chehab 		u32 ce_pin_reg                     : 1;
3873785bc17SMauro Carvalho Chehab 		u32 reserved2                      : 1;
3883785bc17SMauro Carvalho Chehab 		u32 start_sram_ibi                 : 1;
3893785bc17SMauro Carvalho Chehab 	} sram_ctrl_reg_700;
3903785bc17SMauro Carvalho Chehab 
3913785bc17SMauro Carvalho Chehab 	struct {
3923785bc17SMauro Carvalho Chehab 		u32 net_addr_read                  :16;
3933785bc17SMauro Carvalho Chehab 		u32 net_addr_write                 :16;
3943785bc17SMauro Carvalho Chehab 	} net_buf_reg_704;
3953785bc17SMauro Carvalho Chehab 
3963785bc17SMauro Carvalho Chehab 	struct {
3973785bc17SMauro Carvalho Chehab 		u32 cai_read                       :11;
3983785bc17SMauro Carvalho Chehab 		u32 reserved1                      : 5;
3993785bc17SMauro Carvalho Chehab 		u32 cai_write                      :11;
4003785bc17SMauro Carvalho Chehab 		u32 reserved2                      : 6;
4013785bc17SMauro Carvalho Chehab 		u32 cai_cnt                        : 4;
4023785bc17SMauro Carvalho Chehab 	} cai_buf_reg_708;
4033785bc17SMauro Carvalho Chehab 
4043785bc17SMauro Carvalho Chehab 	struct {
4053785bc17SMauro Carvalho Chehab 		u32 cao_read                       :11;
4063785bc17SMauro Carvalho Chehab 		u32 reserved1                      : 5;
4073785bc17SMauro Carvalho Chehab 		u32 cap_write                      :11;
4083785bc17SMauro Carvalho Chehab 		u32 reserved2                      : 6;
4093785bc17SMauro Carvalho Chehab 		u32 cao_cnt                        : 4;
4103785bc17SMauro Carvalho Chehab 	} cao_buf_reg_70c;
4113785bc17SMauro Carvalho Chehab 
4123785bc17SMauro Carvalho Chehab 	struct {
4133785bc17SMauro Carvalho Chehab 		u32 media_read                     :11;
4143785bc17SMauro Carvalho Chehab 		u32 reserved1                      : 5;
4153785bc17SMauro Carvalho Chehab 		u32 media_write                    :11;
4163785bc17SMauro Carvalho Chehab 		u32 reserved2                      : 6;
4173785bc17SMauro Carvalho Chehab 		u32 media_cnt                      : 4;
4183785bc17SMauro Carvalho Chehab 	} media_buf_reg_710;
4193785bc17SMauro Carvalho Chehab 
4203785bc17SMauro Carvalho Chehab 	struct {
4213785bc17SMauro Carvalho Chehab 		u32 NET_Dest                       : 2;
4223785bc17SMauro Carvalho Chehab 		u32 CAI_Dest                       : 2;
4233785bc17SMauro Carvalho Chehab 		u32 CAO_Dest                       : 2;
4243785bc17SMauro Carvalho Chehab 		u32 MEDIA_Dest                     : 2;
4253785bc17SMauro Carvalho Chehab 		u32 net_ovflow_error               : 1;
4263785bc17SMauro Carvalho Chehab 		u32 media_ovflow_error             : 1;
4273785bc17SMauro Carvalho Chehab 		u32 cai_ovflow_error               : 1;
4283785bc17SMauro Carvalho Chehab 		u32 cao_ovflow_error               : 1;
4293785bc17SMauro Carvalho Chehab 		u32 ctrl_usb_wan                   : 1;
4303785bc17SMauro Carvalho Chehab 		u32 ctrl_sramdma                   : 1;
4313785bc17SMauro Carvalho Chehab 		u32 ctrl_maximumfill               : 1;
4323785bc17SMauro Carvalho Chehab 		u32 reserved                       :17;
4333785bc17SMauro Carvalho Chehab 	} sram_dest_reg_714;
4343785bc17SMauro Carvalho Chehab 
4353785bc17SMauro Carvalho Chehab 	struct {
4363785bc17SMauro Carvalho Chehab 		u32 net_cnt                        :12;
4373785bc17SMauro Carvalho Chehab 		u32 reserved1                      : 4;
4383785bc17SMauro Carvalho Chehab 		u32 net_addr_read                  : 1;
4393785bc17SMauro Carvalho Chehab 		u32 reserved2                      : 3;
4403785bc17SMauro Carvalho Chehab 		u32 net_addr_write                 : 1;
4413785bc17SMauro Carvalho Chehab 		u32 reserved3                      :11;
4423785bc17SMauro Carvalho Chehab 	} net_buf_reg_718;
4433785bc17SMauro Carvalho Chehab 
4443785bc17SMauro Carvalho Chehab 	struct {
4453785bc17SMauro Carvalho Chehab 		u32 wan_speed_sig                  : 2;
4463785bc17SMauro Carvalho Chehab 		u32 reserved1                      : 6;
4473785bc17SMauro Carvalho Chehab 		u32 wan_wait_state                 : 8;
4483785bc17SMauro Carvalho Chehab 		u32 sram_chip                      : 2;
4493785bc17SMauro Carvalho Chehab 		u32 sram_memmap                    : 2;
4503785bc17SMauro Carvalho Chehab 		u32 reserved2                      : 4;
4513785bc17SMauro Carvalho Chehab 		u32 wan_pkt_frame                  : 4;
4523785bc17SMauro Carvalho Chehab 		u32 reserved3                      : 4;
4533785bc17SMauro Carvalho Chehab 	} wan_ctrl_reg_71c;
4543785bc17SMauro Carvalho Chehab } flexcop_ibi_value;
4553785bc17SMauro Carvalho Chehab 
4563785bc17SMauro Carvalho Chehab #endif
457