Home
last modified time | relevance | path

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

/Linux-v4.19/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()
848 return ov2680_gain_set(sensor, !!ctrls->auto_gain->val); in ov2680_s_ctrl()
969 ctrls->auto_gain = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_AUTOGAIN, in ov2680_v4l2_init()
981 v4l2_ctrl_auto_cluster(2, &ctrls->auto_gain, 0, true); in ov2680_v4l2_init()
Dov9650.c220 struct v4l2_ctrl *auto_gain; member
685 static int ov965x_set_gain(struct ov965x *ov965x, int auto_gain) in ov965x_set_gain() argument
695 if (ctrls->auto_gain->is_new) { in ov965x_set_gain()
699 if (ctrls->auto_gain->val) in ov965x_set_gain()
708 if (ctrls->gain->is_new && !auto_gain) { in ov965x_set_gain()
1028 ctrls->auto_gain = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_AUTOGAIN, in ov965x_initialize_controls()
1062 v4l2_ctrl_auto_cluster(2, &ctrls->auto_gain, 0, true); in ov965x_initialize_controls()
Dov5640.c194 struct v4l2_ctrl *auto_gain; member
1609 ret = __v4l2_ctrl_s_ctrl(sensor->ctrls.auto_gain, 1); in ov5640_set_mode_direct()
1628 ret = __v4l2_ctrl_s_ctrl(sensor->ctrls.auto_gain, 0); in ov5640_set_mode()
2173 static int ov5640_set_ctrl_gain(struct ov5640_dev *sensor, int auto_gain) in ov5640_set_ctrl_gain() argument
2178 if (ctrls->auto_gain->is_new) { in ov5640_set_ctrl_gain()
2181 ctrls->auto_gain->val ? 0 : BIT(1)); in ov5640_set_ctrl_gain()
2186 if (!auto_gain && ctrls->gain->is_new) { in ov5640_set_ctrl_gain()
2377 ctrls->auto_gain = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_AUTOGAIN, in ov5640_init_controls()
2412 v4l2_ctrl_auto_cluster(2, &ctrls->auto_gain, 0, true); in ov5640_init_controls()
Dov7740.c97 struct v4l2_ctrl *auto_gain; member
989 ov7740->auto_gain = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops, in ov7740_init_controls()
1004 v4l2_ctrl_auto_cluster(2, &ov7740->auto_gain, 0, true); in ov7740_init_controls()
Dov7670.c228 struct v4l2_ctrl *auto_gain; member
1868 info->auto_gain = v4l2_ctrl_new_std(&info->hdl, &ov7670_ctrl_ops, in ov7670_probe()
1889 v4l2_ctrl_auto_cluster(2, &info->auto_gain, 0, true); in ov7670_probe()
Dadv7604.c1059 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
1066 if (auto_gain) { in adv76xx_set_gain()
1075 __func__, auto_gain ? "Auto" : "Manual", in adv76xx_set_gain()
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()