Lines Matching +full:0 +full:x80004000

57 #define CG14_MCR_INTENABLE_MASK		0x80
59 #define CG14_MCR_VIDENABLE_MASK 0x40
61 #define CG14_MCR_PIXMODE_MASK 0x30
63 #define CG14_MCR_TMR_MASK 0x0c
65 #define CG14_MCR_TMENABLE_MASK 0x02
66 #define CG14_MCR_RESET_SHIFT 0
67 #define CG14_MCR_RESET_MASK 0x01
69 #define CG14_REV_REVISION_MASK 0xf0
70 #define CG14_REV_IMPL_SHIFT 0
71 #define CG14_REV_IMPL_MASK 0x0f
73 #define CG14_VBR_FRAMEBASE_MASK 0x00fff000
74 #define CG14_VMCR1_SETUP_SHIFT 0
75 #define CG14_VMCR1_SETUP_MASK 0x000001ff
77 #define CG14_VMCR1_VCONFIG_MASK 0x00000e00
78 #define CG14_VMCR2_REFRESH_SHIFT 0
79 #define CG14_VMCR2_REFRESH_MASK 0x00000001
81 #define CG14_VMCR2_TESTROWCNT_MASK 0x00000002
83 #define CG14_VMCR2_FBCONFIG_MASK 0x0000000c
84 #define CG14_VCR_REFRESHREQ_SHIFT 0
85 #define CG14_VCR_REFRESHREQ_MASK 0x000003ff
87 #define CG14_VCR1_REFRESHENA_MASK 0x00000400
88 #define CG14_VCA_CAD_SHIFT 0
89 #define CG14_VCA_CAD_MASK 0x000003ff
91 #define CG14_VCA_VERS_MASK 0x00000c00
93 #define CG14_VCA_RAMSPEED_MASK 0x00001000
95 #define CG14_VCA_8MB_MASK 0x00002000
97 #define CG14_MCR_PIXMODE_8 0
128 u8 xxx1[0xce];
129 u8 pcg[0x100]; /* Pixel Clock Generator */
136 #define CG14_CCR_ENABLE 0x04
137 #define CG14_CCR_SELECT 0x02 /* HW/Full screen */
140 u32 cpl0[32]; /* Enable plane 0 */
148 u32 xxx1[0x1bc];
149 u32 cpl0i[32]; /* Enable plane 0 autoinc */
166 u8 xxx0[0x600];
197 #define CG14_FLAG_BLANKED 0x00000001
231 return 0; in cg14_pan_display()
236 * @regno: boolean, 0 copy local, 1 get_user() function
264 return 0; in cg14_setcolreg()
282 int cur_mode, mode, ret = 0; in cg14_ioctl()
292 memset(&kmdi, 0, sizeof(kmdi)); in cg14_ioctl()
372 .poff = 0x80000000,
373 .size = 0x1000
377 .poff = 0x80003000,
378 .size = 0x1000
382 .poff = 0x80004000,
383 .size = 0x1000
387 .poff = 0x80005000,
388 .size = 0x1000
392 .poff = 0x80006000,
393 .size = 0x1000
396 .voff = CG3_MMAP_OFFSET - 0x7000,
397 .poff = 0x80000000,
398 .size = 0x7000
402 .poff = 0x00000000,
407 .poff = 0x80001000,
408 .size = 0x1000
412 .poff = 0x01000000,
413 .size = 0x400000
417 .poff = 0x02000000,
418 .size = 0x200000
422 .poff = 0x02800000,
423 .size = 0x200000
427 .poff = 0x03000000,
428 .size = 0x100000
432 .poff = 0x03400000,
433 .size = 0x100000
437 .poff = 0x03800000,
438 .size = 0x100000
442 .poff = 0x03c00000,
443 .size = 0x100000
445 { .size = 0 }
452 of_iounmap(&op->resource[0], in cg14_unmap_regs()
455 of_iounmap(&op->resource[0], in cg14_unmap_regs()
458 of_iounmap(&op->resource[0], in cg14_unmap_regs()
492 info->fix.smem_start = op->resource[0].start; in cg14_probe()
493 par->iospace = op->resource[0].flags & IORESOURCE_BITS; in cg14_probe()
496 par->iospace = op->resource[0].flags & IORESOURCE_BITS; in cg14_probe()
499 par->regs = of_ioremap(&op->resource[0], 0, in cg14_probe()
501 par->clut = of_ioremap(&op->resource[0], CG14_CLUT1, in cg14_probe()
503 par->cursor = of_ioremap(&op->resource[0], CG14_CURSORREGS, in cg14_probe()
506 info->screen_base = of_ioremap(&op->resource[1], 0, in cg14_probe()
518 for (i = 0; i < CG14_MMAP_ENTRIES; i++) { in cg14_probe()
523 if (map->poff & 0x80000000) in cg14_probe()
524 map->poff = (map->poff & 0x7fffffff) + in cg14_probe()
525 (op->resource[0].start - in cg14_probe()
528 map->size >= 0x100000 && in cg14_probe()
529 map->size <= 0x400000) in cg14_probe()
534 par->ramsize = (is_8mb ? 0x800000 : 0x400000); in cg14_probe()
541 if (fb_alloc_cmap(&info->cmap, 256, 0)) in cg14_probe()
549 if (err < 0) in cg14_probe()
559 return 0; in cg14_probe()
584 return 0; in cg14_remove()