Home
last modified time | relevance | path

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

/drivers/video/fbdev/
Dimsttfb.c319 __u8 *cmap_regs; member
566 par->cmap_regs[PIDXHI] = 0; eieio(); in set_imstt_regvals_ibm()
567 par->cmap_regs[PIDXLO] = PIXM0; eieio(); in set_imstt_regvals_ibm()
568 par->cmap_regs[PIDXDATA] = init->pclk_m;eieio(); in set_imstt_regvals_ibm()
569 par->cmap_regs[PIDXLO] = PIXN0; eieio(); in set_imstt_regvals_ibm()
570 par->cmap_regs[PIDXDATA] = init->pclk_n;eieio(); in set_imstt_regvals_ibm()
571 par->cmap_regs[PIDXLO] = PIXP0; eieio(); in set_imstt_regvals_ibm()
572 par->cmap_regs[PIDXDATA] = init->pclk_p;eieio(); in set_imstt_regvals_ibm()
573 par->cmap_regs[PIDXLO] = PIXC0; eieio(); in set_imstt_regvals_ibm()
574 par->cmap_regs[PIDXDATA] = 0x02; eieio(); in set_imstt_regvals_ibm()
[all …]
Dplatinumfb.c56 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()
[all …]
Dmacfb.c259 struct mdc_cmap_regs *cmap_regs = slot_addr; in mdc_setpalette() local
265 nubus_writeb(regno, &cmap_regs->addr); in mdc_setpalette()
267 nubus_writeb(red, &cmap_regs->lut); in mdc_setpalette()
269 nubus_writeb(green, &cmap_regs->lut); in mdc_setpalette()
271 nubus_writeb(blue, &cmap_regs->lut); in mdc_setpalette()
282 struct toby_cmap_regs *cmap_regs = slot_addr; in toby_setpalette() local
293 nubus_writeb(regno, &cmap_regs->addr); in toby_setpalette()
295 nubus_writeb(red, &cmap_regs->lut); in toby_setpalette()
297 nubus_writeb(green, &cmap_regs->lut); in toby_setpalette()
299 nubus_writeb(blue, &cmap_regs->lut); in toby_setpalette()
[all …]
Dvalkyriefb.c79 struct cmap_regs __iomem *cmap_regs; member
224 volatile struct cmap_regs __iomem *cmap_regs = p->cmap_regs; in valkyriefb_setcolreg() local
234 out_8(&p->cmap_regs->addr, regno); in valkyriefb_setcolreg()
237 out_8(&cmap_regs->lut, red); in valkyriefb_setcolreg()
238 out_8(&cmap_regs->lut, green); in valkyriefb_setcolreg()
239 out_8(&cmap_regs->lut, blue); in valkyriefb_setcolreg()
364 p->cmap_regs = ioremap(p->cmap_regs_phys, 0x1000); in valkyriefb_init()
368 if (p->frame_buffer == NULL || p->cmap_regs == NULL in valkyriefb_init()
395 if (p->cmap_regs) in valkyriefb_init()
396 iounmap(p->cmap_regs); in valkyriefb_init()
Dcontrolfb.c127 struct cmap_regs __iomem *cmap_regs; member
170 out_8(&p->cmap_regs->addr, regno); /* tell clut what addr to fill */ in controlfb_setcolreg()
171 out_8(&p->cmap_regs->lut, r); /* send one color channel at */ in controlfb_setcolreg()
172 out_8(&p->cmap_regs->lut, g); /* a time... */ in controlfb_setcolreg()
173 out_8(&p->cmap_regs->lut, b); in controlfb_setcolreg()
227 out_8(&p->cmap_regs->addr, (a)); \
228 out_8(&p->cmap_regs->dat, (d))
922 if (p->cmap_regs) in control_cleanup()
923 iounmap(p->cmap_regs); in control_cleanup()
992 p->cmap_regs = ioremap(p->cmap_regs_phys, 0x1000); in control_of_init()
[all …]
Dvalkyriefb.h48 struct cmap_regs { struct
Dcontrolfb.h19 struct cmap_regs { struct
Dplatinumfb.h25 struct cmap_regs { struct