Lines Matching defs:hdl

496  * @hdl:	The control handler.
513 * error will also be stored in @hdl->error.
515 int v4l2_ctrl_handler_init_class(struct v4l2_ctrl_handler *hdl,
525 * @hdl: The control handler.
540 #define v4l2_ctrl_handler_init(hdl, nr_of_controls_hint) \
544 v4l2_ctrl_handler_init_class(hdl, nr_of_controls_hint, \
548 "(" #hdl ")->_lock"); \
552 #define v4l2_ctrl_handler_init(hdl, nr_of_controls_hint) \
553 v4l2_ctrl_handler_init_class(hdl, nr_of_controls_hint, NULL, NULL)
559 * @hdl: The control handler.
561 * Does nothing if @hdl == NULL.
563 void v4l2_ctrl_handler_free(struct v4l2_ctrl_handler *hdl);
590 * @hdl: The control handler.
594 * If @hdl == NULL, then this just returns 0.
596 int __v4l2_ctrl_handler_setup(struct v4l2_ctrl_handler *hdl);
601 * @hdl: The control handler.
605 * If @hdl == NULL, then this just returns 0.
607 int v4l2_ctrl_handler_setup(struct v4l2_ctrl_handler *hdl);
611 * @hdl: The control handler.
619 * Does nothing if @hdl == NULL.
621 void v4l2_ctrl_handler_log_status(struct v4l2_ctrl_handler *hdl,
628 * @hdl: The control handler.
633 * and @hdl->error is set to the error code (if it wasn't set already).
635 struct v4l2_ctrl *v4l2_ctrl_new_custom(struct v4l2_ctrl_handler *hdl,
643 * @hdl: The control handler.
652 * ID is not known, then NULL is returned and @hdl->error is set to the
659 struct v4l2_ctrl *v4l2_ctrl_new_std(struct v4l2_ctrl_handler *hdl,
668 * @hdl: The control handler.
685 struct v4l2_ctrl *v4l2_ctrl_new_std_menu(struct v4l2_ctrl_handler *hdl,
693 * @hdl: The control handler.
710 struct v4l2_ctrl *v4l2_ctrl_new_std_menu_items(struct v4l2_ctrl_handler *hdl,
720 * @hdl: The control handler.
731 struct v4l2_ctrl *v4l2_ctrl_new_std_compound(struct v4l2_ctrl_handler *hdl,
739 * @hdl: The control handler.
752 struct v4l2_ctrl *v4l2_ctrl_new_int_menu(struct v4l2_ctrl_handler *hdl,
768 * handler @hdl.
770 * @hdl: The control handler.
772 * the @hdl control handler.
775 * device than @hdl.
780 * In case of an error @hdl->error will be set to the error code (if it
783 int v4l2_ctrl_add_handler(struct v4l2_ctrl_handler *hdl,
850 * @hdl: The control handler.
853 * If @hdl == NULL this will return NULL as well. Will lock the handler so
856 struct v4l2_ctrl *v4l2_ctrl_find(struct v4l2_ctrl_handler *hdl, u32 id);
1371 * @hdl: Put this control handler
1376 static inline void v4l2_ctrl_request_hdl_put(struct v4l2_ctrl_handler *hdl)
1378 if (hdl)
1379 media_request_object_put(&hdl->req_obj);
1385 * @hdl: The control handler from the request.
1392 v4l2_ctrl_request_hdl_ctrl_find(struct v4l2_ctrl_handler *hdl, u32 id);
1400 * @hdl: pointer to &struct v4l2_ctrl_handler
1403 * If hdl == NULL then they will all return -EINVAL.
1405 int v4l2_queryctrl(struct v4l2_ctrl_handler *hdl, struct v4l2_queryctrl *qc);
1411 * @hdl: pointer to &struct v4l2_ctrl_handler
1414 * If hdl == NULL then they will all return -EINVAL.
1416 int v4l2_query_ext_ctrl(struct v4l2_ctrl_handler *hdl,
1423 * @hdl: pointer to &struct v4l2_ctrl_handler
1426 * If hdl == NULL then they will all return -EINVAL.
1428 int v4l2_querymenu(struct v4l2_ctrl_handler *hdl, struct v4l2_querymenu *qm);
1434 * @hdl: pointer to &struct v4l2_ctrl_handler
1437 * If hdl == NULL then they will all return -EINVAL.
1439 int v4l2_g_ctrl(struct v4l2_ctrl_handler *hdl, struct v4l2_control *ctrl);
1446 * @hdl: pointer to &struct v4l2_ctrl_handler
1450 * If hdl == NULL then they will all return -EINVAL.
1452 int v4l2_s_ctrl(struct v4l2_fh *fh, struct v4l2_ctrl_handler *hdl,
1459 * @hdl: pointer to &struct v4l2_ctrl_handler
1464 * If hdl == NULL then they will all return -EINVAL.
1466 int v4l2_g_ext_ctrls(struct v4l2_ctrl_handler *hdl, struct video_device *vdev,
1473 * @hdl: pointer to &struct v4l2_ctrl_handler
1478 * If hdl == NULL then they will all return -EINVAL.
1480 int v4l2_try_ext_ctrls(struct v4l2_ctrl_handler *hdl,
1490 * @hdl: pointer to &struct v4l2_ctrl_handler
1495 * If hdl == NULL then they will all return -EINVAL.
1497 int v4l2_s_ext_ctrls(struct v4l2_fh *fh, struct v4l2_ctrl_handler *hdl,
1526 * @hdl: pointer to &struct v4l2_ctrl_handler to register controls on
1538 * Controls already registered by the caller with the @hdl control handler are
1544 int v4l2_ctrl_new_fwnode_properties(struct v4l2_ctrl_handler *hdl,