Lines Matching refs:fix
226 if (info->fix.accel == FB_ACCEL_NEOMAGIC_NM2200 || in neoCalcVCLK()
227 info->fix.accel == FB_ACCEL_NEOMAGIC_NM2230 || in neoCalcVCLK()
228 info->fix.accel == FB_ACCEL_NEOMAGIC_NM2360 || in neoCalcVCLK()
229 info->fix.accel == FB_ACCEL_NEOMAGIC_NM2380) { in neoCalcVCLK()
686 vramlen = info->fix.smem_len; in neofb_check_var()
968 switch (info->fix.accel) { in neofb_set_par()
1016 info->fix.visual = FB_VISUAL_PSEUDOCOLOR; in neofb_set_par()
1020 info->fix.visual = FB_VISUAL_TRUECOLOR; in neofb_set_par()
1035 info->fix.visual = FB_VISUAL_TRUECOLOR; in neofb_set_par()
1059 switch (info->fix.accel) { in neofb_set_par()
1086 if (info->fix.accel != FB_ACCEL_NEOMAGIC_NM2070) { in neofb_set_par()
1097 if (info->fix.accel != FB_ACCEL_NEOMAGIC_NM2070) { in neofb_set_par()
1104 if (info->fix.accel == FB_ACCEL_NEOMAGIC_NM2160) in neofb_set_par()
1107 if (info->fix.accel == FB_ACCEL_NEOMAGIC_NM2200 || in neofb_set_par()
1108 info->fix.accel == FB_ACCEL_NEOMAGIC_NM2230 || in neofb_set_par()
1109 info->fix.accel == FB_ACCEL_NEOMAGIC_NM2360 || in neofb_set_par()
1110 info->fix.accel == FB_ACCEL_NEOMAGIC_NM2380) { in neofb_set_par()
1140 if (info->fix.accel == FB_ACCEL_NEOMAGIC_NM2200 || in neofb_set_par()
1141 info->fix.accel == FB_ACCEL_NEOMAGIC_NM2230 || in neofb_set_par()
1142 info->fix.accel == FB_ACCEL_NEOMAGIC_NM2360 || in neofb_set_par()
1143 info->fix.accel == FB_ACCEL_NEOMAGIC_NM2380) { in neofb_set_par()
1152 info->fix.line_length = in neofb_set_par()
1155 switch (info->fix.accel) { in neofb_set_par()
1413 src = sx * (info->var.bits_per_pixel >> 3) + sy*info->fix.line_length; in neo2200_copyarea()
1414 dst = dx * (info->var.bits_per_pixel >> 3) + dy*info->fix.line_length; in neo2200_copyarea()
1484 image->dy * info->fix.line_length), &par->neo2200->dstStart); in neo2200_imageblit()
1494 switch (info->fix.accel) { in neofb_fillrect()
1510 switch (info->fix.accel) { in neofb_copyarea()
1526 switch (info->fix.accel) { in neofb_imageblit()
1542 switch (info->fix.accel) { in neofb_sync()
1649 switch (info->fix.accel) { in neo_map_mmio()
1651 info->fix.mmio_start = pci_resource_start(dev, 0)+ in neo_map_mmio()
1656 info->fix.mmio_start = pci_resource_start(dev, 0)+ in neo_map_mmio()
1665 info->fix.mmio_start = pci_resource_start(dev, 1); in neo_map_mmio()
1668 info->fix.mmio_start = pci_resource_start(dev, 0); in neo_map_mmio()
1670 info->fix.mmio_len = MMIO_SIZE; in neo_map_mmio()
1673 (info->fix.mmio_start, MMIO_SIZE, "memory mapped I/O")) { in neo_map_mmio()
1678 par->mmio_vbase = ioremap(info->fix.mmio_start, MMIO_SIZE); in neo_map_mmio()
1681 release_mem_region(info->fix.mmio_start, in neo_map_mmio()
1682 info->fix.mmio_len); in neo_map_mmio()
1699 release_mem_region(info->fix.mmio_start, in neo_unmap_mmio()
1700 info->fix.mmio_len); in neo_unmap_mmio()
1711 info->fix.smem_start = pci_resource_start(dev, 0); in neo_map_video()
1712 info->fix.smem_len = video_len; in neo_map_video()
1714 if (!request_mem_region(info->fix.smem_start, info->fix.smem_len, in neo_map_video()
1721 ioremap_wc(info->fix.smem_start, info->fix.smem_len); in neo_map_video()
1724 release_mem_region(info->fix.smem_start, in neo_map_video()
1725 info->fix.smem_len); in neo_map_video()
1731 par->wc_cookie = arch_phys_wc_add(info->fix.smem_start, in neo_map_video()
1735 memset_io(info->screen_base, 0, info->fix.smem_len); in neo_map_video()
1757 release_mem_region(info->fix.smem_start, in neo_unmap_video()
1758 info->fix.smem_len); in neo_unmap_video()
1862 switch (info->fix.accel) { in neo_init_hw()
1894 switch (info->fix.accel) { in neo_init_hw()
1942 info->fix.accel = id->driver_data; in neo_alloc_fb_info()
1952 switch (info->fix.accel) { in neo_alloc_fb_info()
1954 snprintf(info->fix.id, sizeof(info->fix.id), in neo_alloc_fb_info()
1958 snprintf(info->fix.id, sizeof(info->fix.id), in neo_alloc_fb_info()
1962 snprintf(info->fix.id, sizeof(info->fix.id), in neo_alloc_fb_info()
1966 snprintf(info->fix.id, sizeof(info->fix.id), in neo_alloc_fb_info()
1970 snprintf(info->fix.id, sizeof(info->fix.id), in neo_alloc_fb_info()
1974 snprintf(info->fix.id, sizeof(info->fix.id), in neo_alloc_fb_info()
1981 snprintf(info->fix.id, sizeof(info->fix.id), in neo_alloc_fb_info()
1988 snprintf(info->fix.id, sizeof(info->fix.id), in neo_alloc_fb_info()
1995 snprintf(info->fix.id, sizeof(info->fix.id), in neo_alloc_fb_info()
2003 info->fix.type = FB_TYPE_PACKED_PIXELS; in neo_alloc_fb_info()
2004 info->fix.type_aux = 0; in neo_alloc_fb_info()
2005 info->fix.xpanstep = 0; in neo_alloc_fb_info()
2006 info->fix.ypanstep = 4; in neo_alloc_fb_info()
2007 info->fix.ywrapstep = 0; in neo_alloc_fb_info()
2008 info->fix.accel = id->driver_data; in neo_alloc_fb_info()
2086 info->fix.smem_len >> 10, info->var.xres, in neofb_probe()
2097 fb_info(info, "%s frame buffer device\n", info->fix.id); in neofb_probe()