blob: 0f6303570b00146855544c27097dc1ddfc5950cd [file] [log] [blame]
Rebecca Schultz Zavin053febd2010-08-18 16:20:09 -07001/****************************************************************************
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