0 0
ˆ
ƒ�½ÂÁà ¢
Index of /anon_sym/anon/sys/dev/char/7:70/subsystem/vcs2/power
Index of /anon_sym/anon/sys/dev/char/7:70/subsystem/vcs2/power
ˆÇÆ
„u§ÝgÅÁÃ ?÷ /* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* V4L2 sub-device support header.
*
* Copyright (C) 2008 Hans Verkuil
*/
#ifndef _V4L2_SUBDEV_H
#define _V4L2_SUBDEV_H
#include
#include
#include
#include
#include
#include
#include
#include
/* generic v4l2_device notify callback notification values */
#define V4L2_SUBDEV_IR_RX_NOTIFY _IOW('v', 0, u32)
#define V4L2_SUBDEV_IR_RX_FIFO_SERVICE_REQ 0x00000001
#define V4L2_SUBDEV_IR_RX_END_OF_RX_DETECTED 0x00000002
#define V4L2_SUBDEV_IR_RX_HW_FIFO_OVERRUN 0x00000004
#define V4L2_SUBDEV_IR_RX_SW_FIFO_OVERRUN 0x00000008
#define V4L2_SUBDEV_IR_TX_NOTIFY _IOW('v', 1, u32)
#define V4L2_SUBDEV_IR_TX_FIFO_SERVICE_REQ 0x00000001
#define V4L2_DEVICE_NOTIFY_EVENT _IOW('v', 2, struct v4l2_event)
struct v4l2_device;
struct v4l2_ctrl_handler;
struct v4l2_event;
struct v4l2_event_subscription;
struct v4l2_fh;
struct v4l2_subdev;
struct v4l2_subdev_fh;
struct tuner_setup;
struct v4l2_mbus_frame_desc;
/**
* struct v4l2_decode_vbi_line - used to decode_vbi_line
*
* @is_second_field: Set to 0 for the first (odd) field;
* set to 1 for the second (even) field.
* @p: Pointer to the sliced VBI data from the decoder. On exit, points to
* the start of the payload.
* @line: Line number of the sliced VBI data (1-23)
* @type: VBI service type (V4L2_SLICED_*). 0 if no service found
*/
struct v4l2_decode_vbi_line {
u32 is_second_field;
u8 *p;
u32 line;
u32 type;
};
/*
* Sub-devices are devices that are connected somehow to the main bridge
* device. These devices are usually audio/video muxers/encoders/decoders or
* sensors and webcam controllers.
*
* Usually these devices are controlled through an i2c bus, but other buses
* may also be used.
*
* The v4l2_subdev struct provides a way of accessing these devices in a
* generic manner. Most operations that these sub-devices support fall in
* a few categories: core ops, audio ops, video ops and tuner ops.
*
* More categories can be added if needed, although this should remain a
* limited set (no more than approx. 8 categories).
*
* Each category has its own set of ops that subdev drivers ca