Lines Matching refs:rom

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()
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()