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()
1185 static int __init stifb_init_fb(struct sti_struct *sti, int bpp_pref) in stifb_init_fb() argument
1196 info = framebuffer_alloc(sizeof(*fb), sti->dev); in stifb_init_fb()
1206 fb->sti = sti; in stifb_init_fb()
1207 dev_name = sti->sti_data->inq_outptr.dev_name; in stifb_init_fb()
1209 fb->id = fb->sti->graphics_id[0]; in stifb_init_fb()
1243 xres = sti_onscreen_x(fb->sti); in stifb_init_fb()
1244 yres = sti_onscreen_y(fb->sti); in stifb_init_fb()
1280 if ((fb->sti->regions_phys[0] & 0xfc000000) == in stifb_init_fb()
1281 (fb->sti->regions_phys[2] & 0xfc000000)) in stifb_init_fb()
1282 sti_rom_address = F_EXTEND(fb->sti->regions_phys[0]); in stifb_init_fb()
1284 sti_rom_address = F_EXTEND(fb->sti->regions_phys[1]); in stifb_init_fb()
1319 fix->smem_start = F_EXTEND(fb->sti->regions_phys[1]); in stifb_init_fb()
1320 fix->smem_len = fb->sti->regions[1].region_desc.length * 4096; in stifb_init_fb()
1322 fix->line_length = (fb->sti->glob_cfg->total_x * bpp) / 8; in stifb_init_fb()
1404 dev_set_drvdata(sti->dev, info); in stifb_init_fb()
1429 struct sti_struct *sti; in stifb_init() local
1448 sti = sti_get_rom(i); in stifb_init()
1449 if (!sti) in stifb_init()
1451 if (sti == def_sti) { in stifb_init()
1452 stifb_init_fb(sti, stifb_bpp_pref[i - 1]); in stifb_init()
1459 sti = sti_get_rom(i); in stifb_init()
1460 if (!sti) in stifb_init()
1462 if (sti == def_sti) in stifb_init()
1464 stifb_init_fb(sti, stifb_bpp_pref[i - 1]); in stifb_init()
1476 struct sti_struct *sti; in stifb_cleanup() local
1480 sti = sti_get_rom(i); in stifb_cleanup()
1481 if (!sti) in stifb_cleanup()
1483 if (sti->dev) { in stifb_cleanup()
1484 struct fb_info *info = dev_get_drvdata(sti->dev); in stifb_cleanup()
1495 dev_set_drvdata(sti->dev, NULL); in stifb_cleanup()