Lines Matching refs:check_offset
137 uint16_t offset = 0, check_offset; in combios_get_table_offset() local
145 check_offset = 0xc; in combios_get_table_offset()
148 check_offset = 0x14; in combios_get_table_offset()
151 check_offset = 0x2a; in combios_get_table_offset()
154 check_offset = 0x2c; in combios_get_table_offset()
157 check_offset = 0x2e; in combios_get_table_offset()
160 check_offset = 0x30; in combios_get_table_offset()
163 check_offset = 0x32; in combios_get_table_offset()
166 check_offset = 0x34; in combios_get_table_offset()
169 check_offset = 0x36; in combios_get_table_offset()
172 check_offset = 0x38; in combios_get_table_offset()
175 check_offset = 0x3e; in combios_get_table_offset()
178 check_offset = 0x40; in combios_get_table_offset()
181 check_offset = 0x42; in combios_get_table_offset()
184 check_offset = 0x46; in combios_get_table_offset()
187 check_offset = 0x48; in combios_get_table_offset()
190 check_offset = 0x4a; in combios_get_table_offset()
193 check_offset = 0x4c; in combios_get_table_offset()
196 check_offset = 0x4e; in combios_get_table_offset()
199 check_offset = 0x50; in combios_get_table_offset()
202 check_offset = 0x52; in combios_get_table_offset()
205 check_offset = 0x54; in combios_get_table_offset()
208 check_offset = 0x58; in combios_get_table_offset()
211 check_offset = 0x5a; in combios_get_table_offset()
214 check_offset = 0x5c; in combios_get_table_offset()
217 check_offset = 0x5e; in combios_get_table_offset()
220 check_offset = 0x60; in combios_get_table_offset()
223 check_offset = 0x62; in combios_get_table_offset()
226 check_offset = 0x64; in combios_get_table_offset()
229 check_offset = 0x66; in combios_get_table_offset()
232 check_offset = 0x68; in combios_get_table_offset()
235 check_offset = 0x6a; in combios_get_table_offset()
238 check_offset = 0x6c; in combios_get_table_offset()
241 check_offset = 0x6e; in combios_get_table_offset()
244 check_offset = 0x70; in combios_get_table_offset()
248 check_offset = in combios_get_table_offset()
250 if (check_offset) { in combios_get_table_offset()
251 rev = RBIOS8(check_offset); in combios_get_table_offset()
253 check_offset = RBIOS16(check_offset + 0x3); in combios_get_table_offset()
254 if (check_offset) in combios_get_table_offset()
255 offset = check_offset; in combios_get_table_offset()
260 check_offset = in combios_get_table_offset()
262 if (check_offset) { in combios_get_table_offset()
263 rev = RBIOS8(check_offset); in combios_get_table_offset()
265 check_offset = RBIOS16(check_offset + 0x5); in combios_get_table_offset()
266 if (check_offset) in combios_get_table_offset()
267 offset = check_offset; in combios_get_table_offset()
272 check_offset = in combios_get_table_offset()
274 if (check_offset) { in combios_get_table_offset()
275 rev = RBIOS8(check_offset); in combios_get_table_offset()
277 check_offset = RBIOS16(check_offset + 0x7); in combios_get_table_offset()
278 if (check_offset) in combios_get_table_offset()
279 offset = check_offset; in combios_get_table_offset()
284 check_offset = in combios_get_table_offset()
286 if (check_offset) { in combios_get_table_offset()
287 rev = RBIOS8(check_offset); in combios_get_table_offset()
289 check_offset = RBIOS16(check_offset + 0x9); in combios_get_table_offset()
290 if (check_offset) in combios_get_table_offset()
291 offset = check_offset; in combios_get_table_offset()
296 check_offset = in combios_get_table_offset()
298 if (check_offset) { in combios_get_table_offset()
299 while (RBIOS8(check_offset++)); in combios_get_table_offset()
300 check_offset += 2; in combios_get_table_offset()
301 if (check_offset) in combios_get_table_offset()
302 offset = check_offset; in combios_get_table_offset()
306 check_offset = in combios_get_table_offset()
308 if (check_offset) { in combios_get_table_offset()
309 check_offset = RBIOS16(check_offset + 0x11); in combios_get_table_offset()
310 if (check_offset) in combios_get_table_offset()
311 offset = check_offset; in combios_get_table_offset()
315 check_offset = in combios_get_table_offset()
317 if (check_offset) { in combios_get_table_offset()
318 check_offset = RBIOS16(check_offset + 0x13); in combios_get_table_offset()
319 if (check_offset) in combios_get_table_offset()
320 offset = check_offset; in combios_get_table_offset()
324 check_offset = in combios_get_table_offset()
326 if (check_offset) { in combios_get_table_offset()
327 check_offset = RBIOS16(check_offset + 0x15); in combios_get_table_offset()
328 if (check_offset) in combios_get_table_offset()
329 offset = check_offset; in combios_get_table_offset()
333 check_offset = in combios_get_table_offset()
335 if (check_offset) { in combios_get_table_offset()
336 check_offset = RBIOS16(check_offset + 0x17); in combios_get_table_offset()
337 if (check_offset) in combios_get_table_offset()
338 offset = check_offset; in combios_get_table_offset()
342 check_offset = in combios_get_table_offset()
344 if (check_offset) { in combios_get_table_offset()
345 check_offset = RBIOS16(check_offset + 0x2); in combios_get_table_offset()
346 if (check_offset) in combios_get_table_offset()
347 offset = check_offset; in combios_get_table_offset()
351 check_offset = in combios_get_table_offset()
353 if (check_offset) { in combios_get_table_offset()
354 check_offset = RBIOS16(check_offset + 0x4); in combios_get_table_offset()
355 if (check_offset) in combios_get_table_offset()
356 offset = check_offset; in combios_get_table_offset()
360 check_offset = 0; in combios_get_table_offset()
366 if (table < COMBIOS_ASIC_INIT_3_TABLE && check_offset && check_offset < size) in combios_get_table_offset()
367 offset = RBIOS16(rdev->bios_header_start + check_offset); in combios_get_table_offset()