Lines Matching +full:sub +full:- +full:block
1 .. SPDX-License-Identifier: GPL-2.0
4 --------------------
16 dev->driver_data field is ``NULL``, it will be linked to
20 dev->driver_data manually to point to the driver-specific device structure
26 If :c:type:`v4l2_dev <v4l2_device>`\ ->name is empty then it will be set to a
30 :c:type:`v4l2_dev <v4l2_device>`\ ->name before calling
34 name and a driver-global atomic_t instance. This will generate names like
36 a dash: ``cx18-0``, ``cx18-1``, etc. This function returns the instance number.
44 You can also supply a ``notify()`` callback that can be called by sub-devices
46 sub-device. Any notifications a sub-device supports must be defined in a header
54 If the dev->driver_data field points to :c:type:`v4l2_dev <v4l2_device>`,
77 .. code-block:: c
109 .. code-block:: c
116 state->instance = atomic_inc_return(&drv_instance) - 1;
146 .. kernel-doc:: include/media/v4l2-device.h