Lines Matching full:hdl
461 * @hdl: The control handler.
478 * error will also be stored in @hdl->error.
480 int v4l2_ctrl_handler_init_class(struct v4l2_ctrl_handler *hdl,
490 * @hdl: The control handler.
505 #define v4l2_ctrl_handler_init(hdl, nr_of_controls_hint) \ argument
509 v4l2_ctrl_handler_init_class(hdl, nr_of_controls_hint, \
513 "(" #hdl ")->_lock"); \
517 #define v4l2_ctrl_handler_init(hdl, nr_of_controls_hint) \ argument
518 v4l2_ctrl_handler_init_class(hdl, nr_of_controls_hint, NULL, NULL)
524 * @hdl: The control handler.
526 * Does nothing if @hdl == NULL.
528 void v4l2_ctrl_handler_free(struct v4l2_ctrl_handler *hdl);
555 * @hdl: The control handler.
559 * If @hdl == NULL, then this just returns 0.
561 int __v4l2_ctrl_handler_setup(struct v4l2_ctrl_handler *hdl);
566 * @hdl: The control handler.
570 * If @hdl == NULL, then this just returns 0.
572 int v4l2_ctrl_handler_setup(struct v4l2_ctrl_handler *hdl);
576 * @hdl: The control handler.
584 * Does nothing if @hdl == NULL.
586 void v4l2_ctrl_handler_log_status(struct v4l2_ctrl_handler *hdl,
593 * @hdl: The control handler.
598 * and @hdl->error is set to the error code (if it wasn't set already).
600 struct v4l2_ctrl *v4l2_ctrl_new_custom(struct v4l2_ctrl_handler *hdl,
608 * @hdl: The control handler.
617 * ID is not known, then NULL is returned and @hdl->error is set to the
624 struct v4l2_ctrl *v4l2_ctrl_new_std(struct v4l2_ctrl_handler *hdl,
633 * @hdl: The control handler.
650 struct v4l2_ctrl *v4l2_ctrl_new_std_menu(struct v4l2_ctrl_handler *hdl,
658 * @hdl: The control handler.
675 struct v4l2_ctrl *v4l2_ctrl_new_std_menu_items(struct v4l2_ctrl_handler *hdl,
685 * @hdl: The control handler.
696 struct v4l2_ctrl *v4l2_ctrl_new_std_compound(struct v4l2_ctrl_handler *hdl,
704 * @hdl: The control handler.
717 struct v4l2_ctrl *v4l2_ctrl_new_int_menu(struct v4l2_ctrl_handler *hdl,
733 * handler @hdl.
735 * @hdl: The control handler.
737 * the @hdl control handler.
740 * device than @hdl.
745 * In case of an error @hdl->error will be set to the error code (if it
748 int v4l2_ctrl_add_handler(struct v4l2_ctrl_handler *hdl,
815 * @hdl: The control handler.
818 * If @hdl == NULL this will return NULL as well. Will lock the handler so
821 struct v4l2_ctrl *v4l2_ctrl_find(struct v4l2_ctrl_handler *hdl, u32 id);
1283 * @hdl: Put this control handler
1288 static inline void v4l2_ctrl_request_hdl_put(struct v4l2_ctrl_handler *hdl) in v4l2_ctrl_request_hdl_put() argument
1290 if (hdl) in v4l2_ctrl_request_hdl_put()
1291 media_request_object_put(&hdl->req_obj); in v4l2_ctrl_request_hdl_put()
1297 * @hdl: The control handler from the request.
1304 v4l2_ctrl_request_hdl_ctrl_find(struct v4l2_ctrl_handler *hdl, u32 id);
1312 * @hdl: pointer to &struct v4l2_ctrl_handler
1315 * If hdl == NULL then they will all return -EINVAL.
1317 int v4l2_queryctrl(struct v4l2_ctrl_handler *hdl, struct v4l2_queryctrl *qc);
1323 * @hdl: pointer to &struct v4l2_ctrl_handler
1326 * If hdl == NULL then they will all return -EINVAL.
1328 int v4l2_query_ext_ctrl(struct v4l2_ctrl_handler *hdl,
1335 * @hdl: pointer to &struct v4l2_ctrl_handler
1338 * If hdl == NULL then they will all return -EINVAL.
1340 int v4l2_querymenu(struct v4l2_ctrl_handler *hdl, struct v4l2_querymenu *qm);
1346 * @hdl: pointer to &struct v4l2_ctrl_handler
1349 * If hdl == NULL then they will all return -EINVAL.
1351 int v4l2_g_ctrl(struct v4l2_ctrl_handler *hdl, struct v4l2_control *ctrl);
1358 * @hdl: pointer to &struct v4l2_ctrl_handler
1362 * If hdl == NULL then they will all return -EINVAL.
1364 int v4l2_s_ctrl(struct v4l2_fh *fh, struct v4l2_ctrl_handler *hdl,
1371 * @hdl: pointer to &struct v4l2_ctrl_handler
1376 * If hdl == NULL then they will all return -EINVAL.
1378 int v4l2_g_ext_ctrls(struct v4l2_ctrl_handler *hdl, struct video_device *vdev,
1385 * @hdl: pointer to &struct v4l2_ctrl_handler
1390 * If hdl == NULL then they will all return -EINVAL.
1392 int v4l2_try_ext_ctrls(struct v4l2_ctrl_handler *hdl,
1402 * @hdl: pointer to &struct v4l2_ctrl_handler
1407 * If hdl == NULL then they will all return -EINVAL.
1409 int v4l2_s_ext_ctrls(struct v4l2_fh *fh, struct v4l2_ctrl_handler *hdl,
1438 * @hdl: pointer to &struct v4l2_ctrl_handler to register controls on
1450 * Controls already registered by the caller with the @hdl control handler are
1456 int v4l2_ctrl_new_fwnode_properties(struct v4l2_ctrl_handler *hdl,