Lines Matching +full:0 +full:x03ffffff
47 * 0 - Black
60 0, 6, 4, 5,
66 #define c_index(sti, c) ((c) & 0xff)
88 memset(inptr, 0, sizeof(*inptr)); in sti_init_graph()
90 memset(inptr_ext, 0, sizeof(*inptr_ext)); in sti_init_graph()
92 outptr->errno = 0; in sti_init_graph()
97 if (ret >= 0) in sti_init_graph()
103 if (ret < 0) { in sti_init_graph()
108 return 0; in sti_init_graph()
126 memset(inptr, 0, sizeof(*inptr)); in sti_inq_conf()
135 .non_text = 0,
301 * <x> is a number between 0 and MAX_STI_ROMS, with 0 as the default
324 if (*str >= '0' && *str <= '9') { in sti_font_setup()
328 font_height = simple_strtoul(str, NULL, 0); in sti_font_setup()
329 font_width = simple_strtoul(x+1, NULL, 0); in sti_font_setup()
331 font_index = simple_strtoul(str, NULL, 0); in sti_font_setup()
380 glob_cfg->region_ptrs[0], glob_cfg->region_ptrs[1], in sti_dump_globcfg()
438 for (i=0; i<8; i++) { in sti_init_glob_cfg()
444 if (offs == 0) in sti_init_glob_cfg()
455 newhpa = (i == 0) ? rom_address : hpa; in sti_init_glob_cfg()
479 pr_warn("future ptr (0x%8x) not yet supported !\n", in sti_init_glob_cfg()
486 return 0; in sti_init_glob_cfg()
502 fbfont = get_default_font(1024,768, ~(u32)0, ~(u32)0); in sti_select_fbfont()
517 nf->first_char = 0; in sti_select_fbfont()
523 nf->next_font = 0; in sti_select_fbfont()
563 for (n = 0; n < 256 * font->raw->bytes_per_char; n += 16, p += 16) { in sti_dump_font()
564 pr_debug(" 0x%02x, 0x%02x, 0x%02x, 0x%02x, 0x%02x, 0x%02x," in sti_dump_font()
565 " 0x%02x, 0x%02x, 0x%02x, 0x%02x, 0x%02x, 0x%02x," in sti_dump_font()
566 " 0x%02x, 0x%02x, 0x%02x, 0x%02x,\n", in sti_dump_font()
567 p[0], p[1], p[2], p[3], p[4], p[5], p[6], p[7], p[8], in sti_dump_font()
576 int i = 0; in sti_search_font()
583 return 0; in sti_search_font()
603 font && (i > 0); in sti_select_font()
620 rom->graphics_id[0], in sti_dump_rom()
622 rom->revno[0] >> 4, in sti_dump_rom()
623 rom->revno[0] & 0x0f); in sti_dump_rom()
633 nr = 0; in sti_dump_rom()
653 return 0; in sti_cook_fonts()
679 #define BMODE_LAST_ADDR_OFFS 0x50
734 memmove (&raw->res004, &raw->type[0], 0x3c); in sti_get_bmode_rom()
806 sti->font_unpmv = address + (raw->font_unpmv & 0x03ffffff); in sti_read_rom()
807 sti->block_move = address + (raw->block_move & 0x03ffffff); in sti_read_rom()
808 sti->init_graph = address + (raw->init_graph & 0x03ffffff); in sti_read_rom()
809 sti->inq_conf = address + (raw->inq_conf & 0x03ffffff); in sti_read_rom()
823 sti->graphics_id[0] = raw->graphics_id[0]; in sti_read_rom()
827 if (wordmode || sti->graphics_id[1] != 0x09A02587) in sti_read_rom()
830 revno = (raw->revno[0] << 8) | raw->revno[1]; in sti_read_rom()
832 switch (sti->graphics_id[0]) { in sti_read_rom()
835 if (revno == 0x8408 || revno == 0x840b) in sti_read_rom()
839 if (revno == 0x8509) in sti_read_rom()
843 if (revno == 0x850c) in sti_read_rom()
857 return 0; in sti_read_rom()
888 if ((le32_to_cpu(sig)==0xaa55)) { in sti_try_rom_generic()
891 i = gsc_readl(address+0x04); in sti_try_rom_generic()
895 pr_warn("PCI ROM is not a STI ROM type image (0x%8x)\n", i); in sti_try_rom_generic()
901 i = gsc_readl(address+0x0c); in sti_try_rom_generic()
904 rm_offset = le16_to_cpu(i & 0xffff); in sti_try_rom_generic()
908 *rm++ = gsc_readl(address+rm_offset+0x00); in sti_try_rom_generic()
909 *rm++ = gsc_readl(address+rm_offset+0x04); in sti_try_rom_generic()
910 *rm++ = gsc_readl(address+rm_offset+0x08); in sti_try_rom_generic()
911 *rm++ = gsc_readl(address+rm_offset+0x0c); in sti_try_rom_generic()
919 ok = 0; in sti_try_rom_generic()
921 if ((sig & 0xff) == 0x01) { in sti_try_rom_generic()
924 ok = sti_read_rom(0, sti, address); in sti_try_rom_generic()
927 if ((sig & 0xffff) == 0x0303) { in sti_try_rom_generic()
972 if (strcmp (path, default_sti_path) == 0) in sticore_check_for_default_sti()
986 if (dev->num_addrs && dev->addr[0]) in sticore_pa_init()
987 sti = sti_try_rom_generic(dev->addr[0], hpa, NULL); in sticore_pa_init()
997 return 0; in sticore_pa_init()
1010 if (err < 0) { in sticore_pci_init()
1015 fb_base = pci_resource_start(pd, 0); in sticore_pci_init()
1016 fb_len = pci_resource_len(pd, 0); in sticore_pci_init()
1021 pr_debug("STI PCI ROM enabled at 0x%08lx\n", rom_base); in sticore_pci_init()
1042 return 0; in sticore_pci_init()
1058 { 0, } /* terminate list */
1070 { HPHW_FIO, HVERSION_REV_ANY_ID, HVERSION_ANY_ID, 0x00077 },
1071 { HPHW_FIO, HVERSION_REV_ANY_ID, HVERSION_ANY_ID, 0x00085 },
1072 { 0, }
1105 default_sti = sti_roms[0]; in sti_init_roms()
1110 * index = 0 gives default sti
1111 * index > 0 gives other stis in detection order
1118 if (index == 0) in sti_get_rom()
1157 sti = sti_get_rom(0); in fb_is_primary_device()