Lines Matching refs:ctrl_hdlr
2065 struct v4l2_ctrl_handler *ctrl_hdlr; in ov5670_init_controls() local
2072 ctrl_hdlr = &ov5670->ctrl_handler; in ov5670_init_controls()
2073 ret = v4l2_ctrl_handler_init(ctrl_hdlr, 10); in ov5670_init_controls()
2077 ctrl_hdlr->lock = &ov5670->mutex; in ov5670_init_controls()
2078 ov5670->link_freq = v4l2_ctrl_new_int_menu(ctrl_hdlr, in ov5670_init_controls()
2086 ov5670->pixel_rate = v4l2_ctrl_new_std(ctrl_hdlr, &ov5670_ctrl_ops, in ov5670_init_controls()
2095 ov5670->vblank = v4l2_ctrl_new_std(ctrl_hdlr, &ov5670_ctrl_ops, in ov5670_init_controls()
2100 ctrl_hdlr, &ov5670_ctrl_ops, V4L2_CID_HBLANK, in ov5670_init_controls()
2108 v4l2_ctrl_new_std(ctrl_hdlr, &ov5670_ctrl_ops, V4L2_CID_ANALOGUE_GAIN, in ov5670_init_controls()
2113 v4l2_ctrl_new_std(ctrl_hdlr, &ov5670_ctrl_ops, V4L2_CID_DIGITAL_GAIN, in ov5670_init_controls()
2119 ov5670->exposure = v4l2_ctrl_new_std(ctrl_hdlr, &ov5670_ctrl_ops, in ov5670_init_controls()
2125 v4l2_ctrl_new_std_menu_items(ctrl_hdlr, &ov5670_ctrl_ops, in ov5670_init_controls()
2130 if (ctrl_hdlr->error) { in ov5670_init_controls()
2131 ret = ctrl_hdlr->error; in ov5670_init_controls()
2139 ret = v4l2_ctrl_new_fwnode_properties(ctrl_hdlr, &ov5670_ctrl_ops, in ov5670_init_controls()
2144 ov5670->sd.ctrl_handler = ctrl_hdlr; in ov5670_init_controls()
2149 v4l2_ctrl_handler_free(ctrl_hdlr); in ov5670_init_controls()