Lines Matching full:rom

321 	 *    the first HP STI ROM built-in font..  in sti_font_setup()
351 * NOTE: This number is machine and STI ROM dependend.
573 static int sti_search_font(struct sti_cooked_rom *rom, int height, int width) in sti_search_font() argument
578 for (font = rom->font_start; font; font = font->next_font, i++) { in sti_search_font()
586 static struct sti_cooked_font *sti_select_font(struct sti_cooked_rom *rom) in sti_select_font() argument
593 font = sti_select_fbfont(rom, font_name); in sti_select_font()
599 font_index = sti_search_font(rom, in sti_select_font()
602 for (font = rom->font_start, i = font_index - 1; in sti_select_font()
609 return rom->font_start; in sti_select_font()
615 struct sti_rom *rom = sti->rom->raw; in sti_dump_rom() local
620 rom->graphics_id[0], in sti_dump_rom()
621 rom->graphics_id[1], in sti_dump_rom()
622 rom->revno[0] >> 4, in sti_dump_rom()
623 rom->revno[0] & 0x0f); in sti_dump_rom()
624 pr_debug(" supports %d monitors\n", rom->num_mons); in sti_dump_rom()
625 pr_debug(" font start %08x\n", rom->font_start); in sti_dump_rom()
626 pr_debug(" region list %08x\n", rom->region_list); in sti_dump_rom()
627 pr_debug(" init_graph %08x\n", rom->init_graph); in sti_dump_rom()
628 pr_debug(" bus support %02x\n", rom->bus_support); in sti_dump_rom()
629 pr_debug(" ext bus support %02x\n", rom->ext_bus_support); in sti_dump_rom()
630 pr_debug(" alternate code type %d\n", rom->alt_code_type); in sti_dump_rom()
632 font_start = sti->rom->font_start; in sti_dump_rom()
762 /* read the ROM size directly from the struct in ROM */ in sti_get_wmode_rom()
801 pr_info("STI %s ROM supports 32 %sbit firmware functions.\n", in sti_read_rom()
811 sti->rom = cooked; in sti_read_rom()
812 sti->rom->raw = raw; in sti_read_rom()
816 sti->font = sti_select_font(sti->rom); in sti_read_rom()
826 /* check if the ROM routines in this card are compatible */ in sti_read_rom()
880 /* if we can't read the ROM, bail out early. Not being able in sti_try_rom_generic()
887 /* check for a PCI ROM structure */ in sti_try_rom_generic()
893 /* The ROM could have multiple architecture in sti_try_rom_generic()
895 pr_warn("PCI ROM is not a STI ROM type image (0x%8x)\n", i); in sti_try_rom_generic()
902 pr_debug("PCI ROM size (from header) = %d kB\n", in sti_try_rom_generic()
915 pr_debug("sig %04x, PCI STI ROM at %08lx\n", sig, address); in sti_try_rom_generic()
922 pr_debug(" byte mode ROM at %08lx, hpa at %08lx\n", in sti_try_rom_generic()
928 pr_debug(" word mode ROM at %08lx, hpa at %08lx\n", in sti_try_rom_generic()
939 /* disable STI PCI ROM. ROM and card RAM overlap and in sti_try_rom_generic()
946 pr_debug("STI PCI ROM disabled\n"); in sti_try_rom_generic()
977 * on newer systems PDC gives the address of the ROM
1021 pr_debug("STI PCI ROM enabled at 0x%08lx\n", rom_base); in sticore_pci_init()
1024 pr_info("STI PCI graphic ROM found at %08lx (%u kB), fb at %08lx (%u MB)\n", in sticore_pci_init()
1027 pr_debug("Trying PCI STI ROM at %08lx, PCI hpa at %08lx\n", in sticore_pci_init()