id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
uvd_v7_0_ring_get_wptr(9) | NAME uvd_v7_0_ring_get_wptr - get write pointer
SYNOPSIS uint64_t uvd_v7_0_ring_get_wptr (struct amdgpu_ring *ring );
ARGUMENTS ring amdgpu_ring pointer
DESCRIPTION Returns the current hardware write pointer
SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c uvd_v7_0_ring_get_rptr(9), ... |
uvd_v7_0_ring_patch_cs_in_place(9) | NAME uvd_v7_0_ring_patch_cs_in_place - Patch the IB for command submission.
SYNOPSIS int uvd_v7_0_ring_patch_cs_in_place (struct amdgpu_cs_parser *p , struct amdgpu_job *job , struct amdgpu_ib *ib );
ARGUMENTS p the CS parser with the IBs
job which job this ib is in
ib which... |
uvd_v7_0_ring_set_wptr(9) | NAME uvd_v7_0_ring_set_wptr - set write pointer
SYNOPSIS void uvd_v7_0_ring_set_wptr (struct amdgpu_ring *ring );
ARGUMENTS ring amdgpu_ring pointer
DESCRIPTION Commits the write pointer to the hardware
SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c uvd_v7_0_ring_get_rptr(9), uvd_... |
uvd_v7_0_ring_test_ring(9) | NAME uvd_v7_0_ring_test_ring - register write test
SYNOPSIS int uvd_v7_0_ring_test_ring (struct amdgpu_ring *ring );
ARGUMENTS ring amdgpu_ring pointer
DESCRIPTION Test if we can successfully write to the context register
SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c uvd_v7_0_ring_... |
uvd_v7_0_start(9) | NAME uvd_v7_0_start - start UVD block
SYNOPSIS int uvd_v7_0_start (struct amdgpu_device *adev );
ARGUMENTS adev amdgpu_device pointer
DESCRIPTION Setup and start the UVD block
SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c uvd_v7_0_ring_get_rptr(9), uvd_v7_0_enc_ring_get_rptr(9)... |
uvd_v7_0_stop(9) | NAME uvd_v7_0_stop - stop UVD block
SYNOPSIS void uvd_v7_0_stop (struct amdgpu_device *adev );
ARGUMENTS adev amdgpu_device pointer
DESCRIPTION stop the UVD block
SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c uvd_v7_0_ring_get_rptr(9), uvd_v7_0_enc_ring_get_rptr(9), uvd_v7_0_ring_get_w... |
uverbs_attr_get_uobjs_arr(9) | NAME uverbs_attr_get_uobjs_arr - Provides array's properties for attribute for UVERBS_ATTR_TYPE_IDRS_ARRAY.
SYNOPSIS int uverbs_attr_get_uobjs_arr (const struct uverbs_attr_bundle *attrs_bundle , u16 attr_idx , struct ib_uobject ***arr );
ARGUMENTS attrs_bundle -- undescribed --
attr_idx -- undescribed --
... |
uvio_add_secret(9) | NAME uvio_add_secret - Perform an Add Secret UVC
SYNOPSIS int uvio_add_secret (struct uvio_ioctl_cb *uv_ioctl );
ARGUMENTS uv_ioctl ioctl control block
DESCRIPTION uvio_add_secret performs the Add Secret Ultravisor Call. The given userspace argument address and size are verified to be valid but every other chec... |
uvio_attestation(9) | NAME uvio_attestation - Perform a Retrieve Attestation Measurement UVC.
SYNOPSIS int uvio_attestation (struct uvio_ioctl_cb *uv_ioctl );
ARGUMENTS uv_ioctl ioctl control block
DESCRIPTION uvio_attestation does a Retrieve Attestation Measurement Ultravisor Call. It verifies that the given userspace addresses a... |
uvio_list_secrets(9) | NAME uvio_list_secrets - Perform a List Secret UVC
SYNOPSIS int uvio_list_secrets (struct uvio_ioctl_cb *uv_ioctl );
ARGUMENTS uv_ioctl ioctl control block
DESCRIPTION uvio_list_secrets performs the List Secret Ultravisor Call. It verifies that the given userspace argument address is valid and its size is sane. ... |
uvio_lock_secrets(9) | NAME uvio_lock_secrets - Perform a Lock Secret Store UVC
SYNOPSIS int uvio_lock_secrets (struct uvio_ioctl_cb *ioctl );
ARGUMENTS ioctl ioctl control block
DESCRIPTION uvio_lock_secrets performs the Lock Secret Store Ultravisor Call. It performs the UV-call and copies the return codes to the ioctl control bloc... |
uvio_retr_secret(9) | NAME uvio_retr_secret - Perform a retrieve secret UVC
SYNOPSIS int uvio_retr_secret (struct uvio_ioctl_cb *uv_ioctl );
ARGUMENTS uv_ioctl ioctl control block.
DESCRIPTION uvio_retr_secret performs the Retrieve Secret Ultravisor Call. The first two bytes of the argument specify the index of the secret to be ... |
uvio_uvdev_info(9) | NAME uvio_uvdev_info - Get information about the uvdevice
SYNOPSIS int uvio_uvdev_info (struct uvio_ioctl_cb *uv_ioctl );
ARGUMENTS uv_ioctl ioctl control block
DESCRIPTION Lists all IOCTLs that are supported by this uvdevice
RETURN 0 on success or a negative error code on error
SEE ALSO Kernel file ./drivers/s... |
ux500_swap_bits_in_byte(9) | NAME ux500_swap_bits_in_byte - mirror the bits in a byte
SYNOPSIS u8 ux500_swap_bits_in_byte (u8 b );
ARGUMENTS b the byte to be mirrored
DESCRIPTION The bits are swapped the following way: Byte b include bits 0-7, nibble 1 (n1) include bits 0-3 and nibble 2 (n2) bits 4-7. Nibble 1 (n1): (The "old" (move... |
ux500_swizzle_key(9) | NAME ux500_swizzle_key - Shuffle around words and bits in the AES key
SYNOPSIS void ux500_swizzle_key (const u8 *in , u8 *out , u32 len );
ARGUMENTS in key to swizzle
out swizzled key
len length of key, in bytes
DESCRIPTION This "key swizzling procedure" is described in the e... |
uxterm(1) | NAME uxterm - X terminal emulator for Unicode (UTF-8) environments
SYNOPSIS uxterm [ xterm-options ]
DESCRIPTION uxterm is a wrapper around the xterm(1) program that invokes the latter program with the “UXTerm” X resource class set. All arguments to uxterm are passed to xterm without processing; the -class and -u... |
v2i_ASN1_BIT_STRING(3) | NAME v2i_ASN1_BIT_STRING, i2v_ASN1_BIT_STRING — ASN.1 BIT STRING utility functions for certificate extensions
SYNOPSIS library “libcrypto” #include <openssl/x509v3.h>
ASN1_BIT_STRING *
v2i_ASN1_BIT_STRING(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval);
STACK_OF(CONF_VALU... |
v3d_lookup_bos(9) | NAME v3d_lookup_bos - Sets up job->bo[] with the GEM objects referenced by the job.
SYNOPSIS int v3d_lookup_bos (struct drm_device *dev , struct drm_file *file_priv , struct v3d_job *job , u64 bo_handles , u32 bo_count );
ARGUMENTS dev DRM device
file_priv DRM file for this fd
job V3... |
v3d_submit_cl_ioctl(9) | NAME v3d_submit_cl_ioctl - Submits a job (frame) to the V3D.
SYNOPSIS int v3d_submit_cl_ioctl (struct drm_device *dev , void *data , struct drm_file *file_priv );
ARGUMENTS dev DRM device
data ioctl argument
file_priv DRM file for this fd
DESCRIPTION This is the main entrypoint for... |
v3d_submit_cpu_ioctl(9) | NAME v3d_submit_cpu_ioctl - Submits a CPU job to the V3D.
SYNOPSIS int v3d_submit_cpu_ioctl (struct drm_device *dev , void *data , struct drm_file *file_priv );
ARGUMENTS dev DRM device
data ioctl argument
file_priv DRM file for this fd
DESCRIPTION Userspace specifies the CPU job typ... |
v3d_submit_csd_ioctl(9) | NAME v3d_submit_csd_ioctl - Submits a CSD (compute shader) job to the V3D.
SYNOPSIS int v3d_submit_csd_ioctl (struct drm_device *dev , void *data , struct drm_file *file_priv );
ARGUMENTS dev DRM device
data ioctl argument
file_priv DRM file for this fd
DESCRIPTION Userspace provides... |
v3d_submit_tfu_ioctl(9) | NAME v3d_submit_tfu_ioctl - Submits a TFU (texture formatting) job to the V3D.
SYNOPSIS int v3d_submit_tfu_ioctl (struct drm_device *dev , void *data , struct drm_file *file_priv );
ARGUMENTS dev DRM device
data ioctl argument
file_priv DRM file for this fd
DESCRIPTION Userspace prov... |
v4l2_async_connection_unique(9) | NAME v4l2_async_connection_unique - return a unique &struct v4l2_async_connection for a sub-device
SYNOPSIS struct v4l2_async_connection * v4l2_async_connection_unique (struct v4l2_subdev *sd );
ARGUMENTS sd the sub-device
DESCRIPTION Return an async connection for a sub-device, when there is a single one o... |
v4l2_async_debug_init(9) | NAME v4l2_async_debug_init - Initialize debugging tools.
SYNOPSIS void v4l2_async_debug_init (struct dentry *debugfs_dir );
ARGUMENTS debugfs_dir pointer to the parent debugfs struct dentry
SEE ALSO Kernel file ./include/media/v4l2-async.h enum v4l2_async_match_type(9), struct v4l2_async_match_desc(9), struct v4... |
v4l2_async_nf_add_fwnode(9) | NAME v4l2_async_nf_add_fwnode - Allocate and add a fwnode async subdev to the notifier's master asc_list.
SYNOPSIS v4l2_async_nf_add_fwnode (notifier , fwnode , type );
ARGUMENTS notifier pointer to struct v4l2_async_notifier
fwnode fwnode handle of the sub-device to be matched, pointer to struct fwno... |
v4l2_async_nf_add_fwnode_remote(9) | NAME v4l2_async_nf_add_fwnode_remote - Allocate and add a fwnode remote async subdev to the notifier's master asc_list.
SYNOPSIS v4l2_async_nf_add_fwnode_remote (notifier , ep , type );
ARGUMENTS notifier pointer to struct v4l2_async_notifier
ep local endpoint pointing to the remote connection to ... |
v4l2_async_nf_add_i2c(9) | NAME v4l2_async_nf_add_i2c - Allocate and add an i2c async subdev to the notifier's master asc_list.
SYNOPSIS v4l2_async_nf_add_i2c (notifier , adapter , address , type );
ARGUMENTS notifier pointer to struct v4l2_async_notifier
adapter I2C adapter ID to be matched
address I2C address of co... |
v4l2_async_nf_cleanup(9) | NAME v4l2_async_nf_cleanup - clean up notifier resources
SYNOPSIS void v4l2_async_nf_cleanup (struct v4l2_async_notifier *notifier );
ARGUMENTS notifier the notifier the resources of which are to be cleaned up
DESCRIPTION Release memory resources related to a notifier, including the async connections allocated fo... |
v4l2_async_nf_init(9) | NAME v4l2_async_nf_init - Initialize a notifier.
SYNOPSIS void v4l2_async_nf_init (struct v4l2_async_notifier *notifier , struct v4l2_device *v4l2_dev );
ARGUMENTS notifier pointer to struct v4l2_async_notifier
v4l2_dev pointer to struct v4l2_device
DESCRIPTION This function initializes the notifier as... |
v4l2_async_nf_parse_fwnode_sensor(9) | NAME v4l2_async_nf_parse_fwnode_sensor - parse common references on sensors for async sub-devices
SYNOPSIS int v4l2_async_nf_parse_fwnode_sensor (struct device *dev , struct v4l2_async_notifier *notifier );
ARGUMENTS dev the device node the properties of which are parsed for references
notifier the... |
v4l2_async_nf_register(9) | NAME v4l2_async_nf_register - registers a subdevice asynchronous notifier
SYNOPSIS int v4l2_async_nf_register (struct v4l2_async_notifier *notifier );
ARGUMENTS notifier pointer to struct v4l2_async_notifier
SEE ALSO Kernel file ./include/media/v4l2-async.h enum v4l2_async_match_type(9), struct v4l2_async_mat... |
v4l2_async_nf_unregister(9) | NAME v4l2_async_nf_unregister - unregisters a subdevice asynchronous notifier
SYNOPSIS void v4l2_async_nf_unregister (struct v4l2_async_notifier *notifier );
ARGUMENTS notifier pointer to struct v4l2_async_notifier
SEE ALSO Kernel file ./include/media/v4l2-async.h enum v4l2_async_match_type(9), struct v4l2_as... |
v4l2_async_register_subdev(9) | NAME v4l2_async_register_subdev - registers a sub-device to the asynchronous subdevice framework
SYNOPSIS v4l2_async_register_subdev (sd );
ARGUMENTS sd pointer to struct v4l2_subdev
SEE ALSO Kernel file ./include/media/v4l2-async.h enum v4l2_async_match_type(9), struct v4l2_async_match_desc(9), struct ... |
v4l2_async_register_subdev_sensor(9) | NAME v4l2_async_register_subdev_sensor - registers a sensor sub-device to the asynchronous sub-device framework and parse set up common sensor related devices
SYNOPSIS int v4l2_async_register_subdev_sensor (struct v4l2_subdev *sd );
ARGUMENTS sd pointer to struct v4l2_subdev
DESCRIPTION This function is ... |
v4l2_async_subdev_endpoint_add(9) | NAME v4l2_async_subdev_endpoint_add - Add an endpoint fwnode to async sub-device matching list
SYNOPSIS int v4l2_async_subdev_endpoint_add (struct v4l2_subdev *sd , struct fwnode_handle *fwnode );
ARGUMENTS sd the sub-device
fwnode the endpoint fwnode to match
DESCRIPTION Add a fwnode to the ... |
v4l2_async_subdev_nf_init(9) | NAME v4l2_async_subdev_nf_init - Initialize a sub-device notifier.
SYNOPSIS void v4l2_async_subdev_nf_init (struct v4l2_async_notifier *notifier , struct v4l2_subdev *sd );
ARGUMENTS notifier pointer to struct v4l2_async_notifier
sd pointer to struct v4l2_subdev
DESCRIPTION This function initiali... |
v4l2_async_unregister_subdev(9) | NAME v4l2_async_unregister_subdev - unregisters a sub-device to the asynchronous subdevice framework
SYNOPSIS void v4l2_async_unregister_subdev (struct v4l2_subdev *sd );
ARGUMENTS sd pointer to struct v4l2_subdev
SEE ALSO Kernel file ./include/media/v4l2-async.h enum v4l2_async_match_type(9), struct v4... |
v4l2_calc_aspect_ratio(9) | NAME v4l2_calc_aspect_ratio - calculate the aspect ratio based on bytes 0x15 and 0x16 from the EDID.
SYNOPSIS struct v4l2_fract v4l2_calc_aspect_ratio (u8 hor_landscape , u8 vert_portrait );
ARGUMENTS hor_landscape byte 0x15 from the EDID.
vert_portrait
byte 0x16 from the EDID.
DESCRIPTION... |
v4l2_calc_timeperframe(9) | NAME v4l2_calc_timeperframe - helper function to calculate timeperframe based v4l2_dv_timings fields.
SYNOPSIS struct v4l2_fract v4l2_calc_timeperframe (const struct v4l2_dv_timings *t );
ARGUMENTS t Timings for the video mode.
DESCRIPTION Calculates the expected timeperframe using the pixel clock value an... |
v4l2_check_dv_timings_fnc(9) | NAME v4l2_check_dv_timings_fnc - timings check callback
SYNOPSIS bool v4l2_check_dv_timings_fnc (const struct v4l2_dv_timings *t , void *handle );
ARGUMENTS t the v4l2_dv_timings struct.
handle a handle from the driver.
DESCRIPTION Returns true if the given timings are valid.
SEE ALSO Kernel ... |
v4l2_compat_ioctl32(9) | NAME v4l2_compat_ioctl32 - 32 Bits compatibility layer for 64 bits processors
SYNOPSIS long int v4l2_compat_ioctl32 (struct file *file , unsigned int cmd , unsigned long arg );
ARGUMENTS file Pointer to struct file.
cmd Ioctl name.
arg Ioctl argument.
SEE ALSO Kernel file ./inc... |
v4l2_create_fwnode_links(9) | NAME v4l2_create_fwnode_links - Create fwnode-based links from a source subdev to a sink subdev.
SYNOPSIS int v4l2_create_fwnode_links (struct v4l2_subdev *src_sd , struct v4l2_subdev *sink_sd );
ARGUMENTS src_sd pointer to a source subdevice
sink_sd pointer to a sink subdevice
DESCRIPTION This fun... |
v4l2_create_fwnode_links_to_pad(9) | NAME v4l2_create_fwnode_links_to_pad - Create fwnode-based links from a source subdev to a sink pad.
SYNOPSIS int v4l2_create_fwnode_links_to_pad (struct v4l2_subdev *src_sd , struct media_pad *sink , u32 flags );
ARGUMENTS src_sd pointer to a source subdev
sink pointer to a sink pad
flags... |
v4l2_ctrl_activate(9) | NAME v4l2_ctrl_activate - Make the control active or inactive.
SYNOPSIS void v4l2_ctrl_activate (struct v4l2_ctrl *ctrl , bool active );
ARGUMENTS ctrl The control to (de)activate.
active True if the control should become active.
DESCRIPTION This sets or clears the V4L2_CTRL_FLAG_INACTIVE flag a... |
v4l2_ctrl_add_handler(9) | NAME v4l2_ctrl_add_handler - Add all controls from handler @add to handler @hdl.
SYNOPSIS int v4l2_ctrl_add_handler (struct v4l2_ctrl_handler *hdl , struct v4l2_ctrl_handler *add , v4l2_ctrl_filter filter , bool from_other_dev );
ARGUMENTS hdl The control handler.
add The control handler whose... |
v4l2_ctrl_auto_cluster(9) | NAME v4l2_ctrl_auto_cluster - Mark all controls in the cluster as belonging to that cluster and set it up for autofoo/foo-type handling.
SYNOPSIS void v4l2_ctrl_auto_cluster (unsigned int ncontrols , struct v4l2_ctrl **controls , u8 manual_val , bool set_volatile );
ARGUMENTS ncontrols The number of controls in thi... |
v4l2_ctrl_cluster(9) | NAME v4l2_ctrl_cluster - Mark all controls in the cluster as belonging to that cluster.
SYNOPSIS void v4l2_ctrl_cluster (unsigned int ncontrols , struct v4l2_ctrl **controls );
ARGUMENTS ncontrols The number of controls in this cluster.
controls The cluster control array of size ncontrols.
SEE ALSO Kern... |
v4l2_ctrl_fill(9) | NAME v4l2_ctrl_fill - Fill in the control fields based on the control ID.
SYNOPSIS void v4l2_ctrl_fill (u32 id , const char **name , enum v4l2_ctrl_type *type , s64 *min , s64 *max , u64 *step , s64 *def , u32 *flags );
ARGUMENTS id ID of the control
name pointer to be filled with a string wit... |
v4l2_ctrl_filter(9) | NAME v4l2_ctrl_filter - Typedef to define the filter function to be used when adding a control handler.
SYNOPSIS bool v4l2_ctrl_filter (const struct v4l2_ctrl *ctrl );
ARGUMENTS ctrl pointer to struct v4l2_ctrl.
SEE ALSO Kernel file ./include/media/v4l2-ctrls.h union v4l2_ctrl_ptr(9), v4l2_ctrl_ptr_creat... |
v4l2_ctrl_find(9) | NAME v4l2_ctrl_find - Find a control with the given ID.
SYNOPSIS struct v4l2_ctrl * v4l2_ctrl_find (struct v4l2_ctrl_handler *hdl , u32 id );
ARGUMENTS hdl The control handler.
id The control ID to find.
DESCRIPTION If hdl == NULL this will return NULL as well. Will lock the handler so do no... |
v4l2_ctrl_g_ctrl(9) | NAME v4l2_ctrl_g_ctrl - Helper function to get the control's value from within a driver.
SYNOPSIS s32 v4l2_ctrl_g_ctrl (struct v4l2_ctrl *ctrl );
ARGUMENTS ctrl The control.
DESCRIPTION This returns the control's value safely by going through the control framework. This function will lock the control's han... |
v4l2_ctrl_g_ctrl_int64(9) | NAME v4l2_ctrl_g_ctrl_int64 - Helper function to get a 64-bit control's value from within a driver.
SYNOPSIS s64 v4l2_ctrl_g_ctrl_int64 (struct v4l2_ctrl *ctrl );
ARGUMENTS ctrl The control.
DESCRIPTION This returns the control's value safely by going through the control framework. This function will lock the... |
v4l2_ctrl_get_int_menu(9) | NAME v4l2_ctrl_get_int_menu - Get the integer menu array of the control
SYNOPSIS const s64 * v4l2_ctrl_get_int_menu (u32 id , u32 *len );
ARGUMENTS id The control ID.
len The size of the integer array.
DESCRIPTION This function returns the integer array of the given control ID or NULL if it ... |
v4l2_ctrl_get_menu(9) | NAME v4l2_ctrl_get_menu - Get the menu string array of the control
SYNOPSIS const char * const * v4l2_ctrl_get_menu (u32 id );
ARGUMENTS id The control ID.
DESCRIPTION This function returns the NULL-terminated menu string array name of the given control ID or NULL if it isn't a known menu control.
SEE ALSO... |
v4l2_ctrl_get_name(9) | NAME v4l2_ctrl_get_name - Get the name of the control
SYNOPSIS const char * v4l2_ctrl_get_name (u32 id );
ARGUMENTS id The control ID.
DESCRIPTION This function returns the name of the given control ID or NULL if it isn't a known control.
SEE ALSO Kernel file ./include/media/v4l2-ctrls.h union v4l2_ctr... |
v4l2_ctrl_grab(9) | NAME v4l2_ctrl_grab - Mark the control as grabbed or not grabbed.
SYNOPSIS void v4l2_ctrl_grab (struct v4l2_ctrl *ctrl , bool grabbed );
ARGUMENTS ctrl The control to (de)activate.
grabbed True if the control should become grabbed.
DESCRIPTION This sets or clears the V4L2_CTRL_FLAG_GRABBED flag ... |
v4l2_ctrl_handler_free(9) | NAME v4l2_ctrl_handler_free - Free all controls owned by the handler and free the control list.
SYNOPSIS int v4l2_ctrl_handler_free (struct v4l2_ctrl_handler *hdl );
ARGUMENTS hdl The control handler.
DESCRIPTION Does nothing if hdl == NULL.
RETURN hdl's error field or 0 if hdl is NULL.
SEE ALSO Kernel fi... |
v4l2_ctrl_handler_init(9) | NAME v4l2_ctrl_handler_init - helper function to create a static struct &lock_class_key and calls v4l2_ctrl_handler_init_class()
SYNOPSIS v4l2_ctrl_handler_init (hdl , nr_of_controls_hint );
ARGUMENTS hdl The control handler.
nr_of_controls_hint
A hint of how many controls this han... |
v4l2_ctrl_handler_init_class(9) | NAME v4l2_ctrl_handler_init_class - Initialize the control handler.
SYNOPSIS int v4l2_ctrl_handler_init_class (struct v4l2_ctrl_handler *hdl , unsigned int nr_of_controls_hint , struct lock_class_key *key , const char *name );
ARGUMENTS hdl The control handler.
nr_of_controls_hint
A... |
v4l2_ctrl_handler_log_status(9) | NAME v4l2_ctrl_handler_log_status - Log all controls owned by the handler.
SYNOPSIS void v4l2_ctrl_handler_log_status (struct v4l2_ctrl_handler *hdl , const char *prefix );
ARGUMENTS hdl The control handler.
prefix The prefix to use when logging the control values. If the prefix does not end with... |
v4l2_ctrl_handler_setup(9) | NAME v4l2_ctrl_handler_setup - Call the s_ctrl op for all controls belonging to the handler to initialize the hardware to the current control values.
SYNOPSIS int v4l2_ctrl_handler_setup (struct v4l2_ctrl_handler *hdl );
ARGUMENTS hdl The control handler.
DESCRIPTION Button controls will be skipped, as are r... |
v4l2_ctrl_lock(9) | NAME v4l2_ctrl_lock - Helper function to lock the handler associated with the control.
SYNOPSIS void v4l2_ctrl_lock (struct v4l2_ctrl *ctrl );
ARGUMENTS ctrl The control to lock.
SEE ALSO Kernel file ./include/media/v4l2-ctrls.h union v4l2_ctrl_ptr(9), v4l2_ctrl_ptr_create(9), struct v4l2_ctrl_ops(9), s... |
v4l2_ctrl_log_status(9) | NAME v4l2_ctrl_log_status - helper function to implement %VIDIOC_LOG_STATUS ioctl
SYNOPSIS int v4l2_ctrl_log_status (struct file *file , void *priv );
ARGUMENTS file pointer to struct file
priv unused. Kept just to be compatible to the arguments expected by struct v4l2_ioctl_ops.vidioc_log_statu... |
v4l2_ctrl_merge(9) | NAME v4l2_ctrl_merge - Function to be used as a callback to &struct v4l2_subscribed_event_ops merge(
SYNOPSIS void v4l2_ctrl_merge (const struct v4l2_event *old , struct v4l2_event *new );
ARGUMENTS old pointer to struct v4l2_event with the reported event;
new pointer to struct v4l2_event with... |
v4l2_ctrl_modify_dimensions(9) | NAME v4l2_ctrl_modify_dimensions - Update the dimensions of an array control.
SYNOPSIS int v4l2_ctrl_modify_dimensions (struct v4l2_ctrl *ctrl , u32 dims[V4L2_CTRL_MAX_DIMS] );
ARGUMENTS ctrl The control to update.
dims The control's new dimensions.
DESCRIPTION Update the dimensions of an array... |
v4l2_ctrl_modify_range(9) | NAME v4l2_ctrl_modify_range - Update the range of a control.
SYNOPSIS int v4l2_ctrl_modify_range (struct v4l2_ctrl *ctrl , s64 min , s64 max , u64 step , s64 def );
ARGUMENTS ctrl The control to update.
min The control's minimum value.
max The control's maximum value.
st... |
v4l2_ctrl_new_custom(9) | NAME v4l2_ctrl_new_custom - Allocate and initialize a new custom V4L2 control.
SYNOPSIS struct v4l2_ctrl * v4l2_ctrl_new_custom (struct v4l2_ctrl_handler *hdl , const struct v4l2_ctrl_config *cfg , void *priv );
ARGUMENTS hdl The control handler.
cfg The control's configuration data.
p... |
v4l2_ctrl_new_fwnode_properties(9) | NAME v4l2_ctrl_new_fwnode_properties - Register controls for the device properties
SYNOPSIS int v4l2_ctrl_new_fwnode_properties (struct v4l2_ctrl_handler *hdl , const struct v4l2_ctrl_ops *ctrl_ops , const struct v4l2_fwnode_device_properties *p );
ARGUMENTS hdl pointer to struct v4l2_ctrl_handler to register... |
v4l2_ctrl_new_int_menu(9) | NAME v4l2_ctrl_new_int_menu - Create a new standard V4L2 integer menu control.
SYNOPSIS struct v4l2_ctrl * v4l2_ctrl_new_int_menu (struct v4l2_ctrl_handler *hdl , const struct v4l2_ctrl_ops *ops , u32 id , u8 max , u8 def , const s64 *qmenu_int );
ARGUMENTS hdl The control handler.
ops The con... |
v4l2_ctrl_new_std(9) | NAME v4l2_ctrl_new_std - Allocate and initialize a new standard V4L2 non-menu control.
SYNOPSIS struct v4l2_ctrl * v4l2_ctrl_new_std (struct v4l2_ctrl_handler *hdl , const struct v4l2_ctrl_ops *ops , u32 id , s64 min , s64 max , u64 step , s64 def );
ARGUMENTS hdl The control handler.
ops The ... |
v4l2_ctrl_new_std_compound(9) | NAME v4l2_ctrl_new_std_compound - Allocate and initialize a new standard V4L2 compound control.
SYNOPSIS struct v4l2_ctrl * v4l2_ctrl_new_std_compound (struct v4l2_ctrl_handler *hdl , const struct v4l2_ctrl_ops *ops , u32 id , const union v4l2_ctrl_ptr p_def , const union v4l2_ctrl_ptr p_min , const union v4l2_ctrl_pt... |
v4l2_ctrl_new_std_menu(9) | NAME v4l2_ctrl_new_std_menu - Allocate and initialize a new standard V4L2 menu control.
SYNOPSIS struct v4l2_ctrl * v4l2_ctrl_new_std_menu (struct v4l2_ctrl_handler *hdl , const struct v4l2_ctrl_ops *ops , u32 id , u8 max , u64 mask , u8 def );
ARGUMENTS hdl The control handler.
ops The contro... |
v4l2_ctrl_new_std_menu_items(9) | NAME v4l2_ctrl_new_std_menu_items - Create a new standard V4L2 menu control with driver specific menu.
SYNOPSIS struct v4l2_ctrl * v4l2_ctrl_new_std_menu_items (struct v4l2_ctrl_handler *hdl , const struct v4l2_ctrl_ops *ops , u32 id , u8 max , u64 mask , u8 def , const char * const *qmenu );
ARGUMENTS hdl Th... |
v4l2_ctrl_notify(9) | NAME v4l2_ctrl_notify - Function to set a notify callback for a control.
SYNOPSIS void v4l2_ctrl_notify (struct v4l2_ctrl *ctrl , v4l2_ctrl_notify_fnc notify , void *priv );
ARGUMENTS ctrl The control.
notify The callback function.
priv The callback private handle, passed as argumen... |
v4l2_ctrl_notify_fnc(9) | NAME v4l2_ctrl_notify_fnc - typedef for a notify argument with a function that should be called when a control value has changed.
SYNOPSIS void v4l2_ctrl_notify_fnc (struct v4l2_ctrl *ctrl , void *priv );
ARGUMENTS ctrl pointer to struct v4l2_ctrl
priv control private data
DESCRIPTION This type... |
v4l2_ctrl_poll(9) | NAME v4l2_ctrl_poll - function to be used as a callback to the poll() That just polls for control events.
SYNOPSIS __poll_t v4l2_ctrl_poll (struct file *file , struct poll_table_struct *wait );
ARGUMENTS file pointer to struct file
wait pointer to struct poll_table_struct
SEE ALSO Kernel file ... |
v4l2_ctrl_ptr_create(9) | NAME v4l2_ctrl_ptr_create - Helper function to return a v4l2_ctrl_ptr from a void pointer
SYNOPSIS union v4l2_ctrl_ptr v4l2_ctrl_ptr_create (void *ptr );
ARGUMENTS ptr The void pointer
SEE ALSO Kernel file ./include/media/v4l2-ctrls.h union v4l2_ctrl_ptr(9), struct v4l2_ctrl_ops(9), struct v4l2_ctrl_type_o... |
v4l2_ctrl_query_fill(9) | NAME v4l2_ctrl_query_fill - Fill in a struct v4l2_queryctrl
SYNOPSIS int v4l2_ctrl_query_fill (struct v4l2_queryctrl *qctrl , s32 min , s32 max , s32 step , s32 def );
ARGUMENTS qctrl pointer to the struct v4l2_queryctrl to be filled
min minimum value for the control
max maximum ... |
v4l2_ctrl_radio_filter(9) | NAME v4l2_ctrl_radio_filter - Standard filter for radio controls.
SYNOPSIS bool v4l2_ctrl_radio_filter (const struct v4l2_ctrl *ctrl );
ARGUMENTS ctrl The control that is filtered.
DESCRIPTION This will return true for any controls that are valid for radio device nodes. Those are all of the V4L2_CID_AUDIO_* u... |
v4l2_ctrl_replace(9) | NAME v4l2_ctrl_replace - Function to be used as a callback to &struct v4l2_subscribed_event_ops replace
SYNOPSIS void v4l2_ctrl_replace (struct v4l2_event *old , const struct v4l2_event *new );
ARGUMENTS old pointer to struct v4l2_event with the reported event;
new pointer to struct v4l2_event... |
v4l2_ctrl_request_complete(9) | NAME v4l2_ctrl_request_complete - Complete a control handler request object
SYNOPSIS void v4l2_ctrl_request_complete (struct media_request *req , struct v4l2_ctrl_handler *parent );
ARGUMENTS req The request
parent The parent control handler ('priv' in media_request_object_find)
DESCRIPTION This... |
v4l2_ctrl_request_hdl_ctrl_find(9) | NAME v4l2_ctrl_request_hdl_ctrl_find - Find a control with the given ID.
SYNOPSIS struct v4l2_ctrl * v4l2_ctrl_request_hdl_ctrl_find (struct v4l2_ctrl_handler *hdl , u32 id );
ARGUMENTS hdl The control handler from the request.
id The ID of the control to find.
DESCRIPTION This function retu... |
v4l2_ctrl_request_hdl_find(9) | NAME v4l2_ctrl_request_hdl_find - Find the control handler in the request
SYNOPSIS struct v4l2_ctrl_handler * v4l2_ctrl_request_hdl_find (struct media_request *req , struct v4l2_ctrl_handler *parent );
ARGUMENTS req The request
parent The parent control handler ('priv' in media_request_object_fin... |
v4l2_ctrl_request_hdl_put(9) | NAME v4l2_ctrl_request_hdl_put - Put the control handler
SYNOPSIS void v4l2_ctrl_request_hdl_put (struct v4l2_ctrl_handler *hdl );
ARGUMENTS hdl Put this control handler
DESCRIPTION This function released the control handler previously obtained from' v4l2_ctrl_request_hdl_find.
SEE ALSO Kernel file ./incl... |
v4l2_ctrl_request_setup(9) | NAME v4l2_ctrl_request_setup - helper function to apply control values in a request
SYNOPSIS int v4l2_ctrl_request_setup (struct media_request *req , struct v4l2_ctrl_handler *parent );
ARGUMENTS req The request
parent The parent control handler ('priv' in media_request_object_find)
DESCRIPTION ... |
v4l2_ctrl_s_ctrl(9) | NAME v4l2_ctrl_s_ctrl - Helper function to set the control's value from within a driver.
SYNOPSIS int v4l2_ctrl_s_ctrl (struct v4l2_ctrl *ctrl , s32 val );
ARGUMENTS ctrl The control.
val The new value.
DESCRIPTION This sets the control's new value safely by going through the control framewo... |
v4l2_ctrl_s_ctrl_compound(9) | NAME v4l2_ctrl_s_ctrl_compound - Helper function to set a compound control from within a driver.
SYNOPSIS int v4l2_ctrl_s_ctrl_compound (struct v4l2_ctrl *ctrl , enum v4l2_ctrl_type type , const void *p );
ARGUMENTS ctrl The control.
type The type of the data.
p The new compoun... |
v4l2_ctrl_s_ctrl_int64(9) | NAME v4l2_ctrl_s_ctrl_int64 - Helper function to set a 64-bit control's value from within a driver.
SYNOPSIS int v4l2_ctrl_s_ctrl_int64 (struct v4l2_ctrl *ctrl , s64 val );
ARGUMENTS ctrl The control.
val The new value.
DESCRIPTION This sets the control's new value safely by going through t... |
v4l2_ctrl_s_ctrl_string(9) | NAME v4l2_ctrl_s_ctrl_string - Helper function to set a control's string value from within a driver.
SYNOPSIS int v4l2_ctrl_s_ctrl_string (struct v4l2_ctrl *ctrl , const char *s );
ARGUMENTS ctrl The control.
s The new string.
DESCRIPTION This sets the control's new string safely by going ... |
v4l2_ctrl_subdev_log_status(9) | NAME v4l2_ctrl_subdev_log_status - Log all controls owned by subdev's control handler.
SYNOPSIS int v4l2_ctrl_subdev_log_status (struct v4l2_subdev *sd );
ARGUMENTS sd pointer to struct v4l2_subdev
SEE ALSO Kernel file ./include/media/v4l2-ctrls.h union v4l2_ctrl_ptr(9), v4l2_ctrl_ptr_create(9), struc... |
v4l2_ctrl_subdev_subscribe_event(9) | NAME v4l2_ctrl_subdev_subscribe_event - Helper function to implement as a &struct v4l2_subdev_core_ops subscribe_event function that just subscribes control events.
SYNOPSIS int v4l2_ctrl_subdev_subscribe_event (struct v4l2_subdev *sd , struct v4l2_fh *fh , struct v4l2_event_subscription *sub );
ARGUMENTS sd ... |
v4l2_ctrl_subscribe_event(9) | NAME v4l2_ctrl_subscribe_event - Subscribes to an event
SYNOPSIS int v4l2_ctrl_subscribe_event (struct v4l2_fh *fh , const struct v4l2_event_subscription *sub );
ARGUMENTS fh pointer to struct v4l2_fh
sub pointer to struct v4l2_event_subscription
DESCRIPTION Can be used as a vidioc_subscribe... |
v4l2_ctrl_to_v4l2_flash(9) | NAME v4l2_ctrl_to_v4l2_flash - Returns a &struct v4l2_flash from the &struct v4l2_ctrl embedded on it.
SYNOPSIS struct v4l2_flash * v4l2_ctrl_to_v4l2_flash (struct v4l2_ctrl *c );
ARGUMENTS c pointer to struct v4l2_ctrl
SEE ALSO Kernel file ./include/media/v4l2-flash-led-class.h struct v4l2_flash_ctrl_... |
v4l2_ctrl_type_op_equal(9) | NAME v4l2_ctrl_type_op_equal - Default v4l2_ctrl_type_ops equal callback.
SYNOPSIS bool v4l2_ctrl_type_op_equal (const struct v4l2_ctrl *ctrl , union v4l2_ctrl_ptr ptr1 , union v4l2_ctrl_ptr ptr2 );
ARGUMENTS ctrl The v4l2_ctrl pointer.
ptr1 A v4l2 control value.
ptr2 A v4l2 contr... |
v4l2_ctrl_type_op_init(9) | NAME v4l2_ctrl_type_op_init - Default v4l2_ctrl_type_ops init callback.
SYNOPSIS void v4l2_ctrl_type_op_init (const struct v4l2_ctrl *ctrl , u32 from_idx , union v4l2_ctrl_ptr ptr );
ARGUMENTS ctrl The v4l2_ctrl pointer.
from_idx Starting element index.
ptr The v4l2 control value.
R... |
v4l2_ctrl_type_op_log(9) | NAME v4l2_ctrl_type_op_log - Default v4l2_ctrl_type_ops log callback.
SYNOPSIS void v4l2_ctrl_type_op_log (const struct v4l2_ctrl *ctrl );
ARGUMENTS ctrl The v4l2_ctrl pointer.
RETURN void
SEE ALSO Kernel file ./include/media/v4l2-ctrls.h union v4l2_ctrl_ptr(9), v4l2_ctrl_ptr_create(9), struct v4l2_ctr... |
v4l2_ctrl_type_op_validate(9) | NAME v4l2_ctrl_type_op_validate - Default v4l2_ctrl_type_ops validate callback.
SYNOPSIS int v4l2_ctrl_type_op_validate (const struct v4l2_ctrl *ctrl , union v4l2_ctrl_ptr ptr );
ARGUMENTS ctrl The v4l2_ctrl pointer.
ptr The v4l2 control value.
RETURN 0 on success, a negative error code on fai... |
v4l2_ctrl_unlock(9) | NAME v4l2_ctrl_unlock - Helper function to unlock the handler associated with the control.
SYNOPSIS void v4l2_ctrl_unlock (struct v4l2_ctrl *ctrl );
ARGUMENTS ctrl The control to unlock.
SEE ALSO Kernel file ./include/media/v4l2-ctrls.h union v4l2_ctrl_ptr(9), v4l2_ctrl_ptr_create(9), struct v4l2_ctrl_o... |
v4l2_debugfs_root(9) | NAME v4l2_debugfs_root - returns the dentry of the top-level "v4l2" debugfs dir
SYNOPSIS struct dentry * v4l2_debugfs_root (void );
ARGUMENTS void no arguments
DESCRIPTION If this directory does not yet exist, then it will be created.
SEE ALSO Kernel file ./include/media/v4l2-dev.h enum vfl_devnode_type(... |
v4l2_detect_cvt(9) | NAME v4l2_detect_cvt - detect if the given timings follow the CVT standard
SYNOPSIS bool v4l2_detect_cvt (unsigned int frame_height , unsigned int hfreq , unsigned int vsync , unsigned int active_width , u32 polarities , bool interlaced , const struct v4l2_dv_timings_cap *cap , struct v4l2_dv_timings *fmt );
ARGU... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.