aboutsummaryrefslogtreecommitdiffstats
path: root/include/media/v4l2-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/media/v4l2-common.h')
-rw-r--r--include/media/v4l2-common.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/media/v4l2-common.h b/include/media/v4l2-common.h
index 642520acdfa7..827f7edcd665 100644
--- a/include/media/v4l2-common.h
+++ b/include/media/v4l2-common.h
@@ -211,4 +211,15 @@ struct v4l2_routing {
211#define VIDIOC_INT_S_VIDEO_ROUTING _IOW ('d', 111, struct v4l2_routing) 211#define VIDIOC_INT_S_VIDEO_ROUTING _IOW ('d', 111, struct v4l2_routing)
212#define VIDIOC_INT_G_VIDEO_ROUTING _IOR ('d', 112, struct v4l2_routing) 212#define VIDIOC_INT_G_VIDEO_ROUTING _IOR ('d', 112, struct v4l2_routing)
213 213
214struct v4l2_crystal_freq {
215 u32 freq; /* frequency in Hz of the crystal */
216 u32 flags; /* device specific flags */
217};
218
219/* Sets the frequency of the crystal used to generate the clocks.
220 An extra flags field allows device specific configuration regarding
221 clock frequency dividers, etc. If not used, then set flags to 0.
222 If the frequency is not supported, then -EINVAL is returned. */
223#define VIDIOC_INT_S_CRYSTAL_FREQ _IOW ('d', 113, struct v4l2_crystal_freq)
224
214#endif /* V4L2_COMMON_H_ */ 225#endif /* V4L2_COMMON_H_ */