Lines Matching refs:sti
75 F_EXTEND(fb_info->sti->glob_cfg->region_ptrs[index])
108 struct sti_struct *sti; member
828 pBytePerLongDevDepData = fb->sti->regions[NGLEDEVDEPROM_CRT_REGION]; in ngleGetDeviceRomData()
1081 static int __init stifb_init_fb(struct sti_struct *sti, int bpp_pref) in stifb_init_fb() argument
1103 fb->sti = sti; in stifb_init_fb()
1104 dev_name = sti->sti_data->inq_outptr.dev_name; in stifb_init_fb()
1106 fb->id = fb->sti->graphics_id[0]; in stifb_init_fb()
1140 xres = sti_onscreen_x(fb->sti); in stifb_init_fb()
1141 yres = sti_onscreen_y(fb->sti); in stifb_init_fb()
1177 if ((fb->sti->regions_phys[0] & 0xfc000000) == in stifb_init_fb()
1178 (fb->sti->regions_phys[2] & 0xfc000000)) in stifb_init_fb()
1179 sti_rom_address = F_EXTEND(fb->sti->regions_phys[0]); in stifb_init_fb()
1181 sti_rom_address = F_EXTEND(fb->sti->regions_phys[1]); in stifb_init_fb()
1216 fix->smem_start = F_EXTEND(fb->sti->regions_phys[1]); in stifb_init_fb()
1217 fix->smem_len = fb->sti->regions[1].region_desc.length * 4096; in stifb_init_fb()
1219 fix->line_length = (fb->sti->glob_cfg->total_x * bpp) / 8; in stifb_init_fb()
1284 sti->info = info; /* save for unregister_framebuffer() */ in stifb_init_fb()
1318 struct sti_struct *sti; in stifb_init() local
1337 sti = sti_get_rom(i); in stifb_init()
1338 if (!sti) in stifb_init()
1340 if (sti == def_sti) { in stifb_init()
1341 stifb_init_fb(sti, stifb_bpp_pref[i - 1]); in stifb_init()
1348 sti = sti_get_rom(i); in stifb_init()
1349 if (!sti) in stifb_init()
1351 if (sti == def_sti) in stifb_init()
1353 stifb_init_fb(sti, stifb_bpp_pref[i - 1]); in stifb_init()
1365 struct sti_struct *sti; in stifb_cleanup() local
1369 sti = sti_get_rom(i); in stifb_cleanup()
1370 if (!sti) in stifb_cleanup()
1372 if (sti->info) { in stifb_cleanup()
1373 struct fb_info *info = sti->info; in stifb_cleanup()
1374 unregister_framebuffer(sti->info); in stifb_cleanup()
1382 sti->info = NULL; in stifb_cleanup()