Lines Matching full:hdl
465 * @hdl: The control handler.
482 * error will also be stored in @hdl->error.
484 int v4l2_ctrl_handler_init_class(struct v4l2_ctrl_handler *hdl,
494 * @hdl: The control handler.
509 #define v4l2_ctrl_handler_init(hdl, nr_of_controls_hint) \ argument
513 v4l2_ctrl_handler_init_class(hdl, nr_of_controls_hint, \
517 "(" #hdl ")->_lock"); \
521 #define v4l2_ctrl_handler_init(hdl, nr_of_controls_hint) \ argument
522 v4l2_ctrl_handler_init_class(hdl, nr_of_controls_hint, NULL, NULL)
528 * @hdl: The control handler.
530 * Does nothing if @hdl == NULL.
532 void v4l2_ctrl_handler_free(struct v4l2_ctrl_handler *hdl);
559 * @hdl: The control handler.
563 * If @hdl == NULL, then this just returns 0.
565 int __v4l2_ctrl_handler_setup(struct v4l2_ctrl_handler *hdl);
570 * @hdl: The control handler.
574 * If @hdl == NULL, then this just returns 0.
576 int v4l2_ctrl_handler_setup(struct v4l2_ctrl_handler *hdl);
580 * @hdl: The control handler.
588 * Does nothing if @hdl == NULL.
590 void v4l2_ctrl_handler_log_status(struct v4l2_ctrl_handler *hdl,
597 * @hdl: The control handler.
602 * and @hdl->error is set to the error code (if it wasn't set already).
604 struct v4l2_ctrl *v4l2_ctrl_new_custom(struct v4l2_ctrl_handler *hdl,
612 * @hdl: The control handler.
621 * ID is not known, then NULL is returned and @hdl->error is set to the
628 struct v4l2_ctrl *v4l2_ctrl_new_std(struct v4l2_ctrl_handler *hdl,
637 * @hdl: The control handler.
654 struct v4l2_ctrl *v4l2_ctrl_new_std_menu(struct v4l2_ctrl_handler *hdl,
662 * @hdl: The control handler.
679 struct v4l2_ctrl *v4l2_ctrl_new_std_menu_items(struct v4l2_ctrl_handler *hdl,
689 * @hdl: The control handler.
700 struct v4l2_ctrl *v4l2_ctrl_new_std_compound(struct v4l2_ctrl_handler *hdl,
708 * @hdl: The control handler.
721 struct v4l2_ctrl *v4l2_ctrl_new_int_menu(struct v4l2_ctrl_handler *hdl,
737 * handler @hdl.
739 * @hdl: The control handler.
741 * the @hdl control handler.
744 * device than @hdl.
749 * In case of an error @hdl->error will be set to the error code (if it
752 int v4l2_ctrl_add_handler(struct v4l2_ctrl_handler *hdl,
819 * @hdl: The control handler.
822 * If @hdl == NULL this will return NULL as well. Will lock the handler so
825 struct v4l2_ctrl *v4l2_ctrl_find(struct v4l2_ctrl_handler *hdl, u32 id);
1287 * @hdl: Put this control handler
1292 static inline void v4l2_ctrl_request_hdl_put(struct v4l2_ctrl_handler *hdl) in v4l2_ctrl_request_hdl_put() argument
1294 if (hdl) in v4l2_ctrl_request_hdl_put()
1295 media_request_object_put(&hdl->req_obj); in v4l2_ctrl_request_hdl_put()
1301 * @hdl: The control handler from the request.
1308 v4l2_ctrl_request_hdl_ctrl_find(struct v4l2_ctrl_handler *hdl, u32 id);
1316 * @hdl: pointer to &struct v4l2_ctrl_handler
1319 * If hdl == NULL then they will all return -EINVAL.
1321 int v4l2_queryctrl(struct v4l2_ctrl_handler *hdl, struct v4l2_queryctrl *qc);
1327 * @hdl: pointer to &struct v4l2_ctrl_handler
1330 * If hdl == NULL then they will all return -EINVAL.
1332 int v4l2_query_ext_ctrl(struct v4l2_ctrl_handler *hdl,
1339 * @hdl: pointer to &struct v4l2_ctrl_handler
1342 * If hdl == NULL then they will all return -EINVAL.
1344 int v4l2_querymenu(struct v4l2_ctrl_handler *hdl, struct v4l2_querymenu *qm);
1350 * @hdl: pointer to &struct v4l2_ctrl_handler
1353 * If hdl == NULL then they will all return -EINVAL.
1355 int v4l2_g_ctrl(struct v4l2_ctrl_handler *hdl, struct v4l2_control *ctrl);
1362 * @hdl: pointer to &struct v4l2_ctrl_handler
1366 * If hdl == NULL then they will all return -EINVAL.
1368 int v4l2_s_ctrl(struct v4l2_fh *fh, struct v4l2_ctrl_handler *hdl,
1375 * @hdl: pointer to &struct v4l2_ctrl_handler
1380 * If hdl == NULL then they will all return -EINVAL.
1382 int v4l2_g_ext_ctrls(struct v4l2_ctrl_handler *hdl, struct video_device *vdev,
1389 * @hdl: pointer to &struct v4l2_ctrl_handler
1394 * If hdl == NULL then they will all return -EINVAL.
1396 int v4l2_try_ext_ctrls(struct v4l2_ctrl_handler *hdl,
1406 * @hdl: pointer to &struct v4l2_ctrl_handler
1411 * If hdl == NULL then they will all return -EINVAL.
1413 int v4l2_s_ext_ctrls(struct v4l2_fh *fh, struct v4l2_ctrl_handler *hdl,
1442 * @hdl: pointer to &struct v4l2_ctrl_handler to register controls on
1454 * Controls already registered by the caller with the @hdl control handler are
1460 int v4l2_ctrl_new_fwnode_properties(struct v4l2_ctrl_handler *hdl,