v4l2-common.h (48a7afe314bfc4d7f50e1608632f503dbba7e013) v4l2-common.h (7f1711234e6a21c153e892758d9d82c333ab37ac)
1/*
2 v4l2 common internal API header
3
4 This header contains internal shared ioctl definitions for use by the
5 internal low-level v4l2 drivers.
6 Each ioctl begins with VIDIOC_INT_ to clearly mark that it is an internal
7 define,
8

--- 102 unchanged lines hidden (view full) ---

111 u32 is_second_field; /* Set to 0 for the first (odd) field,
112 set to 1 for the second (even) field. */
113 u8 *p; /* Pointer to the sliced VBI data from the decoder.
114 On exit points to the start of the payload. */
115 u32 line; /* Line number of the sliced VBI data (1-23) */
116 u32 type; /* VBI service type (V4L2_SLICED_*). 0 if no service found */
117};
118
1/*
2 v4l2 common internal API header
3
4 This header contains internal shared ioctl definitions for use by the
5 internal low-level v4l2 drivers.
6 Each ioctl begins with VIDIOC_INT_ to clearly mark that it is an internal
7 define,
8

--- 102 unchanged lines hidden (view full) ---

111 u32 is_second_field; /* Set to 0 for the first (odd) field,
112 set to 1 for the second (even) field. */
113 u8 *p; /* Pointer to the sliced VBI data from the decoder.
114 On exit points to the start of the payload. */
115 u32 line; /* Line number of the sliced VBI data (1-23) */
116 u32 type; /* VBI service type (V4L2_SLICED_*). 0 if no service found */
117};
118
119struct v4l2_priv_tun_config {
120 int tuner;
121 void *priv;
122};
123
119/* audio ioctls */
120
121/* v4l device was opened in Radio mode, to be replaced by VIDIOC_INT_S_TUNER_MODE */
122#define AUDC_SET_RADIO _IO('d',88)
123
124/* tuner ioctls */
125
126/* Sets tuner type and its I2C addr */
127#define TUNER_SET_TYPE_ADDR _IOW('d', 90, int)
128
129/* Puts tuner on powersaving state, disabling it, except for i2c. To be replaced
130 by VIDIOC_INT_S_STANDBY. */
131#define TUNER_SET_STANDBY _IOW('d', 91, int)
132
133/* Sets tda9887 specific stuff, like port1, port2 and qss */
124/* audio ioctls */
125
126/* v4l device was opened in Radio mode, to be replaced by VIDIOC_INT_S_TUNER_MODE */
127#define AUDC_SET_RADIO _IO('d',88)
128
129/* tuner ioctls */
130
131/* Sets tuner type and its I2C addr */
132#define TUNER_SET_TYPE_ADDR _IOW('d', 90, int)
133
134/* Puts tuner on powersaving state, disabling it, except for i2c. To be replaced
135 by VIDIOC_INT_S_STANDBY. */
136#define TUNER_SET_STANDBY _IOW('d', 91, int)
137
138/* Sets tda9887 specific stuff, like port1, port2 and qss */
134#define TDA9887_SET_CONFIG _IOW('d', 92, int)
139#define TUNER_SET_CONFIG _IOW('d', 92, struct v4l2_priv_tun_config)
135
136/* Switch the tuner to a specific tuner mode. Replacement of AUDC_SET_RADIO */
137#define VIDIOC_INT_S_TUNER_MODE _IOW('d', 93, enum v4l2_tuner_type)
138
139/* Generic standby command. Passing -1 (all bits set to 1) will put the whole
140 chip into standby mode, value 0 will make the chip fully active. Specific
141 bits can be used by certain chips to enable/disable specific subsystems.
142 Replacement of TUNER_SET_STANDBY. */

--- 88 unchanged lines hidden ---
140
141/* Switch the tuner to a specific tuner mode. Replacement of AUDC_SET_RADIO */
142#define VIDIOC_INT_S_TUNER_MODE _IOW('d', 93, enum v4l2_tuner_type)
143
144/* Generic standby command. Passing -1 (all bits set to 1) will put the whole
145 chip into standby mode, value 0 will make the chip fully active. Specific
146 bits can be used by certain chips to enable/disable specific subsystems.
147 Replacement of TUNER_SET_STANDBY. */

--- 88 unchanged lines hidden ---