Lines Matching refs:cg6
235 register struct cg6_fbc *fbc = fb->s.cg6.fbc; in cg6_clear()
276 register struct cg6_fbc *fbc = fb->s.cg6.fbc; in cg6_fill()
306 register struct cg6_fbc *fbc = fb->s.cg6.fbc; in cg6_putc()
363 register struct cg6_fbc *fbc = fb->s.cg6.fbc; in cg6_putcs()
493 struct bt_regs *bt = fb->s.cg6.bt; in cg6_loadcmap()
512 struct bt_regs *bt = fb->s.cg6.bt; in cg6_restore_palette()
535 struct bt_regs *bt = fb->s.cg6.bt; in cg6_setcursormap()
553 struct cg6_thc *thc = fb->s.cg6.thc; in cg6_setcurshape()
581 sbus_writel(v, &fb->s.cg6.thc->thc_cursxy); in cg6_setcursor()
591 tmp = sbus_readl(&fb->s.cg6.thc->thc_misc); in cg6_blank()
593 sbus_writel(tmp, &fb->s.cg6.thc->thc_misc); in cg6_blank()
603 tmp = sbus_readl(&fb->s.cg6.thc->thc_misc); in cg6_unblank()
605 sbus_writel(tmp, &fb->s.cg6.thc->thc_misc); in cg6_unblank()
612 struct cg6_tec *tec = fb->s.cg6.tec; in cg6_reset()
613 struct cg6_fbc *fbc = fb->s.cg6.fbc; in cg6_reset()
626 rev = (sbus_readl(fb->s.cg6.fhc) >> CG6_FHC_REV_SHIFT) & CG6_FHC_REV_MASK; in cg6_reset()
628 conf = (sbus_readl(fb->s.cg6.fhc) & CG6_FHC_RES_MASK) | in cg6_reset()
634 sbus_writel(conf, fb->s.cg6.fhc); in cg6_reset()
663 sbus_writel(0x06 << 24, &fb->s.cg6.bt->addr); in cg6_reset()
664 tmp = sbus_readl(&fb->s.cg6.bt->control); in cg6_reset()
666 sbus_writel(tmp, &fb->s.cg6.bt->control); in cg6_reset()
680 register struct cg6_fbc *fbc = fb->s.cg6.fbc; in cg6_rasterimg()
730 fb->s.cg6.fbc = (struct cg6_fbc *) in cgsixfb_init()
733 fb->s.cg6.tec = (struct cg6_tec *) in cgsixfb_init()
736 fb->s.cg6.thc = (struct cg6_thc *) in cgsixfb_init()
739 fb->s.cg6.bt = bt = (struct bt_regs *) in cgsixfb_init()
742 fb->s.cg6.fhc = (u32 *) in cgsixfb_init()
751 fb->s.cg6.fbc, in cgsixfb_init()
752 fb->s.cg6.tec, in cgsixfb_init()
753 fb->s.cg6.thc, in cgsixfb_init()
754 fb->s.cg6.bt, in cgsixfb_init()
755 fb->s.cg6.fhc); in cgsixfb_init()
784 conf = sbus_readl(fb->s.cg6.fhc); in cgsixfb_init()
812 ((sbus_readl(&fb->s.cg6.thc->thc_misc) >> CG6_THC_MISC_REV_SHIFT) & in cgsixfb_init()