Lines Matching refs:Si
476 struct screen_info *Si, in SetupGraphicsFromGop() argument
492 Si->orig_video_isVGA = 0x70; in SetupGraphicsFromGop()
494 Si->orig_x = 0; in SetupGraphicsFromGop()
495 Si->orig_y = 0; in SetupGraphicsFromGop()
496 Si->orig_video_page = 0; in SetupGraphicsFromGop()
497 Si->orig_video_mode = 0; in SetupGraphicsFromGop()
498 Si->orig_video_cols = 0; in SetupGraphicsFromGop()
499 Si->orig_video_lines = 0; in SetupGraphicsFromGop()
500 Si->orig_video_ega_bx = 0; in SetupGraphicsFromGop()
501 Si->orig_video_points = 0; in SetupGraphicsFromGop()
503 Si->lfb_base = (UINT32) Gop->Mode->FrameBufferBase; in SetupGraphicsFromGop()
504 Si->lfb_size = (UINT32) Gop->Mode->FrameBufferSize; in SetupGraphicsFromGop()
505 Si->lfb_width = (UINT16) Info->HorizontalResolution; in SetupGraphicsFromGop()
506 Si->lfb_height = (UINT16) Info->VerticalResolution; in SetupGraphicsFromGop()
507 Si->pages = 1; in SetupGraphicsFromGop()
508 Si->vesapm_seg = 0; in SetupGraphicsFromGop()
509 Si->vesapm_off = 0; in SetupGraphicsFromGop()
512 Si->lfb_depth = 32; in SetupGraphicsFromGop()
513 Si->red_size = 8; in SetupGraphicsFromGop()
514 Si->red_pos = 0; in SetupGraphicsFromGop()
515 Si->green_size = 8; in SetupGraphicsFromGop()
516 Si->green_pos = 8; in SetupGraphicsFromGop()
517 Si->blue_size = 8; in SetupGraphicsFromGop()
518 Si->blue_pos = 16; in SetupGraphicsFromGop()
519 Si->rsvd_size = 8; in SetupGraphicsFromGop()
520 Si->rsvd_pos = 24; in SetupGraphicsFromGop()
521 Si->lfb_linelength = (UINT16) (Info->PixelsPerScanLine * 4); in SetupGraphicsFromGop()
524 Si->lfb_depth = 32; in SetupGraphicsFromGop()
525 Si->red_size = 8; in SetupGraphicsFromGop()
526 Si->red_pos = 16; in SetupGraphicsFromGop()
527 Si->green_size = 8; in SetupGraphicsFromGop()
528 Si->green_pos = 8; in SetupGraphicsFromGop()
529 Si->blue_size = 8; in SetupGraphicsFromGop()
530 Si->blue_pos = 0; in SetupGraphicsFromGop()
531 Si->rsvd_size = 8; in SetupGraphicsFromGop()
532 Si->rsvd_pos = 24; in SetupGraphicsFromGop()
533 Si->lfb_linelength = (UINT16) (Info->PixelsPerScanLine * 4); in SetupGraphicsFromGop()
536 &Si->red_pos, &Si->red_size); in SetupGraphicsFromGop()
538 &Si->green_pos, &Si->green_size); in SetupGraphicsFromGop()
540 &Si->blue_pos, &Si->blue_size); in SetupGraphicsFromGop()
542 &Si->rsvd_pos, &Si->rsvd_size); in SetupGraphicsFromGop()
543 Si->lfb_depth = Si->red_size + Si->green_size + in SetupGraphicsFromGop()
544 Si->blue_size + Si->rsvd_size; in SetupGraphicsFromGop()
545 Si->lfb_linelength = (UINT16) ((Info->PixelsPerScanLine * Si->lfb_depth) / 8); in SetupGraphicsFromGop()
547 Si->lfb_depth = 4; in SetupGraphicsFromGop()
548 Si->red_size = 0; in SetupGraphicsFromGop()
549 Si->red_pos = 0; in SetupGraphicsFromGop()
550 Si->green_size = 0; in SetupGraphicsFromGop()
551 Si->green_pos = 0; in SetupGraphicsFromGop()
552 Si->blue_size = 0; in SetupGraphicsFromGop()
553 Si->blue_pos = 0; in SetupGraphicsFromGop()
554 Si->rsvd_size = 0; in SetupGraphicsFromGop()
555 Si->rsvd_pos = 0; in SetupGraphicsFromGop()
556 Si->lfb_linelength = Si->lfb_width / 2; in SetupGraphicsFromGop()