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
1138 fb->sti = sti; in stifb_init_fb()
1139 dev_name = sti->sti_data->inq_outptr.dev_name; in stifb_init_fb()
1141 fb->id = fb->sti->graphics_id[0]; in stifb_init_fb()
1175 xres = sti_onscreen_x(fb->sti); in stifb_init_fb()
1176 yres = sti_onscreen_y(fb->sti); in stifb_init_fb()
1212 if ((fb->sti->regions_phys[0] & 0xfc000000) == in stifb_init_fb()
1213 (fb->sti->regions_phys[2] & 0xfc000000)) in stifb_init_fb()
1214 sti_rom_address = F_EXTEND(fb->sti->regions_phys[0]); in stifb_init_fb()
1216 sti_rom_address = F_EXTEND(fb->sti->regions_phys[1]); in stifb_init_fb()
1251 fix->smem_start = F_EXTEND(fb->sti->regions_phys[1]); in stifb_init_fb()
1252 fix->smem_len = fb->sti->regions[1].region_desc.length * 4096; in stifb_init_fb()
1254 fix->line_length = (fb->sti->glob_cfg->total_x * bpp) / 8; in stifb_init_fb()
1323 sti->info = info; /* save for unregister_framebuffer() */ in stifb_init_fb()
1357 struct sti_struct *sti; in stifb_init() local
1376 sti = sti_get_rom(i); in stifb_init()
1377 if (!sti) in stifb_init()
1379 if (sti == def_sti) { in stifb_init()
1380 stifb_init_fb(sti, stifb_bpp_pref[i - 1]); in stifb_init()
1387 sti = sti_get_rom(i); in stifb_init()
1388 if (!sti) in stifb_init()
1390 if (sti == def_sti) in stifb_init()
1392 stifb_init_fb(sti, stifb_bpp_pref[i - 1]); in stifb_init()
1404 struct sti_struct *sti; in stifb_cleanup() local
1408 sti = sti_get_rom(i); in stifb_cleanup()
1409 if (!sti) in stifb_cleanup()
1411 if (sti->info) { in stifb_cleanup()
1412 struct fb_info *info = sti->info; in stifb_cleanup()
1413 unregister_framebuffer(sti->info); in stifb_cleanup()
1421 sti->info = NULL; in stifb_cleanup()