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()
38 bits_per_pixel = __screen_info_lfb_bits_per_pixel(si); in sysfb_parse_mode()
47 si->red_size == f->red.length && in sysfb_parse_mode()
48 si->red_pos == f->red.offset && in sysfb_parse_mode()
49 si->green_size == f->green.length && in sysfb_parse_mode()
50 si->green_pos == f->green.offset && in sysfb_parse_mode()
51 si->blue_size == f->blue.length && in sysfb_parse_mode()
52 si->blue_pos == f->blue.offset) { in sysfb_parse_mode()
54 mode->width = si->lfb_width; in sysfb_parse_mode()
55 mode->height = si->lfb_height; in sysfb_parse_mode()
56 mode->stride = si->lfb_linelength; in sysfb_parse_mode()
64 __init struct platform_device *sysfb_create_simplefb(const struct screen_info *si, in sysfb_create_simplefb() argument
79 base = si->lfb_base; in sysfb_create_simplefb()
80 if (si->capabilities & VIDEO_CAPABILITY_64BIT_BASE) in sysfb_create_simplefb()
81 base |= (u64)si->ext_lfb_base << 32; in sysfb_create_simplefb()
95 size = si->lfb_size; in sysfb_create_simplefb()
96 if (si->orig_video_isVGA == VIDEO_TYPE_VLFB) in sysfb_create_simplefb()