1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
|
#ifndef __iop_sw_cfg_defs_h
#define __iop_sw_cfg_defs_h
/*
* This file is autogenerated from
* file: ../../inst/io_proc/rtl/guinness/iop_sw_cfg.r
* id: <not found>
* last modfied: Mon Apr 11 16:10:19 2005
*
* by /n/asic/design/tools/rdesc/src/rdes2c --outfile iop_sw_cfg_defs.h ../../inst/io_proc/rtl/guinness/iop_sw_cfg.r
* id: $Id: iop_sw_cfg_defs.h,v 1.4 2005/04/24 18:31:05 starvik Exp $
* Any changes here will be lost.
*
* -*- buffer-read-only: t -*-
*/
/* Main access macros */
#ifndef REG_RD
#define REG_RD( scope, inst, reg ) \
REG_READ( reg_##scope##_##reg, \
(inst) + REG_RD_ADDR_##scope##_##reg )
#endif
#ifndef REG_WR
#define REG_WR( scope, inst, reg, val ) \
REG_WRITE( reg_##scope##_##reg, \
(inst) + REG_WR_ADDR_##scope##_##reg, (val) )
#endif
#ifndef REG_RD_VECT
#define REG_RD_VECT( scope, inst, reg, index ) \
REG_READ( reg_##scope##_##reg, \
(inst) + REG_RD_ADDR_##scope##_##reg + \
(index) * STRIDE_##scope##_##reg )
#endif
#ifndef REG_WR_VECT
#define REG_WR_VECT( scope, inst, reg, index, val ) \
REG_WRITE( reg_##scope##_##reg, \
(inst) + REG_WR_ADDR_##scope##_##reg + \
(index) * STRIDE_##scope##_##reg, (val) )
#endif
#ifndef REG_RD_INT
#define REG_RD_INT( scope, inst, reg ) \
REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg )
#endif
#ifndef REG_WR_INT
#define REG_WR_INT( scope, inst, reg, val ) \
REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) )
#endif
#ifndef REG_RD_INT_VECT
#define REG_RD_INT_VECT( scope, inst, reg, index ) \
REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg + \
(index) * STRIDE_##scope##_##reg )
#endif
#ifndef REG_WR_INT_VECT
#define REG_WR_INT_VECT( scope, inst, reg, index, val ) \
REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg + \
(index) * STRIDE_##scope##_##reg, (val) )
#endif
#ifndef REG_TYPE_CONV
#define REG_TYPE_CONV( type, orgtype, val ) \
( { union { orgtype o; type n; } r; r.o = val; r.n; } )
#endif
#ifndef reg_page_size
#define reg_page_size 8192
#endif
#ifndef REG_ADDR
#define REG_ADDR( scope, inst, reg ) \
( (inst) + REG_RD_ADDR_##scope##_##reg )
#endif
#ifndef REG_ADDR_VECT
#define REG_ADDR_VECT( scope, inst, reg, index ) \
( (inst) + REG_RD_ADDR_##scope##_##reg + \
(index) * STRIDE_##scope##_##reg )
#endif
/* C-code for register scope iop_sw_cfg */
/* Register rw_crc_par0_owner, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int cfg : 2;
unsigned int dummy1 : 30;
} reg_iop_sw_cfg_rw_crc_par0_owner;
#define REG_RD_ADDR_iop_sw_cfg_rw_crc_par0_owner 0
#define REG_WR_ADDR_iop_sw_cfg_rw_crc_par0_owner 0
/* Register rw_crc_par1_owner, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int cfg : 2;
unsigned int dummy1 : 30;
} reg_iop_sw_cfg_rw_crc_par1_owner;
#define REG_RD_ADDR_iop_sw_cfg_rw_crc_par1_owner 4
#define REG_WR_ADDR_iop_sw_cfg_rw_crc_par1_owner 4
/* Register rw_dmc_in0_owner, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int cfg : 2;
unsigned int dummy1 : 30;
} reg_iop_sw_cfg_rw_dmc_in0_owner;
#define REG_RD_ADDR_iop_sw_cfg_rw_dmc_in0_owner 8
#define REG_WR_ADDR_iop_sw_cfg_rw_dmc_in0_owner 8
/* Register rw_dmc_in1_owner, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int cfg : 2;
unsigned int dummy1 : 30;
} reg_iop_sw_cfg_rw_dmc_in1_owner;
#define REG_RD_ADDR_iop_sw_cfg_rw_dmc_in1_owner 12
#define REG_WR_ADDR_iop_sw_cfg_rw_dmc_in1_owner 12
/* Register rw_dmc_out0_owner, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int cfg : 2;
unsigned int dummy1 : 30;
} reg_iop_sw_cfg_rw_dmc_out0_owner;
#define REG_RD_ADDR_iop_sw_cfg_rw_dmc_out0_owner 16
#define REG_WR_ADDR_iop_sw_cfg_rw_dmc_out0_owner 16
/* Register rw_dmc_out1_owner, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int cfg : 2;
unsigned int dummy1 : 30;
} reg_iop_sw_cfg_rw_dmc_out1_owner;
#define REG_RD_ADDR_iop_sw_cfg_rw_dmc_out1_owner 20
#define REG_WR_ADDR_iop_sw_cfg_rw_dmc_out1_owner 20
/* Register rw_fifo_in0_owner, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int cfg : 2;
unsigned int dummy1 : 30;
} reg_iop_sw_cfg_rw_fifo_in0_owner;
#define REG_RD_ADDR_iop_sw_cfg_rw_fifo_in0_owner 24
#define REG_WR_ADDR_iop_sw_cfg_rw_fifo_in0_owner 24
/* Register rw_fifo_in0_extra_owner, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int cfg : 2;
unsigned int dummy1 : 30;
} reg_iop_sw_cfg_rw_fifo_in0_extra_owner;
#define REG_RD_ADDR_iop_sw_cfg_rw_fifo_in0_extra_owner 28
#define REG_WR_ADDR_iop_sw_cfg_rw_fifo_in0_extra_owner 28
/* Register rw_fifo_in1_owner, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int cfg : 2;
unsigned int dummy1 : 30;
} reg_iop_sw_cfg_rw_fifo_in1_owner;
#define REG_RD_ADDR_iop_sw_cfg_rw_fifo_in1_owner 32
#define REG_WR_ADDR_iop_sw_cfg_rw_fifo_in1_owner 32
/* Register rw_fifo_in1_extra_owner, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int cfg : 2;
unsigned int dummy1 : 30;
} reg_iop_sw_cfg_rw_fifo_in1_extra_owner;
#define REG_RD_ADDR_iop_sw_cfg_rw_fifo_in1_extra_owner 36
#define REG_WR_ADDR_iop_sw_cfg_rw_fifo_in1_extra_owner 36
/* Register rw_fifo_out0_owner, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int cfg : 2;
unsigned int dummy1 : 30;
} reg_iop_sw_cfg_rw_fifo_out0_owner;
#define REG_RD_ADDR_iop_sw_cfg_rw_fifo_out0_owner 40
#define REG_WR_ADDR_iop_sw_cfg_rw_fifo_out0_owner 40
/* Register rw_fifo_out0_extra_owner, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int cfg : 2;
unsigned int dummy1 : 30;
} reg_iop_sw_cfg_rw_fifo_out0_extra_owner;
#define REG_RD_ADDR_iop_sw_cfg_rw_fifo_out0_extra_owner 44
#define REG_WR_ADDR_iop_sw_cfg_rw_fifo_out0_extra_owner 44
/* Register rw_fifo_out1_owner, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int cfg : 2;
unsigned int dummy1 : 30;
} reg_iop_sw_cfg_rw_fifo_out1_owner;
#define REG_RD_ADDR_iop_sw_cfg_rw_fifo_out1_owner 48
#define REG_WR_ADDR_iop_sw_cfg_rw_fifo_out1_owner 48
/* Register rw_fifo_out1_extra_owner, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int cfg : 2;
unsigned int dummy1 : 30;
} reg_iop_sw_cfg_rw_fifo_out1_extra_owner;
#define REG_RD_ADDR_iop_sw_cfg_rw_fifo_out1_extra_owner 52
#define REG_WR_ADDR_iop_sw_cfg_rw_fifo_out1_extra_owner 52
/* Register rw_sap_in_owner, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int cfg : 2;
unsigned int dummy1 : 30;
} reg_iop_sw_cfg_rw_sap_in_owner;
#define REG_RD_ADDR_iop_sw_cfg_rw_sap_in_owner 56
#define REG_WR_ADDR_iop_sw_cfg_rw_sap_in_owner 56
/* Register rw_sap_out_owner, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int cfg : 2;
unsigned int dummy1 : 30;
} reg_iop_sw_cfg_rw_sap_out_owner;
#define REG_RD_ADDR_iop_sw_cfg_rw_sap_out_owner 60
#define REG_WR_ADDR_iop_sw_cfg_rw_sap_out_owner 60
/* Register rw_scrc_in0_owner, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int cfg : 2;
unsigned int dummy1 : 30;
} reg_iop_sw_cfg_rw_scrc_in0_owner;
#define REG_RD_ADDR_iop_sw_cfg_rw_scrc_in0_owner 64
#define REG_WR_ADDR_iop_sw_cfg_rw_scrc_in0_owner 64
/* Register rw_scrc_in1_owner, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int cfg : 2;
unsigned int dummy1 : 30;
} reg_iop_sw_cfg_rw_scrc_in1_owner;
#define REG_RD_ADDR_iop_sw_cfg_rw_scrc_in1_owner 68
#define REG_WR_ADDR_iop_sw_cfg_rw_scrc_in1_owner 68
/* Register rw_scrc_out0_owner, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int cfg : 2;
unsigned int dummy1 : 30;
} reg_iop_sw_cfg_rw_scrc_out0_owner;
#define REG_RD_ADDR_iop_sw_cfg_rw_scrc_out0_owner 72
#define REG_WR_ADDR_iop_sw_cfg_rw_scrc_out0_owner 72
/* Register rw_scrc_out1_owner, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int cfg : 2;
unsigned int dummy1 : 30;
} reg_iop_sw_cfg_rw_scrc_out1_owner;
#define REG_RD_ADDR_iop_sw_cfg_rw_scrc_out1_owner 76
#define REG_WR_ADDR_iop_sw_cfg_rw_scrc_out1_owner 76
/* Register rw_spu0_owner, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int cfg : 2;
unsigned int dummy1 : 30;
} reg_iop_sw_cfg_rw_spu0_owner;
#define REG_RD_ADDR_iop_sw_cfg_rw_spu0_owner 80
#define REG_WR_ADDR_iop_sw_cfg_rw_spu0_owner 80
/* Register rw_spu1_owner, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int cfg : 2;
unsigned int dummy1 : 30;
} reg_iop_sw_cfg_rw_spu1_owner;
#define REG_RD_ADDR_iop_sw_cfg_rw_spu1_owner 84
#define REG_WR_ADDR_iop_sw_cfg_rw_spu1_owner 84
/* Register rw_timer_grp0_owner, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int cfg : 2;
unsigned int dummy1 : 30;
} reg_iop_sw_cfg_rw_timer_grp0_owner;
#define REG_RD_ADDR_iop_sw_cfg_rw_timer_grp0_owner 88
#define REG_WR_ADDR_iop_sw_cfg_rw_timer_grp0_owner 88
/* Register rw_timer_grp1_owner, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int cfg : 2;
unsigned int dummy1 : 30;
} reg_iop_sw_cfg_rw_timer_grp1_owner;
#define REG_RD_ADDR_iop_sw_cfg_rw_timer_grp1_owner 92
#define REG_WR_ADDR_iop_sw_cfg_rw_timer_grp1_owner 92
/* Register rw_timer_grp2_owner, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int cfg : 2;
unsigned int dummy1 : 30;
} reg_iop_sw_cfg_rw_timer_grp2_owner;
#define REG_RD_ADDR_iop_sw_cfg_rw_timer_grp2_owner 96
#define REG_WR_ADDR_iop_sw_cfg_rw_timer_grp2_owner 96
/* Register rw_timer_grp3_owner, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int cfg : 2;
unsigned int dummy1 : 30;
} reg_iop_sw_cfg_rw_timer_grp3_owner;
#define REG_RD_ADDR_iop_sw_cfg_rw_timer_grp3_owner 100
#define REG_WR_ADDR_iop_sw_cfg_rw_timer_grp3_owner 100
/* Register rw_trigger_grp0_owner, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int cfg : 2;
unsigned int dummy1 : 30;
} reg_iop_sw_cfg_rw_trigger_grp0_owner;
#define REG_RD_ADDR_iop_sw_cfg_rw_trigger_grp0_owner 104
#define REG_WR_ADDR_iop_sw_cfg_rw_trigger_grp0_owner 104
/* Register rw_trigger_grp1_owner, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int cfg : 2;
unsigned int dummy1 : 30;
} reg_iop_sw_cfg_rw_trigger_grp1_owner;
#define REG_RD_ADDR_iop_sw_cfg_rw_trigger_grp1_owner 108
#define REG_WR_ADDR_iop_sw_cfg_rw_trigger_grp1_owner 108
/* Register rw_trigger_grp2_owner, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int cfg : 2;
unsigned int dummy1 : 30;
} reg_iop_sw_cfg_rw_trigger_grp2_owner;
#define REG_RD_ADDR_iop_sw_cfg_rw_trigger_grp2_owner 112
#define REG_WR_ADDR_iop_sw_cfg_rw_trigger_grp2_owner 112
/* Register rw_trigger_grp3_owner, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int cfg : 2;
unsigned int dummy1 : 30;
} reg_iop_sw_cfg_rw_trigger_grp3_owner;
#define REG_RD_ADDR_iop_sw_cfg_rw_trigger_grp3_owner 116
#define REG_WR_ADDR_iop_sw_cfg_rw_trigger_grp3_owner 116
/* Register rw_trigger_grp4_owner, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int cfg : 2;
unsigned int dummy1 : 30;
} reg_iop_sw_cfg_rw_trigger_grp4_owner;
#define REG_RD_ADDR_iop_sw_cfg_rw_trigger_grp4_owner 120
#define REG_WR_ADDR_iop_sw_cfg_rw_trigger_grp4_owner 120
/* Register rw_trigger_grp5_owner, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int cfg : 2;
unsigned int dummy1 : 30;
} reg_iop_sw_cfg_rw_trigger_grp5_owner;
#define REG_RD_ADDR_iop_sw_cfg_rw_trigger_grp5_owner 124
#define REG_WR_ADDR_iop_sw_cfg_rw_trigger_grp5_owner 124
/* Register rw_trigger_grp6_owner, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int cfg : 2;
unsigned int dummy1 : 30;
} reg_iop_sw_cfg_rw_trigger_grp6_owner;
#define REG_RD_ADDR_iop_sw_cfg_rw_trigger_grp6_owner 128
#define REG_WR_ADDR_iop_sw_cfg_rw_trigger_grp6_owner 128
/* Register rw_trigger_grp7_owner, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int cfg : 2;
unsigned int dummy1 : 30;
} reg_iop_sw_cfg_rw_trigger_grp7_owner;
#define REG_RD_ADDR_iop_sw_cfg_rw_trigger_grp7_owner 132
#define REG_WR_ADDR_iop_sw_cfg_rw_trigger_grp7_owner 132
/* Register rw_bus0_mask, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int byte0 : 8;
unsigned int byte1 : 8;
unsigned int byte2 : 8;
unsigned int byte3 : 8;
} reg_iop_sw_cfg_rw_bus0_mask;
#define REG_RD_ADDR_iop_sw_cfg_rw_bus0_mask 136
#define REG_WR_ADDR_iop_sw_cfg_rw_bus0_mask 136
/* Register rw_bus0_oe_mask, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int byte0 : 1;
unsigned int byte1 : 1;
unsigned int byte2 : 1;
unsigned int byte3 : 1;
unsigned int dummy1 : 28;
} reg_iop_sw_cfg_rw_bus0_oe_mask;
#define REG_RD_ADDR_iop_sw_cfg_rw_bus0_oe_mask 140
#define REG_WR_ADDR_iop_sw_cfg_rw_bus0_oe_mask 140
/* Register rw_bus1_mask, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int byte0 : 8;
unsigned int byte1 : 8;
unsigned int byte2 : 8;
unsigned int byte3 : 8;
} reg_iop_sw_cfg_rw_bus1_mask;
#define REG_RD_ADDR_iop_sw_cfg_rw_bus1_mask 144
#define REG_WR_ADDR_iop_sw_cfg_rw_bus1_mask 144
/* Register rw_bus1_oe_mask, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int byte0 : 1;
unsigned int byte1 : 1;
unsigned int byte2 : 1;
unsigned int byte3 : 1;
unsigned int dummy1 : 28;
} reg_iop_sw_cfg_rw_bus1_oe_mask;
#define REG_RD_ADDR_iop_sw_cfg_rw_bus1_oe_mask 148
#define REG_WR_ADDR_iop_sw_cfg_rw_bus1_oe_mask 148
/* Register rw_gio_mask, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int val : 32;
} reg_iop_sw_cfg_rw_gio_mask;
#define REG_RD_ADDR_iop_sw_cfg_rw_gio_mask 152
#define REG_WR_ADDR_iop_sw_cfg_rw_gio_mask 152
/* Register rw_gio_oe_mask, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int val : 32;
} reg_iop_sw_cfg_rw_gio_oe_mask;
#define REG_RD_ADDR_iop_sw_cfg_rw_gio_oe_mask 156
#define REG_WR_ADDR_iop_sw_cfg_rw_gio_oe_mask 156
/* Register rw_pinmapping, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int bus0_byte0 : 2;
unsigned int bus0_byte1 : 2;
unsigned int bus0_byte2 : 2;
unsigned int bus0_byte3 : 2;
unsigned int bus1_byte0 : 2;
unsigned int bus1_byte1 : 2;
unsigned int bus1_byte2 : 2;
unsigned int bus1_byte3 : 2;
unsigned int gio3_0 : 2;
unsigned int gio7_4 : 2;
unsigned int gio11_8 : 2;
unsigned int gio15_12 : 2;
unsigned int gio19_16 : 2;
unsigned int gio23_20 : 2;
unsigned int gio27_24 : 2;
unsigned int gio31_28 : 2;
} reg_iop_sw_cfg_rw_pinmapping;
#define REG_RD_ADDR_iop_sw_cfg_rw_pinmapping 160
#define REG_WR_ADDR_iop_sw_cfg_rw_pinmapping 160
/* Register rw_bus_out_cfg, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int bus0_lo : 3;
unsigned int bus0_hi : 3;
unsigned int bus0_lo_oe : 3;
unsigned int bus0_hi_oe : 3;
unsigned int bus1_lo : 3;
unsigned int bus1_hi : 3;
unsigned int bus1_lo_oe : 3;
unsigned int bus1_hi_oe : 3;
unsigned int dummy1 : 8;
} reg_iop_sw_cfg_rw_bus_out_cfg;
#define REG_RD_ADDR_iop_sw_cfg_rw_bus_out_cfg 164
#define REG_WR_ADDR_iop_sw_cfg_rw_bus_out_cfg 164
/* Register rw_gio_out_grp0_cfg, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int gio0 : 4;
unsigned int gio0_oe : 2;
unsigned int gio1 : 4;
unsigned int gio1_oe : 2;
unsigned int gio2 : 4;
unsigned int gio2_oe : 2;
unsigned int gio3 : 4;
unsigned int gio3_oe : 2;
unsigned int dummy1 : 8;
} reg_iop_sw_cfg_rw_gio_out_grp0_cfg;
#define REG_RD_ADDR_iop_sw_cfg_rw_gio_out_grp0_cfg 168
#define REG_WR_ADDR_iop_sw_cfg_rw_gio_out_grp0_cfg 168
/* Register rw_gio_out_grp1_cfg, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int gio4 : 4;
unsigned int gio4_oe : 2;
unsigned int gio5 : 4;
unsigned int gio5_oe : 2;
unsigned int gio6 : 4;
unsigned int gio6_oe : 2;
unsigned int gio7 : 4;
unsigned int gio7_oe : 2;
unsigned int dummy1 : 8;
} reg_iop_sw_cfg_rw_gio_out_grp1_cfg;
#define REG_RD_ADDR_iop_sw_cfg_rw_gio_out_grp1_cfg 172
#define REG_WR_ADDR_iop_sw_cfg_rw_gio_out_grp1_cfg 172
/* Register rw_gio_out_grp2_cfg, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int gio8 : 4;
unsigned int gio8_oe : 2;
unsigned int gio9 : 4;
unsigned int gio9_oe : 2;
unsigned int gio10 : 4;
unsigned int gio10_oe : 2;
unsigned int gio11 : 4;
unsigned int gio11_oe : 2;
unsigned int dummy1 : 8;
} reg_iop_sw_cfg_rw_gio_out_grp2_cfg;
#define REG_RD_ADDR_iop_sw_cfg_rw_gio_out_grp2_cfg 176
#define REG_WR_ADDR_iop_sw_cfg_rw_gio_out_grp2_cfg 176
/* Register rw_gio_out_grp3_cfg, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int gio12 : 4;
unsigned int gio12_oe : 2;
unsigned int gio13 : 4;
unsigned int gio13_oe : 2;
unsigned int gio14 : 4;
unsigned int gio14_oe : 2;
unsigned int gio15 : 4;
unsigned int gio15_oe : 2;
unsigned int dummy1 : 8;
} reg_iop_sw_cfg_rw_gio_out_grp3_cfg;
#define REG_RD_ADDR_iop_sw_cfg_rw_gio_out_grp3_cfg 180
#define REG_WR_ADDR_iop_sw_cfg_rw_gio_out_grp3_cfg 180
/* Register rw_gio_out_grp4_cfg, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int gio16 : 4;
unsigned int gio16_oe : 2;
unsigned int gio17 : 4;
unsigned int gio17_oe : 2;
unsigned int gio18 : 4;
unsigned int gio18_oe : 2;
unsigned int gio19 : 4;
unsigned int gio19_oe : 2;
unsigned int dummy1 : 8;
} reg_iop_sw_cfg_rw_gio_out_grp4_cfg;
#define REG_RD_ADDR_iop_sw_cfg_rw_gio_out_grp4_cfg 184
#define REG_WR_ADDR_iop_sw_cfg_rw_gio_out_grp4_cfg 184
/* Register rw_gio_out_grp5_cfg, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int gio20 : 4;
unsigned int gio20_oe : 2;
unsigned int gio21 : 4;
unsigned int gio21_oe : 2;
unsigned int gio22 : 4;
unsigned int gio22_oe : 2;
unsigned int gio23 : 4;
unsigned int gio23_oe : 2;
unsigned int dummy1 : 8;
} reg_iop_sw_cfg_rw_gio_out_grp5_cfg;
#define REG_RD_ADDR_iop_sw_cfg_rw_gio_out_grp5_cfg 188
#define REG_WR_ADDR_iop_sw_cfg_rw_gio_out_grp5_cfg 188
/* Register rw_gio_out_grp6_cfg, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int gio24 : 4;
unsigned int gio24_oe : 2;
unsigned int gio25 : 4;
unsigned int gio25_oe : 2;
unsigned int gio26 : 4;
unsigned int gio26_oe : 2;
unsigned int gio27 : 4;
unsigned int gio27_oe : 2;
unsigned int dummy1 : 8;
} reg_iop_sw_cfg_rw_gio_out_grp6_cfg;
#define REG_RD_ADDR_iop_sw_cfg_rw_gio_out_grp6_cfg 192
#define REG_WR_ADDR_iop_sw_cfg_rw_gio_out_grp6_cfg 192
/* Register rw_gio_out_grp7_cfg, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int gio28 : 4;
unsigned int gio28_oe : 2;
unsigned int gio29 : 4;
unsigned int gio29_oe : 2;
unsigned int gio30 : 4;
unsigned int gio30_oe : 2;
unsigned int gio31 : 4;
unsigned int gio31_oe : 2;
unsigned int dummy1 : 8;
} reg_iop_sw_cfg_rw_gio_out_grp7_cfg;
#define REG_RD_ADDR_iop_sw_cfg_rw_gio_out_grp7_cfg 196
#define REG_WR_ADDR_iop_sw_cfg_rw_gio_out_grp7_cfg 196
/* Register rw_spu0_cfg, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int bus0_in : 2;
unsigned int bus1_in : 2;
unsigned int dummy1 : 28;
} reg_iop_sw_cfg_rw_spu0_cfg;
#define REG_RD_ADDR_iop_sw_cfg_rw_spu0_cfg 200
#define REG_WR_ADDR_iop_sw_cfg_rw_spu0_cfg 200
/* Register rw_spu1_cfg, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int bus0_in : 2;
unsigned int bus1_in : 2;
unsigned int dummy1 : 28;
} reg_iop_sw_cfg_rw_spu1_cfg;
#define REG_RD_ADDR_iop_sw_cfg_rw_spu1_cfg 204
#define REG_WR_ADDR_iop_sw_cfg_rw_spu1_cfg 204
/* Register rw_timer_grp0_cfg, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int ext_clk : 3;
unsigned int tmr0_en : 1;
unsigned int tmr1_en : 1;
unsigned int tmr2_en : 1;
unsigned int tmr3_en : 1;
unsigned int tmr0_dis : 1;
unsigned int tmr1_dis : 1;
unsigned int tmr2_dis : 1;
unsigned int tmr3_dis : 1;
unsigned int dummy1 : 21;
} reg_iop_sw_cfg_rw_timer_grp0_cfg;
#define REG_RD_ADDR_iop_sw_cfg_rw_timer_grp0_cfg 208
#define REG_WR_ADDR_iop_sw_cfg_rw_timer_grp0_cfg 208
/* Register rw_timer_grp1_cfg, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int ext_clk : 3;
unsigned int tmr0_en : 1;
unsigned int tmr1_en : 1;
unsigned int tmr2_en : 1;
unsigned int tmr3_en : 1;
unsigned int tmr0_dis : 1;
unsigned int tmr1_dis : 1;
unsigned int tmr2_dis : 1;
unsigned int tmr3_dis : 1;
unsigned int dummy1 : 21;
} reg_iop_sw_cfg_rw_timer_grp1_cfg;
#define REG_RD_ADDR_iop_sw_cfg_rw_timer_grp1_cfg 212
#define REG_WR_ADDR_iop_sw_cfg_rw_timer_grp1_cfg 212
/* Register rw_timer_grp2_cfg, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int ext_clk : 3;
unsigned int tmr0_en : 1;
unsigned int tmr1_en : 1;
unsigned int tmr2_en : 1;
unsigned int tmr3_en : 1;
unsigned int tmr0_dis : 1;
unsigned int tmr1_dis : 1;
unsigned int tmr2_dis : 1;
unsigned int tmr3_dis : 1;
unsigned int dummy1 : 21;
} reg_iop_sw_cfg_rw_timer_grp2_cfg;
#define REG_RD_ADDR_iop_sw_cfg_rw_timer_grp2_cfg 216
#define REG_WR_ADDR_iop_sw_cfg_rw_timer_grp2_cfg 216
/* Register rw_timer_grp3_cfg, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int ext_clk : 3;
unsigned int tmr0_en : 1;
unsigned int tmr1_en : 1;
unsigned int tmr2_en : 1;
unsigned int tmr3_en : 1;
unsigned int tmr0_dis : 1;
unsigned int tmr1_dis : 1;
unsigned int tmr2_dis : 1;
unsigned int tmr3_dis : 1;
unsigned int dummy1 : 21;
} reg_iop_sw_cfg_rw_timer_grp3_cfg;
#define REG_RD_ADDR_iop_sw_cfg_rw_timer_grp3_cfg 220
#define REG_WR_ADDR_iop_sw_cfg_rw_timer_grp3_cfg 220
/* Register rw_trigger_grps_cfg, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int grp0_dis : 1;
unsigned int grp0_en : 1;
unsigned int grp1_dis : 1;
unsigned int grp1_en : 1;
unsigned int grp2_dis : 1;
unsigned int grp2_en : 1;
unsigned int grp3_dis : 1;
unsigned int grp3_en : 1;
unsigned int grp4_dis : 1;
unsigned int grp4_en : 1;
unsigned int grp5_dis : 1;
unsigned int grp5_en : 1;
unsigned int grp6_dis : 1;
unsigned int grp6_en : 1;
unsigned int grp7_dis : 1;
unsigned int grp7_en : 1;
unsigned int dummy1 : 16;
} reg_iop_sw_cfg_rw_trigger_grps_cfg;
#define REG_RD_ADDR_iop_sw_cfg_rw_trigger_grps_cfg 224
#define REG_WR_ADDR_iop_sw_cfg_rw_trigger_grps_cfg 224
/* Register rw_pdp0_cfg, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int dmc0_usr : 1;
unsigned int out_strb : 5;
unsigned int in_src : 3;
unsigned int in_size : 3;
unsigned int in_last : 2;
unsigned int in_strb : 4;
unsigned int out_src : 1;
unsigned int dummy1 : 13;
} reg_iop_sw_cfg_rw_pdp0_cfg;
#define REG_RD_ADDR_iop_sw_cfg_rw_pdp0_cfg 228
#define REG_WR_ADDR_iop_sw_cfg_rw_pdp0_cfg 228
/* Register rw_pdp1_cfg, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int dmc1_usr : 1;
unsigned int out_strb : 5;
unsigned int in_src : 3;
unsigned int in_size : 3;
unsigned int in_last : 2;
unsigned int in_strb : 4;
unsigned int out_src : 1;
unsigned int dummy1 : 13;
} reg_iop_sw_cfg_rw_pdp1_cfg;
#define REG_RD_ADDR_iop_sw_cfg_rw_pdp1_cfg 232
#define REG_WR_ADDR_iop_sw_cfg_rw_pdp1_cfg 232
/* Register rw_sdp_cfg, scope iop_sw_cfg, type rw */
typedef struct {
unsigned int sdp_out0_strb : 3;
unsigned int sdp_out1_strb : 3;
unsigned int sdp_in0_data : 3;
unsigned int sdp_in0_last : 2;
unsigned int sdp_in0_strb : 3;
unsigned int sdp_in1_data : 3;
unsigned int sdp_in1_last : 2;
unsigned int sdp_in1_strb : 3;
unsigned int dummy1 : 10;
} reg_iop_sw_cfg_rw_sdp_cfg;
#define REG_RD_ADDR_iop_sw_cfg_rw_sdp_cfg 236
#define REG_WR_ADDR_iop_sw_cfg_rw_sdp_cfg 236
/* Constants */
enum {
regk_iop_sw_cfg_a = 0x00000001,
regk_iop_sw_cfg_b = 0x00000002,
regk_iop_sw_cfg_bus0 = 0x00000000,
regk_iop_sw_cfg_bus0_rot16 = 0x00000004,
regk_iop_sw_cfg_bus0_rot24 = 0x00000006,
regk_iop_sw_cfg_bus0_rot8 = 0x00000002,
regk_iop_sw_cfg_bus1 = 0x00000001,
regk_iop_sw_cfg_bus1_rot16 = 0x00000005,
regk_iop_sw_cfg_bus1_rot24 = 0x00000007,
regk_iop_sw_cfg_bus1_rot8 = 0x00000003,
regk_iop_sw_cfg_clk12 = 0x00000000,
regk_iop_sw_cfg_cpu = 0x00000000,
regk_iop_sw_cfg_dmc0 = 0x00000000,
regk_iop_sw_cfg_dmc1 = 0x00000001,
regk_iop_sw_cfg_gated_clk0 = 0x00000010,
regk_iop_sw_cfg_gated_clk1 = 0x00000011,
regk_iop_sw_cfg_gated_clk2 = 0x00000012,
regk_iop_sw_cfg_gated_clk3 = 0x00000013,
regk_iop_sw_cfg_gio0 = 0x00000004,
regk_iop_sw_cfg_gio1 = 0x00000001,
regk_iop_sw_cfg_gio2 = 0x00000005,
regk_iop_sw_cfg_gio3 = 0x00000002,
regk_iop_sw_cfg_gio4 = 0x00000006,
regk_iop_sw_cfg_gio5 = 0x00000003,
regk_iop_sw_cfg_gio6 = 0x00000007,
regk_iop_sw_cfg_gio7 = 0x00000004,
regk_iop_sw_cfg_gio_in0 = 0x00000000,
regk_iop_sw_cfg_gio_in1 = 0x00000001,
regk_iop_sw_cfg_gio_in10 = 0x00000002,
regk_iop_sw_cfg_gio_in11 = 0x00000003,
regk_iop_sw_cfg_gio_in14 = 0x00000004,
regk_iop_sw_cfg_gio_in15 = 0x00000005,
regk_iop_sw_cfg_gio_in18 = 0x00000002,
regk_iop_sw_cfg_gio_in19 = 0x00000003,
regk_iop_sw_cfg_gio_in20 = 0x00000004,
regk_iop_sw_cfg_gio_in21 = 0x00000005,
regk_iop_sw_cfg_gio_in26 = 0x00000006,
regk_iop_sw_cfg_gio_in27 = 0x00000007,
regk_iop_sw_cfg_gio_in28 = 0x00000006,
regk_iop_sw_cfg_gio_in29 = 0x00000007,
regk_iop_sw_cfg_gio_in4 = 0x00000000,
regk_iop_sw_cfg_gio_in5 = 0x00000001,
regk_iop_sw_cfg_last_timer_grp0_tmr2 = 0x00000001,
regk_iop_sw_cfg_last_timer_grp1_tmr2 = 0x00000001,
regk_iop_sw_cfg_last_timer_grp2_tmr2 = 0x00000002,
regk_iop_sw_cfg_last_timer_grp2_tmr3 = 0x00000003,
regk_iop_sw_cfg_last_timer_grp3_tmr2 = 0x00000002,
regk_iop_sw_cfg_last_timer_grp3_tmr3 = 0x00000003,
regk_iop_sw_cfg_mpu = 0x00000001,
regk_iop_sw_cfg_none = 0x00000000,
regk_iop_sw_cfg_par0 = 0x00000000,
regk_iop_sw_cfg_par1 = 0x00000001,
regk_iop_sw_cfg_pdp_out0 = 0x00000002,
regk_iop_sw_cfg_pdp_out0_hi = 0x00000001,
regk_iop_sw_cfg_pdp_out0_hi_rot8 = 0x00000005,
regk_iop_sw_cfg_pdp_out0_lo = 0x00000000,
regk_iop_sw_cfg_pdp_out0_lo_rot8 = 0x00000004,
regk_iop_sw_cfg_pdp_out1 = 0x00000003,
regk_iop_sw_cfg_pdp_out1_hi = 0x00000003,
regk_iop_sw_cfg_pdp_out1_hi_rot8 = 0x00000005,
regk_iop_sw_cfg_pdp_out1_lo = 0x00000002,
regk_iop_sw_cfg_pdp_out1_lo_rot8 = 0x00000004,
regk_iop_sw_cfg_rw_bus0_mask_default = 0x00000000,
regk_iop_sw_cfg_rw_bus0_oe_mask_default = 0x00000000,
regk_iop_sw_cfg_rw_bus1_mask_default = 0x00000000,
regk_iop_sw_cfg_rw_bus1_oe_mask_default = 0x00000000,
regk_iop_sw_cfg_rw_bus_out_cfg_default = 0x00000000,
regk_iop_sw_cfg_rw_crc_par0_owner_default = 0x00000000,
regk_iop_sw_cfg_rw_crc_par1_owner_default = 0x00000000,
regk_iop_sw_cfg_rw_dmc_in0_owner_default = 0x00000000,
regk_iop_sw_cfg_rw_dmc_in1_owner_default = 0x00000000,
regk_iop_sw_cfg_rw_dmc_out0_owner_default = 0x00000000,
regk_iop_sw_cfg_rw_dmc_out1_owner_default = 0x00000000,
regk_iop_sw_cfg_rw_fifo_in0_extra_owner_default = 0x00000000,
regk_iop_sw_cfg_rw_fifo_in0_owner_default = 0x00000000,
regk_iop_sw_cfg_rw_fifo_in1_extra_owner_default = 0x00000000,
regk_iop_sw_cfg_rw_fifo_in1_owner_default = 0x00000000,
regk_iop_sw_cfg_rw_fifo_out0_extra_owner_default = 0x00000000,
regk_iop_sw_cfg_rw_fifo_out0_owner_default = 0x00000000,
regk_iop_sw_cfg_rw_fifo_out1_extra_owner_default = 0x00000000,
regk_iop_sw_cfg_rw_fifo_out1_owner_default = 0x00000000,
regk_iop_sw_cfg_rw_gio_mask_default = 0x00000000,
regk_iop_sw_cfg_rw_gio_oe_mask_default = 0x00000000,
regk_iop_sw_cfg_rw_gio_out_grp0_cfg_default = 0x00000000,
regk_iop_sw_cfg_rw_gio_out_grp1_cfg_default = 0x00000000,
regk_iop_sw_cfg_rw_gio_out_grp2_cfg_default = 0x00000000,
regk_iop_sw_cfg_rw_gio_out_grp3_cfg_default = 0x00000000,
regk_iop_sw_cfg_rw_gio_out_grp4_cfg_default = 0x00000000,
regk_iop_sw_cfg_rw_gio_out_grp5_cfg_default = 0x00000000,
regk_iop_sw_cfg_rw_gio_out_grp6_cfg_default = 0x00000000,
regk_iop_sw_cfg_rw_gio_out_grp7_cfg_default = 0x00000000,
regk_iop_sw_cfg_rw_pdp0_cfg_default = 0x00000000,
regk_iop_sw_cfg_rw_pdp1_cfg_default = 0x00000000,
regk_iop_sw_cfg_rw_pinmapping_default = 0x55555555,
regk_iop_sw_cfg_rw_sap_in_owner_default = 0x00000000,
regk_iop_sw_cfg_rw_sap_out_owner_default = 0x00000000,
regk_iop_sw_cfg_rw_scrc_in0_owner_default = 0x00000000,
regk_iop_sw_cfg_rw_scrc_in1_owner_default = 0x00000000,
regk_iop_sw_cfg_rw_scrc_out0_owner_default = 0x00000000,
regk_iop_sw_cfg_rw_scrc_out1_owner_default = 0x00000000,
regk_iop_sw_cfg_rw_sdp_cfg_default = 0x00000000,
regk_iop_sw_cfg_rw_spu0_cfg_default = 0x00000000,
regk_iop_sw_cfg_rw_spu0_owner_default = 0x00000000,
regk_iop_sw_cfg_rw_spu1_cfg_default = 0x00000000,
regk_iop_sw_cfg_rw_spu1_owner_default = 0x00000000,
regk_iop_sw_cfg_rw_timer_grp0_cfg_default = 0x00000000,
regk_iop_sw_cfg_rw_timer_grp0_owner_default = 0x00000000,
regk_iop_sw_cfg_rw_timer_grp1_cfg_default = 0x00000000,
regk_iop_sw_cfg_rw_timer_grp1_owner_default = 0x00000000,
regk_iop_sw_cfg_rw_timer_grp2_cfg_default = 0x00000000,
regk_iop_sw_cfg_rw_timer_grp2_owner_default = 0x00000000,
regk_iop_sw_cfg_rw_timer_grp3_cfg_default = 0x00000000,
regk_iop_sw_cfg_rw_timer_grp3_owner_default = 0x00000000,
regk_iop_sw_cfg_rw_trigger_grp0_owner_default = 0x00000000,
regk_iop_sw_cfg_rw_trigger_grp1_owner_default = 0x00000000,
regk_iop_sw_cfg_rw_trigger_grp2_owner_default = 0x00000000,
regk_iop_sw_cfg_rw_trigger_grp3_owner_default = 0x00000000,
regk_iop_sw_cfg_rw_trigger_grp4_owner_default = 0x00000000,
regk_iop_sw_cfg_rw_trigger_grp5_owner_default = 0x00000000,
regk_iop_sw_cfg_rw_trigger_grp6_owner_default = 0x00000000,
regk_iop_sw_cfg_rw_trigger_grp7_owner_default = 0x00000000,
regk_iop_sw_cfg_rw_trigger_grps_cfg_default = 0x00000000,
regk_iop_sw_cfg_sdp_out0 = 0x00000008,
regk_iop_sw_cfg_sdp_out1 = 0x00000009,
regk_iop_sw_cfg_size16 = 0x00000002,
regk_iop_sw_cfg_size24 = 0x00000003,
regk_iop_sw_cfg_size32 = 0x00000004,
regk_iop_sw_cfg_size8 = 0x00000001,
regk_iop_sw_cfg_spu0 = 0x00000002,
regk_iop_sw_cfg_spu0_bus_out0_hi = 0x00000006,
regk_iop_sw_cfg_spu0_bus_out0_lo = 0x00000006,
regk_iop_sw_cfg_spu0_bus_out1_hi = 0x00000007,
regk_iop_sw_cfg_spu0_bus_out1_lo = 0x00000007,
regk_iop_sw_cfg_spu0_g0 = 0x0000000e,
regk_iop_sw_cfg_spu0_g1 = 0x0000000e,
regk_iop_sw_cfg_spu0_g2 = 0x0000000e,
regk_iop_sw_cfg_spu0_g3 = 0x0000000e,
regk_iop_sw_cfg_spu0_g4 = 0x0000000e,
regk_iop_sw_cfg_spu0_g5 = 0x0000000e,
regk_iop_sw_cfg_spu0_g6 = 0x0000000e,
regk_iop_sw_cfg_spu0_g7 = 0x0000000e,
regk_iop_sw_cfg_spu0_gio0 = 0x00000000,
regk_iop_sw_cfg_spu0_gio1 = 0x00000001,
regk_iop_sw_cfg_spu0_gio2 = 0x00000000,
regk_iop_sw_cfg_spu0_gio5 = 0x00000005,
regk_iop_sw_cfg_spu0_gio6 = 0x00000006,
regk_iop_sw_cfg_spu0_gio7 = 0x00000007,
regk_iop_sw_cfg_spu0_gio_out0 = 0x00000008,
regk_iop_sw_cfg_spu0_gio_out1 = 0x00000009,
regk_iop_sw_cfg_spu0_gio_out2 = 0x0000000a,
regk_iop_sw_cfg_spu0_gio_out3 = 0x0000000b,
regk_iop_sw_cfg_spu0_gio_out4 = 0x0000000c,
regk_iop_sw_cfg_spu0_gio_out5 = 0x0000000d,
regk_iop_sw_cfg_spu0_gio_out6 = 0x0000000e,
regk_iop_sw_cfg_spu0_gio_out7 = 0x0000000f,
regk_iop_sw_cfg_spu0_gioout0 = 0x00000000,
regk_iop_sw_cfg_spu0_gioout1 = 0x00000000,
regk_iop_sw_cfg_spu0_gioout10 = 0x0000000e,
regk_iop_sw_cfg_spu0_gioout11 = 0x0000000e,
regk_iop_sw_cfg_spu0_gioout12 = 0x0000000e,
regk_iop_sw_cfg_spu0_gioout13 = 0x0000000e,
regk_iop_sw_cfg_spu0_gioout14 = 0x0000000e,
regk_iop_sw_cfg_spu0_gioout15 = 0x0000000e,
regk_iop_sw_cfg_spu0_gioout16 = 0x0000000e,
regk_iop_sw_cfg_spu0_gioout17 = 0x0000000e,
regk_iop_sw_cfg_spu0_gioout18 = 0x0000000e,
regk_iop_sw_cfg_spu0_gioout19 = 0x0000000e,
regk_iop_sw_cfg_spu0_gioout2 = 0x00000002,
regk_iop_sw_cfg_spu0_gioout20 = 0x0000000e,
regk_iop_sw_cfg_spu0_gioout21 = 0x0000000e,
regk_iop_sw_cfg_spu0_gioout22 = 0x0000000e,
regk_iop_sw_cfg_spu0_gioout23 = 0x0000000e,
regk_iop_sw_cfg_spu0_gioout24 = 0x0000000e,
regk_iop_sw_cfg_spu0_gioout25 = 0x0000000e,
regk_iop_sw_cfg_spu0_gioout26 = 0x0000000e,
regk_iop_sw_cfg_spu0_gioout27 = 0x0000000e,
regk_iop_sw_cfg_spu0_gioout28 = 0x0000000e,
regk_iop_sw_cfg_spu0_gioout29 = 0x0000000e,
regk_iop_sw_cfg_spu0_gioout3 = 0x00000002,
regk_iop_sw_cfg_spu0_gioout30 = 0x0000000e,
regk_iop_sw_cfg_spu0_gioout31 = 0x0000000e,
regk_iop_sw_cfg_spu0_gioout4 = 0x00000004,
regk_iop_sw_cfg_spu0_gioout5 = 0x00000004,
regk_iop_sw_cfg_spu0_gioout6 = 0x00000006,
regk_iop_sw_cfg_spu0_gioout7 = 0x00000006,
regk_iop_sw_cfg_spu0_gioout8 = 0x0000000e,
regk_iop_sw_cfg_spu0_gioout9 = 0x0000000e,
regk_iop_sw_cfg_spu1 = 0x00000003,
regk_iop_sw_cfg_spu1_bus_out0_hi = 0x00000006,
regk_iop_sw_cfg_spu1_bus_out0_lo = 0x00000006,
regk_iop_sw_cfg_spu1_bus_out1_hi = 0x00000007,
regk_iop_sw_cfg_spu1_bus_out1_lo = 0x00000007,
regk_iop_sw_cfg_spu1_g0 = 0x0000000f,
regk_iop_sw_cfg_spu1_g1 = 0x0000000f,
regk_iop_sw_cfg_spu1_g2 = 0x0000000f,
regk_iop_sw_cfg_spu1_g3 = 0x0000000f,
regk_iop_sw_cfg_spu1_g4 = 0x0000000f,
regk_iop_sw_cfg_spu1_g5 = 0x0000000f,
regk_iop_sw_cfg_spu1_g6 = 0x0000000f,
regk_iop_sw_cfg_spu1_g7 = 0x0000000f,
regk_iop_sw_cfg_spu1_gio0 = 0x00000002,
regk_iop_sw_cfg_spu1_gio1 = 0x00000003,
regk_iop_sw_cfg_spu1_gio2 = 0x00000002,
regk_iop_sw_cfg_spu1_gio5 = 0x00000005,
regk_iop_sw_cfg_spu1_gio6 = 0x00000006,
regk_iop_sw_cfg_spu1_gio7 = 0x00000007,
regk_iop_sw_cfg_spu1_gio_out0 = 0x00000008,
regk_iop_sw_cfg_spu1_gio_out1 = 0x00000009,
regk_iop_sw_cfg_spu1_gio_out2 = 0x0000000a,
regk_iop_sw_cfg_spu1_gio_out3 = 0x0000000b,
regk_iop_sw_cfg_spu1_gio_out4 = 0x0000000c,
regk_iop_sw_cfg_spu1_gio_out5 = 0x0000000d,
regk_iop_sw_cfg_spu1_gio_out6 = 0x0000000e,
regk_iop_sw_cfg_spu1_gio_out7 = 0x0000000f,
regk_iop_sw_cfg_spu1_gioout0 = 0x00000001,
regk_iop_sw_cfg_spu1_gioout1 = 0x00000001,
regk_iop_sw_cfg_spu1_gioout10 = 0x0000000f,
regk_iop_sw_cfg_spu1_gioout11 = 0x0000000f,
regk_iop_sw_cfg_spu1_gioout12 = 0x0000000f,
regk_iop_sw_cfg_spu1_gioout13 = 0x0000000f,
regk_iop_sw_cfg_spu1_gioout14 = 0x0000000f,
regk_iop_sw_cfg_spu1_gioout15 = 0x0000000f,
regk_iop_sw_cfg_spu1_gioout16 = 0x0000000f,
regk_iop_sw_cfg_spu1_gioout17 = 0x0000000f,
regk_iop_sw_cfg_spu1_gioout18 = 0x0000000f,
regk_iop_sw_cfg_spu1_gioout19 = 0x0000000f,
regk_iop_sw_cfg_spu1_gioout2 = 0x00000003,
regk_iop_sw_cfg_spu1_gioout20 = 0x0000000f,
regk_iop_sw_cfg_spu1_gioout21 = 0x0000000f,
regk_iop_sw_cfg_spu1_gioout22 = 0x0000000f,
regk_iop_sw_cfg_spu1_gioout23 = 0x0000000f,
regk_iop_sw_cfg_spu1_gioout24 = 0x0000000f,
regk_iop_sw_cfg_spu1_gioout25 = 0x0000000f,
regk_iop_sw_cfg_spu1_gioout26 = 0x0000000f,
regk_iop_sw_cfg_spu1_gioout27 = 0x0000000f,
regk_iop_sw_cfg_spu1_gioout28 = 0x0000000f,
regk_iop_sw_cfg_spu1_gioout29 = 0x0000000f,
regk_iop_sw_cfg_spu1_gioout3 = 0x00000003,
regk_iop_sw_cfg_spu1_gioout30 = 0x0000000f,
regk_iop_sw_cfg_spu1_gioout31 = 0x0000000f,
regk_iop_sw_cfg_spu1_gioout4 = 0x00000005,
regk_iop_sw_cfg_spu1_gioout5 = 0x00000005,
regk_iop_sw_cfg_spu1_gioout6 = 0x00000007,
regk_iop_sw_cfg_spu1_gioout7 = 0x00000007,
regk_iop_sw_cfg_spu1_gioout8 = 0x0000000f,
regk_iop_sw_cfg_spu1_gioout9 = 0x0000000f,
regk_iop_sw_cfg_strb_timer_grp0_tmr0 = 0x00000001,
regk_iop_sw_cfg_strb_timer_grp0_tmr1 = 0x00000002,
regk_iop_sw_cfg_strb_timer_grp1_tmr0 = 0x00000001,
regk_iop_sw_cfg_strb_timer_grp1_tmr1 = 0x00000002,
regk_iop_sw_cfg_strb_timer_grp2_tmr0 = 0x00000003,
regk_iop_sw_cfg_strb_timer_grp2_tmr1 = 0x00000002,
regk_iop_sw_cfg_strb_timer_grp3_tmr0 = 0x00000003,
regk_iop_sw_cfg_strb_timer_grp3_tmr1 = 0x00000002,
regk_iop_sw_cfg_timer_grp0 = 0x00000000,
regk_iop_sw_cfg_timer_grp0_rot = 0x00000001,
regk_iop_sw_cfg_timer_grp0_strb0 = 0x0000000a,
regk_iop_sw_cfg_timer_grp0_strb1 = 0x0000000a,
regk_iop_sw_cfg_timer_grp0_strb2 = 0x0000000a,
regk_iop_sw_cfg_timer_grp0_strb3 = 0x0000000a,
regk_iop_sw_cfg_timer_grp0_tmr0 = 0x00000004,
regk_iop_sw_cfg_timer_grp0_tmr1 = 0x00000004,
regk_iop_sw_cfg_timer_grp1 = 0x00000000,
regk_iop_sw_cfg_timer_grp1_rot = 0x00000001,
regk_iop_sw_cfg_timer_grp1_strb0 = 0x0000000b,
regk_iop_sw_cfg_timer_grp1_strb1 = 0x0000000b,
regk_iop_sw_cfg_timer_grp1_strb2 = 0x0000000b,
regk_iop_sw_cfg_timer_grp1_strb3 = 0x0000000b,
regk_iop_sw_cfg_timer_grp1_tmr0 = 0x00000005,
regk_iop_sw_cfg_timer_grp1_tmr1 = 0x00000005,
regk_iop_sw_cfg_timer_grp2 = 0x00000000,
regk_iop_sw_cfg_timer_grp2_rot = 0x00000001,
regk_iop_sw_cfg_timer_grp2_strb0 = 0x0000000c,
regk_iop_sw_cfg_timer_grp2_strb1 = 0x0000000c,
regk_iop_sw_cfg_timer_grp2_strb2 = 0x0000000c,
regk_iop_sw_cfg_timer_grp2_strb3 = 0x0000000c,
regk_iop_sw_cfg_timer_grp2_tmr0 = 0x00000006,
regk_iop_sw_cfg_timer_grp2_tmr1 = 0x00000006,
regk_iop_sw_cfg_timer_grp3 = 0x00000000,
regk_iop_sw_cfg_timer_grp3_rot = 0x00000001,
regk_iop_sw_cfg_timer_grp3_strb0 = 0x0000000d,
regk_iop_sw_cfg_timer_grp3_strb1 = 0x0000000d,
regk_iop_sw_cfg_timer_grp3_strb2 = 0x0000000d,
regk_iop_sw_cfg_timer_grp3_strb3 = 0x0000000d,
regk_iop_sw_cfg_timer_grp3_tmr0 = 0x00000007,
regk_iop_sw_cfg_timer_grp3_tmr1 = 0x00000007,
regk_iop_sw_cfg_trig0_0 = 0x00000000,
regk_iop_sw_cfg_trig0_1 = 0x00000000,
regk_iop_sw_cfg_trig0_2 = 0x00000000,
regk_iop_sw_cfg_trig0_3 = 0x00000000,
regk_iop_sw_cfg_trig1_0 = 0x00000000,
regk_iop_sw_cfg_trig1_1 = 0x00000000,
regk_iop_sw_cfg_trig1_2 = 0x00000000,
regk_iop_sw_cfg_trig1_3 = 0x00000000,
regk_iop_sw_cfg_trig2_0 = 0x00000000,
regk_iop_sw_cfg_trig2_1 = 0x00000000,
regk_iop_sw_cfg_trig2_2 = 0x00000000,
regk_iop_sw_cfg_trig2_3 = 0x00000000,
regk_iop_sw_cfg_trig3_0 = 0x00000000,
regk_iop_sw_cfg_trig3_1 = 0x00000000,
regk_iop_sw_cfg_trig3_2 = 0x00000000,
regk_iop_sw_cfg_trig3_3 = 0x00000000,
regk_iop_sw_cfg_trig4_0 = 0x00000001,
regk_iop_sw_cfg_trig4_1 = 0x00000001,
regk_iop_sw_cfg_trig4_2 = 0x00000001,
regk_iop_sw_cfg_trig4_3 = 0x00000001,
regk_iop_sw_cfg_trig5_0 = 0x00000001,
regk_iop_sw_cfg_trig5_1 = 0x00000001,
regk_iop_sw_cfg_trig5_2 = 0x00000001,
regk_iop_sw_cfg_trig5_3 = 0x00000001,
regk_iop_sw_cfg_trig6_0 = 0x00000001,
regk_iop_sw_cfg_trig6_1 = 0x00000001,
regk_iop_sw_cfg_trig6_2 = 0x00000001,
regk_iop_sw_cfg_trig6_3 = 0x00000001,
regk_iop_sw_cfg_trig7_0 = 0x00000001,
regk_iop_sw_cfg_trig7_1 = 0x00000001,
regk_iop_sw_cfg_trig7_2 = 0x00000001,
regk_iop_sw_cfg_trig7_3 = 0x00000001
};
#endif /* __iop_sw_cfg_defs_h */
|