Lines Matching refs:raw
144 .font_start_addr = STI_PTR(font->raw), in sti_putc()
537 cooked_font->raw = nf; in sti_select_fbfont()
559 if ((font->raw->width == width) && in sti_search_font()
560 (font->raw->height == height)) in sti_search_font()
595 struct sti_rom *rom = sti->rom->raw; in sti_dump_rom()
615 struct sti_rom_font *f = font_start->raw; in sti_dump_rom()
640 cooked_font->raw = raw_font; in sti_cook_fonts()
651 cooked_font->raw = raw_font; in sti_cook_fonts()
664 int size = f->raw->bytes_per_char * (f->raw->last_char + 1) + sizeof(struct sti_rom_font); in sti_font_convert_bytemode()
676 q = (unsigned char *) f->raw; in sti_font_convert_bytemode()
682 f->raw = (struct sti_rom_font *) (n + 3); in sti_font_convert_bytemode()
704 struct sti_rom *raw; in sti_get_bmode_rom() local
711 raw = kmalloc(size, STI_LOWMEM); in sti_get_bmode_rom()
712 if (raw) { in sti_get_bmode_rom()
713 sti_bmode_rom_copy(address, size, raw); in sti_get_bmode_rom()
714 memmove (&raw->res004, &raw->type[0], 0x3c); in sti_get_bmode_rom()
715 raw->type[3] = raw->res004; in sti_get_bmode_rom()
717 BMODE_RELOCATE (raw->region_list); in sti_get_bmode_rom()
718 BMODE_RELOCATE (raw->font_start); in sti_get_bmode_rom()
720 BMODE_RELOCATE (raw->init_graph); in sti_get_bmode_rom()
721 BMODE_RELOCATE (raw->state_mgmt); in sti_get_bmode_rom()
722 BMODE_RELOCATE (raw->font_unpmv); in sti_get_bmode_rom()
723 BMODE_RELOCATE (raw->block_move); in sti_get_bmode_rom()
724 BMODE_RELOCATE (raw->inq_conf); in sti_get_bmode_rom()
726 raw_font = ((void *)raw) + raw->font_start; in sti_get_bmode_rom()
734 return raw; in sti_get_bmode_rom()
739 struct sti_rom *raw; in sti_get_wmode_rom() local
745 raw = kmalloc(size, STI_LOWMEM); in sti_get_wmode_rom()
746 if (raw) in sti_get_wmode_rom()
747 sti_rom_copy(address, size, raw); in sti_get_wmode_rom()
749 return raw; in sti_get_wmode_rom()
756 struct sti_rom *raw = NULL; in sti_read_rom() local
764 raw = sti_get_wmode_rom (address); in sti_read_rom()
766 raw = sti_get_bmode_rom (address); in sti_read_rom()
768 if (!raw) in sti_read_rom()
771 if (!sti_cook_fonts(cooked, raw)) { in sti_read_rom()
776 if (raw->region_list) in sti_read_rom()
777 memcpy(sti->regions, ((void *)raw)+raw->region_list, sizeof(sti->regions)); in sti_read_rom()
779 address = (unsigned long) STI_PTR(raw); in sti_read_rom()
783 raw->alt_code_type == ALT_CODE_TYPE_PA_RISC_64 in sti_read_rom()
786 sti->font_unpmv = address + (raw->font_unpmv & 0x03ffffff); in sti_read_rom()
787 sti->block_move = address + (raw->block_move & 0x03ffffff); in sti_read_rom()
788 sti->init_graph = address + (raw->init_graph & 0x03ffffff); in sti_read_rom()
789 sti->inq_conf = address + (raw->inq_conf & 0x03ffffff); in sti_read_rom()
792 sti->rom->raw = raw; in sti_read_rom()
797 sti->font->width = sti->font->raw->width; in sti_read_rom()
798 sti->font->height = sti->font->raw->height; in sti_read_rom()
801 sti->sti_mem_request = raw->sti_mem_req; in sti_read_rom()
802 sti->graphics_id[0] = raw->graphics_id[0]; in sti_read_rom()
803 sti->graphics_id[1] = raw->graphics_id[1]; in sti_read_rom()
809 revno = (raw->revno[0] << 8) | raw->revno[1]; in sti_read_rom()
834 kfree(raw); in sti_read_rom()