1 /*
2 File automatically generated by createinit.py using data
3 extracted from AF05BDA.sys (windows driver):
4 
5 dd if=AF05BDA.sys of=initsequence bs=1 skip=88316 count=1110
6 python createinit.py > af9005-script.h
7 
8 */
9 
10 typedef struct {
11 	u16 reg;
12 	u8 pos;
13 	u8 len;
14 	u8 val;
15 } RegDesc;
16 
17 static RegDesc script[] = {
18 	{0xa180, 0x0, 0x8, 0xa},
19 	{0xa181, 0x0, 0x8, 0xd7},
20 	{0xa182, 0x0, 0x8, 0xa3},
21 	{0xa0a0, 0x0, 0x8, 0x0},
22 	{0xa0a1, 0x0, 0x5, 0x0},
23 	{0xa0a1, 0x5, 0x1, 0x1},
24 	{0xa0c0, 0x0, 0x4, 0x1},
25 	{0xa20e, 0x4, 0x4, 0xa},
26 	{0xa20f, 0x0, 0x8, 0x40},
27 	{0xa210, 0x0, 0x8, 0x8},
28 	{0xa32a, 0x0, 0x4, 0xa},
29 	{0xa32c, 0x0, 0x8, 0x20},
30 	{0xa32b, 0x0, 0x8, 0x15},
31 	{0xa1a0, 0x1, 0x1, 0x1},
32 	{0xa000, 0x0, 0x1, 0x1},
33 	{0xa000, 0x1, 0x1, 0x0},
34 	{0xa001, 0x1, 0x1, 0x1},
35 	{0xa001, 0x0, 0x1, 0x0},
36 	{0xa001, 0x5, 0x1, 0x0},
37 	{0xa00e, 0x0, 0x5, 0x10},
38 	{0xa00f, 0x0, 0x3, 0x4},
39 	{0xa00f, 0x3, 0x3, 0x5},
40 	{0xa010, 0x0, 0x3, 0x4},
41 	{0xa010, 0x3, 0x3, 0x5},
42 	{0xa016, 0x4, 0x4, 0x3},
43 	{0xa01f, 0x0, 0x6, 0xa},
44 	{0xa020, 0x0, 0x6, 0xa},
45 	{0xa2bc, 0x0, 0x1, 0x1},
46 	{0xa2bc, 0x5, 0x1, 0x1},
47 	{0xa015, 0x0, 0x8, 0x50},
48 	{0xa016, 0x0, 0x1, 0x0},
49 	{0xa02a, 0x0, 0x8, 0x50},
50 	{0xa029, 0x0, 0x8, 0x4b},
51 	{0xa614, 0x0, 0x8, 0x46},
52 	{0xa002, 0x0, 0x5, 0x19},
53 	{0xa003, 0x0, 0x5, 0x1a},
54 	{0xa004, 0x0, 0x5, 0x19},
55 	{0xa005, 0x0, 0x5, 0x1a},
56 	{0xa008, 0x0, 0x8, 0x69},
57 	{0xa009, 0x0, 0x2, 0x2},
58 	{0xae1b, 0x0, 0x8, 0x69},
59 	{0xae1c, 0x0, 0x8, 0x2},
60 	{0xae1d, 0x0, 0x8, 0x2a},
61 	{0xa022, 0x0, 0x8, 0xaa},
62 	{0xa006, 0x0, 0x8, 0xc8},
63 	{0xa007, 0x0, 0x2, 0x0},
64 	{0xa00c, 0x0, 0x8, 0xba},
65 	{0xa00d, 0x0, 0x2, 0x2},
66 	{0xa608, 0x0, 0x8, 0xba},
67 	{0xa60e, 0x0, 0x2, 0x2},
68 	{0xa609, 0x0, 0x8, 0x80},
69 	{0xa60e, 0x2, 0x2, 0x3},
70 	{0xa00a, 0x0, 0x8, 0xb6},
71 	{0xa00b, 0x0, 0x2, 0x0},
72 	{0xa011, 0x0, 0x8, 0xb9},
73 	{0xa012, 0x0, 0x2, 0x0},
74 	{0xa013, 0x0, 0x8, 0xbd},
75 	{0xa014, 0x0, 0x2, 0x2},
76 	{0xa366, 0x0, 0x1, 0x1},
77 	{0xa2bc, 0x3, 0x1, 0x0},
78 	{0xa2bd, 0x0, 0x8, 0xa},
79 	{0xa2be, 0x0, 0x8, 0x14},
80 	{0xa2bf, 0x0, 0x8, 0x8},
81 	{0xa60a, 0x0, 0x8, 0xbd},
82 	{0xa60e, 0x4, 0x2, 0x2},
83 	{0xa60b, 0x0, 0x8, 0x86},
84 	{0xa60e, 0x6, 0x2, 0x3},
85 	{0xa001, 0x2, 0x2, 0x1},
86 	{0xa1c7, 0x0, 0x8, 0xf5},
87 	{0xa03d, 0x0, 0x8, 0xb1},
88 	{0xa616, 0x0, 0x8, 0xff},
89 	{0xa617, 0x0, 0x8, 0xad},
90 	{0xa618, 0x0, 0x8, 0xad},
91 	{0xa61e, 0x3, 0x1, 0x1},
92 	{0xae1a, 0x0, 0x8, 0x0},
93 	{0xae19, 0x0, 0x8, 0xc8},
94 	{0xae18, 0x0, 0x8, 0x61},
95 	{0xa140, 0x0, 0x8, 0x0},
96 	{0xa141, 0x0, 0x8, 0xc8},
97 	{0xa142, 0x0, 0x7, 0x61},
98 	{0xa023, 0x0, 0x8, 0xff},
99 	{0xa021, 0x0, 0x8, 0xad},
100 	{0xa026, 0x0, 0x1, 0x0},
101 	{0xa024, 0x0, 0x8, 0xff},
102 	{0xa025, 0x0, 0x8, 0xff},
103 	{0xa1c8, 0x0, 0x8, 0xf},
104 	{0xa2bc, 0x1, 0x1, 0x0},
105 	{0xa60c, 0x0, 0x4, 0x5},
106 	{0xa60c, 0x4, 0x4, 0x6},
107 	{0xa60d, 0x0, 0x8, 0xa},
108 	{0xa371, 0x0, 0x1, 0x1},
109 	{0xa366, 0x1, 0x3, 0x7},
110 	{0xa338, 0x0, 0x8, 0x10},
111 	{0xa339, 0x0, 0x6, 0x7},
112 	{0xa33a, 0x0, 0x6, 0x1f},
113 	{0xa33b, 0x0, 0x8, 0xf6},
114 	{0xa33c, 0x3, 0x5, 0x4},
115 	{0xa33d, 0x4, 0x4, 0x0},
116 	{0xa33d, 0x1, 0x1, 0x1},
117 	{0xa33d, 0x2, 0x1, 0x1},
118 	{0xa33d, 0x3, 0x1, 0x1},
119 	{0xa16d, 0x0, 0x4, 0xf},
120 	{0xa161, 0x0, 0x5, 0x5},
121 	{0xa162, 0x0, 0x4, 0x5},
122 	{0xa165, 0x0, 0x8, 0xff},
123 	{0xa166, 0x0, 0x8, 0x9c},
124 	{0xa2c3, 0x0, 0x4, 0x5},
125 	{0xa61a, 0x0, 0x6, 0xf},
126 	{0xb200, 0x0, 0x8, 0xa1},
127 	{0xb201, 0x0, 0x8, 0x7},
128 	{0xa093, 0x0, 0x1, 0x0},
129 	{0xa093, 0x1, 0x5, 0xf},
130 	{0xa094, 0x0, 0x8, 0xff},
131 	{0xa095, 0x0, 0x8, 0xf},
132 	{0xa080, 0x2, 0x5, 0x3},
133 	{0xa081, 0x0, 0x4, 0x0},
134 	{0xa081, 0x4, 0x4, 0x9},
135 	{0xa082, 0x0, 0x5, 0x1f},
136 	{0xa08d, 0x0, 0x8, 0x1},
137 	{0xa083, 0x0, 0x8, 0x32},
138 	{0xa084, 0x0, 0x1, 0x0},
139 	{0xa08e, 0x0, 0x8, 0x3},
140 	{0xa085, 0x0, 0x8, 0x32},
141 	{0xa086, 0x0, 0x3, 0x0},
142 	{0xa087, 0x0, 0x8, 0x6e},
143 	{0xa088, 0x0, 0x5, 0x15},
144 	{0xa089, 0x0, 0x8, 0x0},
145 	{0xa08a, 0x0, 0x5, 0x19},
146 	{0xa08b, 0x0, 0x8, 0x92},
147 	{0xa08c, 0x0, 0x5, 0x1c},
148 	{0xa120, 0x0, 0x8, 0x0},
149 	{0xa121, 0x0, 0x5, 0x10},
150 	{0xa122, 0x0, 0x8, 0x0},
151 	{0xa123, 0x0, 0x7, 0x40},
152 	{0xa123, 0x7, 0x1, 0x0},
153 	{0xa124, 0x0, 0x8, 0x13},
154 	{0xa125, 0x0, 0x7, 0x10},
155 	{0xa1c0, 0x0, 0x8, 0x0},
156 	{0xa1c1, 0x0, 0x5, 0x4},
157 	{0xa1c2, 0x0, 0x8, 0x0},
158 	{0xa1c3, 0x0, 0x5, 0x10},
159 	{0xa1c3, 0x5, 0x3, 0x0},
160 	{0xa1c4, 0x0, 0x6, 0x0},
161 	{0xa1c5, 0x0, 0x7, 0x10},
162 	{0xa100, 0x0, 0x8, 0x0},
163 	{0xa101, 0x0, 0x5, 0x10},
164 	{0xa102, 0x0, 0x8, 0x0},
165 	{0xa103, 0x0, 0x7, 0x40},
166 	{0xa103, 0x7, 0x1, 0x0},
167 	{0xa104, 0x0, 0x8, 0x18},
168 	{0xa105, 0x0, 0x7, 0xa},
169 	{0xa106, 0x0, 0x8, 0x20},
170 	{0xa107, 0x0, 0x8, 0x40},
171 	{0xa108, 0x0, 0x4, 0x0},
172 	{0xa38c, 0x0, 0x8, 0xfc},
173 	{0xa38d, 0x0, 0x8, 0x0},
174 	{0xa38e, 0x0, 0x8, 0x7e},
175 	{0xa38f, 0x0, 0x8, 0x0},
176 	{0xa390, 0x0, 0x8, 0x2f},
177 	{0xa60f, 0x5, 0x1, 0x1},
178 	{0xa170, 0x0, 0x8, 0xdc},
179 	{0xa171, 0x0, 0x2, 0x0},
180 	{0xa2ae, 0x0, 0x1, 0x1},
181 	{0xa2ae, 0x1, 0x1, 0x1},
182 	{0xa392, 0x0, 0x1, 0x1},
183 	{0xa391, 0x2, 0x1, 0x0},
184 	{0xabc1, 0x0, 0x8, 0xff},
185 	{0xabc2, 0x0, 0x8, 0x0},
186 	{0xabc8, 0x0, 0x8, 0x8},
187 	{0xabca, 0x0, 0x8, 0x10},
188 	{0xabcb, 0x0, 0x1, 0x0},
189 	{0xabc3, 0x5, 0x3, 0x7},
190 	{0xabc0, 0x6, 0x1, 0x0},
191 	{0xabc0, 0x4, 0x2, 0x0},
192 	{0xa344, 0x4, 0x4, 0x1},
193 	{0xabc0, 0x7, 0x1, 0x1},
194 	{0xabc0, 0x2, 0x1, 0x1},
195 	{0xa345, 0x0, 0x8, 0x66},
196 	{0xa346, 0x0, 0x8, 0x66},
197 	{0xa347, 0x0, 0x4, 0x0},
198 	{0xa343, 0x0, 0x4, 0xa},
199 	{0xa347, 0x4, 0x4, 0x2},
200 	{0xa348, 0x0, 0x4, 0xc},
201 	{0xa348, 0x4, 0x4, 0x7},
202 	{0xa349, 0x0, 0x6, 0x2},
203 };
204