Lines Matching refs:ctrl_hdlr
2104 struct v4l2_ctrl_handler *ctrl_hdlr; in ov5670_init_controls() local
2113 ctrl_hdlr = &ov5670->ctrl_handler; in ov5670_init_controls()
2114 ret = v4l2_ctrl_handler_init(ctrl_hdlr, 10); in ov5670_init_controls()
2118 ctrl_hdlr->lock = &ov5670->mutex; in ov5670_init_controls()
2119 ov5670->link_freq = v4l2_ctrl_new_int_menu(ctrl_hdlr, in ov5670_init_controls()
2130 ov5670->pixel_rate = v4l2_ctrl_new_std(ctrl_hdlr, &ov5670_ctrl_ops, in ov5670_init_controls()
2140 ov5670->vblank = v4l2_ctrl_new_std(ctrl_hdlr, &ov5670_ctrl_ops, in ov5670_init_controls()
2145 ctrl_hdlr, &ov5670_ctrl_ops, V4L2_CID_HBLANK, in ov5670_init_controls()
2153 v4l2_ctrl_new_std(ctrl_hdlr, &ov5670_ctrl_ops, V4L2_CID_ANALOGUE_GAIN, in ov5670_init_controls()
2158 v4l2_ctrl_new_std(ctrl_hdlr, &ov5670_ctrl_ops, V4L2_CID_DIGITAL_GAIN, in ov5670_init_controls()
2164 ov5670->exposure = v4l2_ctrl_new_std(ctrl_hdlr, &ov5670_ctrl_ops, in ov5670_init_controls()
2170 v4l2_ctrl_new_std_menu_items(ctrl_hdlr, &ov5670_ctrl_ops, in ov5670_init_controls()
2175 if (ctrl_hdlr->error) { in ov5670_init_controls()
2176 ret = ctrl_hdlr->error; in ov5670_init_controls()
2184 ret = v4l2_ctrl_new_fwnode_properties(ctrl_hdlr, &ov5670_ctrl_ops, in ov5670_init_controls()
2189 ov5670->sd.ctrl_handler = ctrl_hdlr; in ov5670_init_controls()
2194 v4l2_ctrl_handler_free(ctrl_hdlr); in ov5670_init_controls()