Home
last modified time | relevance | path

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

/drivers/media/i2c/
Dov5640.c214 struct v4l2_ctrl *auto_gain; member
1763 bool auto_gain = sensor->ctrls.auto_gain->val == 1; in ov5640_set_mode() local
1772 if (auto_gain) { in ov5640_set_mode()
1818 if (auto_gain) in ov5640_set_mode()
1848 if (auto_gain) in ov5640_set_mode()
2552 static int ov5640_set_ctrl_gain(struct ov5640_dev *sensor, bool auto_gain) in ov5640_set_ctrl_gain() argument
2557 if (ctrls->auto_gain->is_new) { in ov5640_set_ctrl_gain()
2558 ret = ov5640_set_autogain(sensor, auto_gain); in ov5640_set_ctrl_gain()
2563 if (!auto_gain && ctrls->gain->is_new) in ov5640_set_ctrl_gain()
2777 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
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()
Dadv7842.c1140 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
1147 if (auto_gain) { in adv7842_set_gain()
1156 __func__, auto_gain ? "Auto" : "Manual", in adv7842_set_gain()
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()