Lines Matching full:hdl
516 * @hdl: The control handler.
533 * error will also be stored in @hdl->error.
535 int v4l2_ctrl_handler_init_class(struct v4l2_ctrl_handler *hdl,
545 * @hdl: The control handler.
560 #define v4l2_ctrl_handler_init(hdl, nr_of_controls_hint) \ argument
564 v4l2_ctrl_handler_init_class(hdl, nr_of_controls_hint, \
568 "(" #hdl ")->_lock"); \
572 #define v4l2_ctrl_handler_init(hdl, nr_of_controls_hint) \ argument
573 v4l2_ctrl_handler_init_class(hdl, nr_of_controls_hint, NULL, NULL)
579 * @hdl: The control handler.
581 * Does nothing if @hdl == NULL.
583 void v4l2_ctrl_handler_free(struct v4l2_ctrl_handler *hdl);
610 * @hdl: The control handler.
614 * If @hdl == NULL, then this just returns 0.
616 int __v4l2_ctrl_handler_setup(struct v4l2_ctrl_handler *hdl);
621 * @hdl: The control handler.
625 * If @hdl == NULL, then this just returns 0.
627 int v4l2_ctrl_handler_setup(struct v4l2_ctrl_handler *hdl);
631 * @hdl: The control handler.
639 * Does nothing if @hdl == NULL.
641 void v4l2_ctrl_handler_log_status(struct v4l2_ctrl_handler *hdl,
648 * @hdl: The control handler.
653 * and @hdl->error is set to the error code (if it wasn't set already).
655 struct v4l2_ctrl *v4l2_ctrl_new_custom(struct v4l2_ctrl_handler *hdl,
663 * @hdl: The control handler.
672 * ID is not known, then NULL is returned and @hdl->error is set to the
679 struct v4l2_ctrl *v4l2_ctrl_new_std(struct v4l2_ctrl_handler *hdl,
688 * @hdl: The control handler.
705 struct v4l2_ctrl *v4l2_ctrl_new_std_menu(struct v4l2_ctrl_handler *hdl,
713 * @hdl: The control handler.
730 struct v4l2_ctrl *v4l2_ctrl_new_std_menu_items(struct v4l2_ctrl_handler *hdl,
740 * @hdl: The control handler.
757 struct v4l2_ctrl *v4l2_ctrl_new_std_compound(struct v4l2_ctrl_handler *hdl,
767 * @hdl: The control handler.
780 struct v4l2_ctrl *v4l2_ctrl_new_int_menu(struct v4l2_ctrl_handler *hdl,
796 * handler @hdl.
798 * @hdl: The control handler.
800 * the @hdl control handler.
803 * device than @hdl.
808 * In case of an error @hdl->error will be set to the error code (if it
811 int v4l2_ctrl_add_handler(struct v4l2_ctrl_handler *hdl,
878 * @hdl: The control handler.
881 * If @hdl == NULL this will return NULL as well. Will lock the handler so
884 struct v4l2_ctrl *v4l2_ctrl_find(struct v4l2_ctrl_handler *hdl, u32 id);
1399 * @hdl: Put this control handler
1404 static inline void v4l2_ctrl_request_hdl_put(struct v4l2_ctrl_handler *hdl) in v4l2_ctrl_request_hdl_put() argument
1406 if (hdl) in v4l2_ctrl_request_hdl_put()
1407 media_request_object_put(&hdl->req_obj); in v4l2_ctrl_request_hdl_put()
1413 * @hdl: The control handler from the request.
1420 v4l2_ctrl_request_hdl_ctrl_find(struct v4l2_ctrl_handler *hdl, u32 id);
1428 * @hdl: pointer to &struct v4l2_ctrl_handler
1431 * If hdl == NULL then they will all return -EINVAL.
1433 int v4l2_queryctrl(struct v4l2_ctrl_handler *hdl, struct v4l2_queryctrl *qc);
1451 * @hdl: pointer to &struct v4l2_ctrl_handler
1454 * If hdl == NULL then they will all return -EINVAL.
1456 int v4l2_query_ext_ctrl(struct v4l2_ctrl_handler *hdl,
1463 * @hdl: pointer to &struct v4l2_ctrl_handler
1466 * If hdl == NULL then they will all return -EINVAL.
1468 int v4l2_querymenu(struct v4l2_ctrl_handler *hdl, struct v4l2_querymenu *qm);
1474 * @hdl: pointer to &struct v4l2_ctrl_handler
1477 * If hdl == NULL then they will all return -EINVAL.
1479 int v4l2_g_ctrl(struct v4l2_ctrl_handler *hdl, struct v4l2_control *ctrl);
1486 * @hdl: pointer to &struct v4l2_ctrl_handler
1490 * If hdl == NULL then they will all return -EINVAL.
1492 int v4l2_s_ctrl(struct v4l2_fh *fh, struct v4l2_ctrl_handler *hdl,
1499 * @hdl: pointer to &struct v4l2_ctrl_handler
1504 * If hdl == NULL then they will all return -EINVAL.
1506 int v4l2_g_ext_ctrls(struct v4l2_ctrl_handler *hdl, struct video_device *vdev,
1513 * @hdl: pointer to &struct v4l2_ctrl_handler
1518 * If hdl == NULL then they will all return -EINVAL.
1520 int v4l2_try_ext_ctrls(struct v4l2_ctrl_handler *hdl,
1530 * @hdl: pointer to &struct v4l2_ctrl_handler
1535 * If hdl == NULL then they will all return -EINVAL.
1537 int v4l2_s_ext_ctrls(struct v4l2_fh *fh, struct v4l2_ctrl_handler *hdl,
1566 * @hdl: pointer to &struct v4l2_ctrl_handler to register controls on
1578 * Controls already registered by the caller with the @hdl control handler are
1584 int v4l2_ctrl_new_fwnode_properties(struct v4l2_ctrl_handler *hdl,