@@ -1050,117 +1050,61 @@ typedef union {
10501050 uint32_t val ;
10511051} ahb_dma_out_done_des_addr_ch1_reg_t ;
10521052
1053- /** Type of tx_ch_arb_weight_ch0 register
1054- * TX channel 0 arbitration weight configuration register
1053+ /** Type of tx_ch_arb_weight_chn register
1054+ * TX channel n arbitration weight configuration register
10551055 */
10561056typedef union {
10571057 struct {
1058- /** tx_arb_weight_value_ch0 : R/W; bitpos: [3:0]; default: 0;
1058+ /** tx_arb_weight_value_chn : R/W; bitpos: [3:0]; default: 0;
10591059 * Configures the weight(i.e the number of tokens) of TX channel0
10601060 */
1061- uint32_t tx_arb_weight_value_ch0 :4 ;
1061+ uint32_t tx_arb_weight_value_chn :4 ;
10621062 uint32_t reserved_4 :28 ;
10631063 };
10641064 uint32_t val ;
1065- } ahb_dma_tx_ch_arb_weight_ch0_reg_t ;
1065+ } ahb_dma_tx_ch_arb_weight_chn_reg_t ;
10661066
1067- /** Type of tx_arb_weight_opt_dir_ch0 register
1068- * TX channel 0 weight arbitration optimization enable register
1067+ /** Type of tx_arb_weight_opt_dir_chn register
1068+ * TX channel n weight arbitration optimization enable register
10691069 */
10701070typedef union {
10711071 struct {
1072- /** tx_arb_weight_opt_dis_ch0 : R/W; bitpos: [0]; default: 0;
1072+ /** tx_arb_weight_opt_dis_chn : R/W; bitpos: [0]; default: 0;
10731073 * reserved
10741074 */
1075- uint32_t tx_arb_weight_opt_dis_ch0 :1 ;
1075+ uint32_t tx_arb_weight_opt_dis_chn :1 ;
10761076 uint32_t reserved_1 :31 ;
10771077 };
10781078 uint32_t val ;
1079- } ahb_dma_tx_arb_weight_opt_dir_ch0_reg_t ;
1079+ } ahb_dma_tx_arb_weight_opt_dir_chn_reg_t ;
10801080
1081- /** Type of tx_ch_arb_weight_ch1 register
1082- * TX channel 1 arbitration weight configuration register
1081+ /** Type of rx_ch_arb_weight_chn register
1082+ * RX channel n arbitration weight configuration register
10831083 */
10841084typedef union {
10851085 struct {
1086- /** tx_arb_weight_value_ch1 : R/W; bitpos: [3:0]; default: 0;
1087- * Configures the weight(i.e the number of tokens) of TX channel1
1088- */
1089- uint32_t tx_arb_weight_value_ch1 :4 ;
1090- uint32_t reserved_4 :28 ;
1091- };
1092- uint32_t val ;
1093- } ahb_dma_tx_ch_arb_weight_ch1_reg_t ;
1094-
1095- /** Type of tx_arb_weight_opt_dir_ch1 register
1096- * TX channel 1 weight arbitration optimization enable register
1097- */
1098- typedef union {
1099- struct {
1100- /** tx_arb_weight_opt_dis_ch1 : R/W; bitpos: [0]; default: 0;
1101- * reserved
1102- */
1103- uint32_t tx_arb_weight_opt_dis_ch1 :1 ;
1104- uint32_t reserved_1 :31 ;
1105- };
1106- uint32_t val ;
1107- } ahb_dma_tx_arb_weight_opt_dir_ch1_reg_t ;
1108-
1109- /** Type of rx_ch_arb_weight_ch0 register
1110- * RX channel 0 arbitration weight configuration register
1111- */
1112- typedef union {
1113- struct {
1114- /** rx_arb_weight_value_ch0 : R/W; bitpos: [3:0]; default: 0;
1086+ /** rx_arb_weight_value_chn : R/W; bitpos: [3:0]; default: 0;
11151087 * Configures the weight(i.e the number of tokens) of RX channel0
11161088 */
1117- uint32_t rx_arb_weight_value_ch0 :4 ;
1118- uint32_t reserved_4 :28 ;
1119- };
1120- uint32_t val ;
1121- } ahb_dma_rx_ch_arb_weight_ch0_reg_t ;
1122-
1123- /** Type of rx_arb_weight_opt_dir_ch0 register
1124- * RX channel 0 weight arbitration optimization enable register
1125- */
1126- typedef union {
1127- struct {
1128- /** rx_arb_weight_opt_dis_ch0 : R/W; bitpos: [0]; default: 0;
1129- * reserved
1130- */
1131- uint32_t rx_arb_weight_opt_dis_ch0 :1 ;
1132- uint32_t reserved_1 :31 ;
1133- };
1134- uint32_t val ;
1135- } ahb_dma_rx_arb_weight_opt_dir_ch0_reg_t ;
1136-
1137- /** Type of rx_ch_arb_weight_ch1 register
1138- * RX channel 1 arbitration weight configuration register
1139- */
1140- typedef union {
1141- struct {
1142- /** rx_arb_weight_value_ch1 : R/W; bitpos: [3:0]; default: 0;
1143- * Configures the weight(i.e the number of tokens) of RX channel1
1144- */
1145- uint32_t rx_arb_weight_value_ch1 :4 ;
1089+ uint32_t rx_arb_weight_value_chn :4 ;
11461090 uint32_t reserved_4 :28 ;
11471091 };
11481092 uint32_t val ;
1149- } ahb_dma_rx_ch_arb_weight_ch1_reg_t ;
1093+ } ahb_dma_rx_ch_arb_weight_chn_reg_t ;
11501094
1151- /** Type of rx_arb_weight_opt_dir_ch1 register
1152- * RX channel 1 weight arbitration optimization enable register
1095+ /** Type of rx_arb_weight_opt_dir_chn register
1096+ * RX channel n weight arbitration optimization enable register
11531097 */
11541098typedef union {
11551099 struct {
1156- /** rx_arb_weight_opt_dis_ch1 : R/W; bitpos: [0]; default: 0;
1100+ /** rx_arb_weight_opt_dis_chn : R/W; bitpos: [0]; default: 0;
11571101 * reserved
11581102 */
1159- uint32_t rx_arb_weight_opt_dis_ch1 :1 ;
1103+ uint32_t rx_arb_weight_opt_dis_chn :1 ;
11601104 uint32_t reserved_1 :31 ;
11611105 };
11621106 uint32_t val ;
1163- } ahb_dma_rx_arb_weight_opt_dir_ch1_reg_t ;
1107+ } ahb_dma_rx_arb_weight_opt_dir_chn_reg_t ;
11641108
11651109/** Type of in_link_addr_chn register
11661110 * Link list descriptor address configuration of RX channel 0
@@ -1453,6 +1397,18 @@ typedef struct {
14531397 uint32_t reserved_out [7 ];
14541398} ahb_dma_chn_reg_t ;
14551399
1400+ typedef struct {
1401+ uint32_t reserved [8 ];
1402+ ahb_dma_tx_ch_arb_weight_chn_reg_t ch_arb_weight ;
1403+ ahb_dma_tx_arb_weight_opt_dir_chn_reg_t arb_weight_opt ;
1404+ } ahb_dma_out_crc_arb_chn_reg_t ;
1405+
1406+ typedef struct {
1407+ uint32_t reserved [8 ];
1408+ ahb_dma_rx_ch_arb_weight_chn_reg_t ch_arb_weight ;
1409+ ahb_dma_rx_arb_weight_opt_dir_chn_reg_t arb_weight_opt ;
1410+ } ahb_dma_in_crc_arb_chn_reg_t ;
1411+
14561412typedef struct {
14571413 volatile ahb_dma_in_int_chn_reg_t in_intr [2 ];
14581414 uint32_t reserved_020 [4 ];
@@ -1463,18 +1419,10 @@ typedef struct {
14631419 volatile ahb_dma_date_reg_t date ;
14641420 uint32_t reserved_06c ;
14651421 volatile ahb_dma_chn_reg_t channel [2 ];
1466- uint32_t reserved_1db [59 ];
1467- volatile ahb_dma_tx_ch_arb_weight_ch0_reg_t tx_ch_arb_weight_ch0 ;
1468- volatile ahb_dma_tx_arb_weight_opt_dir_ch0_reg_t tx_arb_weight_opt_dir_ch0 ;
1469- uint32_t reserved_2e4 [8 ];
1470- volatile ahb_dma_tx_ch_arb_weight_ch1_reg_t tx_ch_arb_weight_ch1 ;
1471- volatile ahb_dma_tx_arb_weight_opt_dir_ch1_reg_t tx_arb_weight_opt_dir_ch1 ;
1472- uint32_t reserved_30c [18 ];
1473- volatile ahb_dma_rx_ch_arb_weight_ch0_reg_t rx_ch_arb_weight_ch0 ;
1474- volatile ahb_dma_rx_arb_weight_opt_dir_ch0_reg_t rx_arb_weight_opt_dir_ch0 ;
1475- uint32_t reserved_35c [8 ];
1476- volatile ahb_dma_rx_ch_arb_weight_ch1_reg_t rx_ch_arb_weight_ch1 ;
1477- volatile ahb_dma_rx_arb_weight_opt_dir_ch1_reg_t rx_arb_weight_opt_dir_ch1 ;
1422+ uint32_t reserved_1db [51 ];
1423+ volatile ahb_dma_out_crc_arb_chn_reg_t out_crc_arb [2 ];
1424+ uint32_t reserved_30c [10 ];
1425+ volatile ahb_dma_in_crc_arb_chn_reg_t in_crc_arb [2 ];
14781426 uint32_t reserved_384 [10 ];
14791427 volatile ahb_dma_in_link_addr_chn_reg_t in_link_addr [2 ];
14801428 uint32_t reserved_3b4 ;
0 commit comments