Lines Matching +full:0 +full:x03ffffff

66  *   0 - Black
79 0, 6, 4, 5,
85 #define c_index(sti, c) ((c) & 0xff)
107 memset(inptr, 0, sizeof(*inptr)); in sti_init_graph()
109 memset(inptr_ext, 0, sizeof(*inptr_ext)); in sti_init_graph()
111 outptr->errno = 0; in sti_init_graph()
116 if (ret >= 0) in sti_init_graph()
122 if (ret < 0) { in sti_init_graph()
127 return 0; in sti_init_graph()
145 memset(inptr, 0, sizeof(*inptr)); in sti_inq_conf()
154 .non_text = 0,
342 * <x> is a number between 0 and MAX_STI_ROMS, with 0 as the default
365 if (*str >= '0' && *str <= '9') { in sti_font_setup()
369 font_height = simple_strtoul(str, NULL, 0); in sti_font_setup()
370 font_width = simple_strtoul(x+1, NULL, 0); in sti_font_setup()
372 font_index = simple_strtoul(str, NULL, 0); in sti_font_setup()
466 for (i = 0; i < STI_REGION_MAX; i++) { in sti_init_glob_cfg()
472 if (offs == 0) in sti_init_glob_cfg()
483 newhpa = (i == 0) ? rom_address : hpa; in sti_init_glob_cfg()
504 for (i = 0; i < STI_REGION_MAX; i++) in sti_init_glob_cfg()
507 *(s32 *)ptr = 0; /* set reent_lvl */ in sti_init_glob_cfg()
516 return 0; in sti_init_glob_cfg()
547 nf->first_char = 0; in sti_select_fbfont()
553 nf->next_font = 0; in sti_select_fbfont()
593 for (n = 0; n < 256 * font->raw->bytes_per_char; n += 16, p += 16) { in sti_dump_font()
594 pr_debug(" 0x%02x, 0x%02x, 0x%02x, 0x%02x, 0x%02x, 0x%02x," in sti_dump_font()
595 " 0x%02x, 0x%02x, 0x%02x, 0x%02x, 0x%02x, 0x%02x," in sti_dump_font()
596 " 0x%02x, 0x%02x, 0x%02x, 0x%02x,\n", in sti_dump_font()
597 p[0], p[1], p[2], p[3], p[4], p[5], p[6], p[7], p[8], in sti_dump_font()
606 int i = 0; in sti_search_font()
613 return 0; in sti_search_font()
633 font && (i > 0); in sti_select_font()
650 rom->graphics_id[0], in sti_dump_rom()
652 rom->revno[0] >> 4, in sti_dump_rom()
653 rom->revno[0] & 0x0f); in sti_dump_rom()
663 nr = 0; in sti_dump_rom()
683 return 0; in sti_cook_fonts()
709 #define BMODE_LAST_ADDR_OFFS 0x50
764 memmove (&raw->res004, &raw->type[0], 0x3c); in sti_get_bmode_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()
868 sti->graphics_id[0] = raw->graphics_id[0]; in sti_read_rom()
872 if (wordmode || sti->graphics_id[1] != 0x09A02587) in sti_read_rom()
875 revno = (raw->revno[0] << 8) | raw->revno[1]; in sti_read_rom()
877 switch (sti->graphics_id[0]) { in sti_read_rom()
880 if (revno == 0x8408 || revno == 0x840b) in sti_read_rom()
884 if (revno == 0x8509) in sti_read_rom()
888 if (revno == 0x850c) in sti_read_rom()
902 return 0; in sti_read_rom()
935 if ((le32_to_cpu(sig)==0xaa55)) { in sti_try_rom_generic()
938 i = gsc_readl(address+0x04); in sti_try_rom_generic()
942 pr_warn("PCI ROM is not a STI ROM type image (0x%8x)\n", i); in sti_try_rom_generic()
948 i = gsc_readl(address+0x0c); in sti_try_rom_generic()
951 rm_offset = le16_to_cpu(i & 0xffff); in sti_try_rom_generic()
955 *rm++ = gsc_readl(address+rm_offset+0x00); in sti_try_rom_generic()
956 *rm++ = gsc_readl(address+rm_offset+0x04); in sti_try_rom_generic()
957 *rm++ = gsc_readl(address+rm_offset+0x08); in sti_try_rom_generic()
958 *rm++ = gsc_readl(address+rm_offset+0x0c); in sti_try_rom_generic()
966 ok = 0; in sti_try_rom_generic()
968 if ((sig & 0xff) == 0x01) { in sti_try_rom_generic()
971 ok = sti_read_rom(0, sti, address); in sti_try_rom_generic()
974 if ((sig & 0xffff) == 0x0303) { in sti_try_rom_generic()
1019 if (strcmp (path, default_sti_path) == 0) in sticore_check_for_default_sti()
1033 if (dev->num_addrs && dev->addr[0]) in sticore_pa_init()
1034 sti = sti_try_rom_generic(dev->addr[0], hpa, NULL); in sticore_pa_init()
1047 return 0; in sticore_pa_init()
1060 if (err < 0) { in sticore_pci_init()
1065 fb_base = pci_resource_start(pd, 0); in sticore_pci_init()
1066 fb_len = pci_resource_len(pd, 0); in sticore_pci_init()
1071 pr_debug("STI PCI ROM enabled at 0x%08lx\n", rom_base); in sticore_pci_init()
1094 return 0; in sticore_pci_init()
1110 { 0, } /* terminate list */
1122 { HPHW_FIO, HVERSION_REV_ANY_ID, HVERSION_ANY_ID, 0x00077 },
1123 { HPHW_FIO, HVERSION_REV_ANY_ID, HVERSION_ANY_ID, 0x00085 },
1124 { 0, }
1157 default_sti = sti_roms[0]; in sti_init_roms()
1162 * index = 0 gives default sti
1163 * index > 0 gives other stis in detection order
1170 if (index == 0) in sti_get_rom()