section 9 · Kernel routines 🧠
87928 pages · page 408 of 440
V (continued)
- v4l2_async_subdev_endpoint_add(9)Add an endpoint fwnode to async sub- device matching list✨
- v4l2_async_subdev_nf_init(9)Initialize a sub-device notifier.✨
- v4l2_async_unregister_subdev(9)unregisters a sub-device to the asynchronous subdevice framework✨
- v4l2_calc_aspect_ratio(9)calculate the aspect ratio based on bytes 0x15 and 0x16 from the EDID.✨
- v4l2_calc_timeperframe(9)helper function to calculate timeperframe based v4l2_dv_timings fields.✨
- v4l2_check_dv_timings_fnc(9)timings check callback✨
- v4l2_compat_ioctl32(9)32 Bits compatibility layer for 64 bits processors✨
- v4l2_create_fwnode_links(9)Create fwnode-based links from a source subdev to a sink subdev.✨
- v4l2_create_fwnode_links_to_pad(9)Create fwnode-based links from a source subdev to a sink pad.✨
- v4l2_ctrl_activate(9)Make the control active or inactive.✨
- v4l2_ctrl_add_handler(9)Add all controls from handler @add to handler @hdl.✨
- v4l2_ctrl_auto_cluster(9)Mark all controls in the cluster as belonging to that cluster and set it up for autofoo/foo-type handling.✨
- v4l2_ctrl_cluster(9)Mark all controls in the cluster as belonging to that cluster.✨
- v4l2_ctrl_fill(9)Fill in the control fields based on the control ID.✨
- v4l2_ctrl_filter(9)Typedef to define the filter function to be used when adding a control handler.✨
- v4l2_ctrl_find(9)Find a control with the given ID.✨
- v4l2_ctrl_g_ctrl(9)Helper function to get the control's value from within a driver.✨
- v4l2_ctrl_g_ctrl_int64(9)Helper function to get a 64-bit control's value from within a driver.✨
- v4l2_ctrl_get_int_menu(9)Get the integer menu array of the control✨
- v4l2_ctrl_get_menu(9)Get the menu string array of the control✨
- v4l2_ctrl_get_name(9)Get the name of the control✨
- v4l2_ctrl_grab(9)Mark the control as grabbed or not grabbed.✨
- v4l2_ctrl_handler_free(9)Free all controls owned by the handler and free the control list.✨
- v4l2_ctrl_handler_init(9)helper function to create a static struct &lock_class_key and calls v4l2_ctrl_handler_init_class()✨
- v4l2_ctrl_handler_init_class(9)Initialize the control handler.✨
- v4l2_ctrl_handler_log_status(9)Log all controls owned by the handler.✨
- v4l2_ctrl_handler_setup(9)Call the s_ctrl op for all controls belonging to the handler to initialize the hardware to the current control values.✨
- v4l2_ctrl_lock(9)Helper function to lock the handler associated with the control.✨
- v4l2_ctrl_log_status(9)helper function to implement %VIDIOC_LOG_STATUS ioctl✨
- v4l2_ctrl_merge(9)Function to be used as a callback to &struct v4l2_subscribed_event_ops merge(✨
- v4l2_ctrl_modify_dimensions(9)Update the dimensions of an array control.✨
- v4l2_ctrl_modify_range(9)Update the range of a control.✨
- v4l2_ctrl_new_custom(9)Allocate and initialize a new custom V4L2 control.✨
- v4l2_ctrl_new_fwnode_properties(9)Register controls for the device properties✨
- v4l2_ctrl_new_int_menu(9)Create a new standard V4L2 integer menu control.✨
- v4l2_ctrl_new_std(9)Allocate and initialize a new standard V4L2 non-menu control.✨
- v4l2_ctrl_new_std_compound(9)Allocate and initialize a new standard V4L2 compound control.✨
- v4l2_ctrl_new_std_menu(9)Allocate and initialize a new standard V4L2 menu control.✨
- v4l2_ctrl_new_std_menu_items(9)Create a new standard V4L2 menu control with driver specific menu.✨
- v4l2_ctrl_notify(9)Function to set a notify callback for a control.✨
- v4l2_ctrl_notify_fnc(9)typedef for a notify argument with a function that should be called when a control value has changed.✨
- v4l2_ctrl_poll(9)function to be used as a callback to the poll() That just polls for control events.✨
- v4l2_ctrl_ptr_create(9)Helper function to return a v4l2_ctrl_ptr from a void pointer✨
- v4l2_ctrl_query_fill(9)Fill in a struct v4l2_queryctrl✨
- v4l2_ctrl_radio_filter(9)Standard filter for radio controls.✨
- v4l2_ctrl_replace(9)Function to be used as a callback to &struct v4l2_subscribed_event_ops replace✨
- v4l2_ctrl_request_complete(9)Complete a control handler request object✨
- v4l2_ctrl_request_hdl_ctrl_find(9)Find a control with the given ID.✨
- v4l2_ctrl_request_hdl_find(9)Find the control handler in the request✨
- v4l2_ctrl_request_hdl_put(9)Put the control handler✨
- v4l2_ctrl_request_setup(9)helper function to apply control values in a request✨
- v4l2_ctrl_s_ctrl(9)Helper function to set the control's value from within a driver.✨
- v4l2_ctrl_s_ctrl_compound(9)Helper function to set a compound control from within a driver.✨
- v4l2_ctrl_s_ctrl_int64(9)Helper function to set a 64-bit control's value from within a driver.✨
- v4l2_ctrl_s_ctrl_string(9)Helper function to set a control's string value from within a driver.✨
- v4l2_ctrl_subdev_log_status(9)Log all controls owned by subdev's control handler.✨
- v4l2_ctrl_subdev_subscribe_event(9)Helper function to implement as a &struct v4l2_subdev_core_ops subscribe_event function that just subscribes control events.✨
- v4l2_ctrl_subscribe_event(9)Subscribes to an event✨
- v4l2_ctrl_to_v4l2_flash(9)Returns a &struct v4l2_flash from the &struct v4l2_ctrl embedded on it.✨
- v4l2_ctrl_type_op_equal(9)Default v4l2_ctrl_type_ops equal callback.✨
- v4l2_ctrl_type_op_init(9)Default v4l2_ctrl_type_ops init callback.✨
- v4l2_ctrl_type_op_log(9)Default v4l2_ctrl_type_ops log callback.✨
- v4l2_ctrl_type_op_validate(9)Default v4l2_ctrl_type_ops validate callback.✨
- v4l2_ctrl_unlock(9)Helper function to unlock the handler associated with the control.✨
- v4l2_debugfs_root(9)returns the dentry of the top-level "v4l2" debugfs dir✨
- v4l2_detect_cvt(9)detect if the given timings follow the CVT standard✨
- v4l2_detect_gtf(9)detect if the given timings follow the GTF standard✨
- v4l2_device_call_all(9)Calls the specified operation for all subdevs matching the &v4l2_subdev.grp_id, as assigned by the bridge driver.✨
- v4l2_device_call_until_err(9)Calls the specified operation for all subdevs matching the &v4l2_subdev.grp_id, as assigned by the bridge driver, until an error occurs.✨
- v4l2_device_disconnect(9)Change V4L2 device state to disconnected.✨
- v4l2_device_for_each_subdev(9)Helper macro that interates over all sub- devices of a given &v4l2_device.✨
- v4l2_device_get(9)gets a V4L2 device reference✨
- v4l2_device_has_op(9)checks if any subdev with matching grpid has a given ops.✨
- v4l2_device_mask_call_all(9)Calls the specified operation for all subdevices where a group ID matches a specified bitmask.✨
- v4l2_device_mask_call_until_err(9)Calls the specified operation for all subdevices where a group ID matches a specified bitmask.✨
- v4l2_device_mask_has_op(9)checks if any subdev with matching group mask has a given ops.✨
- v4l2_device_put(9)puts a V4L2 device reference✨
- v4l2_device_register(9)Initialize v4l2_dev and make @dev->driver_data point to @v4l2_dev.✨
- v4l2_device_register_ro_subdev_nodes(9)Registers subdevices device nodes in read-only mode✨
- v4l2_device_register_subdev(9)Registers a subdev with a v4l2 device.✨
- v4l2_device_register_subdev_nodes(9)Registers subdevices device nodes with unrestricted access to the subdevice userspace operations✨
- v4l2_device_set_name(9)Optional function to initialize the name field of struct &v4l2_device✨
- v4l2_device_supports_requests(9)Test if requests are supported.✨
- v4l2_device_unregister(9)Unregister all sub-devices and any other resources related to @v4l2_dev.✨
- v4l2_device_unregister_subdev(9)Unregisters a subdev with a v4l2 device.✨
- v4l2_disable_ioctl(9)mark that a given command isn't implemented. shouldn't use core locking✨
- v4l2_dv_timings_aspect_ratio(9)calculate the aspect ratio based on the v4l2_dv_timings information.✨
- v4l2_enum_dv_timings_cap(9)Helper function to enumerate possible DV timings based on capabilities✨
- v4l2_event_dequeue(9)Dequeue events from video device.✨
- v4l2_event_pending(9)Check if an event is available✨
- v4l2_event_queue(9)Queue events to video device.✨
- v4l2_event_queue_fh(9)Queue events to video device.✨
- v4l2_event_subdev_unsubscribe(9)Subdev variant of v4l2_event_unsubscribe()✨
- v4l2_event_subscribe(9)Subscribes to an event✨
- v4l2_event_unsubscribe(9)Unsubscribes to an event✨
- v4l2_event_unsubscribe_all(9)Unsubscribes to all events✨
- v4l2_event_wake_all(9)Wake all filehandles.✨
- v4l2_fh_add(9)Add the fh to the list of file handles on a video_device.✨
- v4l2_fh_del(9)Remove file handle from the list of file handles.✨
- v4l2_fh_exit(9)Release resources related to a file handle.✨
- v4l2_fh_init(9)Initialise the file handle.✨
- v4l2_fh_is_singular(9)Returns 1 if this filehandle is the only filehandle opened for the associated video_device.✨
- v4l2_fh_is_singular_file(9)Returns 1 if this filehandle is the only filehandle opened for the associated video_device.✨
- v4l2_fh_open(9)Ancillary routine that can be used as the open op of v4l2_file_operations.✨
- v4l2_fh_release(9)Ancillary routine that can be used as the release op of v4l2_file_operations.✨
- v4l2_fill_mbus_format(9)Ancillary routine that fills a &struct v4l2_mbus_framefmt from a &struct v4l2_pix_format and a data format code.✨
- v4l2_fill_mbus_format_mplane(9)Ancillary routine that fills a &struct v4l2_mbus_framefmt from a &struct v4l2_pix_format_mplane.✨
- v4l2_fill_pix_format(9)Ancillary routine that fills a &struct v4l2_pix_format fields from a &struct v4l2_mbus_framefmt.✨
- v4l2_fill_pix_format_mplane(9)Ancillary routine that fills a &struct v4l2_pix_format_mplane fields from a media bus structure.✨
- v4l2_find_dv_timings_cap(9)Find the closest timings struct✨
- v4l2_find_dv_timings_cea861_vic(9)find timings based on CEA-861 VIC✨
- v4l2_find_nearest_size(9)Find the nearest size among a discrete set of resolutions contained in an array of a driver specific struct✨
- v4l2_find_nearest_size_conditional(9)Find the nearest size among a discrete set of resolutions contained in an array of a driver specific struct, with conditionally exlusion of certain modes✨
- v4l2_flash_indicator_init(9)initialize V4L2 indicator sub-device✨
- v4l2_flash_init(9)initialize V4L2 flash led sub-device✨
- v4l2_flash_release(9)release V4L2 Flash sub-device✨
- v4l2_fwnode_connector_add_link(9)add a link between a connector node and a v4l2-subdev node.✨
- v4l2_fwnode_connector_free(9)free the V4L2 connector acquired memory✨
- v4l2_fwnode_connector_parse(9)initialize the 'struct v4l2_fwnode_connector'✨
- v4l2_fwnode_device_parse(9)parse fwnode device properties✨
- v4l2_fwnode_endpoint_alloc_parse(9)parse all fwnode node properties✨
- v4l2_fwnode_endpoint_free(9)free the V4L2 fwnode acquired by v4l2_fwnode_endpoint_alloc_parse()✨
- v4l2_fwnode_endpoint_parse(9)parse all fwnode node properties✨
- v4l2_fwnode_parse_link(9)parse a link between two endpoints✨
- V4L2_FWNODE_PROPERTY_UNSET(9)identify a non initialized property✨
- v4l2_fwnode_put_link(9)drop references to nodes in a link✨
- v4l2_g_ctrl(9)Helper function to implement :ref:`VIDIOC_G_CTRL <vidioc_g_ctrl>` ioctl✨
- v4l2_g_ext_ctrls(9)Helper function to implement :ref:`VIDIOC_G_EXT_CTRLS <vidioc_g_ext_ctrls>` ioctl✨
- v4l2_g_parm_cap(9)helper routine for vidioc_g_parm to fill this in by calling the get_frame_interval op of the given subdev. It only works for V4L2_BUF_TYPE_VIDEO_CAPTURE(_MPLANE), hence the _cap in the function name.✨
- v4l2_get_active_data_lanes(9)Get number of active data lanes from driver✨
- v4l2_get_edid_phys_addr(9)find and return the physical address✨
- v4l2_get_link_freq(9)Get link rate from transmitter✨
- v4l2_get_subdev_hostdata(9)Gets V4L2 dev private data✨
- v4l2_get_subdevdata(9)Gets V4L2 dev private device data✨
- v4l2_h264_build_b_ref_lists(9)Build the B0/B1 reference lists✨
- v4l2_h264_build_p_ref_list(9)Build the P reference list✨
- v4l2_h264_init_reflist_builder(9)Initialize a P/B0/B1 reference list builder✨
- v4l2_hevc_pps_num_tile_columns(9)number of HEVC tile columns, bounded✨
- v4l2_hevc_pps_num_tile_rows(9)number of HEVC tile rows, bounded✨
- v4l2_i2c_new_subdev(9)Load an i2c module and return an initialized &struct v4l2_subdev.✨
- v4l2_i2c_new_subdev_board(9)Load an i2c module and return an initialized &struct v4l2_subdev.✨
- v4l2_i2c_subdev_addr(9)returns i2c client address of &struct v4l2_subdev.✨
- v4l2_i2c_subdev_init(9)Initializes a &struct v4l2_subdev with data from an i2c_client struct.✨
- v4l2_i2c_subdev_set_name(9)Set name for an I²C sub-device✨
- v4l2_i2c_subdev_unregister(9)Unregister a v4l2_subdev✨
- v4l2_i2c_tuner_addrs(9)Return a list of I2C tuner addresses to probe.✨
- v4l2_isp_buffer_size(9)Calculate size of v4l2_isp_buffer✨
- v4l2_isp_params_block_header(9)V4L2 extensible parameters block header✨
- v4l2_isp_params_buffer(9)V4L2 extensible parameters compatibility✨
- v4l2_isp_params_validate_buffer(9)Validate a V4L2 ISP parameters buffer✨
- v4l2_isp_params_validate_buffer_size(9)Validate a V4L2 ISP buffer sizes✨
- v4l2_isp_stats_init_block(9)Create and initialize a new block in a statistics buffer✨
- v4l2_isp_stats_init_buffer(9)Initialize a statistics buffer✨
- v4l2_jpeg_parse_header(9)locate marker segments and optionally parse headers✨
- v4l2_kioctl(9)Typedef used to pass an ioctl handler.✨
- v4l2_link_freq_to_bitmap(9)Figure out platform-supported link frequencies✨
- v4l2_m2m_buf_copy_metadata(9)copy buffer metadata from the output buffer to the capture buffer✨
- v4l2_m2m_buf_done_and_job_finish(9)return source/destination buffers with state and inform the framework that a job has been finished and have it clean up✨
- v4l2_m2m_buf_queue(9)add a buffer to the proper ready buffers list.✨
- v4l2_m2m_buf_remove(9)take off a buffer from the list of ready buffers and return it✨
- v4l2_m2m_buf_remove_by_buf(9)take off exact buffer from the list of ready buffers✨
- v4l2_m2m_cancel_job(9)cancel pending jobs for the context✨
- v4l2_m2m_clear_state(9)clear encoding/decoding state✨
- v4l2_m2m_create_bufs(9)create a source or destination buffer, depending on the type✨
- v4l2_m2m_ctx_init(9)allocate and initialize a m2m context✨
- v4l2_m2m_ctx_release(9)release m2m context✨
- v4l2_m2m_decoder_cmd(9)execute a decoder command✨
- v4l2_m2m_device_run_work(9)run pending jobs for the context✨
- v4l2_m2m_dqbuf(9)dequeue a source or destination buffer, depending on the type✨
- v4l2_m2m_dst_buf_is_last(9)return the current encoding/decoding session draining management state of next queued capture buffer✨
- v4l2_m2m_dst_buf_remove(9)take off a destination buffer from the list of ready buffers and return it✨
- v4l2_m2m_dst_buf_remove_by_buf(9)take off exact destination buffer from the list of ready buffers✨
- v4l2_m2m_encoder_cmd(9)execute an encoder command✨
- v4l2_m2m_expbuf(9)export a source or destination buffer, depending on the type✨
- v4l2_m2m_for_each_dst_buf(9)iterate over a list of destination ready buffers✨
- v4l2_m2m_for_each_dst_buf_safe(9)iterate over a list of destination ready buffers safely✨
- v4l2_m2m_for_each_src_buf(9)iterate over a list of source ready buffers✨
- v4l2_m2m_for_each_src_buf_safe(9)iterate over a list of source ready buffers safely✨
- v4l2_m2m_get(9)take a reference to the m2m_dev structure✨
- v4l2_m2m_get_curr_priv(9)return driver private data for the currently running instance or NULL if no instance is running✨
- v4l2_m2m_get_dst_vq(9)return vb2_queue for destination buffers✨
- v4l2_m2m_get_src_vq(9)return vb2_queue for source buffers✨
- v4l2_m2m_get_vq(9)return vb2_queue for the given type✨
- v4l2_m2m_has_stopped(9)return the current encoding/decoding session stopped state✨
- v4l2_m2m_init(9)initialize per-driver m2m data✨
- v4l2_m2m_is_last_draining_src_buf(9)return the output buffer draining state in the current encoding/decoding session✨
- v4l2_m2m_job_finish(9)inform the framework that a job has been finished and have it clean up✨
- v4l2_m2m_last_buf(9)return last buffer from the list of ready buffers✨
- v4l2_m2m_last_buffer_done(9)marks the buffer with LAST flag and DONE✨
- v4l2_m2m_last_dst_buf(9)return last destination buffer from the list of ready buffers✨
- v4l2_m2m_last_src_buf(9)return last source buffer from the list of ready buffers✨
- v4l2_m2m_mark_stopped(9)set current encoding/decoding state as stopped✨
- v4l2_m2m_mmap(9)source and destination queues-aware mmap multiplexer✨
- v4l2_m2m_next_buf(9)return next buffer from the list of ready buffers✨
- v4l2_m2m_next_dst_buf(9)return next destination buffer from the list of ready buffers✨
- v4l2_m2m_next_src_buf(9)return next source buffer from the list of ready buffers✨
- v4l2_m2m_num_dst_bufs_ready(9)return the number of destination buffers ready for use✨
- v4l2_m2m_num_src_bufs_ready(9)return the number of source buffers ready for use✨
- v4l2_m2m_poll(9)poll replacement, for destination buffers only✨
- v4l2_m2m_prepare_buf(9)prepare a source or destination buffer, depending on the type✨
💅
getting it ready, bestie…