Lines Matching full:rom
350 * NOTE: This number is machine and STI ROM dependend.
555 static struct sti_cooked_font *sti_select_font(struct sti_cooked_rom *rom, in sti_select_font() argument
563 if ((font = sti_select_fbfont(rom, font_name[index]))) in sti_select_font()
567 font_index[index] = search_font_fnc(rom, in sti_select_font()
570 for (font = rom->font_start, i = font_index[index]; in sti_select_font()
577 return rom->font_start; in sti_select_font()
581 static void sti_dump_rom(struct sti_rom *rom) in sti_dump_rom() argument
584 rom->graphics_id[0], in sti_dump_rom()
585 rom->graphics_id[1], in sti_dump_rom()
586 rom->revno[0] >> 4, in sti_dump_rom()
587 rom->revno[0] & 0x0f); in sti_dump_rom()
588 DPRINTK((" supports %d monitors\n", rom->num_mons)); in sti_dump_rom()
589 DPRINTK((" font start %08x\n", rom->font_start)); in sti_dump_rom()
590 DPRINTK((" region list %08x\n", rom->region_list)); in sti_dump_rom()
591 DPRINTK((" init_graph %08x\n", rom->init_graph)); in sti_dump_rom()
592 DPRINTK((" bus support %02x\n", rom->bus_support)); in sti_dump_rom()
593 DPRINTK((" ext bus support %02x\n", rom->ext_bus_support)); in sti_dump_rom()
594 DPRINTK((" alternate code type %d\n", rom->alt_code_type)); in sti_dump_rom()
632 static int sti_search_font(struct sti_cooked_rom *rom, int height, int width) in sti_search_font() argument
637 for (font = rom->font_start; font; font = font->next_font, i++) { in sti_search_font()
720 /* read the ROM size directly from the struct in ROM */ in sti_get_wmode_rom()
759 pr_info("STI ROM supports 32 %sbit firmware functions.\n", in sti_read_rom()
768 sti->rom = cooked; in sti_read_rom()
769 sti->rom->raw = raw; in sti_read_rom()
771 sti->font = sti_select_font(sti->rom, sti_search_font); in sti_read_rom()
783 /* check if the ROM routines in this card are compatible */ in sti_read_rom()
837 /* if we can't read the ROM, bail out early. Not being able in sti_try_rom_generic()
844 /* check for a PCI ROM structure */ in sti_try_rom_generic()
850 /* The ROM could have multiple architecture in sti_try_rom_generic()
853 "PCI ROM is not a STI ROM type image (0x%8x)\n", i); in sti_try_rom_generic()
860 DPRINTK(("PCI ROM size (from header) = %d kB\n", in sti_try_rom_generic()
878 DPRINTK(("sig %04x, PCI STI ROM at %08lx\n", sig, address)); in sti_try_rom_generic()
885 DPRINTK((" byte mode ROM at %08lx, hpa at %08lx\n", in sti_try_rom_generic()
891 DPRINTK((" word mode ROM at %08lx, hpa at %08lx\n", in sti_try_rom_generic()
902 /* disable STI PCI ROM. ROM and card RAM overlap and in sti_try_rom_generic()
909 DPRINTK((KERN_DEBUG "STI PCI ROM disabled\n")); in sti_try_rom_generic()
939 * on newer systems PDC gives the address of the ROM
984 DPRINTK((KERN_DEBUG "STI PCI ROM enabled at 0x%08lx\n", rom_base)); in sticore_pci_init()
987 printk(KERN_INFO "STI PCI graphic ROM found at %08lx (%u kB), fb at %08lx (%u MB)\n", in sticore_pci_init()
990 DPRINTK((KERN_DEBUG "Trying PCI STI ROM at %08lx, PCI hpa at %08lx\n", in sticore_pci_init()