Searched refs:fbinfo (Results 1 - 13 of 13) sorted by relevance

/linux-4.1.27/drivers/video/fbdev/
H A Dbfin-t350mcqb-fb.c427 struct fb_info *fbinfo; bfin_t350mcqb_probe() local
440 fbinfo = bfin_t350mcqb_probe()
442 if (!fbinfo) { bfin_t350mcqb_probe()
447 info = fbinfo->par; bfin_t350mcqb_probe()
448 info->fb = fbinfo; bfin_t350mcqb_probe()
452 platform_set_drvdata(pdev, fbinfo); bfin_t350mcqb_probe()
454 strcpy(fbinfo->fix.id, driver_name); bfin_t350mcqb_probe()
456 fbinfo->fix.type = FB_TYPE_PACKED_PIXELS; bfin_t350mcqb_probe()
457 fbinfo->fix.type_aux = 0; bfin_t350mcqb_probe()
458 fbinfo->fix.xpanstep = 0; bfin_t350mcqb_probe()
459 fbinfo->fix.ypanstep = 0; bfin_t350mcqb_probe()
460 fbinfo->fix.ywrapstep = 0; bfin_t350mcqb_probe()
461 fbinfo->fix.accel = FB_ACCEL_NONE; bfin_t350mcqb_probe()
462 fbinfo->fix.visual = FB_VISUAL_TRUECOLOR; bfin_t350mcqb_probe()
464 fbinfo->var.nonstd = 0; bfin_t350mcqb_probe()
465 fbinfo->var.activate = FB_ACTIVATE_NOW; bfin_t350mcqb_probe()
466 fbinfo->var.height = 53; bfin_t350mcqb_probe()
467 fbinfo->var.width = 70; bfin_t350mcqb_probe()
468 fbinfo->var.accel_flags = 0; bfin_t350mcqb_probe()
469 fbinfo->var.vmode = FB_VMODE_NONINTERLACED; bfin_t350mcqb_probe()
471 fbinfo->var.xres = LCD_X_RES; bfin_t350mcqb_probe()
472 fbinfo->var.xres_virtual = LCD_X_RES; bfin_t350mcqb_probe()
473 fbinfo->var.yres = LCD_Y_RES; bfin_t350mcqb_probe()
474 fbinfo->var.yres_virtual = LCD_Y_RES; bfin_t350mcqb_probe()
475 fbinfo->var.bits_per_pixel = LCD_BPP; bfin_t350mcqb_probe()
477 fbinfo->var.red.offset = 0; bfin_t350mcqb_probe()
478 fbinfo->var.green.offset = 8; bfin_t350mcqb_probe()
479 fbinfo->var.blue.offset = 16; bfin_t350mcqb_probe()
480 fbinfo->var.transp.offset = 0; bfin_t350mcqb_probe()
481 fbinfo->var.red.length = 8; bfin_t350mcqb_probe()
482 fbinfo->var.green.length = 8; bfin_t350mcqb_probe()
483 fbinfo->var.blue.length = 8; bfin_t350mcqb_probe()
484 fbinfo->var.transp.length = 0; bfin_t350mcqb_probe()
485 fbinfo->fix.smem_len = LCD_X_RES * LCD_Y_RES * LCD_BPP / 8; bfin_t350mcqb_probe()
487 fbinfo->fix.line_length = fbinfo->var.xres_virtual * bfin_t350mcqb_probe()
488 fbinfo->var.bits_per_pixel / 8; bfin_t350mcqb_probe()
491 fbinfo->fbops = &bfin_t350mcqb_fb_ops; bfin_t350mcqb_probe()
492 fbinfo->flags = FBINFO_FLAG_DEFAULT; bfin_t350mcqb_probe()
494 info->fb_buffer = dma_alloc_coherent(NULL, fbinfo->fix.smem_len + bfin_t350mcqb_probe()
505 fbinfo->screen_base = (void *)info->fb_buffer + ACTIVE_VIDEO_MEM_OFFSET; bfin_t350mcqb_probe()
506 fbinfo->fix.smem_start = (int)info->fb_buffer + ACTIVE_VIDEO_MEM_OFFSET; bfin_t350mcqb_probe()
508 fbinfo->fbops = &bfin_t350mcqb_fb_ops; bfin_t350mcqb_probe()
510 fbinfo->pseudo_palette = &info->pseudo_pal; bfin_t350mcqb_probe()
512 if (fb_alloc_cmap(&fbinfo->cmap, BFIN_LCD_NBR_PALETTE_ENTRIES, 0) bfin_t350mcqb_probe()
541 if (register_framebuffer(fbinfo) < 0) { bfin_t350mcqb_probe()
557 unregister_framebuffer(fbinfo); bfin_t350mcqb_probe()
572 fb_dealloc_cmap(&fbinfo->cmap); bfin_t350mcqb_probe()
574 dma_free_coherent(NULL, fbinfo->fix.smem_len + ACTIVE_VIDEO_MEM_OFFSET, bfin_t350mcqb_probe()
577 framebuffer_release(fbinfo); bfin_t350mcqb_probe()
588 struct fb_info *fbinfo = platform_get_drvdata(pdev); bfin_t350mcqb_remove() local
589 struct bfin_t350mcqbfb_info *info = fbinfo->par; bfin_t350mcqb_remove()
591 unregister_framebuffer(fbinfo); bfin_t350mcqb_remove()
597 dma_free_coherent(NULL, fbinfo->fix.smem_len + bfin_t350mcqb_remove()
601 fb_dealloc_cmap(&fbinfo->cmap); bfin_t350mcqb_remove()
610 framebuffer_release(fbinfo); bfin_t350mcqb_remove()
620 struct fb_info *fbinfo = platform_get_drvdata(pdev); bfin_t350mcqb_suspend() local
621 struct bfin_t350mcqbfb_info *fbi = fbinfo->par; bfin_t350mcqb_suspend()
636 struct fb_info *fbinfo = platform_get_drvdata(pdev); bfin_t350mcqb_resume() local
637 struct bfin_t350mcqbfb_info *fbi = fbinfo->par; bfin_t350mcqb_resume()
H A Dbfin-lq035q1-fb.c568 struct fb_info *fbinfo; bfin_lq035q1_probe() local
578 fbinfo = framebuffer_alloc(sizeof(*info), &pdev->dev); bfin_lq035q1_probe()
579 if (!fbinfo) { bfin_lq035q1_probe()
584 info = fbinfo->par; bfin_lq035q1_probe()
585 info->fb = fbinfo; bfin_lq035q1_probe()
591 platform_set_drvdata(pdev, fbinfo); bfin_lq035q1_probe()
599 strcpy(fbinfo->fix.id, DRIVER_NAME); bfin_lq035q1_probe()
601 fbinfo->fix.type = FB_TYPE_PACKED_PIXELS; bfin_lq035q1_probe()
602 fbinfo->fix.type_aux = 0; bfin_lq035q1_probe()
603 fbinfo->fix.xpanstep = 0; bfin_lq035q1_probe()
604 fbinfo->fix.ypanstep = 0; bfin_lq035q1_probe()
605 fbinfo->fix.ywrapstep = 0; bfin_lq035q1_probe()
606 fbinfo->fix.accel = FB_ACCEL_NONE; bfin_lq035q1_probe()
607 fbinfo->fix.visual = FB_VISUAL_TRUECOLOR; bfin_lq035q1_probe()
609 fbinfo->var.nonstd = 0; bfin_lq035q1_probe()
610 fbinfo->var.activate = FB_ACTIVATE_NOW; bfin_lq035q1_probe()
611 fbinfo->var.height = -1; bfin_lq035q1_probe()
612 fbinfo->var.width = -1; bfin_lq035q1_probe()
613 fbinfo->var.accel_flags = 0; bfin_lq035q1_probe()
614 fbinfo->var.vmode = FB_VMODE_NONINTERLACED; bfin_lq035q1_probe()
616 fbinfo->var.xres = LCD_X_RES; bfin_lq035q1_probe()
617 fbinfo->var.xres_virtual = LCD_X_RES; bfin_lq035q1_probe()
618 fbinfo->var.yres = LCD_Y_RES; bfin_lq035q1_probe()
619 fbinfo->var.yres_virtual = LCD_Y_RES; bfin_lq035q1_probe()
620 fbinfo->var.bits_per_pixel = info->lcd_bpp; bfin_lq035q1_probe()
624 fbinfo->var.red.offset = 0; bfin_lq035q1_probe()
625 fbinfo->var.green.offset = 8; bfin_lq035q1_probe()
626 fbinfo->var.blue.offset = 16; bfin_lq035q1_probe()
628 fbinfo->var.red.offset = 0; bfin_lq035q1_probe()
629 fbinfo->var.green.offset = 5; bfin_lq035q1_probe()
630 fbinfo->var.blue.offset = 11; bfin_lq035q1_probe()
634 fbinfo->var.red.offset = 16; bfin_lq035q1_probe()
635 fbinfo->var.green.offset = 8; bfin_lq035q1_probe()
636 fbinfo->var.blue.offset = 0; bfin_lq035q1_probe()
638 fbinfo->var.red.offset = 11; bfin_lq035q1_probe()
639 fbinfo->var.green.offset = 5; bfin_lq035q1_probe()
640 fbinfo->var.blue.offset = 0; bfin_lq035q1_probe()
644 fbinfo->var.transp.offset = 0; bfin_lq035q1_probe()
647 fbinfo->var.red.length = 8; bfin_lq035q1_probe()
648 fbinfo->var.green.length = 8; bfin_lq035q1_probe()
649 fbinfo->var.blue.length = 8; bfin_lq035q1_probe()
651 fbinfo->var.red.length = 5; bfin_lq035q1_probe()
652 fbinfo->var.green.length = 6; bfin_lq035q1_probe()
653 fbinfo->var.blue.length = 5; bfin_lq035q1_probe()
656 fbinfo->var.transp.length = 0; bfin_lq035q1_probe()
660 fbinfo->fix.smem_len = LCD_X_RES * LCD_Y_RES * info->lcd_bpp / 8 bfin_lq035q1_probe()
663 fbinfo->fix.line_length = fbinfo->var.xres_virtual * bfin_lq035q1_probe()
664 fbinfo->var.bits_per_pixel / 8; bfin_lq035q1_probe()
667 fbinfo->fbops = &bfin_lq035q1_fb_ops; bfin_lq035q1_probe()
668 fbinfo->flags = FBINFO_FLAG_DEFAULT; bfin_lq035q1_probe()
671 dma_alloc_coherent(NULL, fbinfo->fix.smem_len, &info->dma_handle, bfin_lq035q1_probe()
680 fbinfo->screen_base = (void *)info->fb_buffer + active_video_mem_offset; bfin_lq035q1_probe()
681 fbinfo->fix.smem_start = (int)info->fb_buffer + active_video_mem_offset; bfin_lq035q1_probe()
683 fbinfo->fbops = &bfin_lq035q1_fb_ops; bfin_lq035q1_probe()
685 fbinfo->pseudo_palette = &info->pseudo_pal; bfin_lq035q1_probe()
687 ret = fb_alloc_cmap(&fbinfo->cmap, BFIN_LCD_NBR_PALETTE_ENTRIES, 0); bfin_lq035q1_probe()
737 ret = register_framebuffer(fbinfo); bfin_lq035q1_probe()
759 fb_dealloc_cmap(&fbinfo->cmap); bfin_lq035q1_probe()
761 dma_free_coherent(NULL, fbinfo->fix.smem_len, info->fb_buffer, bfin_lq035q1_probe()
764 framebuffer_release(fbinfo); bfin_lq035q1_probe()
774 struct fb_info *fbinfo = platform_get_drvdata(pdev); bfin_lq035q1_remove() local
775 struct bfin_lq035q1fb_info *info = fbinfo->par; bfin_lq035q1_remove()
782 unregister_framebuffer(fbinfo); bfin_lq035q1_remove()
788 dma_free_coherent(NULL, fbinfo->fix.smem_len, info->fb_buffer, bfin_lq035q1_remove()
791 fb_dealloc_cmap(&fbinfo->cmap); bfin_lq035q1_remove()
796 framebuffer_release(fbinfo); bfin_lq035q1_remove()
806 struct fb_info *fbinfo = dev_get_drvdata(dev); bfin_lq035q1_suspend() local
807 struct bfin_lq035q1fb_info *info = fbinfo->par; bfin_lq035q1_suspend()
823 struct fb_info *fbinfo = dev_get_drvdata(dev); bfin_lq035q1_resume() local
824 struct bfin_lq035q1fb_info *info = fbinfo->par; bfin_lq035q1_resume()
H A Dbf54x-lq043fb.c506 struct fb_info *fbinfo; bfin_bf54x_probe() local
518 fbinfo = bfin_bf54x_probe()
520 if (!fbinfo) { bfin_bf54x_probe()
525 info = fbinfo->par; bfin_bf54x_probe()
526 info->fb = fbinfo; bfin_bf54x_probe()
530 platform_set_drvdata(pdev, fbinfo); bfin_bf54x_probe()
532 strcpy(fbinfo->fix.id, driver_name); bfin_bf54x_probe()
543 fbinfo->fix.type = FB_TYPE_PACKED_PIXELS; bfin_bf54x_probe()
544 fbinfo->fix.type_aux = 0; bfin_bf54x_probe()
545 fbinfo->fix.xpanstep = 0; bfin_bf54x_probe()
546 fbinfo->fix.ypanstep = 0; bfin_bf54x_probe()
547 fbinfo->fix.ywrapstep = 0; bfin_bf54x_probe()
548 fbinfo->fix.accel = FB_ACCEL_NONE; bfin_bf54x_probe()
549 fbinfo->fix.visual = FB_VISUAL_TRUECOLOR; bfin_bf54x_probe()
551 fbinfo->var.nonstd = 0; bfin_bf54x_probe()
552 fbinfo->var.activate = FB_ACTIVATE_NOW; bfin_bf54x_probe()
553 fbinfo->var.height = info->mach_info->height; bfin_bf54x_probe()
554 fbinfo->var.width = info->mach_info->width; bfin_bf54x_probe()
555 fbinfo->var.accel_flags = 0; bfin_bf54x_probe()
556 fbinfo->var.vmode = FB_VMODE_NONINTERLACED; bfin_bf54x_probe()
558 fbinfo->fbops = &bfin_bf54x_fb_ops; bfin_bf54x_probe()
559 fbinfo->flags = FBINFO_FLAG_DEFAULT; bfin_bf54x_probe()
561 fbinfo->var.xres = info->mach_info->xres.defval; bfin_bf54x_probe()
562 fbinfo->var.xres_virtual = info->mach_info->xres.defval; bfin_bf54x_probe()
563 fbinfo->var.yres = info->mach_info->yres.defval; bfin_bf54x_probe()
564 fbinfo->var.yres_virtual = info->mach_info->yres.defval; bfin_bf54x_probe()
565 fbinfo->var.bits_per_pixel = info->mach_info->bpp.defval; bfin_bf54x_probe()
567 fbinfo->var.upper_margin = 0; bfin_bf54x_probe()
568 fbinfo->var.lower_margin = 0; bfin_bf54x_probe()
569 fbinfo->var.vsync_len = 0; bfin_bf54x_probe()
571 fbinfo->var.left_margin = 0; bfin_bf54x_probe()
572 fbinfo->var.right_margin = 0; bfin_bf54x_probe()
573 fbinfo->var.hsync_len = 0; bfin_bf54x_probe()
575 fbinfo->var.red.offset = 16; bfin_bf54x_probe()
576 fbinfo->var.green.offset = 8; bfin_bf54x_probe()
577 fbinfo->var.blue.offset = 0; bfin_bf54x_probe()
578 fbinfo->var.transp.offset = 0; bfin_bf54x_probe()
579 fbinfo->var.red.length = 8; bfin_bf54x_probe()
580 fbinfo->var.green.length = 8; bfin_bf54x_probe()
581 fbinfo->var.blue.length = 8; bfin_bf54x_probe()
582 fbinfo->var.transp.length = 0; bfin_bf54x_probe()
583 fbinfo->fix.smem_len = info->mach_info->xres.max * bfin_bf54x_probe()
586 fbinfo->fix.line_length = fbinfo->var.xres_virtual * bfin_bf54x_probe()
587 fbinfo->var.bits_per_pixel / 8; bfin_bf54x_probe()
590 dma_alloc_coherent(NULL, fbinfo->fix.smem_len, &info->dma_handle, bfin_bf54x_probe()
600 fbinfo->screen_base = (void *)info->fb_buffer; bfin_bf54x_probe()
601 fbinfo->fix.smem_start = (int)info->fb_buffer; bfin_bf54x_probe()
603 fbinfo->fbops = &bfin_bf54x_fb_ops; bfin_bf54x_probe()
605 fbinfo->pseudo_palette = devm_kzalloc(&pdev->dev, sizeof(u32) * 16, bfin_bf54x_probe()
607 if (!fbinfo->pseudo_palette) { bfin_bf54x_probe()
615 if (fb_alloc_cmap(&fbinfo->cmap, BFIN_LCD_NBR_PALETTE_ENTRIES, 0) bfin_bf54x_probe()
644 if (register_framebuffer(fbinfo) < 0) { bfin_bf54x_probe()
660 unregister_framebuffer(fbinfo); bfin_bf54x_probe()
675 fb_dealloc_cmap(&fbinfo->cmap); bfin_bf54x_probe()
677 dma_free_coherent(NULL, fbinfo->fix.smem_len, info->fb_buffer, bfin_bf54x_probe()
680 framebuffer_release(fbinfo); bfin_bf54x_probe()
691 struct fb_info *fbinfo = platform_get_drvdata(pdev); bfin_bf54x_remove() local
692 struct bfin_bf54xfb_info *info = fbinfo->par; bfin_bf54x_remove()
698 dma_free_coherent(NULL, fbinfo->fix.smem_len, info->fb_buffer, bfin_bf54x_remove()
701 fb_dealloc_cmap(&fbinfo->cmap); bfin_bf54x_remove()
708 unregister_framebuffer(fbinfo); bfin_bf54x_remove()
729 struct fb_info *fbinfo = platform_get_drvdata(pdev); bfin_bf54x_resume() local
730 struct bfin_bf54xfb_info *info = fbinfo->par; bfin_bf54x_resume()
H A Dnuc900fb.c455 struct fb_info *fbinfo; nuc900fb_cpufreq_transition() local
458 fbinfo = platform_get_drvdata(to_platform_device(info->dev)); nuc900fb_cpufreq_transition()
465 nuc900fb_activate_var(fbinfo); nuc900fb_cpufreq_transition()
506 struct fb_info *fbinfo; nuc900fb_probe() local
538 fbinfo = framebuffer_alloc(sizeof(struct nuc900fb_info), &pdev->dev); nuc900fb_probe()
539 if (!fbinfo) nuc900fb_probe()
542 platform_set_drvdata(pdev, fbinfo); nuc900fb_probe()
544 fbi = fbinfo->par; nuc900fb_probe()
574 /* fill the fbinfo*/ nuc900fb_probe()
575 strcpy(fbinfo->fix.id, driver_name); nuc900fb_probe()
576 fbinfo->fix.type = FB_TYPE_PACKED_PIXELS; nuc900fb_probe()
577 fbinfo->fix.type_aux = 0; nuc900fb_probe()
578 fbinfo->fix.xpanstep = 0; nuc900fb_probe()
579 fbinfo->fix.ypanstep = 0; nuc900fb_probe()
580 fbinfo->fix.ywrapstep = 0; nuc900fb_probe()
581 fbinfo->fix.accel = FB_ACCEL_NONE; nuc900fb_probe()
582 fbinfo->var.nonstd = 0; nuc900fb_probe()
583 fbinfo->var.activate = FB_ACTIVATE_NOW; nuc900fb_probe()
584 fbinfo->var.accel_flags = 0; nuc900fb_probe()
585 fbinfo->var.vmode = FB_VMODE_NONINTERLACED; nuc900fb_probe()
586 fbinfo->fbops = &nuc900fb_ops; nuc900fb_probe()
587 fbinfo->flags = FBINFO_FLAG_DEFAULT; nuc900fb_probe()
588 fbinfo->pseudo_palette = &fbi->pseudo_pal; nuc900fb_probe()
616 if (fbinfo->fix.smem_len < smem_len) nuc900fb_probe()
617 fbinfo->fix.smem_len = smem_len; nuc900fb_probe()
621 ret = nuc900fb_map_video_memory(fbinfo); nuc900fb_probe()
629 fbinfo->var.xres = display->xres; nuc900fb_probe()
630 fbinfo->var.yres = display->yres; nuc900fb_probe()
631 fbinfo->var.bits_per_pixel = display->bpp; nuc900fb_probe()
633 nuc900fb_init_registers(fbinfo); nuc900fb_probe()
635 nuc900fb_check_var(&fbinfo->var, fbinfo); nuc900fb_probe()
643 ret = register_framebuffer(fbinfo); nuc900fb_probe()
650 fb_info(fbinfo, "%s frame buffer device\n", fbinfo->fix.id); nuc900fb_probe()
657 nuc900fb_unmap_video_memory(fbinfo); nuc900fb_probe()
668 framebuffer_release(fbinfo); nuc900fb_probe()
689 struct fb_info *fbinfo = platform_get_drvdata(pdev); nuc900fb_remove() local
690 struct nuc900fb_info *fbi = fbinfo->par; nuc900fb_remove()
693 nuc900fb_stop_lcd(fbinfo); nuc900fb_remove()
696 unregister_framebuffer(fbinfo); nuc900fb_remove()
698 nuc900fb_unmap_video_memory(fbinfo); nuc900fb_remove()
708 framebuffer_release(fbinfo); nuc900fb_remove()
721 struct fb_info *fbinfo = platform_get_drvdata(dev); nuc900fb_suspend() local
722 struct nuc900fb_info *info = fbinfo->par; nuc900fb_suspend()
724 nuc900fb_stop_lcd(fbinfo); nuc900fb_suspend()
732 struct fb_info *fbinfo = platform_get_drvdata(dev); nuc900fb_resume() local
733 struct nuc900fb_info *fbi = fbinfo->par; nuc900fb_resume()
740 nuc900fb_init_registers(fbinfo); nuc900fb_resume()
741 nuc900fb_activate_var(fbinfo); nuc900fb_resume()
H A Ds3c2410fb.c776 struct fb_info *fbinfo; s3c2410fb_cpufreq_transition() local
780 fbinfo = platform_get_drvdata(to_platform_device(info->dev)); s3c2410fb_cpufreq_transition()
788 s3c2410fb_activate_var(fbinfo); s3c2410fb_cpufreq_transition()
827 struct fb_info *fbinfo; s3c24xxfb_probe() local
857 fbinfo = framebuffer_alloc(sizeof(struct s3c2410fb_info), &pdev->dev); s3c24xxfb_probe()
858 if (!fbinfo) s3c24xxfb_probe()
861 platform_set_drvdata(pdev, fbinfo); s3c24xxfb_probe()
863 info = fbinfo->par; s3c24xxfb_probe()
896 strcpy(fbinfo->fix.id, driver_name); s3c24xxfb_probe()
902 fbinfo->fix.type = FB_TYPE_PACKED_PIXELS; s3c24xxfb_probe()
903 fbinfo->fix.type_aux = 0; s3c24xxfb_probe()
904 fbinfo->fix.xpanstep = 0; s3c24xxfb_probe()
905 fbinfo->fix.ypanstep = 0; s3c24xxfb_probe()
906 fbinfo->fix.ywrapstep = 0; s3c24xxfb_probe()
907 fbinfo->fix.accel = FB_ACCEL_NONE; s3c24xxfb_probe()
909 fbinfo->var.nonstd = 0; s3c24xxfb_probe()
910 fbinfo->var.activate = FB_ACTIVATE_NOW; s3c24xxfb_probe()
911 fbinfo->var.accel_flags = 0; s3c24xxfb_probe()
912 fbinfo->var.vmode = FB_VMODE_NONINTERLACED; s3c24xxfb_probe()
914 fbinfo->fbops = &s3c2410fb_ops; s3c24xxfb_probe()
915 fbinfo->flags = FBINFO_FLAG_DEFAULT; s3c24xxfb_probe()
916 fbinfo->pseudo_palette = &info->pseudo_pal; s3c24xxfb_probe()
949 if (fbinfo->fix.smem_len < smem_len) s3c24xxfb_probe()
950 fbinfo->fix.smem_len = smem_len; s3c24xxfb_probe()
954 ret = s3c2410fb_map_video_memory(fbinfo); s3c24xxfb_probe()
963 fbinfo->var.xres = display->xres; s3c24xxfb_probe()
964 fbinfo->var.yres = display->yres; s3c24xxfb_probe()
965 fbinfo->var.bits_per_pixel = display->bpp; s3c24xxfb_probe()
967 s3c2410fb_init_registers(fbinfo); s3c24xxfb_probe()
969 s3c2410fb_check_var(&fbinfo->var, fbinfo); s3c24xxfb_probe()
977 ret = register_framebuffer(fbinfo); s3c24xxfb_probe()
990 fbinfo->node, fbinfo->fix.id); s3c24xxfb_probe()
997 s3c2410fb_unmap_video_memory(fbinfo); s3c24xxfb_probe()
1008 framebuffer_release(fbinfo); s3c24xxfb_probe()
1028 struct fb_info *fbinfo = platform_get_drvdata(pdev); s3c2410fb_remove() local
1029 struct s3c2410fb_info *info = fbinfo->par; s3c2410fb_remove()
1032 unregister_framebuffer(fbinfo); s3c2410fb_remove()
1038 s3c2410fb_unmap_video_memory(fbinfo); s3c2410fb_remove()
1053 framebuffer_release(fbinfo); s3c2410fb_remove()
1063 struct fb_info *fbinfo = platform_get_drvdata(dev); s3c2410fb_suspend() local
1064 struct s3c2410fb_info *info = fbinfo->par; s3c2410fb_suspend()
1080 struct fb_info *fbinfo = platform_get_drvdata(dev); s3c2410fb_resume() local
1081 struct s3c2410fb_info *info = fbinfo->par; s3c2410fb_resume()
1086 s3c2410fb_init_registers(fbinfo); s3c2410fb_resume()
1089 s3c2410fb_activate_var(fbinfo); s3c2410fb_resume()
1090 s3c2410fb_blank(FB_BLANK_UNBLANK, fbinfo); s3c2410fb_resume()
H A Ds3c-fb.c160 * @fbinfo: Pointer pack to the framebuffer info for this window.
170 struct fb_info *fbinfo; member in struct:s3c_fb_win
1087 struct fb_info *fbi = win->fbinfo; s3c_fb_alloc_memory()
1131 struct fb_info *fbi = win->fbinfo; s3c_fb_free_memory()
1149 if (win->fbinfo) { s3c_fb_release_win()
1156 unregister_framebuffer(win->fbinfo); s3c_fb_release_win()
1157 if (win->fbinfo->cmap.len) s3c_fb_release_win()
1158 fb_dealloc_cmap(&win->fbinfo->cmap); s3c_fb_release_win()
1160 framebuffer_release(win->fbinfo); s3c_fb_release_win()
1181 struct fb_info *fbinfo; s3c_fb_probe_win() local
1191 fbinfo = framebuffer_alloc(sizeof(struct s3c_fb_win) + s3c_fb_probe_win()
1193 if (!fbinfo) { s3c_fb_probe_win()
1205 win = fbinfo->par; s3c_fb_probe_win()
1207 var = &fbinfo->var; s3c_fb_probe_win()
1209 win->fbinfo = fbinfo; s3c_fb_probe_win()
1244 fb_videomode_to_var(&fbinfo->var, &initmode); s3c_fb_probe_win()
1246 fbinfo->fix.type = FB_TYPE_PACKED_PIXELS; s3c_fb_probe_win()
1247 fbinfo->fix.accel = FB_ACCEL_NONE; s3c_fb_probe_win()
1248 fbinfo->var.activate = FB_ACTIVATE_NOW; s3c_fb_probe_win()
1249 fbinfo->var.vmode = FB_VMODE_NONINTERLACED; s3c_fb_probe_win()
1250 fbinfo->var.bits_per_pixel = windata->default_bpp; s3c_fb_probe_win()
1251 fbinfo->fbops = &s3c_fb_ops; s3c_fb_probe_win()
1252 fbinfo->flags = FBINFO_FLAG_DEFAULT; s3c_fb_probe_win()
1253 fbinfo->pseudo_palette = &win->pseudo_palette; s3c_fb_probe_win()
1257 ret = s3c_fb_check_var(&fbinfo->var, fbinfo); s3c_fb_probe_win()
1265 ret = fb_alloc_cmap(&fbinfo->cmap, win->variant.palette_sz, 1); s3c_fb_probe_win()
1267 fb_set_cmap(&fbinfo->cmap, fbinfo); s3c_fb_probe_win()
1271 s3c_fb_set_par(fbinfo); s3c_fb_probe_win()
1277 ret = register_framebuffer(fbinfo); s3c_fb_probe_win()
1283 dev_info(sfb->dev, "window %d: fb %s\n", win_no, fbinfo->fix.id); s3c_fb_probe_win()
1558 s3c_fb_blank(FB_BLANK_POWERDOWN, win->fbinfo); s3c_fb_suspend()
1624 s3c_fb_set_par(win->fbinfo); s3c_fb_resume()
H A Dda8xx-fb.c1470 /* Initialize fbinfo */ fb_probe()
H A Datmel_lcdfb.c1321 dev_err(dev, "init fbinfo failed: %d\n", ret); atmel_lcdfb_probe()
H A Dsa1100fb.c1121 /* Fake monspecs to fill in fbinfo structure */
/linux-4.1.27/drivers/staging/olpc_dcon/
H A Dolpc_dcon.h61 struct fb_info *fbinfo; member in struct:dcon_priv
H A Dolpc_dcon.c259 if (!lock_fb_info(dcon->fbinfo)) { dcon_blank_fb()
266 err = fb_blank(dcon->fbinfo, dcon_blank_fb()
269 unlock_fb_info(dcon->fbinfo); dcon_blank_fb()
612 dcon->fbinfo = registered_fb[0]; dcon_probe()
/linux-4.1.27/drivers/staging/sm750fb/
H A Dsm750.c431 info = share->fbinfo[0]; lynxfb_suspend()
435 info = share->fbinfo[1]; lynxfb_suspend()
502 info = share->fbinfo[0]; lynxfb_resume()
514 info = share->fbinfo[1]; lynxfb_resume()
1123 share->fbinfo[0] = share->fbinfo[1] = NULL; lynxfb_pci_probe()
1202 share->fbinfo[fbidx] = info[fbidx]; lynxfb_pci_probe()
1265 info = share->fbinfo[cnt]; lynxfb_pci_remove()
H A Dsm750.h50 struct fb_info * fbinfo[2]; member in struct:lynx_share

Completed in 374 milliseconds