Lines Matching refs:fbdev

702 static int au1200_setlocation (struct au1200fb_device *fbdev, int plane,  in au1200_setlocation()  argument
764 lcd->window[plane].winbuf1 = fbdev->fb_phys; in au1200_setlocation()
852 au1200_setlocation(fbdev, 0, win->w[0].xpos, win->w[0].ypos); in au1200_setpanel()
853 au1200_setlocation(fbdev, 1, win->w[1].xpos, win->w[1].ypos); in au1200_setpanel()
854 au1200_setlocation(fbdev, 2, win->w[2].xpos, win->w[2].ypos); in au1200_setpanel()
855 au1200_setlocation(fbdev, 3, win->w[3].xpos, win->w[3].ypos); in au1200_setpanel()
937 static void au1200_setmode(struct au1200fb_device *fbdev) in au1200_setmode() argument
939 int plane = fbdev->plane; in au1200_setmode()
946 au1200_setlocation(fbdev, plane, win->w[plane].xpos, win->w[plane].ypos); in au1200_setmode()
951 | LCD_WINCTRL2_BX_N(fbdev->fb_info->fix.line_length) in au1200_setmode()
1039 struct au1200fb_device *fbdev = fbi->par; in au1200fb_fb_check_var() local
1043 plane = fbdev->plane; in au1200fb_fb_check_var()
1060 if (fbdev->fb_len < screen_size) in au1200fb_fb_check_var()
1131 struct au1200fb_device *fbdev = fbi->par; in au1200fb_fb_set_par() local
1134 au1200_setmode(fbdev); in au1200fb_fb_set_par()
1200 struct au1200fb_device *fbdev = fbi->par; in au1200fb_fb_blank() local
1211 au1200_setpanel(panel, fbdev->pd); in au1200fb_fb_blank()
1217 au1200_setpanel(NULL, fbdev->pd); in au1200fb_fb_blank()
1234 struct au1200fb_device *fbdev = info->par; in au1200fb_fb_mmap() local
1236 return dma_mmap_coherent(fbdev->dev, vma, in au1200fb_fb_mmap()
1237 fbdev->fb_mem, fbdev->fb_phys, fbdev->fb_len); in au1200fb_fb_mmap()
1417 struct au1200fb_device *fbdev = info->par; in au1200fb_ioctl() local
1462 au1200_setpanel(newpanel, fbdev->pd); in au1200fb_ioctl()
1517 static int au1200fb_init_fbinfo(struct au1200fb_device *fbdev) in au1200fb_init_fbinfo() argument
1519 struct fb_info *fbi = fbdev->fb_info; in au1200fb_init_fbinfo()
1524 bpp = winbpp(win->w[fbdev->plane].mode_winctrl1); in au1200fb_init_fbinfo()
1559 fbi->fix.smem_start = fbdev->fb_phys; in au1200fb_init_fbinfo()
1560 fbi->fix.smem_len = fbdev->fb_len; in au1200fb_init_fbinfo()
1568 fbi->screen_base = (char __iomem *) fbdev->fb_mem; in au1200fb_init_fbinfo()
1646 struct au1200fb_device *fbdev; in au1200fb_drv_probe() local
1683 fbdev = fbi->par; in au1200fb_drv_probe()
1684 fbdev->fb_info = fbi; in au1200fb_drv_probe()
1685 fbdev->pd = pd; in au1200fb_drv_probe()
1686 fbdev->dev = &dev->dev; in au1200fb_drv_probe()
1688 fbdev->plane = plane; in au1200fb_drv_probe()
1691 fbdev->fb_len = (win->w[plane].xres * win->w[plane].yres * bpp) / 8; in au1200fb_drv_probe()
1693 fbdev->fb_mem = dmam_alloc_attrs(&dev->dev, in au1200fb_drv_probe()
1694 PAGE_ALIGN(fbdev->fb_len), in au1200fb_drv_probe()
1695 &fbdev->fb_phys, GFP_KERNEL, 0); in au1200fb_drv_probe()
1696 if (!fbdev->fb_mem) { in au1200fb_drv_probe()
1698 fbdev->fb_len / 1024); in au1200fb_drv_probe()
1703 print_dbg("Framebuffer memory map at %p", fbdev->fb_mem); in au1200fb_drv_probe()
1704 print_dbg("phys=0x%08x, size=%dK", fbdev->fb_phys, fbdev->fb_len / 1024); in au1200fb_drv_probe()
1707 ret = au1200fb_init_fbinfo(fbdev); in au1200fb_drv_probe()