Lines Matching defs:cmap
202 panic("cgtwo: vme_map cmap");
299 cgtwogetcmap(struct cgtwo_softc *sc, struct fbcmap *cmap)
306 start = cmap->index;
307 count = cmap->count;
326 if ((error = copyout(red + start, cmap->red, count)) != 0)
328 if ((error = copyout(green + start, cmap->green, count)) != 0)
330 if ((error = copyout(blue + start, cmap->blue, count)) != 0)
339 cgtwoputcmap(struct cgtwo_softc *sc, struct fbcmap *cmap)
347 start = cmap->index;
348 count = cmap->count;
354 if ((error = copyin(cmap->red, red + start, count)) != 0)
356 if ((error = copyin(cmap->green, green + start, count)) != 0)
358 if ((error = copyin(cmap->blue, blue + start, count)) != 0)