Lines Matching full:si
42 static struct device *sysfb_parent_dev(const struct screen_info *si);
69 struct screen_info *si = &screen_info; in sysfb_disable() local
73 parent = sysfb_parent_dev(si); in sysfb_disable()
95 const struct screen_info *si = &screen_info; in sysfb_handles_screen_info() local
97 return !!screen_info_video_type(si); in sysfb_handles_screen_info()
124 static struct device *sysfb_parent_dev(const struct screen_info *si) in sysfb_parent_dev() argument
128 pdev = screen_info_pci_dev(si); in sysfb_parent_dev()
144 struct screen_info *si = &screen_info; in sysfb_init() local
159 parent = sysfb_parent_dev(si); in sysfb_init()
166 compatible = sysfb_parse_mode(si, &mode); in sysfb_init()
168 pd = sysfb_create_simplefb(si, &mode, parent); in sysfb_init()
174 if (si->orig_video_isVGA == VIDEO_TYPE_EFI) in sysfb_init()
176 else if (si->orig_video_isVGA == VIDEO_TYPE_VLFB) in sysfb_init()
178 else if (si->orig_video_isVGA == VIDEO_TYPE_VGAC) in sysfb_init()
180 else if (si->orig_video_isVGA == VIDEO_TYPE_EGAC) in sysfb_init()
195 ret = platform_device_add_data(pd, si, sizeof(*si)); in sysfb_init()