Lines Matching refs:check_offset

129 	uint16_t offset = 0, check_offset;  in combios_get_table_offset()  local
137 check_offset = 0xc; in combios_get_table_offset()
140 check_offset = 0x14; in combios_get_table_offset()
143 check_offset = 0x2a; in combios_get_table_offset()
146 check_offset = 0x2c; in combios_get_table_offset()
149 check_offset = 0x2e; in combios_get_table_offset()
152 check_offset = 0x30; in combios_get_table_offset()
155 check_offset = 0x32; in combios_get_table_offset()
158 check_offset = 0x34; in combios_get_table_offset()
161 check_offset = 0x36; in combios_get_table_offset()
164 check_offset = 0x38; in combios_get_table_offset()
167 check_offset = 0x3e; in combios_get_table_offset()
170 check_offset = 0x40; in combios_get_table_offset()
173 check_offset = 0x42; in combios_get_table_offset()
176 check_offset = 0x46; in combios_get_table_offset()
179 check_offset = 0x48; in combios_get_table_offset()
182 check_offset = 0x4a; in combios_get_table_offset()
185 check_offset = 0x4c; in combios_get_table_offset()
188 check_offset = 0x4e; in combios_get_table_offset()
191 check_offset = 0x50; in combios_get_table_offset()
194 check_offset = 0x52; in combios_get_table_offset()
197 check_offset = 0x54; in combios_get_table_offset()
200 check_offset = 0x58; in combios_get_table_offset()
203 check_offset = 0x5a; in combios_get_table_offset()
206 check_offset = 0x5c; in combios_get_table_offset()
209 check_offset = 0x5e; in combios_get_table_offset()
212 check_offset = 0x60; in combios_get_table_offset()
215 check_offset = 0x62; in combios_get_table_offset()
218 check_offset = 0x64; in combios_get_table_offset()
221 check_offset = 0x66; in combios_get_table_offset()
224 check_offset = 0x68; in combios_get_table_offset()
227 check_offset = 0x6a; in combios_get_table_offset()
230 check_offset = 0x6c; in combios_get_table_offset()
233 check_offset = 0x6e; in combios_get_table_offset()
236 check_offset = 0x70; in combios_get_table_offset()
240 check_offset = in combios_get_table_offset()
242 if (check_offset) { in combios_get_table_offset()
243 rev = RBIOS8(check_offset); in combios_get_table_offset()
245 check_offset = RBIOS16(check_offset + 0x3); in combios_get_table_offset()
246 if (check_offset) in combios_get_table_offset()
247 offset = check_offset; in combios_get_table_offset()
252 check_offset = in combios_get_table_offset()
254 if (check_offset) { in combios_get_table_offset()
255 rev = RBIOS8(check_offset); in combios_get_table_offset()
257 check_offset = RBIOS16(check_offset + 0x5); in combios_get_table_offset()
258 if (check_offset) in combios_get_table_offset()
259 offset = check_offset; in combios_get_table_offset()
264 check_offset = in combios_get_table_offset()
266 if (check_offset) { in combios_get_table_offset()
267 rev = RBIOS8(check_offset); in combios_get_table_offset()
269 check_offset = RBIOS16(check_offset + 0x7); in combios_get_table_offset()
270 if (check_offset) in combios_get_table_offset()
271 offset = check_offset; in combios_get_table_offset()
276 check_offset = in combios_get_table_offset()
278 if (check_offset) { in combios_get_table_offset()
279 rev = RBIOS8(check_offset); in combios_get_table_offset()
281 check_offset = RBIOS16(check_offset + 0x9); in combios_get_table_offset()
282 if (check_offset) in combios_get_table_offset()
283 offset = check_offset; in combios_get_table_offset()
288 check_offset = in combios_get_table_offset()
290 if (check_offset) { in combios_get_table_offset()
291 while (RBIOS8(check_offset++)); in combios_get_table_offset()
292 check_offset += 2; in combios_get_table_offset()
293 if (check_offset) in combios_get_table_offset()
294 offset = check_offset; in combios_get_table_offset()
298 check_offset = in combios_get_table_offset()
300 if (check_offset) { in combios_get_table_offset()
301 check_offset = RBIOS16(check_offset + 0x11); in combios_get_table_offset()
302 if (check_offset) in combios_get_table_offset()
303 offset = check_offset; in combios_get_table_offset()
307 check_offset = in combios_get_table_offset()
309 if (check_offset) { in combios_get_table_offset()
310 check_offset = RBIOS16(check_offset + 0x13); in combios_get_table_offset()
311 if (check_offset) in combios_get_table_offset()
312 offset = check_offset; in combios_get_table_offset()
316 check_offset = in combios_get_table_offset()
318 if (check_offset) { in combios_get_table_offset()
319 check_offset = RBIOS16(check_offset + 0x15); in combios_get_table_offset()
320 if (check_offset) in combios_get_table_offset()
321 offset = check_offset; in combios_get_table_offset()
325 check_offset = in combios_get_table_offset()
327 if (check_offset) { in combios_get_table_offset()
328 check_offset = RBIOS16(check_offset + 0x17); in combios_get_table_offset()
329 if (check_offset) in combios_get_table_offset()
330 offset = check_offset; in combios_get_table_offset()
334 check_offset = in combios_get_table_offset()
336 if (check_offset) { in combios_get_table_offset()
337 check_offset = RBIOS16(check_offset + 0x2); in combios_get_table_offset()
338 if (check_offset) in combios_get_table_offset()
339 offset = check_offset; in combios_get_table_offset()
343 check_offset = in combios_get_table_offset()
345 if (check_offset) { in combios_get_table_offset()
346 check_offset = RBIOS16(check_offset + 0x4); in combios_get_table_offset()
347 if (check_offset) in combios_get_table_offset()
348 offset = check_offset; in combios_get_table_offset()
352 check_offset = 0; in combios_get_table_offset()
358 if (table < COMBIOS_ASIC_INIT_3_TABLE && check_offset && check_offset < size) in combios_get_table_offset()
359 offset = RBIOS16(rdev->bios_header_start + check_offset); in combios_get_table_offset()