Lines Matching refs:viafbinfo

160 	viafbinfo->fix.accel = FB_ACCEL_VIA_UNICHROME;  in viafb_setup_fixinfo()
260 viafb_update_device_setting(viafbinfo->var.xres, viafbinfo->var.yres, in viafb_set_par()
261 viafbinfo->var.bits_per_pixel, 0); in viafb_set_par()
429 …u.viamode.virtual_xres_sec = viafb_dual_fb ? viafbinfo1->var.xres_virtual : viafbinfo->var.xres_vi… in viafb_ioctl()
430 …u.viamode.virtual_yres_sec = viafb_dual_fb ? viafbinfo1->var.yres_virtual : viafbinfo->var.yres_vi… in viafb_ioctl()
766 if (info->flags & FBINFO_HWACCEL_DISABLED || info != viafbinfo) in viafb_cursor()
896 memcpy_toio(viafbinfo->screen_base + viapar->shared-> in viafb_cursor()
1667 fb_set_suspend(viafbinfo, 1); in viafb_suspend()
1668 viafb_sync(viafbinfo); in viafb_suspend()
1679 viafb_set_par(viafbinfo); in viafb_resume()
1682 fb_set_suspend(viafbinfo, 0); in viafb_resume()
1735 viafbinfo = framebuffer_alloc(viafb_par_length + in via_fb_pci_probe()
1738 if (!viafbinfo) in via_fb_pci_probe()
1741 viaparinfo = (struct viafb_par *)viafbinfo->par; in via_fb_pci_probe()
1742 viaparinfo->shared = viafbinfo->par + viafb_par_length; in via_fb_pci_probe()
1767 viafbinfo->screen_base = vdev->fbmem; in via_fb_pci_probe()
1769 viafbinfo->fix.mmio_start = vdev->engine_start; in via_fb_pci_probe()
1770 viafbinfo->fix.mmio_len = vdev->engine_len; in via_fb_pci_probe()
1771 viafbinfo->node = 0; in via_fb_pci_probe()
1772 viafbinfo->fbops = &viafb_ops; in via_fb_pci_probe()
1773 viafbinfo->flags = FBINFO_HWACCEL_YPAN; in via_fb_pci_probe()
1775 viafbinfo->pseudo_palette = pseudo_pal; in via_fb_pci_probe()
1776 if (viafb_accel && !viafb_setup_engine(viafbinfo)) { in via_fb_pci_probe()
1777 viafbinfo->flags |= FBINFO_HWACCEL_COPYAREA | in via_fb_pci_probe()
1781 viafbinfo->flags |= FBINFO_HWACCEL_DISABLED; in via_fb_pci_probe()
1807 viafb_setup_fixinfo(&viafbinfo->fix, viaparinfo); in via_fb_pci_probe()
1808 viafbinfo->var = default_var; in via_fb_pci_probe()
1833 memcpy(viafbinfo1, viafbinfo, sizeof(struct fb_info)); in via_fb_pci_probe()
1835 viafbinfo1->screen_base = viafbinfo->screen_base + in via_fb_pci_probe()
1854 viafb_check_var(&viafbinfo->var, viafbinfo); in via_fb_pci_probe()
1855 viafb_update_fix(viafbinfo); in via_fb_pci_probe()
1856 viaparinfo->depth = fb_get_color_depth(&viafbinfo->var, in via_fb_pci_probe()
1857 &viafbinfo->fix); in via_fb_pci_probe()
1859 rc = fb_alloc_cmap(&viafbinfo->cmap, 256, 0); in via_fb_pci_probe()
1869 rc = register_framebuffer(viafbinfo); in via_fb_pci_probe()
1881 viafbinfo->node, viafbinfo->fix.id, default_var.xres, in via_fb_pci_probe()
1893 unregister_framebuffer(viafbinfo); in via_fb_pci_probe()
1899 fb_dealloc_cmap(&viafbinfo->cmap); in via_fb_pci_probe()
1904 framebuffer_release(viafbinfo); in via_fb_pci_probe()
1911 fb_dealloc_cmap(&viafbinfo->cmap); in via_fb_pci_remove()
1912 unregister_framebuffer(viafbinfo); in via_fb_pci_remove()
1917 framebuffer_release(viafbinfo); in via_fb_pci_remove()