Lines Matching refs:ctrl_handler
103 struct v4l2_ctrl_handler ctrl_handler; member
161 mutex_lock(xtpg->ctrl_handler.lock); in xtpg_update_pattern_control()
163 mutex_unlock(xtpg->ctrl_handler.lock); in xtpg_update_pattern_control()
219 mutex_lock(xtpg->ctrl_handler.lock); in xtpg_s_stream()
233 mutex_unlock(xtpg->ctrl_handler.lock); in xtpg_s_stream()
377 ctrl_handler); in xtpg_s_ctrl()
843 v4l2_ctrl_handler_init(&xtpg->ctrl_handler, 3 + ARRAY_SIZE(xtpg_ctrls)); in xtpg_probe()
845 xtpg->vblank = v4l2_ctrl_new_std(&xtpg->ctrl_handler, &xtpg_ctrl_ops, in xtpg_probe()
848 xtpg->hblank = v4l2_ctrl_new_std(&xtpg->ctrl_handler, &xtpg_ctrl_ops, in xtpg_probe()
851 xtpg->pattern = v4l2_ctrl_new_std_menu_items(&xtpg->ctrl_handler, in xtpg_probe()
857 v4l2_ctrl_new_custom(&xtpg->ctrl_handler, &xtpg_ctrls[i], NULL); in xtpg_probe()
859 if (xtpg->ctrl_handler.error) { in xtpg_probe()
861 ret = xtpg->ctrl_handler.error; in xtpg_probe()
864 subdev->ctrl_handler = &xtpg->ctrl_handler; in xtpg_probe()
868 ret = v4l2_ctrl_handler_setup(&xtpg->ctrl_handler); in xtpg_probe()
887 v4l2_ctrl_handler_free(&xtpg->ctrl_handler); in xtpg_probe()
901 v4l2_ctrl_handler_free(&xtpg->ctrl_handler); in xtpg_remove()