Lines Matching refs:rom
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()
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()