Lines Matching +full:0 +full:x03c00000

58 #define CG14_MCR_INTENABLE_MASK		0x80
60 #define CG14_MCR_VIDENABLE_MASK 0x40
62 #define CG14_MCR_PIXMODE_MASK 0x30
64 #define CG14_MCR_TMR_MASK 0x0c
66 #define CG14_MCR_TMENABLE_MASK 0x02
67 #define CG14_MCR_RESET_SHIFT 0
68 #define CG14_MCR_RESET_MASK 0x01
70 #define CG14_REV_REVISION_MASK 0xf0
71 #define CG14_REV_IMPL_SHIFT 0
72 #define CG14_REV_IMPL_MASK 0x0f
74 #define CG14_VBR_FRAMEBASE_MASK 0x00fff000
75 #define CG14_VMCR1_SETUP_SHIFT 0
76 #define CG14_VMCR1_SETUP_MASK 0x000001ff
78 #define CG14_VMCR1_VCONFIG_MASK 0x00000e00
79 #define CG14_VMCR2_REFRESH_SHIFT 0
80 #define CG14_VMCR2_REFRESH_MASK 0x00000001
82 #define CG14_VMCR2_TESTROWCNT_MASK 0x00000002
84 #define CG14_VMCR2_FBCONFIG_MASK 0x0000000c
85 #define CG14_VCR_REFRESHREQ_SHIFT 0
86 #define CG14_VCR_REFRESHREQ_MASK 0x000003ff
88 #define CG14_VCR1_REFRESHENA_MASK 0x00000400
89 #define CG14_VCA_CAD_SHIFT 0
90 #define CG14_VCA_CAD_MASK 0x000003ff
92 #define CG14_VCA_VERS_MASK 0x00000c00
94 #define CG14_VCA_RAMSPEED_MASK 0x00001000
96 #define CG14_VCA_8MB_MASK 0x00002000
98 #define CG14_MCR_PIXMODE_8 0
129 u8 xxx1[0xce];
130 u8 pcg[0x100]; /* Pixel Clock Generator */
137 #define CG14_CCR_ENABLE 0x04
138 #define CG14_CCR_SELECT 0x02 /* HW/Full screen */
141 u32 cpl0[32]; /* Enable plane 0 */
149 u32 xxx1[0x1bc];
150 u32 cpl0i[32]; /* Enable plane 0 autoinc */
167 u8 xxx0[0x600];
198 #define CG14_FLAG_BLANKED 0x00000001
232 return 0; in cg14_pan_display()
237 * @regno: boolean, 0 copy local, 1 get_user() function
265 return 0; in cg14_setcolreg()
283 int cur_mode, mode, ret = 0; in cg14_ioctl()
293 memset(&kmdi, 0, sizeof(kmdi)); in cg14_ioctl()
373 .poff = 0x80000000,
374 .size = 0x1000
378 .poff = 0x80003000,
379 .size = 0x1000
383 .poff = 0x80004000,
384 .size = 0x1000
388 .poff = 0x80005000,
389 .size = 0x1000
393 .poff = 0x80006000,
394 .size = 0x1000
397 .voff = CG3_MMAP_OFFSET - 0x7000,
398 .poff = 0x80000000,
399 .size = 0x7000
403 .poff = 0x00000000,
408 .poff = 0x80001000,
409 .size = 0x1000
413 .poff = 0x01000000,
414 .size = 0x400000
418 .poff = 0x02000000,
419 .size = 0x200000
423 .poff = 0x02800000,
424 .size = 0x200000
428 .poff = 0x03000000,
429 .size = 0x100000
433 .poff = 0x03400000,
434 .size = 0x100000
438 .poff = 0x03800000,
439 .size = 0x100000
443 .poff = 0x03c00000,
444 .size = 0x100000
446 { .size = 0 }
453 of_iounmap(&op->resource[0], in cg14_unmap_regs()
456 of_iounmap(&op->resource[0], in cg14_unmap_regs()
459 of_iounmap(&op->resource[0], in cg14_unmap_regs()
493 info->fix.smem_start = op->resource[0].start; in cg14_probe()
494 par->iospace = op->resource[0].flags & IORESOURCE_BITS; in cg14_probe()
497 par->iospace = op->resource[0].flags & IORESOURCE_BITS; in cg14_probe()
500 par->regs = of_ioremap(&op->resource[0], 0, in cg14_probe()
502 par->clut = of_ioremap(&op->resource[0], CG14_CLUT1, in cg14_probe()
504 par->cursor = of_ioremap(&op->resource[0], CG14_CURSORREGS, in cg14_probe()
507 info->screen_base = of_ioremap(&op->resource[1], 0, in cg14_probe()
519 for (i = 0; i < CG14_MMAP_ENTRIES; i++) { in cg14_probe()
524 if (map->poff & 0x80000000) in cg14_probe()
525 map->poff = (map->poff & 0x7fffffff) + in cg14_probe()
526 (op->resource[0].start - in cg14_probe()
529 map->size >= 0x100000 && in cg14_probe()
530 map->size <= 0x400000) in cg14_probe()
535 par->ramsize = (is_8mb ? 0x800000 : 0x400000); in cg14_probe()
542 if (fb_alloc_cmap(&info->cmap, 256, 0)) in cg14_probe()
550 if (err < 0) in cg14_probe()
560 return 0; in cg14_probe()