Lines Matching refs:readb

392 	unsigned int b0 = readb(pins);  in get_pins()
394 if (b0 == 0x2E && readb(pins+1) == 0x41) { in get_pins()
395 unsigned int pins_len = readb(pins+2); in get_pins()
408 cksum += *dst++ = readb(pins+i); in get_pins()
414 } else if (b0 == 0x40 && readb(pins+1) == 0x00) { in get_pins()
421 *dst++ = readb(pins+i); in get_pins()
430 pcir_offset = readb(vbios + 24) | (readb(vbios + 25) << 8); in get_bios_version()
432 readb(vbios + pcir_offset ) == 'P' && in get_bios_version()
433 readb(vbios + pcir_offset + 1) == 'C' && in get_bios_version()
434 readb(vbios + pcir_offset + 2) == 'I' && in get_bios_version()
435 readb(vbios + pcir_offset + 3) == 'R') { in get_bios_version()
438 h = readb(vbios + pcir_offset + 0x12); in get_bios_version()
441 bd->version.vRev = readb(vbios + pcir_offset + 0x13); in get_bios_version()
445 h = readb(vbios + 5); in get_bios_version()
455 b = readb(vbios + 0x7FF1); in get_bios_output()
467 if (readb(vbios + 0x1D) != 'I' || in get_bios_tvout()
468 readb(vbios + 0x1E) != 'B' || in get_bios_tvout()
469 readb(vbios + 0x1F) != 'M' || in get_bios_tvout()
470 readb(vbios + 0x20) != ' ') { in get_bios_tvout()
474 unsigned char b = readb(vbios + i); in get_bios_tvout()
476 if (b == '(' && readb(vbios + i + 1) == 'V') { in get_bios_tvout()
477 if (readb(vbios + i + 6) == 'T' && in get_bios_tvout()
478 readb(vbios + i + 7) == 'V' && in get_bios_tvout()
479 readb(vbios + i + 8) == 'O') { in get_bios_tvout()
492 if (readb(vbios) != 0x55 || readb(vbios + 1) != 0xAA) { in parse_bios()
511 header[0] = readb(vbios + pins_offset); in parse_bios()
512 header[1] = readb(vbios + pins_offset + 1); in parse_bios()
513 header[2] = readb(vbios + pins_offset + 2); in parse_bios()
523 pins_offset = readb(vbios + 0x7FFC) | (readb(vbios + 0x7FFD) << 8); in parse_bios()
791 unsigned int ven = readb(b+0x64+0) | (readb(b+0x64+1) << 8); in matroxfb_read_pins()
792 unsigned int dev = readb(b+0x64+2) | (readb(b+0x64+3) << 8); in matroxfb_read_pins()