- struct v4l2_ctrl * v4l2_ctrl_new_custom(struct v4l2_ctrl_handler * hdl, const struct v4l2_ctrl_config * cfg, void * priv);
- The control handler.
- The control's configuration data.
- The control's driver-specific private data.
If the v4l2_ctrl struct could not be allocated then NULL is returned and hdl->error is set to the error code (if it wasn't set already).