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