Lines Matching refs:rcm
415 vigra_getcmap(union vigracmap *cm, struct wsdisplay_cmap *rcm, int g300)
417 u_int index = rcm->index, count = rcm->count, i;
426 &rcm->red[i], 1)) != 0)
429 &rcm->blue[i], 1)) != 0)
435 &rcm->red[i], 1)) != 0)
438 &rcm->blue[i], 1)) != 0)
445 &rcm->green[i], 1)) != 0)
452 vigra_putcmap(union vigracmap *cm, struct wsdisplay_cmap *rcm, int g300)
454 u_int index = rcm->index, count = rcm->count, i;
462 if ((error = copyin(&rcm->red[i],
465 if ((error = copyin(&rcm->blue[i],
471 if ((error = copyin(&rcm->red[i],
474 if ((error = copyin(&rcm->blue[i],
481 if ((error = copyin(&rcm->green[i],