Lines Matching refs:value

65 #define REG_AECH		0x10	/* Exposure value, AEC[9:2] */
121 #define REG_YAVE 0x2f /* Y/G channel average value */
164 #define REG_MANU 0x67 /* Manual U value */
165 #define REG_MANV 0x68 /* Manual V value */
167 #define REG_MBD 0x6a /* Manual banding filter value */
189 #define REG_AECHM 0xa1 /* Exposure value - bits AEC[15:10] */
190 #define REG_BD50ST 0xa2 /* Banding filter value for 50Hz */
191 #define REG_BD60ST 0xa3 /* Banding filter value for 60Hz */
281 u8 value;
389 /* REG_TSLB value, only bits [3:2] may be set. */
458 ret = ov965x_write(ov965x, regs[i].addr, regs[i].value);
592 static int ov965x_set_banding_filter(struct ov965x *ov965x, int value)
600 if (value == V4L2_CID_POWER_LINE_FREQUENCY_DISABLED)
606 if (value == V4L2_CID_POWER_LINE_FREQUENCY_DISABLED)
611 if (value == V4L2_CID_POWER_LINE_FREQUENCY_50HZ)
678 * gain value in REG_VREF, REG_GAIN is not overwritten.
698 * Convert gain control value to the sensor's gain
705 /* Sanity check: don't adjust the gain with a negative value */
723 /* Return updated control's value to userspace */
730 static int ov965x_set_sharpness(struct ov965x *ov965x, unsigned int value)
741 com14 = value ? com14 | COM14_EDGE_EN : com14 & ~COM14_EDGE_EN;
742 value--;
743 if (value > 0x0f) {
745 value >>= 1;
754 edge |= ((u8)value & 0x0f);
783 * Manual exposure value
793 /* Update the value to minimize rounding errors */
843 static int ov965x_set_test_pattern(struct ov965x *ov965x, int value)
851 reg = value ? reg | COM23_TEST_MODE : reg & ~COM23_TEST_MODE;
921 v4l2_dbg(1, debug, sd, "s_ctrl: %s, value: %d. power: %d\n",
927 * value to the hardware, until it is ready to accept commands.
1316 * Banding filter (REG_MBD value) needs to match selected