Lines Matching refs:ctrl_handler
101 struct v4l2_ctrl_handler ctrl_handler; member
159 mutex_lock(xtpg->ctrl_handler.lock); in xtpg_update_pattern_control()
161 mutex_unlock(xtpg->ctrl_handler.lock); in xtpg_update_pattern_control()
217 mutex_lock(xtpg->ctrl_handler.lock); in xtpg_s_stream()
231 mutex_unlock(xtpg->ctrl_handler.lock); in xtpg_s_stream()
377 ctrl_handler); in xtpg_s_ctrl()
834 v4l2_ctrl_handler_init(&xtpg->ctrl_handler, 3 + ARRAY_SIZE(xtpg_ctrls)); in xtpg_probe()
836 xtpg->vblank = v4l2_ctrl_new_std(&xtpg->ctrl_handler, &xtpg_ctrl_ops, in xtpg_probe()
839 xtpg->hblank = v4l2_ctrl_new_std(&xtpg->ctrl_handler, &xtpg_ctrl_ops, in xtpg_probe()
842 xtpg->pattern = v4l2_ctrl_new_std_menu_items(&xtpg->ctrl_handler, in xtpg_probe()
848 v4l2_ctrl_new_custom(&xtpg->ctrl_handler, &xtpg_ctrls[i], NULL); in xtpg_probe()
850 if (xtpg->ctrl_handler.error) { in xtpg_probe()
852 ret = xtpg->ctrl_handler.error; in xtpg_probe()
855 subdev->ctrl_handler = &xtpg->ctrl_handler; in xtpg_probe()
859 ret = v4l2_ctrl_handler_setup(&xtpg->ctrl_handler); in xtpg_probe()
878 v4l2_ctrl_handler_free(&xtpg->ctrl_handler); in xtpg_probe()
892 v4l2_ctrl_handler_free(&xtpg->ctrl_handler); in xtpg_remove()