Lines Matching refs:si
27 __init bool sysfb_parse_mode(const struct screen_info *si, in sysfb_parse_mode() argument
34 type = si->orig_video_isVGA; in sysfb_parse_mode()
40 if (si->lfb_depth == f->bits_per_pixel && in sysfb_parse_mode()
41 si->red_size == f->red.length && in sysfb_parse_mode()
42 si->red_pos == f->red.offset && in sysfb_parse_mode()
43 si->green_size == f->green.length && in sysfb_parse_mode()
44 si->green_pos == f->green.offset && in sysfb_parse_mode()
45 si->blue_size == f->blue.length && in sysfb_parse_mode()
46 si->blue_pos == f->blue.offset && in sysfb_parse_mode()
47 si->rsvd_size == f->transp.length && in sysfb_parse_mode()
48 si->rsvd_pos == f->transp.offset) { in sysfb_parse_mode()
50 mode->width = si->lfb_width; in sysfb_parse_mode()
51 mode->height = si->lfb_height; in sysfb_parse_mode()
52 mode->stride = si->lfb_linelength; in sysfb_parse_mode()
60 __init struct platform_device *sysfb_create_simplefb(const struct screen_info *si, in sysfb_create_simplefb() argument
74 base = si->lfb_base; in sysfb_create_simplefb()
75 if (si->capabilities & VIDEO_CAPABILITY_64BIT_BASE) in sysfb_create_simplefb()
76 base |= (u64)si->ext_lfb_base << 32; in sysfb_create_simplefb()
90 size = si->lfb_size; in sysfb_create_simplefb()
91 if (si->orig_video_isVGA == VIDEO_TYPE_VLFB) in sysfb_create_simplefb()