Lines Matching full:rom
49 /* used for 64-bit STI ROM */ in store_sti_val()
57 /* used for 32-bit STI ROM */ in store_sti_val()
362 * the first HP STI ROM built-in font.. in sti_font_setup()
392 * NOTE: This number is machine and STI ROM dependend.
603 static int sti_search_font(struct sti_cooked_rom *rom, int height, int width) in sti_search_font() argument
608 for (font = rom->font_start; font; font = font->next_font, i++) { in sti_search_font()
616 static struct sti_cooked_font *sti_select_font(struct sti_cooked_rom *rom) in sti_select_font() argument
623 font = sti_select_fbfont(rom, font_name); in sti_select_font()
629 font_index = sti_search_font(rom, in sti_select_font()
632 for (font = rom->font_start, i = font_index - 1; in sti_select_font()
639 return rom->font_start; in sti_select_font()
645 struct sti_rom *rom = sti->rom->raw; in sti_dump_rom() local
650 rom->graphics_id[0], in sti_dump_rom()
651 rom->graphics_id[1], in sti_dump_rom()
652 rom->revno[0] >> 4, in sti_dump_rom()
653 rom->revno[0] & 0x0f); in sti_dump_rom()
654 pr_debug(" supports %d monitors\n", rom->num_mons); in sti_dump_rom()
655 pr_debug(" font start %08x\n", rom->font_start); in sti_dump_rom()
656 pr_debug(" region list %08x\n", rom->region_list); in sti_dump_rom()
657 pr_debug(" init_graph %08x\n", rom->init_graph); in sti_dump_rom()
658 pr_debug(" bus support %02x\n", rom->bus_support); in sti_dump_rom()
659 pr_debug(" ext bus support %02x\n", rom->ext_bus_support); in sti_dump_rom()
660 pr_debug(" alternate code type %d\n", rom->alt_code_type); in sti_dump_rom()
662 font_start = sti->rom->font_start; in sti_dump_rom()
792 /* read the ROM size directly from the struct in ROM */ in sti_get_wmode_rom()
831 pr_info("STI %s ROM supports 32 %sbit firmware functions.\n", in sti_read_rom()
850 sti->rom = cooked; in sti_read_rom()
851 sti->rom->raw = raw; in sti_read_rom()
855 sti->font = sti_select_font(sti->rom); in sti_read_rom()
861 pr_info(" using %d-bit STI ROM functions\n", in sti_read_rom()
871 /* check if the ROM routines in this card are compatible */ in sti_read_rom()
934 /* check for a PCI ROM structure */ in sti_try_rom_generic()
940 /* The ROM could have multiple architecture in sti_try_rom_generic()
942 pr_warn("PCI ROM is not a STI ROM type image (0x%8x)\n", i); in sti_try_rom_generic()
949 pr_debug("PCI ROM size (from header) = %d kB\n", in sti_try_rom_generic()
962 pr_debug("sig %04x, PCI STI ROM at %08lx\n", sig, address); in sti_try_rom_generic()
969 pr_debug(" byte mode ROM at %08lx, hpa at %08lx\n", in sti_try_rom_generic()
975 pr_debug(" word mode ROM at %08lx, hpa at %08lx\n", in sti_try_rom_generic()
986 /* disable STI PCI ROM. ROM and card RAM overlap and in sti_try_rom_generic()
993 pr_debug("STI PCI ROM disabled\n"); in sti_try_rom_generic()
1024 * on newer systems PDC gives the address of the ROM
1071 pr_debug("STI PCI ROM enabled at 0x%08lx\n", rom_base); in sticore_pci_init()
1074 pr_info("STI PCI graphic ROM found at %08lx (%u kB), fb at %08lx (%u MB)\n", in sticore_pci_init()
1077 pr_debug("Trying PCI STI ROM at %08lx, PCI hpa at %08lx\n", in sticore_pci_init()