Lines Matching defs:wdp
475 struct wsdisplay_param *wdp;
507 wdp = (struct wsdisplay_param *)data;
508 if (wdp->param != WSDISPLAYIO_PARAM_CONTRAST)
510 wdp->min = 0;
511 wdp->max = 0xff;
512 wdp->curval = sc->sc_contrast;
515 wdp = (struct wsdisplay_param *)data;
516 if (wdp->param != WSDISPLAYIO_PARAM_CONTRAST)
518 if (wdp->curval < 0 || wdp->curval > 0xff)
520 return ssdfb_set_contrast(sc, wdp->curval, sc->sc_usepoll);