aboutsummaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@nokia.com>2008-10-18 11:23:45 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-21 12:31:09 -0400
commit96014a957c7a39392315ce117466549d69eb63b2 (patch)
treeeb59f2de2290b242b42ccc35e0c3a94e2b881327 /include/media
parent11fc9a4a440112b5afc1a99d86ba92d70205a688 (diff)
V4L/DVB (9318): v4l2-int-if: Add command to get slave private data.
vidioc_int_g_priv is used to get master's slave-related private data structure. The structure can contain for example master's configuration specific to slave. Signed-off-by: Sakari Ailus <sakari.ailus@nokia.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/v4l2-int-device.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/media/v4l2-int-device.h b/include/media/v4l2-int-device.h
index c8b80e0f0651..d9a0053654db 100644
--- a/include/media/v4l2-int-device.h
+++ b/include/media/v4l2-int-device.h
@@ -184,6 +184,11 @@ enum v4l2_int_ioctl_num {
184 vidioc_int_dev_exit_num, 184 vidioc_int_dev_exit_num,
185 /* Set device power state: 0 is off, non-zero is on. */ 185 /* Set device power state: 0 is off, non-zero is on. */
186 vidioc_int_s_power_num, 186 vidioc_int_s_power_num,
187 /*
188 * Get slave private data, e.g. platform-specific slave
189 * configuration used by the master.
190 */
191 vidioc_int_g_priv_num,
187 /* Get slave interface parameters. */ 192 /* Get slave interface parameters. */
188 vidioc_int_g_ifparm_num, 193 vidioc_int_g_ifparm_num,
189 /* Does the slave need to be reset after VIDIOC_DQBUF? */ 194 /* Does the slave need to be reset after VIDIOC_DQBUF? */
@@ -267,6 +272,7 @@ V4L2_INT_WRAPPER_1(s_parm, struct v4l2_streamparm, *);
267V4L2_INT_WRAPPER_0(dev_init); 272V4L2_INT_WRAPPER_0(dev_init);
268V4L2_INT_WRAPPER_0(dev_exit); 273V4L2_INT_WRAPPER_0(dev_exit);
269V4L2_INT_WRAPPER_1(s_power, int, ); 274V4L2_INT_WRAPPER_1(s_power, int, );
275V4L2_INT_WRAPPER_1(g_priv, void, *);
270V4L2_INT_WRAPPER_1(g_ifparm, struct v4l2_ifparm, *); 276V4L2_INT_WRAPPER_1(g_ifparm, struct v4l2_ifparm, *);
271V4L2_INT_WRAPPER_1(g_needs_reset, void, *); 277V4L2_INT_WRAPPER_1(g_needs_reset, void, *);
272 278