Lines Matching +full:sync +full:- +full:on +full:- +full:green

2  *  linux/drivers/video/fm2fb.c -- BSC FrameMaster II/Rainbow II frame buffer
5 * Copyright (C) 1998 Steffen A. Mork (linux-dev@morknet.de)
32 * channel, GG the green channel and BB the blue channel.
35 * - PAL/NTSC
36 * - interlaced/non interlaced
37 * - composite sync/sync/sync over green
40 * - 768x576 (PAL)
41 * - 768x480 (NTSC)
67 * JP1 interlace selection (1-2 non interlaced/2-3 interlaced)
70 * JP4 modulate composite sync on green output (1-2 composite
71 * sync on green channel/2-3 normal composite sync)
74 * JP6 sync creation (1-2 composite sync/2-3 H-sync output)
75 * JP8 video mode (1-2 PAL/2-3 NTSC)
79 * JP1: 2-3
80 * JP4: 2-3
81 * JP6: 2-3
82 * JP8: 1-2 (means PAL for Europe)
86 * except the interlaced/non interlaced, sync control and the
95 * 2 analog green 0.7 Vss
97 * 4 H-sync TTL
98 * 5 V-sync TTL
112 * driver - he is at the limit!
139 static int fm2fb_mode = -1;
149 0, FB_ACTIVATE_NOW, -1, -1, FB_ACCEL_NONE,
152 /* 768 x 480, 32 bpp (NTSC - not supported yet */
155 0, FB_ACTIVATE_NOW, -1, -1, FB_ACCEL_NONE,
164 static int fm2fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
195 static int fm2fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in fm2fb_setcolreg() argument
200 green >>= 8; in fm2fb_setcolreg()
203 ((u32*)(info->pseudo_palette))[regno] = (red << 16) | in fm2fb_setcolreg()
204 (green << 8) | blue; in fm2fb_setcolreg()
236 is_fm = z->id == ZORRO_PROD_BSC_FRAMEMASTER_II; in fm2fb_probe()
239 return -ENXIO; in fm2fb_probe()
241 info = framebuffer_alloc(16 * sizeof(u32), &z->dev); in fm2fb_probe()
244 return -ENOMEM; in fm2fb_probe()
247 if (fb_alloc_cmap(&info->cmap, 256, 0) < 0) { in fm2fb_probe()
250 return -ENOMEM; in fm2fb_probe()
255 info->screen_base = ioremap(fb_fix.smem_start, FRAMEMASTER_SIZE); in fm2fb_probe()
257 fm2fb_reg = (unsigned char *)(info->screen_base+FRAMEMASTER_REG); in fm2fb_probe()
261 /* make EBU color bars on display */ in fm2fb_probe()
267 for (x = 0; x < 96; x++) *ptr++ = 0x00ff00;/* green */ in fm2fb_probe()
275 if (fm2fb_mode == -1) in fm2fb_probe()
278 info->fbops = &fm2fb_ops; in fm2fb_probe()
279 info->var = fb_var_modes[fm2fb_mode]; in fm2fb_probe()
280 info->pseudo_palette = info->par; in fm2fb_probe()
281 info->par = NULL; in fm2fb_probe()
282 info->fix = fb_fix; in fm2fb_probe()
283 info->flags = FBINFO_DEFAULT; in fm2fb_probe()
286 fb_dealloc_cmap(&info->cmap); in fm2fb_probe()
287 iounmap(info->screen_base); in fm2fb_probe()
290 return -EINVAL; in fm2fb_probe()
317 return -ENODEV; in fm2fb_init()