Lines Matching refs:value

67 #define REG_AECH		0x10	/* Exposure value, AEC[9:2] */
123 #define REG_YAVE 0x2f /* Y/G channel average value */
166 #define REG_MANU 0x67 /* Manual U value */
167 #define REG_MANV 0x68 /* Manual V value */
169 #define REG_MBD 0x6a /* Manual banding filter value */
191 #define REG_AECHM 0xa1 /* Exposure value - bits AEC[15:10] */
192 #define REG_BD50ST 0xa2 /* Banding filter value for 50Hz */
193 #define REG_BD60ST 0xa3 /* Banding filter value for 60Hz */
283 u8 value;
391 /* REG_TSLB value, only bits [3:2] may be set. */
460 ret = ov965x_write(ov965x, regs[i].addr, regs[i].value);
594 static int ov965x_set_banding_filter(struct ov965x *ov965x, int value)
602 if (value == V4L2_CID_POWER_LINE_FREQUENCY_DISABLED)
608 if (value == V4L2_CID_POWER_LINE_FREQUENCY_DISABLED)
613 if (value == V4L2_CID_POWER_LINE_FREQUENCY_50HZ)
680 * gain value in REG_VREF, REG_GAIN is not overwritten.
700 * Convert gain control value to the sensor's gain
707 /* Sanity check: don't adjust the gain with a negative value */
725 /* Return updated control's value to userspace */
732 static int ov965x_set_sharpness(struct ov965x *ov965x, unsigned int value)
743 com14 = value ? com14 | COM14_EDGE_EN : com14 & ~COM14_EDGE_EN;
744 value--;
745 if (value > 0x0f) {
747 value >>= 1;
756 edge |= ((u8)value & 0x0f);
785 * Manual exposure value
795 /* Update the value to minimize rounding errors */
845 static int ov965x_set_test_pattern(struct ov965x *ov965x, int value)
853 reg = value ? reg | COM23_TEST_MODE : reg & ~COM23_TEST_MODE;
923 v4l2_dbg(1, debug, sd, "s_ctrl: %s, value: %d. power: %d\n",
929 * value to the hardware, until it is ready to accept commands.
1317 * Banding filter (REG_MBD value) needs to match selected