Lines Matching refs:rom

555 static struct sti_cooked_font *sti_select_font(struct sti_cooked_rom *rom,  in sti_select_font()  argument
563 if ((font = sti_select_fbfont(rom, font_name[index]))) in sti_select_font()
567 font_index[index] = search_font_fnc(rom, in sti_select_font()
570 for (font = rom->font_start, i = font_index[index]; in sti_select_font()
577 return rom->font_start; in sti_select_font()
581 static void sti_dump_rom(struct sti_rom *rom) in sti_dump_rom() argument
584 rom->graphics_id[0], in sti_dump_rom()
585 rom->graphics_id[1], in sti_dump_rom()
586 rom->revno[0] >> 4, in sti_dump_rom()
587 rom->revno[0] & 0x0f); in sti_dump_rom()
588 DPRINTK((" supports %d monitors\n", rom->num_mons)); in sti_dump_rom()
589 DPRINTK((" font start %08x\n", rom->font_start)); in sti_dump_rom()
590 DPRINTK((" region list %08x\n", rom->region_list)); in sti_dump_rom()
591 DPRINTK((" init_graph %08x\n", rom->init_graph)); in sti_dump_rom()
592 DPRINTK((" bus support %02x\n", rom->bus_support)); in sti_dump_rom()
593 DPRINTK((" ext bus support %02x\n", rom->ext_bus_support)); in sti_dump_rom()
594 DPRINTK((" alternate code type %d\n", rom->alt_code_type)); in sti_dump_rom()
632 static int sti_search_font(struct sti_cooked_rom *rom, int height, int width) in sti_search_font() argument
637 for (font = rom->font_start; font; font = font->next_font, i++) { in sti_search_font()
768 sti->rom = cooked; in sti_read_rom()
769 sti->rom->raw = raw; in sti_read_rom()
771 sti->font = sti_select_font(sti->rom, sti_search_font); in sti_read_rom()