Home
last modified time | relevance | path

Searched refs:auto_gain (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/drivers/media/i2c/
Dov2680.c93 struct v4l2_ctrl *auto_gain; member
408 static int ov2680_gain_set(struct ov2680_dev *sensor, bool auto_gain) in ov2680_gain_set() argument
415 auto_gain ? 0 : BIT(1)); in ov2680_gain_set()
419 if (auto_gain || !ctrls->gain->is_new) in ov2680_gain_set()
500 if (ctrls->auto_gain->val) { in ov2680_mode_set()
837 return ov2680_gain_set(sensor, !!ctrls->auto_gain->val); in ov2680_s_ctrl()
958 ctrls->auto_gain = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_AUTOGAIN, in ov2680_v4l2_register()
970 v4l2_ctrl_auto_cluster(2, &ctrls->auto_gain, 0, true); in ov2680_v4l2_register()
Dov5640.c206 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()
[all …]
Dov9650.c218 struct v4l2_ctrl *auto_gain; member
673 static int ov965x_set_gain(struct ov965x *ov965x, int auto_gain) in ov965x_set_gain() argument
682 if (ctrls->auto_gain->is_new) { in ov965x_set_gain()
686 if (ctrls->auto_gain->val) in ov965x_set_gain()
695 if (ctrls->gain->is_new && !auto_gain) { in ov965x_set_gain()
1018 ctrls->auto_gain = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_AUTOGAIN, in ov965x_initialize_controls()
1052 v4l2_ctrl_auto_cluster(2, &ctrls->auto_gain, 0, true); in ov965x_initialize_controls()
Dov7740.c97 struct v4l2_ctrl *auto_gain; member
1012 ov7740->auto_gain = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops, in ov7740_init_controls()
1025 v4l2_ctrl_auto_cluster(2, &ov7740->auto_gain, 0, true); in ov7740_init_controls()
Dov7670.c227 struct v4l2_ctrl *auto_gain; member
1943 info->auto_gain = v4l2_ctrl_new_std(&info->hdl, &ov7670_ctrl_ops, in ov7670_probe()
1964 v4l2_ctrl_auto_cluster(2, &info->auto_gain, 0, true); in ov7670_probe()
Dadv7604.c1065 static void adv76xx_set_gain(struct v4l2_subdev *sd, bool auto_gain, u16 gain_a, u16 gain_b, u16 ga… in adv76xx_set_gain() argument
1072 if (auto_gain) { in adv76xx_set_gain()
1081 __func__, auto_gain ? "Auto" : "Manual", in adv76xx_set_gain()
Dadv7842.c1142 static void adv7842_set_gain(struct v4l2_subdev *sd, bool auto_gain, u16 gain_a, u16 gain_b, u16 ga… in adv7842_set_gain() argument
1149 if (auto_gain) { in adv7842_set_gain()
1158 __func__, auto_gain ? "Auto" : "Manual", in adv7842_set_gain()