Lines Matching defs:cmap
295 struct fbcmap *cmap = data;
302 start = cmap->index;
303 count = cmap->count;
322 if ((error = copyout(red + start, cmap->red, count)) != 0)
324 if ((error = copyout(green + start, cmap->green, count)) != 0)
326 if ((error = copyout(blue + start, cmap->blue, count)) != 0)
336 struct fbcmap *cmap = data;
344 start = cmap->index;
345 count = cmap->count;
351 if ((error = copyin(cmap->red, red + start, count)) != 0)
353 if ((error = copyin(cmap->green, green + start, count)) != 0)
355 if ((error = copyin(cmap->blue, blue + start, count)) != 0)