Lines Matching refs:ctrl_hdlr
882 struct v4l2_ctrl_handler *ctrl_hdlr = &imx208->ctrl_handler;
890 ret = v4l2_ctrl_handler_init(ctrl_hdlr, 8);
895 ctrl_hdlr->lock = &imx208->imx208_mx;
897 v4l2_ctrl_new_int_menu(ctrl_hdlr,
910 imx208->pixel_rate = v4l2_ctrl_new_std(ctrl_hdlr, &imx208_ctrl_ops,
918 v4l2_ctrl_new_std(ctrl_hdlr, &imx208_ctrl_ops, V4L2_CID_VBLANK,
924 v4l2_ctrl_new_std(ctrl_hdlr, &imx208_ctrl_ops, V4L2_CID_HBLANK,
934 v4l2_ctrl_new_std(ctrl_hdlr, &imx208_ctrl_ops, V4L2_CID_EXPOSURE,
938 imx208->hflip = v4l2_ctrl_new_std(ctrl_hdlr, &imx208_ctrl_ops,
942 imx208->vflip = v4l2_ctrl_new_std(ctrl_hdlr, &imx208_ctrl_ops,
947 v4l2_ctrl_new_std(ctrl_hdlr, &imx208_ctrl_ops, V4L2_CID_ANALOGUE_GAIN,
951 v4l2_ctrl_new_custom(ctrl_hdlr, &imx208_digital_gain_control, NULL);
953 v4l2_ctrl_new_std_menu_items(ctrl_hdlr, &imx208_ctrl_ops,
958 if (ctrl_hdlr->error) {
959 ret = ctrl_hdlr->error;
965 imx208->sd.ctrl_handler = ctrl_hdlr;
970 v4l2_ctrl_handler_free(ctrl_hdlr);