Searched refs:cmap_regs (Results 1 – 8 of 8) sorted by relevance
/linux-6.3-rc2/drivers/video/fbdev/ |
A D | imsttfb.c | 320 __u8 *cmap_regs; member 567 par->cmap_regs[PIDXHI] = 0; eieio(); in set_imstt_regvals_ibm() 892 par->cmap_regs[PADDRW] = regno << 3; in imsttfb_setcolreg() 894 par->cmap_regs[PADDRW] = regno; in imsttfb_setcolreg() 957 par->cmap_regs[PIDXDATA] = 0xc0; in imsttfb_blank() 1152 par->cmap_regs[TVPCDATA] = fgc; 1311 idx[1] = par->cmap_regs[PIDXDATA]; in imsttfb_ioctl() 1373 par->cmap_regs[PPMASK] = 0xff; in init_imstt() 1375 par->cmap_regs[PIDXHI] = 0; in init_imstt() 1529 if (!par->cmap_regs) in imsttfb_probe() [all …]
|
A 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 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() 248 if (in_8(&cmap_regs->d2) == 2) { in set_platinum_clock() 268 volatile struct cmap_regs __iomem *cmap_regs = pinfo->cmap_regs; in platinum_set_hardware() local 632 iounmap(pinfo->cmap_regs); in platinumfb_probe() [all …]
|
A 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()
|
A D | macfb.c | 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() 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() 317 nubus_writeb(red, &cmap_regs->lut); in jet_setpalette() 319 nubus_writeb(green, &cmap_regs->lut); in jet_setpalette() [all …]
|
A 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 …]
|
A D | valkyriefb.h | 48 struct cmap_regs { struct
|
A D | controlfb.h | 19 struct cmap_regs { struct
|
A D | platinumfb.h | 25 struct cmap_regs { struct
|
Completed in 19 milliseconds