History

[media] v4l: Add support for DV timings ioctls on subdev nodes

Validate the pad field in the core code whenever specified.

Laurent Pinchart committed 12 years ago

Commit 9cfd65e1 parent c4fa1464 files · +78 −13Browse files

Showing the changes to include/uapi/linux (1 of 4 files). Show all

Unified · Split

include/uapi/linux/v4l2-subdev.h+6−1
@@ -162,8 +162,13 @@ struct v4l2_subdev_selection { · 161 unmodified lines
162162 #define VIDIOC_SUBDEV_S_CROP _IOWR('V', 60, struct v4l2_subdev_crop)
163163 #define VIDIOC_SUBDEV_G_SELECTION _IOWR('V', 61, struct v4l2_subdev_selection)
164164 #define VIDIOC_SUBDEV_S_SELECTION _IOWR('V', 62, struct v4l2_subdev_selection)
165−/* These two G/S_EDID ioctls are identical to the ioctls in videodev2.h */
165+/* The following ioctls are identical to the ioctls in videodev2.h */
166166 #define VIDIOC_SUBDEV_G_EDID _IOWR('V', 40, struct v4l2_edid)
167167 #define VIDIOC_SUBDEV_S_EDID _IOWR('V', 41, struct v4l2_edid)
168+#define VIDIOC_SUBDEV_S_DV_TIMINGS _IOWR('V', 87, struct v4l2_dv_timings)
169+#define VIDIOC_SUBDEV_G_DV_TIMINGS _IOWR('V', 88, struct v4l2_dv_timings)
170+#define VIDIOC_SUBDEV_ENUM_DV_TIMINGS _IOWR('V', 98, struct v4l2_enum_dv_timings)
171+#define VIDIOC_SUBDEV_QUERY_DV_TIMINGS _IOR('V', 99, struct v4l2_dv_timings)
172+#define VIDIOC_SUBDEV_DV_TIMINGS_CAP _IOWR('V', 100, struct v4l2_dv_timings_cap)
168173
169174 #endif