Lines Matching defs:cmap
685 struct hwcmap256 cmap;
692 error = copyin(p->red, &cmap.r[index], count);
695 error = copyin(p->green, &cmap.g[index], count);
698 error = copyin(p->blue, &cmap.b[index], count);
702 memcpy(&sc->sc_cmap.r[index], &cmap.r[index], count);
703 memcpy(&sc->sc_cmap.g[index], &cmap.g[index], count);
704 memcpy(&sc->sc_cmap.b[index], &cmap.b[index], count);
720 index = p->cmap.index;
721 count = p->cmap.count;
724 error = copyin(p->cmap.red, &r[index], count);
727 error = copyin(p->cmap.green, &g[index], count);
730 error = copyin(p->cmap.blue, &b[index], count);