Lines Matching refs:sti
76 F_EXTEND(fb_info->sti->glob_cfg->region_ptrs[index])
109 struct sti_struct *sti; member
835 pBytePerLongDevDepData = fb->sti->regions[NGLEDEVDEPROM_CRT_REGION]; in ngleGetDeviceRomData()
1118 static int __init stifb_init_fb(struct sti_struct *sti, int bpp_pref) in stifb_init_fb() argument
1140 fb->sti = sti; in stifb_init_fb()
1141 dev_name = sti->sti_data->inq_outptr.dev_name; in stifb_init_fb()
1143 fb->id = fb->sti->graphics_id[0]; in stifb_init_fb()
1177 xres = sti_onscreen_x(fb->sti); in stifb_init_fb()
1178 yres = sti_onscreen_y(fb->sti); in stifb_init_fb()
1214 if ((fb->sti->regions_phys[0] & 0xfc000000) == in stifb_init_fb()
1215 (fb->sti->regions_phys[2] & 0xfc000000)) in stifb_init_fb()
1216 sti_rom_address = F_EXTEND(fb->sti->regions_phys[0]); in stifb_init_fb()
1218 sti_rom_address = F_EXTEND(fb->sti->regions_phys[1]); in stifb_init_fb()
1253 fix->smem_start = F_EXTEND(fb->sti->regions_phys[1]); in stifb_init_fb()
1254 fix->smem_len = fb->sti->regions[1].region_desc.length * 4096; in stifb_init_fb()
1256 fix->line_length = (fb->sti->glob_cfg->total_x * bpp) / 8; in stifb_init_fb()
1321 sti->info = info; /* save for unregister_framebuffer() */ in stifb_init_fb()
1355 struct sti_struct *sti; in stifb_init() local
1374 sti = sti_get_rom(i); in stifb_init()
1375 if (!sti) in stifb_init()
1377 if (sti == def_sti) { in stifb_init()
1378 stifb_init_fb(sti, stifb_bpp_pref[i - 1]); in stifb_init()
1385 sti = sti_get_rom(i); in stifb_init()
1386 if (!sti) in stifb_init()
1388 if (sti == def_sti) in stifb_init()
1390 stifb_init_fb(sti, stifb_bpp_pref[i - 1]); in stifb_init()
1402 struct sti_struct *sti; in stifb_cleanup() local
1406 sti = sti_get_rom(i); in stifb_cleanup()
1407 if (!sti) in stifb_cleanup()
1409 if (sti->info) { in stifb_cleanup()
1410 struct fb_info *info = sti->info; in stifb_cleanup()
1411 unregister_framebuffer(sti->info); in stifb_cleanup()
1419 sti->info = NULL; in stifb_cleanup()