Lines Matching refs:ctrl_hdlr
2068 struct v4l2_ctrl_handler *ctrl_hdlr; in ov5670_init_controls() local
2075 ctrl_hdlr = &ov5670->ctrl_handler; in ov5670_init_controls()
2076 ret = v4l2_ctrl_handler_init(ctrl_hdlr, 10); in ov5670_init_controls()
2080 ctrl_hdlr->lock = &ov5670->mutex; in ov5670_init_controls()
2081 ov5670->link_freq = v4l2_ctrl_new_int_menu(ctrl_hdlr, in ov5670_init_controls()
2089 ov5670->pixel_rate = v4l2_ctrl_new_std(ctrl_hdlr, &ov5670_ctrl_ops, in ov5670_init_controls()
2099 ov5670->vblank = v4l2_ctrl_new_std(ctrl_hdlr, &ov5670_ctrl_ops, in ov5670_init_controls()
2104 ctrl_hdlr, &ov5670_ctrl_ops, V4L2_CID_HBLANK, in ov5670_init_controls()
2112 v4l2_ctrl_new_std(ctrl_hdlr, &ov5670_ctrl_ops, V4L2_CID_ANALOGUE_GAIN, in ov5670_init_controls()
2117 v4l2_ctrl_new_std(ctrl_hdlr, &ov5670_ctrl_ops, V4L2_CID_DIGITAL_GAIN, in ov5670_init_controls()
2123 ov5670->exposure = v4l2_ctrl_new_std(ctrl_hdlr, &ov5670_ctrl_ops, in ov5670_init_controls()
2129 v4l2_ctrl_new_std_menu_items(ctrl_hdlr, &ov5670_ctrl_ops, in ov5670_init_controls()
2134 if (ctrl_hdlr->error) { in ov5670_init_controls()
2135 ret = ctrl_hdlr->error; in ov5670_init_controls()
2143 ret = v4l2_ctrl_new_fwnode_properties(ctrl_hdlr, &ov5670_ctrl_ops, in ov5670_init_controls()
2148 ov5670->sd.ctrl_handler = ctrl_hdlr; in ov5670_init_controls()
2153 v4l2_ctrl_handler_free(ctrl_hdlr); in ov5670_init_controls()