Lines Matching refs:hdl

463  * @hdl:	The control handler.
480 * error will also be stored in @hdl->error.
482 int v4l2_ctrl_handler_init_class(struct v4l2_ctrl_handler *hdl,
492 * @hdl: The control handler.
507 #define v4l2_ctrl_handler_init(hdl, nr_of_controls_hint) \
511 v4l2_ctrl_handler_init_class(hdl, nr_of_controls_hint, \
515 "(" #hdl ")->_lock"); \
519 #define v4l2_ctrl_handler_init(hdl, nr_of_controls_hint) \
520 v4l2_ctrl_handler_init_class(hdl, nr_of_controls_hint, NULL, NULL)
526 * @hdl: The control handler.
528 * Does nothing if @hdl == NULL.
530 void v4l2_ctrl_handler_free(struct v4l2_ctrl_handler *hdl);
557 * @hdl: The control handler.
561 * If @hdl == NULL, then this just returns 0.
563 int __v4l2_ctrl_handler_setup(struct v4l2_ctrl_handler *hdl);
568 * @hdl: The control handler.
572 * If @hdl == NULL, then this just returns 0.
574 int v4l2_ctrl_handler_setup(struct v4l2_ctrl_handler *hdl);
578 * @hdl: The control handler.
586 * Does nothing if @hdl == NULL.
588 void v4l2_ctrl_handler_log_status(struct v4l2_ctrl_handler *hdl,
595 * @hdl: The control handler.
600 * and @hdl->error is set to the error code (if it wasn't set already).
602 struct v4l2_ctrl *v4l2_ctrl_new_custom(struct v4l2_ctrl_handler *hdl,
610 * @hdl: The control handler.
619 * ID is not known, then NULL is returned and @hdl->error is set to the
626 struct v4l2_ctrl *v4l2_ctrl_new_std(struct v4l2_ctrl_handler *hdl,
635 * @hdl: The control handler.
652 struct v4l2_ctrl *v4l2_ctrl_new_std_menu(struct v4l2_ctrl_handler *hdl,
660 * @hdl: The control handler.
677 struct v4l2_ctrl *v4l2_ctrl_new_std_menu_items(struct v4l2_ctrl_handler *hdl,
687 * @hdl: The control handler.
698 struct v4l2_ctrl *v4l2_ctrl_new_std_compound(struct v4l2_ctrl_handler *hdl,
706 * @hdl: The control handler.
719 struct v4l2_ctrl *v4l2_ctrl_new_int_menu(struct v4l2_ctrl_handler *hdl,
735 * handler @hdl.
737 * @hdl: The control handler.
739 * the @hdl control handler.
742 * device than @hdl.
747 * In case of an error @hdl->error will be set to the error code (if it
750 int v4l2_ctrl_add_handler(struct v4l2_ctrl_handler *hdl,
817 * @hdl: The control handler.
820 * If @hdl == NULL this will return NULL as well. Will lock the handler so
823 struct v4l2_ctrl *v4l2_ctrl_find(struct v4l2_ctrl_handler *hdl, u32 id);
1285 * @hdl: Put this control handler
1290 static inline void v4l2_ctrl_request_hdl_put(struct v4l2_ctrl_handler *hdl)
1292 if (hdl)
1293 media_request_object_put(&hdl->req_obj);
1299 * @hdl: The control handler from the request.
1306 v4l2_ctrl_request_hdl_ctrl_find(struct v4l2_ctrl_handler *hdl, u32 id);
1314 * @hdl: pointer to &struct v4l2_ctrl_handler
1317 * If hdl == NULL then they will all return -EINVAL.
1319 int v4l2_queryctrl(struct v4l2_ctrl_handler *hdl, struct v4l2_queryctrl *qc);
1325 * @hdl: pointer to &struct v4l2_ctrl_handler
1328 * If hdl == NULL then they will all return -EINVAL.
1330 int v4l2_query_ext_ctrl(struct v4l2_ctrl_handler *hdl,
1337 * @hdl: pointer to &struct v4l2_ctrl_handler
1340 * If hdl == NULL then they will all return -EINVAL.
1342 int v4l2_querymenu(struct v4l2_ctrl_handler *hdl, struct v4l2_querymenu *qm);
1348 * @hdl: pointer to &struct v4l2_ctrl_handler
1351 * If hdl == NULL then they will all return -EINVAL.
1353 int v4l2_g_ctrl(struct v4l2_ctrl_handler *hdl, struct v4l2_control *ctrl);
1360 * @hdl: pointer to &struct v4l2_ctrl_handler
1364 * If hdl == NULL then they will all return -EINVAL.
1366 int v4l2_s_ctrl(struct v4l2_fh *fh, struct v4l2_ctrl_handler *hdl,
1373 * @hdl: pointer to &struct v4l2_ctrl_handler
1378 * If hdl == NULL then they will all return -EINVAL.
1380 int v4l2_g_ext_ctrls(struct v4l2_ctrl_handler *hdl, struct video_device *vdev,
1387 * @hdl: pointer to &struct v4l2_ctrl_handler
1392 * If hdl == NULL then they will all return -EINVAL.
1394 int v4l2_try_ext_ctrls(struct v4l2_ctrl_handler *hdl,
1404 * @hdl: pointer to &struct v4l2_ctrl_handler
1409 * If hdl == NULL then they will all return -EINVAL.
1411 int v4l2_s_ext_ctrls(struct v4l2_fh *fh, struct v4l2_ctrl_handler *hdl,
1440 * @hdl: pointer to &struct v4l2_ctrl_handler to register controls on
1452 * Controls already registered by the caller with the @hdl control handler are
1458 int v4l2_ctrl_new_fwnode_properties(struct v4l2_ctrl_handler *hdl,