Home
last modified time | relevance | path

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

/Linux-v6.1/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()
838 return ov2680_gain_set(sensor, !!ctrls->auto_gain->val); in ov2680_s_ctrl()
959 ctrls->auto_gain = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_AUTOGAIN, in ov2680_v4l2_register()
971 v4l2_ctrl_auto_cluster(2, &ctrls->auto_gain, 0, true); in ov2680_v4l2_register()
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()
Dov5640.c422 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()
[all …]
Dov7740.c97 struct v4l2_ctrl *auto_gain; member
1011 ov7740->auto_gain = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops, in ov7740_init_controls()
1024 v4l2_ctrl_auto_cluster(2, &ov7740->auto_gain, 0, true); in ov7740_init_controls()
Dov7670.c227 struct v4l2_ctrl *auto_gain; member
1960 info->auto_gain = v4l2_ctrl_new_std(&info->hdl, &ov7670_ctrl_ops, in ov7670_probe()
1981 v4l2_ctrl_auto_cluster(2, &info->auto_gain, 0, true); in ov7670_probe()
Dadv7604.c1079 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
1086 if (auto_gain) { in adv76xx_set_gain()
1095 __func__, auto_gain ? "Auto" : "Manual", in adv76xx_set_gain()
Dadv7842.c1130 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
1137 if (auto_gain) { in adv7842_set_gain()
1146 __func__, auto_gain ? "Auto" : "Manual", in adv7842_set_gain()