Lines Matching refs:auto_gain
211 struct v4l2_ctrl *auto_gain; member
1751 bool auto_gain = sensor->ctrls.auto_gain->val == 1; in ov5640_set_mode() local
1760 if (auto_gain) { in ov5640_set_mode()
1806 if (auto_gain) in ov5640_set_mode()
1836 if (auto_gain) in ov5640_set_mode()
2514 static int ov5640_set_ctrl_gain(struct ov5640_dev *sensor, bool auto_gain) in ov5640_set_ctrl_gain() argument
2519 if (ctrls->auto_gain->is_new) { in ov5640_set_ctrl_gain()
2520 ret = ov5640_set_autogain(sensor, auto_gain); in ov5640_set_ctrl_gain()
2525 if (!auto_gain && ctrls->gain->is_new) in ov5640_set_ctrl_gain()
2739 ctrls->auto_gain = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_AUTOGAIN, in ov5640_init_controls()
2775 v4l2_ctrl_auto_cluster(2, &ctrls->auto_gain, 0, true); in ov5640_init_controls()