Lines Matching refs:auto_gain
206 struct v4l2_ctrl *auto_gain; member
1796 bool auto_gain = sensor->ctrls.auto_gain->val == 1; in ov5640_set_mode() local
1805 if (auto_gain) { in ov5640_set_mode()
1852 if (auto_gain) in ov5640_set_mode()
1882 if (auto_gain) in ov5640_set_mode()
2456 static int ov5640_set_ctrl_gain(struct ov5640_dev *sensor, bool auto_gain) in ov5640_set_ctrl_gain() argument
2461 if (ctrls->auto_gain->is_new) { in ov5640_set_ctrl_gain()
2462 ret = ov5640_set_autogain(sensor, auto_gain); in ov5640_set_ctrl_gain()
2467 if (!auto_gain && ctrls->gain->is_new) in ov5640_set_ctrl_gain()
2676 ctrls->auto_gain = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_AUTOGAIN, in ov5640_init_controls()
2711 v4l2_ctrl_auto_cluster(2, &ctrls->auto_gain, 0, true); in ov5640_init_controls()