Lines Matching refs:hdl
135 struct v4l2_ctrl_handler *hdl = &sd->gspca_dev.ctrl_handler; in po1030_init_controls() local
137 sd->gspca_dev.vdev.ctrl_handler = hdl; in po1030_init_controls()
138 v4l2_ctrl_handler_init(hdl, 9); in po1030_init_controls()
140 sd->auto_white_bal = v4l2_ctrl_new_std(hdl, &po1030_ctrl_ops, in po1030_init_controls()
143 sd->green_bal = v4l2_ctrl_new_custom(hdl, &po1030_greenbal_cfg, NULL); in po1030_init_controls()
144 sd->red_bal = v4l2_ctrl_new_std(hdl, &po1030_ctrl_ops, in po1030_init_controls()
147 sd->blue_bal = v4l2_ctrl_new_std(hdl, &po1030_ctrl_ops, in po1030_init_controls()
151 sd->autoexpo = v4l2_ctrl_new_std_menu(hdl, &po1030_ctrl_ops, in po1030_init_controls()
153 sd->expo = v4l2_ctrl_new_std(hdl, &po1030_ctrl_ops, V4L2_CID_EXPOSURE, in po1030_init_controls()
156 sd->gain = v4l2_ctrl_new_std(hdl, &po1030_ctrl_ops, V4L2_CID_GAIN, 0, in po1030_init_controls()
159 sd->hflip = v4l2_ctrl_new_std(hdl, &po1030_ctrl_ops, V4L2_CID_HFLIP, in po1030_init_controls()
161 sd->vflip = v4l2_ctrl_new_std(hdl, &po1030_ctrl_ops, V4L2_CID_VFLIP, in po1030_init_controls()
164 if (hdl->error) { in po1030_init_controls()
166 return hdl->error; in po1030_init_controls()