Searched refs:cmap_regs (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/drivers/video/fbdev/ |
D | imsttfb.c | 320 __u8 *cmap_regs; member 567 par->cmap_regs[PIDXHI] = 0; eieio(); in set_imstt_regvals_ibm() 568 par->cmap_regs[PIDXLO] = PIXM0; eieio(); in set_imstt_regvals_ibm() 569 par->cmap_regs[PIDXDATA] = init->pclk_m;eieio(); in set_imstt_regvals_ibm() 570 par->cmap_regs[PIDXLO] = PIXN0; eieio(); in set_imstt_regvals_ibm() 571 par->cmap_regs[PIDXDATA] = init->pclk_n;eieio(); in set_imstt_regvals_ibm() 572 par->cmap_regs[PIDXLO] = PIXP0; eieio(); in set_imstt_regvals_ibm() 573 par->cmap_regs[PIDXDATA] = init->pclk_p;eieio(); in set_imstt_regvals_ibm() 574 par->cmap_regs[PIDXLO] = PIXC0; eieio(); in set_imstt_regvals_ibm() 575 par->cmap_regs[PIDXDATA] = 0x02; eieio(); in set_imstt_regvals_ibm() [all …]
|
D | platinumfb.c | 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() [all …]
|
D | valkyriefb.c | 78 struct cmap_regs __iomem *cmap_regs; member 219 volatile struct cmap_regs __iomem *cmap_regs = p->cmap_regs; in valkyriefb_setcolreg() local 229 out_8(&p->cmap_regs->addr, regno); in valkyriefb_setcolreg() 232 out_8(&cmap_regs->lut, red); in valkyriefb_setcolreg() 233 out_8(&cmap_regs->lut, green); in valkyriefb_setcolreg() 234 out_8(&cmap_regs->lut, blue); in valkyriefb_setcolreg() 359 p->cmap_regs = ioremap(p->cmap_regs_phys, 0x1000); in valkyriefb_init() 363 if (p->frame_buffer == NULL || p->cmap_regs == NULL in valkyriefb_init() 390 if (p->cmap_regs) in valkyriefb_init() 391 iounmap(p->cmap_regs); in valkyriefb_init()
|
D | macfb.c | 259 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 …]
|
D | controlfb.c | 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() [all …]
|
D | valkyriefb.h | 48 struct cmap_regs { struct
|
D | controlfb.h | 19 struct cmap_regs { struct
|
D | platinumfb.h | 25 struct cmap_regs { struct
|