Lines Matching +full:0 +full:x03400000
51 #define CG14_MCR_INTENABLE_MASK 0x80
53 #define CG14_MCR_VIDENABLE_MASK 0x40
55 #define CG14_MCR_PIXMODE_MASK 0x30
57 #define CG14_MCR_TMR_MASK 0x0c
59 #define CG14_MCR_TMENABLE_MASK 0x02
60 #define CG14_MCR_RESET_SHIFT 0
61 #define CG14_MCR_RESET_MASK 0x01
63 #define CG14_REV_REVISION_MASK 0xf0
64 #define CG14_REV_IMPL_SHIFT 0
65 #define CG14_REV_IMPL_MASK 0x0f
67 #define CG14_VBR_FRAMEBASE_MASK 0x00fff000
68 #define CG14_VMCR1_SETUP_SHIFT 0
69 #define CG14_VMCR1_SETUP_MASK 0x000001ff
71 #define CG14_VMCR1_VCONFIG_MASK 0x00000e00
72 #define CG14_VMCR2_REFRESH_SHIFT 0
73 #define CG14_VMCR2_REFRESH_MASK 0x00000001
75 #define CG14_VMCR2_TESTROWCNT_MASK 0x00000002
77 #define CG14_VMCR2_FBCONFIG_MASK 0x0000000c
78 #define CG14_VCR_REFRESHREQ_SHIFT 0
79 #define CG14_VCR_REFRESHREQ_MASK 0x000003ff
81 #define CG14_VCR1_REFRESHENA_MASK 0x00000400
82 #define CG14_VCA_CAD_SHIFT 0
83 #define CG14_VCA_CAD_MASK 0x000003ff
85 #define CG14_VCA_VERS_MASK 0x00000c00
87 #define CG14_VCA_RAMSPEED_MASK 0x00001000
89 #define CG14_VCA_8MB_MASK 0x00002000
91 #define CG14_MCR_PIXMODE_8 0
122 u8 xxx1[0xce];
123 u8 pcg[0x100]; /* Pixel Clock Generator */
130 #define CG14_CCR_ENABLE 0x04
131 #define CG14_CCR_SELECT 0x02 /* HW/Full screen */
134 u32 cpl0[32]; /* Enable plane 0 */
142 u32 xxx1[0x1bc];
143 u32 cpl0i[32]; /* Enable plane 0 autoinc */
160 u8 xxx0[0x600];
191 #define CG14_FLAG_BLANKED 0x00000001
225 return 0; in cg14_pan_display()
230 * @regno: boolean, 0 copy local, 1 get_user() function
258 return 0; in cg14_setcolreg()
276 int cur_mode, mode, ret = 0; in cg14_sbusfb_ioctl()
286 memset(&kmdi, 0, sizeof(kmdi)); in cg14_sbusfb_ioctl()
366 .poff = 0x80000000,
367 .size = 0x1000
371 .poff = 0x80003000,
372 .size = 0x1000
376 .poff = 0x80004000,
377 .size = 0x1000
381 .poff = 0x80005000,
382 .size = 0x1000
386 .poff = 0x80006000,
387 .size = 0x1000
390 .voff = CG3_MMAP_OFFSET - 0x7000,
391 .poff = 0x80000000,
392 .size = 0x7000
396 .poff = 0x00000000,
401 .poff = 0x80001000,
402 .size = 0x1000
406 .poff = 0x01000000,
407 .size = 0x400000
411 .poff = 0x02000000,
412 .size = 0x200000
416 .poff = 0x02800000,
417 .size = 0x200000
421 .poff = 0x03000000,
422 .size = 0x100000
426 .poff = 0x03400000,
427 .size = 0x100000
431 .poff = 0x03800000,
432 .size = 0x100000
436 .poff = 0x03c00000,
437 .size = 0x100000
439 { .size = 0 }
446 of_iounmap(&op->resource[0], in cg14_unmap_regs()
449 of_iounmap(&op->resource[0], in cg14_unmap_regs()
452 of_iounmap(&op->resource[0], in cg14_unmap_regs()
486 info->fix.smem_start = op->resource[0].start; in cg14_probe()
487 par->iospace = op->resource[0].flags & IORESOURCE_BITS; in cg14_probe()
490 par->iospace = op->resource[0].flags & IORESOURCE_BITS; in cg14_probe()
493 par->regs = of_ioremap(&op->resource[0], 0, in cg14_probe()
495 par->clut = of_ioremap(&op->resource[0], CG14_CLUT1, in cg14_probe()
497 par->cursor = of_ioremap(&op->resource[0], CG14_CURSORREGS, in cg14_probe()
500 info->screen_base = of_ioremap(&op->resource[1], 0, in cg14_probe()
512 for (i = 0; i < CG14_MMAP_ENTRIES; i++) { in cg14_probe()
517 if (map->poff & 0x80000000) in cg14_probe()
518 map->poff = (map->poff & 0x7fffffff) + in cg14_probe()
519 (op->resource[0].start - in cg14_probe()
522 map->size >= 0x100000 && in cg14_probe()
523 map->size <= 0x400000) in cg14_probe()
528 par->ramsize = (is_8mb ? 0x800000 : 0x400000); in cg14_probe()
535 if (fb_alloc_cmap(&info->cmap, 256, 0)) in cg14_probe()
543 if (err < 0) in cg14_probe()
553 return 0; in cg14_probe()