Lines Matching refs:cmap_regs
56 volatile struct cmap_regs __iomem *cmap_regs; member
186 volatile struct cmap_regs __iomem *cmap_regs = pinfo->cmap_regs; in platinumfb_setcolreg() local
199 out_8(&cmap_regs->addr, regno); /* tell clut what addr to fill */ in platinumfb_setcolreg()
200 out_8(&cmap_regs->lut, red); /* send one color channel at */ in platinumfb_setcolreg()
201 out_8(&cmap_regs->lut, green); /* a time... */ in platinumfb_setcolreg()
202 out_8(&cmap_regs->lut, blue); in platinumfb_setcolreg()
234 out_8(&cmap_regs->addr, (a+32)); \
235 out_8(&cmap_regs->d2, (d)); \
240 volatile struct cmap_regs __iomem *cmap_regs = pinfo->cmap_regs; in set_platinum_clock() local
246 out_8(&cmap_regs->addr,3+32); in set_platinum_clock()
248 if (in_8(&cmap_regs->d2) == 2) { in set_platinum_clock()
268 volatile struct cmap_regs __iomem *cmap_regs = pinfo->cmap_regs; in platinum_set_hardware() local
581 pinfo->cmap_regs = ioremap(pinfo->cmap_regs_phys, 0x1000); in platinumfb_probe()
610 out_8(&pinfo->cmap_regs->addr, 0x40); in platinumfb_probe()
611 pinfo->dactype = in_8(&pinfo->cmap_regs->d2); in platinumfb_probe()
632 iounmap(pinfo->cmap_regs); in platinumfb_probe()
649 iounmap(pinfo->cmap_regs); in platinumfb_remove()