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