Lines Matching refs:thc
259 struct cg6_thc __iomem *thc; member
286 struct cg6_thc __iomem *thc = par->thc; in cg6_switch_from_graph() local
292 sbus_writel(CG6_THC_CURSOFF, &thc->thc_cursxy); in cg6_switch_from_graph()
520 struct cg6_thc __iomem *thc = par->thc; in cg6_blank() local
525 val = sbus_readl(&thc->thc_misc); in cg6_blank()
542 sbus_writel(val, &thc->thc_misc); in cg6_blank()
672 struct cg6_thc __iomem *thc = par->thc; in cg6_chip_init() local
677 sbus_writel(CG6_THC_CURSOFF, &thc->thc_cursxy); in cg6_chip_init()
729 if (par->thc) in cg6_unmap_regs()
730 of_iounmap(&op->resource[0], par->thc, sizeof(struct cg6_thc)); in cg6_unmap_regs()
778 par->thc = of_ioremap(&op->resource[0], CG6_THC_OFFSET, in cg6_probe()
792 if (!par->fbc || !par->tec || !par->thc || in cg6_probe()