• Home
  • Raw
  • Download

Lines Matching refs:vbios

427 static void get_bios_version(unsigned char __iomem * vbios, struct matrox_bios* bd) {  in get_bios_version()  argument
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()
452 static void get_bios_output(unsigned char __iomem* vbios, struct matrox_bios* bd) { in get_bios_output() argument
455 b = readb(vbios + 0x7FF1); in get_bios_output()
462 static void get_bios_tvout(unsigned char __iomem* vbios, struct matrox_bios* bd) { in get_bios_tvout() argument
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()
489 static void parse_bios(unsigned char __iomem* vbios, struct matrox_bios* bd) { in parse_bios() argument
492 if (readb(vbios) != 0x55 || readb(vbios + 1) != 0xAA) { in parse_bios()
496 get_bios_version(vbios, bd); in parse_bios()
497 get_bios_output(vbios, bd); in parse_bios()
498 get_bios_tvout(vbios, bd); 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()
518 get_pins(vbios + pins_offset, bd); in parse_bios()
523 pins_offset = readb(vbios + 0x7FFC) | (readb(vbios + 0x7FFD) << 8); in parse_bios()
525 get_pins(vbios + pins_offset, bd); in parse_bios()