Lines Matching refs:cmapp
1133 struct wsdisplay_cmap *cmapp; in sti_ioctl() local
1204 cmapp = (struct wsdisplay_cmap *)data; in sti_ioctl()
1205 idx = cmapp->index; in sti_ioctl()
1206 count = cmapp->count; in sti_ioctl()
1209 if ((ret = copyout(&scr->scr_rcmap[idx], cmapp->red, count))) in sti_ioctl()
1211 if ((ret = copyout(&scr->scr_gcmap[idx], cmapp->green, count))) in sti_ioctl()
1213 if ((ret = copyout(&scr->scr_bcmap[idx], cmapp->blue, count))) in sti_ioctl()
1220 cmapp = (struct wsdisplay_cmap *)data; in sti_ioctl()
1221 idx = cmapp->index; in sti_ioctl()
1222 count = cmapp->count; in sti_ioctl()
1225 if ((ret = copyin(cmapp->red, &scr->scr_rcmap[idx], count))) in sti_ioctl()
1227 if ((ret = copyin(cmapp->green, &scr->scr_gcmap[idx], count))) in sti_ioctl()
1229 if ((ret = copyin(cmapp->blue, &scr->scr_bcmap[idx], count))) in sti_ioctl()