Lines Matching defs:cmapp
1098 struct wsdisplay_cmap *cmapp;
1166 cmapp = (struct wsdisplay_cmap *)data;
1167 idx = cmapp->index;
1168 count = cmapp->count;
1171 if ((ret = copyout(&scr->scr_rcmap[idx], cmapp->red, count)))
1173 if ((ret = copyout(&scr->scr_gcmap[idx], cmapp->green, count)))
1175 if ((ret = copyout(&scr->scr_bcmap[idx], cmapp->blue, count)))
1192 cmapp = (struct wsdisplay_cmap *)data;
1193 idx = cmapp->index;
1194 count = cmapp->count;
1197 if ((ret = copyin(cmapp->red, &scr->scr_rcmap[idx], count)))
1199 if ((ret = copyin(cmapp->green, &scr->scr_gcmap[idx], count)))
1201 if ((ret = copyin(cmapp->blue, &scr->scr_bcmap[idx], count)))