Lines Matching full:fix
227 if (info->fix.accel == FB_ACCEL_NEOMAGIC_NM2200 || in neoCalcVCLK()
228 info->fix.accel == FB_ACCEL_NEOMAGIC_NM2230 || in neoCalcVCLK()
229 info->fix.accel == FB_ACCEL_NEOMAGIC_NM2360 || in neoCalcVCLK()
230 info->fix.accel == FB_ACCEL_NEOMAGIC_NM2380) { in neoCalcVCLK()
687 vramlen = info->fix.smem_len; in neofb_check_var()
969 switch (info->fix.accel) { in neofb_set_par()
1017 info->fix.visual = FB_VISUAL_PSEUDOCOLOR; in neofb_set_par()
1021 info->fix.visual = FB_VISUAL_TRUECOLOR; in neofb_set_par()
1036 info->fix.visual = FB_VISUAL_TRUECOLOR; in neofb_set_par()
1060 switch (info->fix.accel) { in neofb_set_par()
1087 if (info->fix.accel != FB_ACCEL_NEOMAGIC_NM2070) { in neofb_set_par()
1098 if (info->fix.accel != FB_ACCEL_NEOMAGIC_NM2070) { in neofb_set_par()
1105 if (info->fix.accel == FB_ACCEL_NEOMAGIC_NM2160) in neofb_set_par()
1108 if (info->fix.accel == FB_ACCEL_NEOMAGIC_NM2200 || in neofb_set_par()
1109 info->fix.accel == FB_ACCEL_NEOMAGIC_NM2230 || in neofb_set_par()
1110 info->fix.accel == FB_ACCEL_NEOMAGIC_NM2360 || in neofb_set_par()
1111 info->fix.accel == FB_ACCEL_NEOMAGIC_NM2380) { in neofb_set_par()
1141 if (info->fix.accel == FB_ACCEL_NEOMAGIC_NM2200 || in neofb_set_par()
1142 info->fix.accel == FB_ACCEL_NEOMAGIC_NM2230 || in neofb_set_par()
1143 info->fix.accel == FB_ACCEL_NEOMAGIC_NM2360 || in neofb_set_par()
1144 info->fix.accel == FB_ACCEL_NEOMAGIC_NM2380) { in neofb_set_par()
1153 info->fix.line_length = in neofb_set_par()
1156 switch (info->fix.accel) { in neofb_set_par()
1414 src = sx * (info->var.bits_per_pixel >> 3) + sy*info->fix.line_length; in neo2200_copyarea()
1415 dst = dx * (info->var.bits_per_pixel >> 3) + dy*info->fix.line_length; in neo2200_copyarea()
1485 image->dy * info->fix.line_length), &par->neo2200->dstStart); in neo2200_imageblit()
1495 switch (info->fix.accel) { in neofb_fillrect()
1511 switch (info->fix.accel) { in neofb_copyarea()
1527 switch (info->fix.accel) { in neofb_imageblit()
1543 switch (info->fix.accel) { in neofb_sync()
1652 switch (info->fix.accel) { in neo_map_mmio()
1654 info->fix.mmio_start = pci_resource_start(dev, 0)+ in neo_map_mmio()
1659 info->fix.mmio_start = pci_resource_start(dev, 0)+ in neo_map_mmio()
1668 info->fix.mmio_start = pci_resource_start(dev, 1); in neo_map_mmio()
1671 info->fix.mmio_start = pci_resource_start(dev, 0); in neo_map_mmio()
1673 info->fix.mmio_len = MMIO_SIZE; in neo_map_mmio()
1676 (info->fix.mmio_start, MMIO_SIZE, "memory mapped I/O")) { in neo_map_mmio()
1681 par->mmio_vbase = ioremap(info->fix.mmio_start, MMIO_SIZE); in neo_map_mmio()
1684 release_mem_region(info->fix.mmio_start, in neo_map_mmio()
1685 info->fix.mmio_len); in neo_map_mmio()
1702 release_mem_region(info->fix.mmio_start, in neo_unmap_mmio()
1703 info->fix.mmio_len); in neo_unmap_mmio()
1714 info->fix.smem_start = pci_resource_start(dev, 0); in neo_map_video()
1715 info->fix.smem_len = video_len; in neo_map_video()
1717 if (!request_mem_region(info->fix.smem_start, info->fix.smem_len, in neo_map_video()
1724 ioremap_wc(info->fix.smem_start, info->fix.smem_len); in neo_map_video()
1727 release_mem_region(info->fix.smem_start, in neo_map_video()
1728 info->fix.smem_len); in neo_map_video()
1734 par->wc_cookie = arch_phys_wc_add(info->fix.smem_start, in neo_map_video()
1738 memset_io(info->screen_base, 0, info->fix.smem_len); in neo_map_video()
1741 info->fix.smem_len -= PAGE_SIZE; in neo_map_video()
1742 addr = info->fix.smem_start + info->fix.smem_len; in neo_map_video()
1745 addr = (unsigned long) info->screen_base + info->fix.smem_len; in neo_map_video()
1760 release_mem_region(info->fix.smem_start, in neo_unmap_video()
1761 info->fix.smem_len); in neo_unmap_video()
1864 switch (info->fix.accel) { in neo_init_hw()
1896 switch (info->fix.accel) { in neo_init_hw()
1941 info->fix.accel = id->driver_data; in neo_alloc_fb_info()
1951 switch (info->fix.accel) { in neo_alloc_fb_info()
1953 strscpy(info->fix.id, "MagicGraph128", sizeof(info->fix.id)); in neo_alloc_fb_info()
1956 strscpy(info->fix.id, "MagicGraph128V", sizeof(info->fix.id)); in neo_alloc_fb_info()
1959 strscpy(info->fix.id, "MagicGraph128ZV", sizeof(info->fix.id)); in neo_alloc_fb_info()
1962 strscpy(info->fix.id, "Mag.Graph128ZV+", sizeof(info->fix.id)); in neo_alloc_fb_info()
1965 strscpy(info->fix.id, "MagicGraph128XD", sizeof(info->fix.id)); in neo_alloc_fb_info()
1968 strscpy(info->fix.id, "MagicGraph256AV", sizeof(info->fix.id)); in neo_alloc_fb_info()
1974 strscpy(info->fix.id, "Mag.Graph256AV+", sizeof(info->fix.id)); in neo_alloc_fb_info()
1980 strscpy(info->fix.id, "MagicGraph256ZX", sizeof(info->fix.id)); in neo_alloc_fb_info()
1986 strscpy(info->fix.id, "Mag.Graph256XL+", sizeof(info->fix.id)); in neo_alloc_fb_info()
1993 info->fix.type = FB_TYPE_PACKED_PIXELS; in neo_alloc_fb_info()
1994 info->fix.type_aux = 0; in neo_alloc_fb_info()
1995 info->fix.xpanstep = 0; in neo_alloc_fb_info()
1996 info->fix.ypanstep = 4; in neo_alloc_fb_info()
1997 info->fix.ywrapstep = 0; in neo_alloc_fb_info()
1998 info->fix.accel = id->driver_data; in neo_alloc_fb_info()
2080 info->fix.smem_len >> 10, info->var.xres, in neofb_probe()
2091 fb_info(info, "%s frame buffer device\n", info->fix.id); in neofb_probe()