Lines Matching refs:gain
26 struct { /* exposure/gain control cluster */
28 struct v4l2_ctrl *gain;
209 {0x35, 0x0020}, /* global gain */
210 {0x2b, 0x0020}, /* green1 gain */
211 {0x2c, 0x002a}, /* blue gain */
212 {0x2d, 0x0028}, /* red gain */
213 {0x2e, 0x0020}, /* green2 gain */
247 {0x35, 0x0020}, /* global gain */
248 {0x2b, 0x0020}, /* green1 gain */
249 {0x2c, 0x0020}, /* blue gain */
250 {0x2d, 0x0020}, /* red gain */
251 {0x2e, 0x0020}, /* green2 gain */
750 static void setexposure(struct gspca_dev *gspca_dev, s32 expo, s32 gain)
777 buf[i++] = gain;
790 buf[i++] = 0x35; /* reg = global gain */
793 buf[i++] = 0x80 + gain / 2; /* val L */
1040 v4l2_ctrl_g_ctrl(sd->gain));
1077 setexposure(gspca_dev, ctrl->val, sd->gain->val);
1096 sd->gain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops,