Home
last modified time | relevance | path

Searched refs:cmap_regs (Results 1 – 8 of 8) sorted by relevance

/linux-3.4.99/drivers/video/
Dimsttfb.c321 __u8 *cmap_regs; member
569 par->cmap_regs[PIDXHI] = 0; eieio(); in set_imstt_regvals_ibm()
570 par->cmap_regs[PIDXLO] = PIXM0; eieio(); in set_imstt_regvals_ibm()
571 par->cmap_regs[PIDXDATA] = init->pclk_m;eieio(); in set_imstt_regvals_ibm()
572 par->cmap_regs[PIDXLO] = PIXN0; eieio(); in set_imstt_regvals_ibm()
573 par->cmap_regs[PIDXDATA] = init->pclk_n;eieio(); in set_imstt_regvals_ibm()
574 par->cmap_regs[PIDXLO] = PIXP0; eieio(); in set_imstt_regvals_ibm()
575 par->cmap_regs[PIDXDATA] = init->pclk_p;eieio(); in set_imstt_regvals_ibm()
576 par->cmap_regs[PIDXLO] = PIXC0; eieio(); in set_imstt_regvals_ibm()
577 par->cmap_regs[PIDXDATA] = 0x02; eieio(); in set_imstt_regvals_ibm()
[all …]
Dplatinumfb.c58 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()
[all …]
Dvalkyriefb.c89 struct cmap_regs __iomem *cmap_regs; member
231 volatile struct cmap_regs __iomem *cmap_regs = p->cmap_regs; in valkyriefb_setcolreg() local
241 out_8(&p->cmap_regs->addr, regno); in valkyriefb_setcolreg()
244 out_8(&cmap_regs->lut, red); in valkyriefb_setcolreg()
245 out_8(&cmap_regs->lut, green); in valkyriefb_setcolreg()
246 out_8(&cmap_regs->lut, blue); in valkyriefb_setcolreg()
372 p->cmap_regs = ioremap(p->cmap_regs_phys, 0x1000); in valkyriefb_init()
376 if (p->frame_buffer == NULL || p->cmap_regs == NULL in valkyriefb_init()
403 if (p->cmap_regs) in valkyriefb_init()
404 iounmap(p->cmap_regs); in valkyriefb_init()
Dmacfb.c273 struct mdc_cmap_regs *cmap_regs = slot_addr; in mdc_setpalette() local
279 nubus_writeb(regno, &cmap_regs->addr); in mdc_setpalette()
281 nubus_writeb(red, &cmap_regs->lut); in mdc_setpalette()
283 nubus_writeb(green, &cmap_regs->lut); in mdc_setpalette()
285 nubus_writeb(blue, &cmap_regs->lut); in mdc_setpalette()
296 struct toby_cmap_regs *cmap_regs = slot_addr; in toby_setpalette() local
307 nubus_writeb(regno, &cmap_regs->addr); in toby_setpalette()
309 nubus_writeb(red, &cmap_regs->lut); in toby_setpalette()
311 nubus_writeb(green, &cmap_regs->lut); in toby_setpalette()
313 nubus_writeb(blue, &cmap_regs->lut); in toby_setpalette()
[all …]
Dcontrolfb.c101 struct cmap_regs __iomem *cmap_regs; member
365 out_8(&p->cmap_regs->addr, regno); /* tell clut what addr to fill */ in controlfb_setcolreg()
366 out_8(&p->cmap_regs->lut, r); /* send one color channel at */ in controlfb_setcolreg()
367 out_8(&p->cmap_regs->lut, g); /* a time... */ in controlfb_setcolreg()
368 out_8(&p->cmap_regs->lut, b); in controlfb_setcolreg()
491 out_8(&p->cmap_regs->addr, (a)); \
492 out_8(&p->cmap_regs->dat, (d))
740 p->cmap_regs = ioremap(p->cmap_regs_phys, 0x1000); in control_of_init()
742 if (!p->cmap_regs || !p->control_regs || !p->frame_buffer) in control_of_init()
1076 if (p->cmap_regs) in control_cleanup()
[all …]
Dvalkyriefb.h52 struct cmap_regs { struct
Dcontrolfb.h23 struct cmap_regs { struct
Dplatinumfb.h25 struct cmap_regs { struct