Lines Matching defs:gain
424 struct v4l2_ctrl *gain;
1799 u16 gain;
1802 ret = ov5640_read_reg16(sensor, OV5640_REG_AEC_PK_REAL_GAIN, &gain);
1806 return gain & 0x3ff;
1809 static int ov5640_set_gain(struct ov5640_dev *sensor, int gain)
1812 (u16)gain & 0x3ff);
2175 /* read preview gain */
2259 /* gain to shutter */
2289 /* set capture gain */
2333 /* auto gain and exposure must be turned off when changing modes */
2370 /* restore auto gain and exposure */
3214 if (!auto_gain && ctrls->gain->is_new)
3215 ret = ov5640_set_gain(sensor, ctrls->gain->val);
3334 sensor->ctrls.gain->val = val;
3485 /* Auto/manual gain */
3488 ctrls->gain = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_ANALOGUE_GAIN,
3531 ctrls->gain->flags |= V4L2_CTRL_FLAG_VOLATILE;