Lines Matching full:raw

163 		.font_start_addr = (void *)STI_PTR(font->raw),  in sti_putc()
567 cooked_font->raw = nf; in sti_select_fbfont()
586 unsigned char *p = (unsigned char *)font->raw; in sti_dump_font()
591 font->raw->bytes_per_char); in sti_dump_font()
593 for (n = 0; n < 256 * font->raw->bytes_per_char; n += 16, p += 16) { in sti_dump_font()
609 if ((font->raw->width == width) && in sti_search_font()
610 (font->raw->height == height)) in sti_search_font()
645 struct sti_rom *rom = sti->rom->raw; in sti_dump_rom()
665 struct sti_rom_font *f = font_start->raw; in sti_dump_rom()
690 cooked_font->raw = raw_font; in sti_cook_fonts()
701 cooked_font->raw = raw_font; in sti_cook_fonts()
714 int size = f->raw->bytes_per_char * (f->raw->last_char + 1) + sizeof(struct sti_rom_font); in sti_font_convert_bytemode()
726 q = (unsigned char *) f->raw; in sti_font_convert_bytemode()
732 f->raw = (struct sti_rom_font *) (n + 3); in sti_font_convert_bytemode()
754 struct sti_rom *raw; in sti_get_bmode_rom() local
761 raw = kmalloc(size, STI_LOWMEM); in sti_get_bmode_rom()
762 if (raw) { in sti_get_bmode_rom()
763 sti_bmode_rom_copy(address, size, raw); in sti_get_bmode_rom()
764 memmove (&raw->res004, &raw->type[0], 0x3c); in sti_get_bmode_rom()
765 raw->type[3] = raw->res004; in sti_get_bmode_rom()
767 BMODE_RELOCATE (raw->region_list); in sti_get_bmode_rom()
768 BMODE_RELOCATE (raw->font_start); in sti_get_bmode_rom()
770 BMODE_RELOCATE (raw->init_graph); in sti_get_bmode_rom()
771 BMODE_RELOCATE (raw->state_mgmt); in sti_get_bmode_rom()
772 BMODE_RELOCATE (raw->font_unpmv); in sti_get_bmode_rom()
773 BMODE_RELOCATE (raw->block_move); in sti_get_bmode_rom()
774 BMODE_RELOCATE (raw->inq_conf); in sti_get_bmode_rom()
776 raw_font = ((void *)raw) + raw->font_start; in sti_get_bmode_rom()
784 return raw; in sti_get_bmode_rom()
789 struct sti_rom *raw; in sti_get_wmode_rom() local
795 raw = kmalloc(size, STI_LOWMEM); in sti_get_wmode_rom()
796 if (raw) in sti_get_wmode_rom()
797 sti_rom_copy(address, size, raw); in sti_get_wmode_rom()
799 return raw; in sti_get_wmode_rom()
806 struct sti_rom *raw = NULL; in sti_read_rom() local
814 raw = sti_get_wmode_rom (address); in sti_read_rom()
816 raw = sti_get_bmode_rom (address); in sti_read_rom()
818 if (!raw) in sti_read_rom()
821 if (!sti_cook_fonts(cooked, raw)) { in sti_read_rom()
826 if (raw->region_list) in sti_read_rom()
827 memcpy(sti->regions, ((void *)raw)+raw->region_list, sizeof(sti->regions)); in sti_read_rom()
829 address = (unsigned long) STI_PTR(raw); in sti_read_rom()
833 raw->alt_code_type == ALT_CODE_TYPE_PA_RISC_64 in sti_read_rom()
837 raw->alt_code_type == ALT_CODE_TYPE_PA_RISC_64) { in sti_read_rom()
839 sti->font_unpmv = address + (raw->font_unp_addr & 0x03ffffff); in sti_read_rom()
840 sti->block_move = address + (raw->block_move_addr & 0x03ffffff); in sti_read_rom()
841 sti->init_graph = address + (raw->init_graph_addr & 0x03ffffff); in sti_read_rom()
842 sti->inq_conf = address + (raw->inq_conf_addr & 0x03ffffff); in sti_read_rom()
844 sti->font_unpmv = address + (raw->font_unpmv & 0x03ffffff); in sti_read_rom()
845 sti->block_move = address + (raw->block_move & 0x03ffffff); in sti_read_rom()
846 sti->init_graph = address + (raw->init_graph & 0x03ffffff); in sti_read_rom()
847 sti->inq_conf = address + (raw->inq_conf & 0x03ffffff); in sti_read_rom()
851 sti->rom->raw = raw; in sti_read_rom()
856 sti->font->width = sti->font->raw->width; in sti_read_rom()
857 sti->font->height = sti->font->raw->height; in sti_read_rom()
864 sti->sti_mem_request = raw->sti_mem_req; in sti_read_rom()
866 sti->sti_mem_request, raw->reentsize); in sti_read_rom()
868 sti->graphics_id[0] = raw->graphics_id[0]; in sti_read_rom()
869 sti->graphics_id[1] = raw->graphics_id[1]; in sti_read_rom()
875 revno = (raw->revno[0] << 8) | raw->revno[1]; in sti_read_rom()
900 kfree(raw); in sti_read_rom()