Lines Matching defs: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];
392 /* Set up gamma correction */
393 for (i = 0; i < ARRAY_SIZE(ili->gamma); i++) {
395 ili->gamma[i]);
398 "can't write gamma V%d to 0x%02x (%d)\n",
725 u8 gamma;
808 for (i = 0; i < ARRAY_SIZE(ili->gamma); i++) {
811 dev_err(dev, "negative gamma %u > 15, capping\n", val);
814 gamma = val << 4;
817 dev_err(dev, "positive gamma %u > 15, capping\n", val);
820 gamma |= val;
821 ili->gamma[i] = gamma;
822 dev_dbg(dev, "gamma V%d: 0x%02x\n", i + 1, gamma);