Lines Matching refs:cmap_regs
117 struct cmap_regs __iomem *cmap_regs; member
160 out_8(&p->cmap_regs->addr, regno); /* tell clut what addr to fill */ in controlfb_setcolreg()
161 out_8(&p->cmap_regs->lut, r); /* send one color channel at */ in controlfb_setcolreg()
162 out_8(&p->cmap_regs->lut, g); /* a time... */ in controlfb_setcolreg()
163 out_8(&p->cmap_regs->lut, b); in controlfb_setcolreg()
217 out_8(&p->cmap_regs->addr, (a)); \
218 out_8(&p->cmap_regs->dat, (d))
912 if (p->cmap_regs) in control_cleanup()
913 iounmap(p->cmap_regs); in control_cleanup()
982 p->cmap_regs = ioremap(p->cmap_regs_phys, 0x1000); in control_of_init()
984 if (!p->cmap_regs || !p->control_regs || !p->frame_buffer) in control_of_init()