Lines Matching full:gamma
142 * 4+4 bits of negative and positive gamma correction
143 * Upper nybble, bits 4-7 are negative gamma
144 * Lower nybble, bits 0-3 are positive gamma
225 * gamma correction for voltages V1 thru V8. Valid range 0..15
227 * gamma correction for voltages V1 thru V8. Valid range 0..15
245 * The negative and postive gamma values adjust the V1 thru V8 up/down
278 u8 gamma[8]; member
392 /* Set up gamma correction */ in ili9322_init()
393 for (i = 0; i < ARRAY_SIZE(ili->gamma); i++) { in ili9322_init()
395 ili->gamma[i]); in ili9322_init()
398 "can't write gamma V%d to 0x%02x (%d)\n", in ili9322_init()
725 u8 gamma; in ili9322_probe() local
808 for (i = 0; i < ARRAY_SIZE(ili->gamma); i++) { in ili9322_probe()
811 dev_err(dev, "negative gamma %u > 15, capping\n", val); in ili9322_probe()
814 gamma = val << 4; in ili9322_probe()
817 dev_err(dev, "positive gamma %u > 15, capping\n", val); in ili9322_probe()
820 gamma |= val; in ili9322_probe()
821 ili->gamma[i] = gamma; in ili9322_probe()
822 dev_dbg(dev, "gamma V%d: 0x%02x\n", i + 1, gamma); in ili9322_probe()