Home | History | Annotate | Download | only in dev

Lines Matching defs:contrast

84  * LCD contrast in 680 is controlled by pins 6..3 of HD64461 GPIO
89 * The contrast value is programmed by setting bits in the data
106 * LCD contrast in 620lx is controlled by pins 7,6,3,4,5 of HD64461
111 * The contrast value is programmed by setting bits in the data
200 * Contrast and power are controlled by HD64461 GPIO port B.
214 * 620LX and 680 have different contrast control.
249 aprint_normal(": brightness %d, contrast %d\n",
264 /* LCD contrast hooks */
288 * Get raw contrast value programmed in GPIO port B control register.
289 * Used only at attach time to get initial contrast.
294 int contrast;
297 contrast = 0;
303 contrast |= (1 << bit);
306 return contrast;
311 * Set contrast by programming GPIO port B control register.
315 j6x0lcd_contrast_set(struct j6x0lcd_softc *sc, int contrast)
319 sc->sc_contrast = contrast;
324 bcr |= sc->sc_contrast_control_bits[contrast];