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()
374 ctrl_handler); in xtpg_s_ctrl()
842 v4l2_ctrl_handler_init(&xtpg->ctrl_handler, 3 + ARRAY_SIZE(xtpg_ctrls)); in xtpg_probe()
844 xtpg->vblank = v4l2_ctrl_new_std(&xtpg->ctrl_handler, &xtpg_ctrl_ops, in xtpg_probe()
847 xtpg->hblank = v4l2_ctrl_new_std(&xtpg->ctrl_handler, &xtpg_ctrl_ops, in xtpg_probe()
850 xtpg->pattern = v4l2_ctrl_new_std_menu_items(&xtpg->ctrl_handler, in xtpg_probe()
856 v4l2_ctrl_new_custom(&xtpg->ctrl_handler, &xtpg_ctrls[i], NULL); in xtpg_probe()
858 if (xtpg->ctrl_handler.error) { in xtpg_probe()
860 ret = xtpg->ctrl_handler.error; in xtpg_probe()
863 subdev->ctrl_handler = &xtpg->ctrl_handler; in xtpg_probe()
867 ret = v4l2_ctrl_handler_setup(&xtpg->ctrl_handler); in xtpg_probe()
886 v4l2_ctrl_handler_free(&xtpg->ctrl_handler); in xtpg_probe()
900 v4l2_ctrl_handler_free(&xtpg->ctrl_handler); in xtpg_remove()