Lines Matching defs:cmapp
1086 struct wsdisplay_cmap *cmapp;
1154 cmapp = (struct wsdisplay_cmap *)data;
1155 idx = cmapp->index;
1156 count = cmapp->count;
1159 if ((ret = copyout(&scr->scr_rcmap[idx], cmapp->red, count)))
1161 if ((ret = copyout(&scr->scr_gcmap[idx], cmapp->green, count)))
1163 if ((ret = copyout(&scr->scr_bcmap[idx], cmapp->blue, count)))
1180 cmapp = (struct wsdisplay_cmap *)data;
1181 idx = cmapp->index;
1182 count = cmapp->count;
1185 if ((ret = copyin(cmapp->red, &scr->scr_rcmap[idx], count)))
1187 if ((ret = copyin(cmapp->green, &scr->scr_gcmap[idx], count)))
1189 if ((ret = copyin(cmapp->blue, &scr->scr_bcmap[idx], count)))