tegra_camera.h revision 4b29af0a1b8b25b43e4c0cb9bf066c52f3add9bd
1/****************************************************************************
2 ****************************************************************************
3 ***
4 ***   This header was automatically generated from a Linux kernel header
5 ***   of the same name, to make information necessary for userspace to
6 ***   call into the kernel available to libc.  It contains only constants,
7 ***   structures, and macros generated from the original header, and thus,
8 ***   contains no copyrightable information.
9 ***
10 ****************************************************************************
11 ****************************************************************************/
12enum {
13 TEGRA_CAMERA_MODULE_ISP = 0,
14 TEGRA_CAMERA_MODULE_VI,
15 TEGRA_CAMERA_MODULE_CSI,
16};
17
18enum {
19 TEGRA_CAMERA_VI_CLK,
20 TEGRA_CAMERA_VI_SENSOR_CLK,
21};
22
23struct tegra_camera_clk_info {
24 uint id;
25 uint clk_id;
26 unsigned long rate;
27};
28
29#define TEGRA_CAMERA_IOCTL_ENABLE _IOWR('i', 1, uint)
30#define TEGRA_CAMERA_IOCTL_DISABLE _IOWR('i', 2, uint)
31#define TEGRA_CAMERA_IOCTL_CLK_SET_RATE   _IOWR('i', 3, struct tegra_camera_clk_info)
32#define TEGRA_CAMERA_IOCTL_RESET _IOWR('i', 4, uint)
33
34