Lines Matching refs:sti

76 	F_EXTEND(fb_info->sti->regions_phys[index])
109 struct sti_struct *sti; member
835 pBytePerLongDevDepData = fb->sti->regions[NGLEDEVDEPROM_CRT_REGION]; in ngleGetDeviceRomData()
1183 static int __init stifb_init_fb(struct sti_struct *sti, int bpp_pref) in stifb_init_fb() argument
1204 fb->sti = sti; in stifb_init_fb()
1205 dev_name = sti->sti_data->inq_outptr.dev_name; in stifb_init_fb()
1207 fb->id = fb->sti->graphics_id[0]; in stifb_init_fb()
1241 xres = sti_onscreen_x(fb->sti); in stifb_init_fb()
1242 yres = sti_onscreen_y(fb->sti); in stifb_init_fb()
1278 if ((fb->sti->regions_phys[0] & 0xfc000000) == in stifb_init_fb()
1279 (fb->sti->regions_phys[2] & 0xfc000000)) in stifb_init_fb()
1280 sti_rom_address = F_EXTEND(fb->sti->regions_phys[0]); in stifb_init_fb()
1282 sti_rom_address = F_EXTEND(fb->sti->regions_phys[1]); in stifb_init_fb()
1317 fix->smem_start = F_EXTEND(fb->sti->regions_phys[1]); in stifb_init_fb()
1318 fix->smem_len = fb->sti->regions[1].region_desc.length * 4096; in stifb_init_fb()
1320 fix->line_length = (fb->sti->glob_cfg->total_x * bpp) / 8; in stifb_init_fb()
1390 sti->info = info; in stifb_init_fb()
1416 sti->info = NULL; in stifb_init_fb()
1427 struct sti_struct *sti; in stifb_init() local
1446 sti = sti_get_rom(i); in stifb_init()
1447 if (!sti) in stifb_init()
1449 if (sti == def_sti) { in stifb_init()
1450 stifb_init_fb(sti, stifb_bpp_pref[i - 1]); in stifb_init()
1457 sti = sti_get_rom(i); in stifb_init()
1458 if (!sti) in stifb_init()
1460 if (sti == def_sti) in stifb_init()
1462 stifb_init_fb(sti, stifb_bpp_pref[i - 1]); in stifb_init()
1474 struct sti_struct *sti; in stifb_cleanup() local
1478 sti = sti_get_rom(i); in stifb_cleanup()
1479 if (!sti) in stifb_cleanup()
1481 if (sti->info) { in stifb_cleanup()
1482 struct fb_info *info = sti->info; in stifb_cleanup()
1483 unregister_framebuffer(sti->info); in stifb_cleanup()
1491 sti->info = NULL; in stifb_cleanup()