Lines Matching refs:rom
554 static struct sti_cooked_font *sti_select_font(struct sti_cooked_rom *rom, in sti_select_font() argument
562 if ((font = sti_select_fbfont(rom, font_name[index]))) in sti_select_font()
566 font_index[index] = search_font_fnc(rom, in sti_select_font()
569 for (font = rom->font_start, i = font_index[index]; in sti_select_font()
576 return rom->font_start; in sti_select_font()
580 static void sti_dump_rom(struct sti_rom *rom) in sti_dump_rom() argument
583 rom->graphics_id[0], in sti_dump_rom()
584 rom->graphics_id[1], in sti_dump_rom()
585 rom->revno[0] >> 4, in sti_dump_rom()
586 rom->revno[0] & 0x0f); in sti_dump_rom()
587 DPRINTK((" supports %d monitors\n", rom->num_mons)); in sti_dump_rom()
588 DPRINTK((" font start %08x\n", rom->font_start)); in sti_dump_rom()
589 DPRINTK((" region list %08x\n", rom->region_list)); in sti_dump_rom()
590 DPRINTK((" init_graph %08x\n", rom->init_graph)); in sti_dump_rom()
591 DPRINTK((" bus support %02x\n", rom->bus_support)); in sti_dump_rom()
592 DPRINTK((" ext bus support %02x\n", rom->ext_bus_support)); in sti_dump_rom()
593 DPRINTK((" alternate code type %d\n", rom->alt_code_type)); in sti_dump_rom()
631 static int sti_search_font(struct sti_cooked_rom *rom, int height, int width) in sti_search_font() argument
636 for (font = rom->font_start; font; font = font->next_font, i++) { in sti_search_font()
767 sti->rom = cooked; in sti_read_rom()
768 sti->rom->raw = raw; in sti_read_rom()
770 sti->font = sti_select_font(sti->rom, sti_search_font); in sti_read_rom()