Lines Matching refs:auto_gain
422 struct v4l2_ctrl *auto_gain; member
2315 bool auto_gain = sensor->ctrls.auto_gain->val == 1; in ov5640_set_mode() local
2323 if (auto_gain) { in ov5640_set_mode()
2360 if (auto_gain) in ov5640_set_mode()
2390 if (auto_gain) in ov5640_set_mode()
3178 static int ov5640_set_ctrl_gain(struct ov5640_dev *sensor, bool auto_gain) in ov5640_set_ctrl_gain() argument
3183 if (ctrls->auto_gain->is_new) { in ov5640_set_ctrl_gain()
3184 ret = ov5640_set_autogain(sensor, auto_gain); in ov5640_set_ctrl_gain()
3189 if (!auto_gain && ctrls->gain->is_new) in ov5640_set_ctrl_gain()
3459 ctrls->auto_gain = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_AUTOGAIN, in ov5640_init_controls()
3508 v4l2_ctrl_auto_cluster(2, &ctrls->auto_gain, 0, true); in ov5640_init_controls()