Lines Matching refs:ctrl_handler

67 		struct v4l2_ctrl_handler ctrl_handler;
79 struct v4l2_ctrl_handler ctrl_handler;
87 v4l2_ctrl_handler_init(&foo->ctrl_handler, nr_of_controls);
99 foo->v4l2_dev.ctrl_handler = &foo->ctrl_handler;
105 foo->sd.ctrl_handler = &foo->ctrl_handler;
111 v4l2_ctrl_handler_free(&foo->ctrl_handler);
176 v4l2_ctrl_handler_init(&foo->ctrl_handler, nr_of_controls);
177 v4l2_ctrl_new_std(&foo->ctrl_handler, &foo_ctrl_ops,
179 v4l2_ctrl_new_std(&foo->ctrl_handler, &foo_ctrl_ops,
181 v4l2_ctrl_new_std_menu(&foo->ctrl_handler, &foo_ctrl_ops,
185 v4l2_ctrl_new_int_menu(&foo->ctrl_handler, &foo_ctrl_ops,
190 v4l2_ctrl_new_std_menu_items(&foo->ctrl_handler, &foo_ctrl_ops,
194 if (foo->ctrl_handler.error) {
195 int err = foo->ctrl_handler.error;
197 v4l2_ctrl_handler_free(&foo->ctrl_handler);
231 set ctrl_handler->error to the error code. If ctrl_handler->error was already
245 v4l2_ctrl_handler_setup(&foo->ctrl_handler);
266 struct foo *state = container_of(ctrl->handler, struct foo, ctrl_handler);
298 v4l2_device_register_subdev() and the ctrl_handler fields of both v4l2_subdev
384 ctrl = v4l2_ctrl_new_std(&sd->ctrl_handler, ...);
416 mutex_lock(&state->ctrl_handler.lock);
419 mutex_unlock(&state->ctrl_handler.lock);
467 ctrl = v4l2_ctrl_new_custom(&foo->ctrl_handler, &ctrl_filter, NULL);
512 struct v4l2_ctrl_handler ctrl_handler;
520 v4l2_ctrl_new_std(&state->ctrl_handler, ...);
522 v4l2_ctrl_new_std(&state->ctrl_handler, ...);
537 struct foo *state = container_of(ctrl->handler, struct foo, ctrl_handler);
577 state->volume = v4l2_ctrl_new_std(&state->ctrl_handler, ...);
578 state->mute = v4l2_ctrl_new_std(&state->ctrl_handler, ...);
654 The v4l2_ctrl_handler_log_status(ctrl_handler, prefix) can be used to dump the
665 different video nodes. You can do that by manually setting the ctrl_handler
670 control handler. You do that by simply setting the ctrl_handler field in
675 manually to add the subdev's control handler (sd->ctrl_handler) to the desired
734 volume = v4l2_ctrl_find(sd->ctrl_handler, V4L2_CID_AUDIO_VOLUME);
741 struct v4l2_ctrl_handler ctrl_handler;
743 v4l2_ctrl_new_std(&ctrl_handler, &video_ops, V4L2_CID_BRIGHTNESS, ...);
744 v4l2_ctrl_new_std(&ctrl_handler, &video_ops, V4L2_CID_CONTRAST, ...);
751 contrast = v4l2_find_ctrl(&ctrl_handler, V4L2_CID_CONTRAST);
754 When s_ctrl is called by the framework the ctrl_handler.lock is already taken, so
782 ctrl = v4l2_ctrl_new_custom(&foo->ctrl_handler, &ctrl_private, NULL);