Lines Matching full:rom
320 * the first HP STI ROM built-in font.. in sti_font_setup()
350 * NOTE: This number is machine and STI ROM dependend.
552 static int sti_search_font(struct sti_cooked_rom *rom, int height, int width) in sti_search_font() argument
557 for (font = rom->font_start; font; font = font->next_font, i++) { in sti_search_font()
565 static struct sti_cooked_font *sti_select_font(struct sti_cooked_rom *rom) in sti_select_font() argument
572 font = sti_select_fbfont(rom, font_name); in sti_select_font()
578 font_index = sti_search_font(rom, in sti_select_font()
581 for (font = rom->font_start, i = font_index - 1; in sti_select_font()
588 return rom->font_start; in sti_select_font()
594 struct sti_rom *rom = sti->rom->raw; in sti_dump_rom() local
599 rom->graphics_id[0], in sti_dump_rom()
600 rom->graphics_id[1], in sti_dump_rom()
601 rom->revno[0] >> 4, in sti_dump_rom()
602 rom->revno[0] & 0x0f); in sti_dump_rom()
603 pr_debug(" supports %d monitors\n", rom->num_mons); in sti_dump_rom()
604 pr_debug(" font start %08x\n", rom->font_start); in sti_dump_rom()
605 pr_debug(" region list %08x\n", rom->region_list); in sti_dump_rom()
606 pr_debug(" init_graph %08x\n", rom->init_graph); in sti_dump_rom()
607 pr_debug(" bus support %02x\n", rom->bus_support); in sti_dump_rom()
608 pr_debug(" ext bus support %02x\n", rom->ext_bus_support); in sti_dump_rom()
609 pr_debug(" alternate code type %d\n", rom->alt_code_type); in sti_dump_rom()
611 font_start = sti->rom->font_start; in sti_dump_rom()
741 /* read the ROM size directly from the struct in ROM */ in sti_get_wmode_rom()
780 pr_info("STI %s ROM supports 32 %sbit firmware functions.\n", in sti_read_rom()
790 sti->rom = cooked; in sti_read_rom()
791 sti->rom->raw = raw; in sti_read_rom()
795 sti->font = sti_select_font(sti->rom); in sti_read_rom()
804 /* check if the ROM routines in this card are compatible */ in sti_read_rom()
858 /* if we can't read the ROM, bail out early. Not being able in sti_try_rom_generic()
865 /* check for a PCI ROM structure */ in sti_try_rom_generic()
871 /* The ROM could have multiple architecture in sti_try_rom_generic()
873 pr_warn("PCI ROM is not a STI ROM type image (0x%8x)\n", i); in sti_try_rom_generic()
880 pr_debug("PCI ROM size (from header) = %d kB\n", in sti_try_rom_generic()
893 pr_debug("sig %04x, PCI STI ROM at %08lx\n", sig, address); in sti_try_rom_generic()
900 pr_debug(" byte mode ROM at %08lx, hpa at %08lx\n", in sti_try_rom_generic()
906 pr_debug(" word mode ROM at %08lx, hpa at %08lx\n", in sti_try_rom_generic()
917 /* disable STI PCI ROM. ROM and card RAM overlap and in sti_try_rom_generic()
924 pr_debug("STI PCI ROM disabled\n"); in sti_try_rom_generic()
954 * on newer systems PDC gives the address of the ROM
999 pr_debug("STI PCI ROM enabled at 0x%08lx\n", rom_base); in sticore_pci_init()
1002 pr_info("STI PCI graphic ROM found at %08lx (%u kB), fb at %08lx (%u MB)\n", in sticore_pci_init()
1005 pr_debug("Trying PCI STI ROM at %08lx, PCI hpa at %08lx\n", in sticore_pci_init()