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