Lines Matching defs:thc
259 struct cg6_thc __iomem *thc;
286 struct cg6_thc __iomem *thc = par->thc;
292 sbus_writel(CG6_THC_CURSOFF, &thc->thc_cursxy);
520 struct cg6_thc __iomem *thc = par->thc;
525 val = sbus_readl(&thc->thc_misc);
542 sbus_writel(val, &thc->thc_misc);
672 struct cg6_thc __iomem *thc = par->thc;
677 sbus_writel(CG6_THC_CURSOFF, &thc->thc_cursxy);
729 if (par->thc)
730 of_iounmap(&op->resource[0], par->thc, sizeof(struct cg6_thc));
778 par->thc = of_ioremap(&op->resource[0], CG6_THC_OFFSET,
779 sizeof(struct cg6_thc), "cgsix thc");
792 if (!par->fbc || !par->tec || !par->thc ||