Lines Matching refs:cmap_regs
58 volatile struct cmap_regs __iomem *cmap_regs; member
188 volatile struct cmap_regs __iomem *cmap_regs = pinfo->cmap_regs; in platinumfb_setcolreg() local
201 out_8(&cmap_regs->addr, regno); /* tell clut what addr to fill */ in platinumfb_setcolreg()
202 out_8(&cmap_regs->lut, red); /* send one color channel at */ in platinumfb_setcolreg()
203 out_8(&cmap_regs->lut, green); /* a time... */ in platinumfb_setcolreg()
204 out_8(&cmap_regs->lut, blue); in platinumfb_setcolreg()
236 out_8(&cmap_regs->addr, (a+32)); \
237 out_8(&cmap_regs->d2, (d)); \
242 volatile struct cmap_regs __iomem *cmap_regs = pinfo->cmap_regs; in set_platinum_clock() local
248 out_8(&cmap_regs->addr,3+32); in set_platinum_clock()
250 if (in_8(&cmap_regs->d2) == 2) { in set_platinum_clock()
270 volatile struct cmap_regs __iomem *cmap_regs = pinfo->cmap_regs; in platinum_set_hardware() local
589 pinfo->cmap_regs = ioremap(pinfo->cmap_regs_phys, 0x1000); in platinumfb_probe()
618 out_8(&pinfo->cmap_regs->addr, 0x40); in platinumfb_probe()
619 pinfo->dactype = in_8(&pinfo->cmap_regs->d2); in platinumfb_probe()
640 iounmap(pinfo->cmap_regs); in platinumfb_probe()
658 iounmap(pinfo->cmap_regs); in platinumfb_remove()