Lines Matching +full:ctrl +full:- +full:ids

1 /* SPDX-License-Identifier: GPL-2.0 */
17 #include <media/media-device.h>
18 #include <media/v4l2-device.h>
19 #include <media/v4l2-event.h>
20 #include <media/v4l2-fh.h>
21 #include <media/videobuf2-v4l2.h>
23 /* --------------------------------------------------------------------------
29 #define UVC_TERM_DIRECTION(term) ((term)->type & 0x8000)
31 #define UVC_ENTITY_TYPE(entity) ((entity)->type & 0x7fff)
32 #define UVC_ENTITY_IS_UNIT(entity) (((entity)->type & 0xff00) == 0)
33 #define UVC_ENTITY_IS_TERM(entity) (((entity)->type & 0xff00) != 0)
36 ((entity)->type & 0x8000) == UVC_TERM_INPUT)
39 ((entity)->type & 0x8000) == UVC_TERM_OUTPUT)
44 /* ------------------------------------------------------------------------
84 /* ------------------------------------------------------------------------
133 struct uvc_control *ctrl);
163 * specification have a non-null MSB, so it is safe to use the MSB to
165 * code makes sure terminal types have a non-null MSB.
180 * Entities exposed by the UVC device use IDs 0-255, extra entities
181 * implemented by the driver (such as the GPIO entity) use IDs 256 and
189 /* Media controller-related fields. */
340 struct mutex ctrl_mutex; /* Protects ctrl.info */
343 u32 caps; /* V4L2 chain-wide caps */
349 unsigned int first_data; /* Index of the first non-empty packet */
359 bool has_initial_pts; /* Whether the first non-empty packet has a PTS */
360 bool has_early_pts; /* Whether a PTS is present before the first non-empty packet */
410 * struct uvc_urb - URB context management structure
451 struct uvc_streaming_control ctrl; member
457 * Protect access to ctrl, cur_format, cur_frame and hardware video
521 for ((uvc_urb) = &(uvc_streaming)->uvc_urb[0]; \
522 (uvc_urb) < &(uvc_streaming)->uvc_urb[UVC_URBS]; \
527 return uvc_urb - &uvc_urb->stream->uvc_urb[0]; in uvc_urb_index()
598 struct uvc_control *ctrl; member
621 /* ------------------------------------------------------------------------
651 dev_printk(KERN_DEBUG, &(_dev)->udev->dev, fmt, \
663 if (!test_and_set_bit(warn, &(_dev)->warnings)) \
664 dev_info(&(_dev)->udev->dev, fmt, ##__VA_ARGS__); \
667 /* --------------------------------------------------------------------------
711 return vb2_is_streaming(&queue->queue); in uvc_queue_streaming()
772 struct uvc_control *ctrl, const u8 *data);
774 struct uvc_control *ctrl, const u8 *data);