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()
59 if (si->lfb_depth > 8) { in sysfb_parse_mode()
60 bits_per_pixel = max(max3(si->red_size + si->red_pos, in sysfb_parse_mode()
61 si->green_size + si->green_pos, in sysfb_parse_mode()
62 si->blue_size + si->blue_pos), in sysfb_parse_mode()
63 si->rsvd_size + si->rsvd_pos); in sysfb_parse_mode()
64 bits_per_pixel = max_t(u32, bits_per_pixel, si->lfb_depth); in sysfb_parse_mode()
66 bits_per_pixel = si->lfb_depth; in sysfb_parse_mode()
76 si->red_size == f->red.length && in sysfb_parse_mode()
77 si->red_pos == f->red.offset && in sysfb_parse_mode()
78 si->green_size == f->green.length && in sysfb_parse_mode()
79 si->green_pos == f->green.offset && in sysfb_parse_mode()
80 si->blue_size == f->blue.length && in sysfb_parse_mode()
81 si->blue_pos == f->blue.offset) { in sysfb_parse_mode()
83 mode->width = si->lfb_width; in sysfb_parse_mode()
84 mode->height = si->lfb_height; in sysfb_parse_mode()
85 mode->stride = si->lfb_linelength; in sysfb_parse_mode()
93 __init struct platform_device *sysfb_create_simplefb(const struct screen_info *si, in sysfb_create_simplefb() argument
107 base = si->lfb_base; in sysfb_create_simplefb()
108 if (si->capabilities & VIDEO_CAPABILITY_64BIT_BASE) in sysfb_create_simplefb()
109 base |= (u64)si->ext_lfb_base << 32; in sysfb_create_simplefb()
123 size = si->lfb_size; in sysfb_create_simplefb()
124 if (si->orig_video_isVGA == VIDEO_TYPE_VLFB) in sysfb_create_simplefb()