Lines Matching refs:cmap_regs
56 volatile struct cmap_regs __iomem *cmap_regs; member
184 volatile struct cmap_regs __iomem *cmap_regs = pinfo->cmap_regs; in platinumfb_setcolreg() local
197 out_8(&cmap_regs->addr, regno); /* tell clut what addr to fill */ in platinumfb_setcolreg()
198 out_8(&cmap_regs->lut, red); /* send one color channel at */ in platinumfb_setcolreg()
199 out_8(&cmap_regs->lut, green); /* a time... */ in platinumfb_setcolreg()
200 out_8(&cmap_regs->lut, blue); in platinumfb_setcolreg()
232 out_8(&cmap_regs->addr, (a+32)); \
233 out_8(&cmap_regs->d2, (d)); \
238 volatile struct cmap_regs __iomem *cmap_regs = pinfo->cmap_regs; in set_platinum_clock() local
244 out_8(&cmap_regs->addr,3+32); in set_platinum_clock()
246 if (in_8(&cmap_regs->d2) == 2) { in set_platinum_clock()
266 volatile struct cmap_regs __iomem *cmap_regs = pinfo->cmap_regs; in platinum_set_hardware() local
578 pinfo->cmap_regs = ioremap(pinfo->cmap_regs_phys, 0x1000); in platinumfb_probe()
607 out_8(&pinfo->cmap_regs->addr, 0x40); in platinumfb_probe()
608 pinfo->dactype = in_8(&pinfo->cmap_regs->d2); in platinumfb_probe()
629 iounmap(pinfo->cmap_regs); in platinumfb_probe()
646 iounmap(pinfo->cmap_regs); in platinumfb_remove()