Lines Matching +full:0 +full:x1200
35 #define PCI_VENDOR_ID_ST 0x104a
36 #define PCI_DEVICE_ID_STG4000 0x0010
55 .red = { 11, 5, 0 },
56 .green = { 5, 6, 0 },
57 .blue = { 0, 5, 0 },
83 static int nopan = 0;
85 static int nomtrr = 0;
111 0, FB_VMODE_NONINTERLACED
116 0, FB_VMODE_NONINTERLACED
121 0, FB_VMODE_NONINTERLACED
126 0, FB_VMODE_NONINTERLACED
156 0, FB_VMODE_NONINTERLACED
161 0, FB_VMODE_NONINTERLACED
203 /* 1600x1200 @ 60Hz */
208 /* 1600x1200 @ 65Hz */
213 /* 1600x1200 @ 70Hz */
218 /* 1600x1200 @ 75Hz */
223 /* 1600x1200 @ 85Hz */
315 par->HSP, par->VSP, &par->PIXCLK) < 0) in kyro_dev_video_mode_set()
328 deviceInfo.ulOverlayOffset = 0; in kyro_dev_video_mode_set()
330 return 0; in kyro_dev_video_mode_set()
339 if (deviceInfo.ulOverlayOffset != 0) in kyro_dev_overlay_create()
352 if ((offset & 0x1f) != 0) { in kyro_dev_overlay_create()
353 offset = (offset + 32L) & 0xffffffE0L; in kyro_dev_overlay_create()
357 bLinear, offset, &stride, &uvStride) < 0) in kyro_dev_overlay_create()
365 SetOverlayBlendMode(deviceInfo.pSTGReg, GLOBAL_ALPHA, 0xf, 0x0); in kyro_dev_overlay_create()
367 return 0; in kyro_dev_overlay_create()
372 if (deviceInfo.ulOverlayOffset == 0) in kyro_dev_overlay_viewport_set()
376 if (ulWidth == 0 || ulWidth == 0xffffffff || in kyro_dev_overlay_viewport_set()
377 ulHeight == 0 || ulHeight == 0xffffffff || in kyro_dev_overlay_viewport_set()
378 (x < 2 && ulWidth + 2 == 0)) in kyro_dev_overlay_viewport_set()
391 return 0; in kyro_dev_overlay_viewport_set()
423 var->blue.offset = 0; in kyrofb_check_var()
460 return 0; in kyrofb_check_var()
475 return 0; in kyrofb_check_var()
525 par->HSP = (info->var.sync & FB_SYNC_HOR_HIGH_ACT) ? 1 : 0; in kyrofb_set_par()
526 par->VSP = (info->var.sync & FB_SYNC_VERT_HIGH_ACT) ? 1 : 0; in kyrofb_set_par()
534 return 0; in kyrofb_set_par()
549 (red & 0xf800) | in kyrofb_setcolreg()
550 ((green & 0xfc00) >> 5) | in kyrofb_setcolreg()
551 ((blue & 0xf800) >> 11); in kyrofb_setcolreg()
561 return 0; in kyrofb_setcolreg()
570 return 0; in kyrofb_setup()
575 if (strcmp(this_opt, "nopan") == 0) { in kyrofb_setup()
577 } else if (strcmp(this_opt, "nowrap") == 0) { in kyrofb_setup()
579 } else if (strcmp(this_opt, "nomtrr") == 0) { in kyrofb_setup()
586 return 0; in kyrofb_setup()
603 ol_create.ulHeight, 0) < 0) { in kyrofb_ioctl()
617 ol_viewport_set.ySize) != 0) in kyrofb_ioctl()
644 return 0; in kyrofb_ioctl()
649 PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
650 { 0, }
693 kyro_fix.smem_start = pci_resource_start(pdev, 0); in kyrofb_probe()
694 kyro_fix.smem_len = pci_resource_len(pdev, 0); in kyrofb_probe()
703 info->screen_base = pci_ioremap_wc_bar(pdev, 0); in kyrofb_probe()
711 kyro_fix.ypanstep = nopan ? 0 : 1; in kyrofb_probe()
712 kyro_fix.ywrapstep = nowrap ? 0 : 1; in kyrofb_probe()
720 deviceInfo.ulNextFreeVidMem = 0; in kyrofb_probe()
721 deviceInfo.ulOverlayOffset = 0; in kyrofb_probe()
728 fb_alloc_cmap(&info->cmap, 256, 0); in kyrofb_probe()
737 fb_memset_io(info->screen_base, 0, size); in kyrofb_probe()
739 if (register_framebuffer(info) < 0) in kyrofb_probe()
749 return 0; in kyrofb_probe()
773 deviceInfo.ulNextFreeVidMem = 0; in kyrofb_remove()
774 deviceInfo.ulOverlayOffset = 0; in kyrofb_remove()