Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/i2c/
H A Dov9650.c216 struct v4l2_ctrl *auto_gain; member
671 static int ov965x_set_gain(struct ov965x *ov965x, int auto_gain) in ov965x_set_gain() argument
680 if (ctrls->auto_gain->is_new) { in ov965x_set_gain()
684 if (ctrls->auto_gain->val) in ov965x_set_gain()
693 if (ctrls->gain->is_new && !auto_gain) { in ov965x_set_gain()
1016 ctrls->auto_gain = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_AUTOGAIN, in ov965x_initialize_controls()
1050 v4l2_ctrl_auto_cluster(2, &ctrls->auto_gain, 0, true); in ov965x_initialize_controls()
H A Dov5640.c423 struct v4l2_ctrl *auto_gain; member
2326 bool auto_gain = sensor->ctrls.auto_gain->val == 1; in ov5640_set_mode() local
2334 if (auto_gain) { in ov5640_set_mode()
2371 if (auto_gain) in ov5640_set_mode()
2401 if (auto_gain) in ov5640_set_mode()
3203 static int ov5640_set_ctrl_gain(struct ov5640_dev *sensor, bool auto_gain) in ov5640_set_ctrl_gain() argument
3208 if (ctrls->auto_gain->is_new) { in ov5640_set_ctrl_gain()
3209 ret = ov5640_set_autogain(sensor, auto_gain); in ov5640_set_ctrl_gain()
3214 if (!auto_gain && ctrls->gain->is_new) in ov5640_set_ctrl_gain()
3486 ctrls->auto_gain = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_AUTOGAIN, in ov5640_init_controls()
[all …]
H A 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()
H A Dov7670.c226 struct v4l2_ctrl *auto_gain; member
1954 info->auto_gain = v4l2_ctrl_new_std(&info->hdl, &ov7670_ctrl_ops, in ov7670_probe()
1975 v4l2_ctrl_auto_cluster(2, &info->auto_gain, 0, true); in ov7670_probe()
H A 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()
H A 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()