Lines Matching refs:hdl
132 struct v4l2_ctrl_handler *hdl = &sd->gspca_dev.ctrl_handler; in mt9m111_init_controls() local
134 sd->gspca_dev.vdev.ctrl_handler = hdl; in mt9m111_init_controls()
135 v4l2_ctrl_handler_init(hdl, 7); in mt9m111_init_controls()
137 sd->auto_white_bal = v4l2_ctrl_new_std(hdl, &mt9m111_ctrl_ops, in mt9m111_init_controls()
140 sd->green_bal = v4l2_ctrl_new_custom(hdl, &mt9m111_greenbal_cfg, NULL); in mt9m111_init_controls()
141 sd->red_bal = v4l2_ctrl_new_std(hdl, &mt9m111_ctrl_ops, in mt9m111_init_controls()
144 sd->blue_bal = v4l2_ctrl_new_std(hdl, &mt9m111_ctrl_ops, in mt9m111_init_controls()
148 v4l2_ctrl_new_std(hdl, &mt9m111_ctrl_ops, V4L2_CID_GAIN, 0, in mt9m111_init_controls()
152 sd->hflip = v4l2_ctrl_new_std(hdl, &mt9m111_ctrl_ops, V4L2_CID_HFLIP, in mt9m111_init_controls()
154 sd->vflip = v4l2_ctrl_new_std(hdl, &mt9m111_ctrl_ops, V4L2_CID_VFLIP, in mt9m111_init_controls()
157 if (hdl->error) { in mt9m111_init_controls()
159 return hdl->error; in mt9m111_init_controls()