Lines Matching refs:raw

139 		.font_start_addr= STI_PTR(sti->font->raw),  in sti_putc()
539 cooked_font->raw = nf; in sti_select_fbfont()
612 cooked_font->raw = raw_font; in sti_cook_fonts()
623 cooked_font->raw = raw_font; in sti_cook_fonts()
637 if ((font->raw->width == width) && in sti_search_font()
638 (font->raw->height == height)) in sti_search_font()
650 int size = f->raw->bytes_per_char*256+sizeof(struct sti_rom_font); in sti_bmode_font_raw()
656 q = (unsigned char *)f->raw; in sti_bmode_font_raw()
681 struct sti_rom *raw; in sti_get_bmode_rom() local
688 raw = kmalloc(size, STI_LOWMEM); in sti_get_bmode_rom()
689 if (raw) { in sti_get_bmode_rom()
690 sti_bmode_rom_copy(address, size, raw); in sti_get_bmode_rom()
691 memmove (&raw->res004, &raw->type[0], 0x3c); in sti_get_bmode_rom()
692 raw->type[3] = raw->res004; in sti_get_bmode_rom()
694 BMODE_RELOCATE (raw->region_list); in sti_get_bmode_rom()
695 BMODE_RELOCATE (raw->font_start); in sti_get_bmode_rom()
697 BMODE_RELOCATE (raw->init_graph); in sti_get_bmode_rom()
698 BMODE_RELOCATE (raw->state_mgmt); in sti_get_bmode_rom()
699 BMODE_RELOCATE (raw->font_unpmv); in sti_get_bmode_rom()
700 BMODE_RELOCATE (raw->block_move); in sti_get_bmode_rom()
701 BMODE_RELOCATE (raw->inq_conf); in sti_get_bmode_rom()
703 raw_font = ((void *)raw) + raw->font_start; in sti_get_bmode_rom()
711 return raw; in sti_get_bmode_rom()
716 struct sti_rom *raw; in sti_get_wmode_rom() local
722 raw = kmalloc(size, STI_LOWMEM); in sti_get_wmode_rom()
723 if (raw) in sti_get_wmode_rom()
724 sti_rom_copy(address, size, raw); in sti_get_wmode_rom()
726 return raw; in sti_get_wmode_rom()
733 struct sti_rom *raw = NULL; in sti_read_rom() local
741 raw = sti_get_wmode_rom (address); in sti_read_rom()
743 raw = sti_get_bmode_rom (address); in sti_read_rom()
745 if (!raw) in sti_read_rom()
748 if (!sti_cook_fonts(cooked, raw)) { in sti_read_rom()
753 if (raw->region_list) in sti_read_rom()
754 memcpy(sti->regions, ((void *)raw)+raw->region_list, sizeof(sti->regions)); in sti_read_rom()
756 address = (unsigned long) STI_PTR(raw); in sti_read_rom()
759 raw->alt_code_type == ALT_CODE_TYPE_PA_RISC_64 in sti_read_rom()
762 sti->font_unpmv = address + (raw->font_unpmv & 0x03ffffff); in sti_read_rom()
763 sti->block_move = address + (raw->block_move & 0x03ffffff); in sti_read_rom()
764 sti->init_graph = address + (raw->init_graph & 0x03ffffff); in sti_read_rom()
765 sti->inq_conf = address + (raw->inq_conf & 0x03ffffff); in sti_read_rom()
768 sti->rom->raw = raw; in sti_read_rom()
771 sti->font_width = sti->font->raw->width; in sti_read_rom()
772 sti->font_height = sti->font->raw->height; in sti_read_rom()
774 sti->font->raw = sti_bmode_font_raw(sti->font); in sti_read_rom()
776 sti->sti_mem_request = raw->sti_mem_req; in sti_read_rom()
777 sti->graphics_id[0] = raw->graphics_id[0]; in sti_read_rom()
778 sti->graphics_id[1] = raw->graphics_id[1]; in sti_read_rom()
780 sti_dump_rom(raw); in sti_read_rom()
786 revno = (raw->revno[0] << 8) | raw->revno[1]; in sti_read_rom()
811 kfree(raw); in sti_read_rom()