1<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Chapter 6. Media Devices</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Linux Device Drivers"><link rel="up" href="index.html" title="Linux Device Drivers"><link rel="prev" href="API-snd-dma-free-pages.html" title="snd_dma_free_pages"><link rel="next" href="API-enum-tuner-mode.html" title="enum tuner_mode"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 6. Media Devices</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-snd-dma-free-pages.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="API-enum-tuner-mode.html">Next</a></td></tr></table><hr></div><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a name="mediadev"></a>Chapter 6. Media Devices</h1></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl class="toc"><dt><span class="sect1"><a href="mediadev.html#id-1.8.2">Video2Linux devices</a></span></dt><dt><span class="sect1"><a href="ch06s02.html">Digital TV (DVB) devices</a></span></dt><dt><span class="sect1"><a href="ch06s03.html">Remote Controller devices</a></span></dt><dt><span class="sect1"><a href="ch06s04.html">Media Controller devices</a></span></dt></dl></div><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id-1.8.2"></a>Video2Linux devices</h2></div></div></div><div class="toc"><dl class="toc"><dt><span class="refentrytitle"><a href="API-enum-tuner-mode.html"><span class="phrase">enum tuner_mode</span></a></span><span class="refpurpose"> — 2 Mode of the tuner 3 </span></dt><dt><span class="refentrytitle"><a href="API-struct-tuner-setup.html"><span class="phrase">struct tuner_setup</span></a></span><span class="refpurpose"> — 4 setup the tuner chipsets 5 </span></dt><dt><span class="refentrytitle"><a href="API-enum-param-type.html"><span class="phrase">enum param_type</span></a></span><span class="refpurpose"> — 6 type of the tuner pameters 7 </span></dt><dt><span class="refentrytitle"><a href="API-struct-tuner-range.html"><span class="phrase">struct tuner_range</span></a></span><span class="refpurpose"> — 8 define the frequencies supported by the tuner 9 </span></dt><dt><span class="refentrytitle"><a href="API-struct-tuner-params.html"><span class="phrase">struct tuner_params</span></a></span><span class="refpurpose"> — 10 Parameters to be used to setup the tuner. Those are used by drivers/media/tuners/tuner-types.c in order to specify the tuner properties. Most of the parameters are for tuners based on tda9887 IF-PLL multi-standard analog TV/Radio demodulator, with is very common on legacy analog tuners. 11 </span></dt><dt><span class="refentrytitle"><a href="API-enum-tveeprom-audio-processor.html"><span class="phrase">enum tveeprom_audio_processor</span></a></span><span class="refpurpose"> — 12 Specifies the type of audio processor used on a Hauppauge device. 13 </span></dt><dt><span class="refentrytitle"><a href="API-struct-tveeprom.html"><span class="phrase">struct tveeprom</span></a></span><span class="refpurpose"> — 14 Contains the fields parsed from Hauppauge eeproms 15 </span></dt><dt><span class="refentrytitle"><a href="API-tveeprom-hauppauge-analog.html"><span class="phrase">tveeprom_hauppauge_analog</span></a></span><span class="refpurpose"> — 16 Fill struct tveeprom using the contents of the eeprom previously filled at <em class="parameter"><code>eeprom_data</code></em> field. 17 </span></dt><dt><span class="refentrytitle"><a href="API-tveeprom-read.html"><span class="phrase">tveeprom_read</span></a></span><span class="refpurpose"> — 18 Reads the contents of the eeprom found at the Hauppauge devices. 19 </span></dt><dt><span class="refentrytitle"><a href="API-struct-v4l2-async-subdev.html"><span class="phrase">struct v4l2_async_subdev</span></a></span><span class="refpurpose"> — 20 sub-device descriptor, as known to a bridge 21 </span></dt><dt><span class="refentrytitle"><a href="API-struct-v4l2-async-notifier.html"><span class="phrase">struct v4l2_async_notifier</span></a></span><span class="refpurpose"> — 22 v4l2_device notifier data 23 </span></dt><dt><span class="refentrytitle"><a href="API-struct-v4l2-ctrl-ptr.html"><span class="phrase">union v4l2_ctrl_ptr</span></a></span><span class="refpurpose"> — 24 A pointer to a control value. 25 </span></dt><dt><span class="refentrytitle"><a href="API-struct-v4l2-ctrl-ops.html"><span class="phrase">struct v4l2_ctrl_ops</span></a></span><span class="refpurpose"> — 26 The control operations that the driver has to provide. 27 </span></dt><dt><span class="refentrytitle"><a href="API-struct-v4l2-ctrl-type-ops.html"><span class="phrase">struct v4l2_ctrl_type_ops</span></a></span><span class="refpurpose"> — 28 The control type operations that the driver has to provide. 29 </span></dt><dt><span class="refentrytitle"><a href="API-struct-v4l2-ctrl.html"><span class="phrase">struct v4l2_ctrl</span></a></span><span class="refpurpose"> — 30 The control structure. 31 </span></dt><dt><span class="refentrytitle"><a href="API-struct-v4l2-ctrl-ref.html"><span class="phrase">struct v4l2_ctrl_ref</span></a></span><span class="refpurpose"> — 32 The control reference. 33 </span></dt><dt><span class="refentrytitle"><a href="API-struct-v4l2-ctrl-handler.html"><span class="phrase">struct v4l2_ctrl_handler</span></a></span><span class="refpurpose"> — 34 The control handler keeps track of all the 35 </span></dt><dt><span class="refentrytitle"><a href="API-struct-v4l2-ctrl-config.html"><span class="phrase">struct v4l2_ctrl_config</span></a></span><span class="refpurpose"> — 36 Control configuration structure. 37 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-ctrl-handler-init-class.html"><span class="phrase">v4l2_ctrl_handler_init_class</span></a></span><span class="refpurpose"> — 38 Initialize the control handler. 39 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-ctrl-handler-free.html"><span class="phrase">v4l2_ctrl_handler_free</span></a></span><span class="refpurpose"> — 40 Free all controls owned by the handler and free the control list. 41 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-ctrl-lock.html"><span class="phrase">v4l2_ctrl_lock</span></a></span><span class="refpurpose"> — 42 Helper function to lock the handler associated with the control. 43 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-ctrl-unlock.html"><span class="phrase">v4l2_ctrl_unlock</span></a></span><span class="refpurpose"> — 44 Helper function to unlock the handler associated with the control. 45 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-ctrl-handler-setup.html"><span class="phrase">v4l2_ctrl_handler_setup</span></a></span><span class="refpurpose"> — 46 Call the s_ctrl op for all controls belonging to the handler to initialize the hardware to the current control values. 47 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-ctrl-handler-log-status.html"><span class="phrase">v4l2_ctrl_handler_log_status</span></a></span><span class="refpurpose"> — 48 Log all controls owned by the handler. 49 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-ctrl-new-custom.html"><span class="phrase">v4l2_ctrl_new_custom</span></a></span><span class="refpurpose"> — 50 Allocate and initialize a new custom V4L2 control. 51 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-ctrl-new-std.html"><span class="phrase">v4l2_ctrl_new_std</span></a></span><span class="refpurpose"> — 52 Allocate and initialize a new standard V4L2 non-menu control. 53 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-ctrl-new-std-menu.html"><span class="phrase">v4l2_ctrl_new_std_menu</span></a></span><span class="refpurpose"> — 54 Allocate and initialize a new standard V4L2 menu control. 55 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-ctrl-new-std-menu-items.html"><span class="phrase">v4l2_ctrl_new_std_menu_items</span></a></span><span class="refpurpose"> — 56 Create a new standard V4L2 menu control with driver specific menu. 57 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-ctrl-new-int-menu.html"><span class="phrase">v4l2_ctrl_new_int_menu</span></a></span><span class="refpurpose"> — 58 Create a new standard V4L2 integer menu control. 59 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-ctrl-add-ctrl.html"><span class="phrase">v4l2_ctrl_add_ctrl</span></a></span><span class="refpurpose"> — 60 Add a control from another handler to this handler. 61 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-ctrl-add-handler.html"><span class="phrase">v4l2_ctrl_add_handler</span></a></span><span class="refpurpose"> — 62 Add all controls from handler <em class="parameter"><code>add</code></em> to handler <em class="parameter"><code>hdl</code></em>. 63 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-ctrl-radio-filter.html"><span class="phrase">v4l2_ctrl_radio_filter</span></a></span><span class="refpurpose"> — 64 Standard filter for radio controls. 65 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-ctrl-cluster.html"><span class="phrase">v4l2_ctrl_cluster</span></a></span><span class="refpurpose"> — 66 Mark all controls in the cluster as belonging to that cluster. 67 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-ctrl-auto-cluster.html"><span class="phrase">v4l2_ctrl_auto_cluster</span></a></span><span class="refpurpose"> — 68 Mark all controls in the cluster as belonging to that cluster and set it up for autofoo/foo-type handling. 69 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-ctrl-find.html"><span class="phrase">v4l2_ctrl_find</span></a></span><span class="refpurpose"> — 70 Find a control with the given ID. 71 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-ctrl-activate.html"><span class="phrase">v4l2_ctrl_activate</span></a></span><span class="refpurpose"> — 72 Make the control active or inactive. 73 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-ctrl-grab.html"><span class="phrase">v4l2_ctrl_grab</span></a></span><span class="refpurpose"> — 74 Mark the control as grabbed or not grabbed. 75 </span></dt><dt><span class="refentrytitle"><a href="API---v4l2-ctrl-modify-range.html"><span class="phrase">__v4l2_ctrl_modify_range</span></a></span><span class="refpurpose"> 76 Unlocked variant of v4l2_ctrl_modify_range 77 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-ctrl-modify-range.html"><span class="phrase">v4l2_ctrl_modify_range</span></a></span><span class="refpurpose"> — 78 Update the range of a control. 79 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-ctrl-notify.html"><span class="phrase">v4l2_ctrl_notify</span></a></span><span class="refpurpose"> — 80 Function to set a notify callback for a control. 81 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-ctrl-get-name.html"><span class="phrase">v4l2_ctrl_get_name</span></a></span><span class="refpurpose"> — 82 Get the name of the control 83 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-ctrl-get-menu.html"><span class="phrase">v4l2_ctrl_get_menu</span></a></span><span class="refpurpose"> — 84 Get the menu string array of the control 85 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-ctrl-get-int-menu.html"><span class="phrase">v4l2_ctrl_get_int_menu</span></a></span><span class="refpurpose"> — 86 Get the integer menu array of the control 87 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-ctrl-g-ctrl.html"><span class="phrase">v4l2_ctrl_g_ctrl</span></a></span><span class="refpurpose"> — 88 Helper function to get the control's value from within a driver. 89 </span></dt><dt><span class="refentrytitle"><a href="API---v4l2-ctrl-s-ctrl.html"><span class="phrase">__v4l2_ctrl_s_ctrl</span></a></span><span class="refpurpose"> — 90 Unlocked variant of <code class="function">v4l2_ctrl_s_ctrl</code>. 91 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-ctrl-g-ctrl-int64.html"><span class="phrase">v4l2_ctrl_g_ctrl_int64</span></a></span><span class="refpurpose"> — 92 Helper function to get a 64-bit control's value from within a driver. 93 </span></dt><dt><span class="refentrytitle"><a href="API---v4l2-ctrl-s-ctrl-int64.html"><span class="phrase">__v4l2_ctrl_s_ctrl_int64</span></a></span><span class="refpurpose"> — 94 Unlocked variant of <code class="function">v4l2_ctrl_s_ctrl_int64</code>. 95 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-check-dv-timings-fnc.html"><span class="phrase">v4l2_check_dv_timings_fnc</span></a></span><span class="refpurpose"> — 96 timings check callback 97 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-valid-dv-timings.html"><span class="phrase">v4l2_valid_dv_timings</span></a></span><span class="refpurpose"> — 98 are these timings valid? 99 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-enum-dv-timings-cap.html"><span class="phrase">v4l2_enum_dv_timings_cap</span></a></span><span class="refpurpose"> — 100 Helper function to enumerate possible DV timings based on capabilities 101 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-find-dv-timings-cap.html"><span class="phrase">v4l2_find_dv_timings_cap</span></a></span><span class="refpurpose"> — 102 Find the closest timings struct 103 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-match-dv-timings.html"><span class="phrase">v4l2_match_dv_timings</span></a></span><span class="refpurpose"> — 104 do two timings match? 105 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-print-dv-timings.html"><span class="phrase">v4l2_print_dv_timings</span></a></span><span class="refpurpose"> — 106 log the contents of a dv_timings struct 107 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-detect-cvt.html"><span class="phrase">v4l2_detect_cvt</span></a></span><span class="refpurpose"> — 108 detect if the given timings follow the CVT standard 109 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-detect-gtf.html"><span class="phrase">v4l2_detect_gtf</span></a></span><span class="refpurpose"> — 110 detect if the given timings follow the GTF standard 111 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-calc-aspect-ratio.html"><span class="phrase">v4l2_calc_aspect_ratio</span></a></span><span class="refpurpose"> — 112 calculate the aspect ratio based on bytes 0x15 and 0x16 from the EDID. 113 </span></dt><dt><span class="refentrytitle"><a href="API-struct-v4l2-kevent.html"><span class="phrase">struct v4l2_kevent</span></a></span><span class="refpurpose"> — 114 Internal kernel event struct. 115 </span></dt><dt><span class="refentrytitle"><a href="API-struct-v4l2-subscribed-event.html"><span class="phrase">struct v4l2_subscribed_event</span></a></span><span class="refpurpose"> — 116 Internal struct representing a subscribed event. 117 </span></dt><dt><span class="refentrytitle"><a href="API-struct-v4l2-flash-config.html"><span class="phrase">struct v4l2_flash_config</span></a></span><span class="refpurpose"> — 118 V4L2 Flash sub-device initialization data 119 </span></dt><dt><span class="refentrytitle"><a href="API-struct-v4l2-flash.html"><span class="phrase">struct v4l2_flash</span></a></span><span class="refpurpose"> — 120 Flash sub-device context 121 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-flash-init.html"><span class="phrase">v4l2_flash_init</span></a></span><span class="refpurpose"> — 122 initialize V4L2 flash led sub-device 123 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-flash-release.html"><span class="phrase">v4l2_flash_release</span></a></span><span class="refpurpose"> — 124 release V4L2 Flash sub-device 125 </span></dt><dt><span class="refentrytitle"><a href="API-enum-v4l2-mbus-type.html"><span class="phrase">enum v4l2_mbus_type</span></a></span><span class="refpurpose"> — 126 media bus type 127 </span></dt><dt><span class="refentrytitle"><a href="API-struct-v4l2-mbus-config.html"><span class="phrase">struct v4l2_mbus_config</span></a></span><span class="refpurpose"> — 128 media bus configuration 129 </span></dt><dt><span class="refentrytitle"><a href="API-struct-v4l2-m2m-ops.html"><span class="phrase">struct v4l2_m2m_ops</span></a></span><span class="refpurpose"> — 130 mem-to-mem device driver callbacks 131 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-m2m-num-src-bufs-ready.html"><span class="phrase">v4l2_m2m_num_src_bufs_ready</span></a></span><span class="refpurpose"> — 132 return the number of source buffers ready for use 133 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-m2m-num-dst-bufs-ready.html"><span class="phrase">v4l2_m2m_num_dst_bufs_ready</span></a></span><span class="refpurpose"> — 134 return the number of destination buffers ready for use 135 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-m2m-next-src-buf.html"><span class="phrase">v4l2_m2m_next_src_buf</span></a></span><span class="refpurpose"> — 136 return next source buffer from the list of ready buffers 137 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-m2m-next-dst-buf.html"><span class="phrase">v4l2_m2m_next_dst_buf</span></a></span><span class="refpurpose"> — 138 return next destination buffer from the list of ready buffers 139 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-m2m-get-src-vq.html"><span class="phrase">v4l2_m2m_get_src_vq</span></a></span><span class="refpurpose"> — 140 return vb2_queue for source buffers 141 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-m2m-get-dst-vq.html"><span class="phrase">v4l2_m2m_get_dst_vq</span></a></span><span class="refpurpose"> — 142 return vb2_queue for destination buffers 143 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-m2m-src-buf-remove.html"><span class="phrase">v4l2_m2m_src_buf_remove</span></a></span><span class="refpurpose"> — 144 take off a source buffer from the list of ready buffers and return it 145 </span></dt><dt><span class="refentrytitle"><a href="API-v4l2-m2m-dst-buf-remove.html"><span class="phrase">v4l2_m2m_dst_buf_remove</span></a></span><span class="refpurpose"> — 146 take off a destination buffer from the list of ready buffers and return it 147 </span></dt><dt><span class="refentrytitle"><a href="API-struct-v4l2-of-bus-mipi-csi2.html"><span class="phrase">struct v4l2_of_bus_mipi_csi2</span></a></span><span class="refpurpose"> — 148 MIPI CSI-2 bus data structure 149 </span></dt><dt><span class="refentrytitle"><a href="API-struct-v4l2-of-bus-parallel.html"><span class="phrase">struct v4l2_of_bus_parallel</span></a></span><span class="refpurpose"> — 150 parallel data bus data structure 151 </span></dt><dt><span class="refentrytitle"><a href="API-struct-v4l2-of-endpoint.html"><span class="phrase">struct v4l2_of_endpoint</span></a></span><span class="refpurpose"> — 152 the endpoint data structure 153 </span></dt><dt><span class="refentrytitle"><a href="API-struct-v4l2-of-link.html"><span class="phrase">struct v4l2_of_link</span></a></span><span class="refpurpose"> — 154 a link between two endpoints 155 </span></dt><dt><span class="refentrytitle"><a href="API-struct-v4l2-subdev-core-ops.html"><span class="phrase">struct v4l2_subdev_core_ops</span></a></span><span class="refpurpose"> — 156 Define core ops callbacks for subdevs 157 </span></dt><dt><span class="refentrytitle"><a href="API-struct-v4l2-subdev-tuner-ops.html"><span class="phrase">struct v4l2_subdev_tuner_ops</span></a></span><span class="refpurpose"> — 158 Callbacks used when v4l device was opened in radio mode. 159 </span></dt><dt><span class="refentrytitle"><a href="API-struct-v4l2-subdev-audio-ops.html"><span class="phrase">struct v4l2_subdev_audio_ops</span></a></span><span class="refpurpose"> — 160 Callbacks used for audio-related settings 161 </span></dt><dt><span class="refentrytitle"><a href="API-struct-v4l2-mbus-frame-desc-entry.html"><span class="phrase">struct v4l2_mbus_frame_desc_entry</span></a></span><span class="refpurpose"> — 162 media bus frame description structure 163 </span></dt><dt><span class="refentrytitle"><a href="API-struct-v4l2-mbus-frame-desc.html"><span class="phrase">struct v4l2_mbus_frame_desc</span></a></span><span class="refpurpose"> — 164 media bus data frame description 165 </span></dt><dt><span class="refentrytitle"><a href="API-struct-v4l2-subdev-video-ops.html"><span class="phrase">struct v4l2_subdev_video_ops</span></a></span><span class="refpurpose"> — 166 Callbacks used when v4l device was opened in video mode. 167 </span></dt><dt><span class="refentrytitle"><a href="API-struct-v4l2-subdev-vbi-ops.html"><span class="phrase">struct v4l2_subdev_vbi_ops</span></a></span><span class="refpurpose"> — 168 Callbacks used when v4l device was opened in video mode via the vbi device node. 169 </span></dt><dt><span class="refentrytitle"><a href="API-struct-v4l2-subdev-sensor-ops.html"><span class="phrase">struct v4l2_subdev_sensor_ops</span></a></span><span class="refpurpose"> — 170 v4l2-subdev sensor operations 171 </span></dt><dt><span class="refentrytitle"><a href="API-struct-v4l2-subdev-pad-ops.html"><span class="phrase">struct v4l2_subdev_pad_ops</span></a></span><span class="refpurpose"> — 172 v4l2-subdev pad level operations 173 </span></dt><dt><span class="refentrytitle"><a href="API-struct-vb2-mem-ops.html"><span class="phrase">struct vb2_mem_ops</span></a></span><span class="refpurpose"> — 174 memory handling/memory allocator operations 175 </span></dt><dt><span class="refentrytitle"><a href="API-struct-vb2-plane.html"><span class="phrase">struct vb2_plane</span></a></span><span class="refpurpose"> — 176 plane information 177 </span></dt><dt><span class="refentrytitle"><a href="API-enum-vb2-io-modes.html"><span class="phrase">enum vb2_io_modes</span></a></span><span class="refpurpose"> — 178 queue access methods 179 </span></dt><dt><span class="refentrytitle"><a href="API-enum-vb2-buffer-state.html"><span class="phrase">enum vb2_buffer_state</span></a></span><span class="refpurpose"> — 180 current video buffer state 181 </span></dt><dt><span class="refentrytitle"><a href="API-struct-vb2-buffer.html"><span class="phrase">struct vb2_buffer</span></a></span><span class="refpurpose"> — 182 represents a video buffer 183 </span></dt><dt><span class="refentrytitle"><a href="API-struct-vb2-ops.html"><span class="phrase">struct vb2_ops</span></a></span><span class="refpurpose"> — 184 driver-specific callbacks 185 </span></dt><dt><span class="refentrytitle"><a href="API-struct-vb2-queue.html"><span class="phrase">struct vb2_queue</span></a></span><span class="refpurpose"> — 186 a videobuf queue 187 </span></dt><dt><span class="refentrytitle"><a href="API-vb2-is-streaming.html"><span class="phrase">vb2_is_streaming</span></a></span><span class="refpurpose"> — 188 return streaming status of the queue 189 </span></dt><dt><span class="refentrytitle"><a href="API-vb2-fileio-is-active.html"><span class="phrase">vb2_fileio_is_active</span></a></span><span class="refpurpose"> — 190 return true if fileio is active. 191 </span></dt><dt><span class="refentrytitle"><a href="API-vb2-is-busy.html"><span class="phrase">vb2_is_busy</span></a></span><span class="refpurpose"> — 192 return busy status of the queue 193 </span></dt><dt><span class="refentrytitle"><a href="API-vb2-get-drv-priv.html"><span class="phrase">vb2_get_drv_priv</span></a></span><span class="refpurpose"> — 194 return driver private data associated with the queue 195 </span></dt><dt><span class="refentrytitle"><a href="API-vb2-set-plane-payload.html"><span class="phrase">vb2_set_plane_payload</span></a></span><span class="refpurpose"> — 196 set bytesused for the plane plane_no 197 </span></dt><dt><span class="refentrytitle"><a href="API-vb2-get-plane-payload.html"><span class="phrase">vb2_get_plane_payload</span></a></span><span class="refpurpose"> — 198 get bytesused for the plane plane_no 199 </span></dt><dt><span class="refentrytitle"><a href="API-vb2-plane-size.html"><span class="phrase">vb2_plane_size</span></a></span><span class="refpurpose"> — 200 return plane size in bytes 201 </span></dt><dt><span class="refentrytitle"><a href="API-vb2-start-streaming-called.html"><span class="phrase">vb2_start_streaming_called</span></a></span><span class="refpurpose"> — 202 return streaming status of driver 203 </span></dt><dt><span class="refentrytitle"><a href="API-vb2-clear-last-buffer-dequeued.html"><span class="phrase">vb2_clear_last_buffer_dequeued</span></a></span><span class="refpurpose"> — 204 clear last buffer dequeued flag of queue 205 </span></dt><dt><span class="refentrytitle"><a href="API-struct-vb2-v4l2-buffer.html"><span class="phrase">struct vb2_v4l2_buffer</span></a></span><span class="refpurpose"> — 206 video buffer information for v4l2 207 </span></dt><dt><span class="refentrytitle"><a href="API-vb2-thread-start.html"><span class="phrase">vb2_thread_start</span></a></span><span class="refpurpose"> — 208 start a thread for the given queue. 209 </span></dt><dt><span class="refentrytitle"><a href="API-vb2-thread-stop.html"><span class="phrase">vb2_thread_stop</span></a></span><span class="refpurpose"> — 210 stop the thread for the given queue. 211 </span></dt><dt><span class="refentrytitle"><a href="API-struct-vb2-vmarea-handler.html"><span class="phrase">struct vb2_vmarea_handler</span></a></span><span class="refpurpose"> — 212 common vma refcount tracking handler 213 </span></dt></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-snd-dma-free-pages.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="API-enum-tuner-mode.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">snd_dma_free_pages</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">enum tuner_mode</span></td></tr></table></div></body></html> 214