Home | History | Annotate | Download | only in fbcon

Lines Matching refs:finfo

152 static void FB_SavePalette(_THIS, struct fb_fix_screeninfo *finfo,
487 struct fb_fix_screeninfo finfo;
518 if ( ioctl(console_fd, FBIOGET_FSCREENINFO, &finfo) < 0 ) {
523 switch (finfo.type) {
530 if ( finfo.type_aux == FB_AUX_VGA_PLANES_VGA4 ) {
546 switch (finfo.visual) {
562 finfo.accel = SDL_atoi(fb_accel);
567 mapped_offset = (((long)finfo.smem_start) -
568 (((long)finfo.smem_start)&~(pagesize-1)));
569 mapped_memlen = finfo.smem_len+mapped_offset;
605 FB_SavePalette(this, &finfo, &vinfo);
612 if ( finfo.accel && finfo.mmio_len ) {
613 mapped_iolen = finfo.mmio_len;
682 this->info.video_mem = finfo.smem_len/1024;
684 switch (finfo.accel) {
695 FB_MatroxAccel(this, finfo.accel);
701 FB_3DfxAccel(this, finfo.accel);
708 FB_RivaAccel(this, finfo.accel);
780 static void print_finfo(struct fb_fix_screeninfo *finfo)
782 fprintf(stderr, "Printing finfo:\n");
783 fprintf(stderr, "\tsmem_start = %p\n", (char *)finfo->smem_start);
784 fprintf(stderr, "\tsmem_len = %d\n", finfo->smem_len);
785 fprintf(stderr, "\ttype = %d\n", finfo->type);
786 fprintf(stderr, "\ttype_aux = %d\n", finfo->type_aux);
787 fprintf(stderr, "\tvisual = %d\n", finfo->visual);
788 fprintf(stderr, "\txpanstep = %d\n", finfo->xpanstep);
789 fprintf(stderr, "\typanstep = %d\n", finfo->ypanstep);
790 fprintf(stderr, "\tywrapstep = %d\n", finfo->ywrapstep);
791 fprintf(stderr, "\tline_length = %d\n", finfo->line_length);
792 fprintf(stderr, "\tmmio_start = %p\n", (char *)finfo->mmio_start);
793 fprintf(stderr, "\tmmio_len = %d\n", finfo->mmio_len);
794 fprintf(stderr, "\taccel = %d\n", finfo->accel);
865 struct fb_fix_screeninfo finfo;
892 This is necessary since finfo.line_length changes.
894 if ( ioctl(console_fd, FBIOGET_FSCREENINFO, &finfo) < 0 ) {
899 fprintf(stderr, "Printing actual finfo:\n");
900 print_finfo(&finfo);
904 FB_SavePalette(this, &finfo, &vinfo);
924 struct fb_fix_screeninfo finfo;
1022 This is necessary since finfo.line_length changes.
1024 if ( ioctl(console_fd, FBIOGET_FSCREENINFO, &finfo) < 0 ) {
1030 FB_SavePalette(this, &finfo, &vinfo);
1036 current->pitch = finfo.line_length;
1047 switch (finfo.visual) {
1537 static void FB_SavePalette(_THIS, struct fb_fix_screeninfo *finfo,
1543 if ( finfo->visual == FB_VISUAL_PSEUDOCOLOR ) {
1560 if ( finfo->visual == FB_VISUAL_DIRECTCOLOR ) {