Lines Matching refs:ctrl_hdlr
918 struct v4l2_ctrl_handler *ctrl_hdlr; in ov08d10_init_controls() local
928 ctrl_hdlr = &ov08d10->ctrl_handler; in ov08d10_init_controls()
929 ret = v4l2_ctrl_handler_init(ctrl_hdlr, 8); in ov08d10_init_controls()
933 ctrl_hdlr->lock = &ov08d10->mutex; in ov08d10_init_controls()
936 v4l2_ctrl_new_int_menu(ctrl_hdlr, &ov08d10_ctrl_ops, in ov08d10_init_controls()
947 v4l2_ctrl_new_std(ctrl_hdlr, &ov08d10_ctrl_ops, in ov08d10_init_controls()
955 v4l2_ctrl_new_std(ctrl_hdlr, &ov08d10_ctrl_ops, in ov08d10_init_controls()
964 ov08d10->hblank = v4l2_ctrl_new_std(ctrl_hdlr, &ov08d10_ctrl_ops, in ov08d10_init_controls()
970 v4l2_ctrl_new_std(ctrl_hdlr, &ov08d10_ctrl_ops, V4L2_CID_ANALOGUE_GAIN, in ov08d10_init_controls()
974 v4l2_ctrl_new_std(ctrl_hdlr, &ov08d10_ctrl_ops, V4L2_CID_DIGITAL_GAIN, in ov08d10_init_controls()
979 ov08d10->exposure = v4l2_ctrl_new_std(ctrl_hdlr, &ov08d10_ctrl_ops, in ov08d10_init_controls()
986 v4l2_ctrl_new_std_menu_items(ctrl_hdlr, &ov08d10_ctrl_ops, in ov08d10_init_controls()
991 ov08d10->hflip = v4l2_ctrl_new_std(ctrl_hdlr, &ov08d10_ctrl_ops, in ov08d10_init_controls()
993 ov08d10->vflip = v4l2_ctrl_new_std(ctrl_hdlr, &ov08d10_ctrl_ops, in ov08d10_init_controls()
995 if (ctrl_hdlr->error) in ov08d10_init_controls()
996 return ctrl_hdlr->error; in ov08d10_init_controls()
998 ov08d10->sd.ctrl_handler = ctrl_hdlr; in ov08d10_init_controls()