Lines Matching full:gamma
143 * 4+4 bits of negative and positive gamma correction
144 * Upper nybble, bits 4-7 are negative gamma
145 * Lower nybble, bits 0-3 are positive gamma
226 * gamma correction for voltages V1 thru V8. Valid range 0..15
228 * gamma correction for voltages V1 thru V8. Valid range 0..15
246 * The negative and postive gamma values adjust the V1 thru V8 up/down
279 u8 gamma[8]; member
393 /* Set up gamma correction */ in ili9322_init()
394 for (i = 0; i < ARRAY_SIZE(ili->gamma); i++) { in ili9322_init()
396 ili->gamma[i]); in ili9322_init()
399 "can't write gamma V%d to 0x%02x (%d)\n", in ili9322_init()
726 u8 gamma; in ili9322_probe() local
809 for (i = 0; i < ARRAY_SIZE(ili->gamma); i++) { in ili9322_probe()
812 dev_err(dev, "negative gamma %u > 15, capping\n", val); in ili9322_probe()
815 gamma = val << 4; in ili9322_probe()
818 dev_err(dev, "positive gamma %u > 15, capping\n", val); in ili9322_probe()
821 gamma |= val; in ili9322_probe()
822 ili->gamma[i] = gamma; in ili9322_probe()
823 dev_dbg(dev, "gamma V%d: 0x%02x\n", i + 1, gamma); in ili9322_probe()