Lines Matching refs:value1
392 int value1;
403 value1 = (state->brightness - 50) * 255 / 100;
406 value1 | (oldvalue & ~0xff));
409 value1 | (oldvalue & ~0xff));
419 value1 = state->contrast * 0x40 / 100;
420 if (value1 > 0x3f)
421 value1 = 0x3f; /* max */
424 value1 | (oldvalue & ~0x3f));
427 value1 | (oldvalue & ~0x3f));
437 value1 = state->saturation * 4140 / 100;
438 if (value1 > 4094)
439 value1 = 4094;
440 write_reg_fp(client, VPX322_ADDR_SAT, value1);
450 value1 = state->hue * 280 / 50;
451 write_reg_fp(client, VPX322_ADDR_HUE, value1);