Lines Matching refs:then
21 If you embed it in a larger struct, then you must set the ``release()``
56 become compulsory in the future!), then set this to your
72 If queue is not ``NULL``, and queue->lock is not ``NULL``, then queue->lock
84 If left to ``NULL``, then it will use the struct v4l2_prio_state
86 (group of) device node(s), then you can point it to your own struct
101 If you use :c:type:`v4l2_ioctl_ops`, then you should set
142 If you set this pointer, then that will be used by unlocked_ioctl to
145 If you are using the :ref:`videobuf2 framework <vb2_framework>`, then there
147 set, then this lock will be used instead of :c:type:`video_device`->lock
160 If you use the old :ref:`videobuf framework <vb_framework>` then you must
162 function: if videobuf has to wait for a frame to arrive, then it will
164 waits in the code, then you should do the same to allow other
170 If you use the ``queue->lock`` pointer, then you can use the helper functions
175 using :c:type:`video_device`->queue->lock, then you have to first lock
219 option. That number is then passed to this function and video_register_device
221 in use, then the next free device node number will be selected and it
229 or higher to what you passed. If that fails, then it will just pick the
250 After the device was successfully registered, then you can use these fields:
259 If the registration failed, then you need to call
298 of the driver or because the USB device was disconnected, then you should
312 When the last user of the video device node exits, then the ``vdev->release()``