Lines Matching refs:ctrl_handler
100 struct v4l2_ctrl_handler ctrl_handler; member
158 mutex_lock(xtpg->ctrl_handler.lock); in xtpg_update_pattern_control()
160 mutex_unlock(xtpg->ctrl_handler.lock); in xtpg_update_pattern_control()
216 mutex_lock(xtpg->ctrl_handler.lock); in xtpg_s_stream()
230 mutex_unlock(xtpg->ctrl_handler.lock); in xtpg_s_stream()
377 ctrl_handler); in xtpg_s_ctrl()
845 v4l2_ctrl_handler_init(&xtpg->ctrl_handler, 3 + ARRAY_SIZE(xtpg_ctrls)); in xtpg_probe()
847 xtpg->vblank = v4l2_ctrl_new_std(&xtpg->ctrl_handler, &xtpg_ctrl_ops, in xtpg_probe()
850 xtpg->hblank = v4l2_ctrl_new_std(&xtpg->ctrl_handler, &xtpg_ctrl_ops, in xtpg_probe()
853 xtpg->pattern = v4l2_ctrl_new_std_menu_items(&xtpg->ctrl_handler, in xtpg_probe()
859 v4l2_ctrl_new_custom(&xtpg->ctrl_handler, &xtpg_ctrls[i], NULL); in xtpg_probe()
861 if (xtpg->ctrl_handler.error) { in xtpg_probe()
863 ret = xtpg->ctrl_handler.error; in xtpg_probe()
866 subdev->ctrl_handler = &xtpg->ctrl_handler; in xtpg_probe()
870 ret = v4l2_ctrl_handler_setup(&xtpg->ctrl_handler); in xtpg_probe()
889 v4l2_ctrl_handler_free(&xtpg->ctrl_handler); in xtpg_probe()
903 v4l2_ctrl_handler_free(&xtpg->ctrl_handler); in xtpg_remove()