Lines Matching refs:ctrl_hdlr
841 struct v4l2_ctrl_handler *ctrl_hdlr; in hi556_init_controls() local
845 ctrl_hdlr = &hi556->ctrl_handler; in hi556_init_controls()
846 ret = v4l2_ctrl_handler_init(ctrl_hdlr, 8); in hi556_init_controls()
850 ctrl_hdlr->lock = &hi556->mutex; in hi556_init_controls()
851 hi556->link_freq = v4l2_ctrl_new_int_menu(ctrl_hdlr, &hi556_ctrl_ops, in hi556_init_controls()
859 (ctrl_hdlr, &hi556_ctrl_ops, in hi556_init_controls()
864 hi556->vblank = v4l2_ctrl_new_std(ctrl_hdlr, &hi556_ctrl_ops, in hi556_init_controls()
875 hi556->hblank = v4l2_ctrl_new_std(ctrl_hdlr, &hi556_ctrl_ops, in hi556_init_controls()
881 v4l2_ctrl_new_std(ctrl_hdlr, &hi556_ctrl_ops, V4L2_CID_ANALOGUE_GAIN, in hi556_init_controls()
884 v4l2_ctrl_new_std(ctrl_hdlr, &hi556_ctrl_ops, V4L2_CID_DIGITAL_GAIN, in hi556_init_controls()
888 hi556->exposure = v4l2_ctrl_new_std(ctrl_hdlr, &hi556_ctrl_ops, in hi556_init_controls()
893 v4l2_ctrl_new_std_menu_items(ctrl_hdlr, &hi556_ctrl_ops, in hi556_init_controls()
897 if (ctrl_hdlr->error) in hi556_init_controls()
898 return ctrl_hdlr->error; in hi556_init_controls()
900 hi556->sd.ctrl_handler = ctrl_hdlr; in hi556_init_controls()