2010-08-19 01:20:09 +02:00
|
|
|
/****************************************************************************
|
|
|
|
****************************************************************************
|
|
|
|
***
|
|
|
|
*** This header was automatically generated from a Linux kernel header
|
|
|
|
*** of the same name, to make information necessary for userspace to
|
|
|
|
*** call into the kernel available to libc. It contains only constants,
|
|
|
|
*** structures, and macros generated from the original header, and thus,
|
|
|
|
*** contains no copyrightable information.
|
|
|
|
***
|
2012-03-08 06:13:49 +01:00
|
|
|
*** To edit the content of this header, modify the corresponding
|
|
|
|
*** source file (e.g. under external/kernel-headers/original/) then
|
|
|
|
*** run bionic/libc/kernel/tools/update_all.py
|
|
|
|
***
|
|
|
|
*** Any manual change here will be lost the next time this script will
|
|
|
|
*** be run. You've been warned!
|
|
|
|
***
|
2010-08-19 01:20:09 +02:00
|
|
|
****************************************************************************
|
|
|
|
****************************************************************************/
|
|
|
|
enum {
|
|
|
|
TEGRA_CAMERA_MODULE_ISP = 0,
|
|
|
|
TEGRA_CAMERA_MODULE_VI,
|
|
|
|
TEGRA_CAMERA_MODULE_CSI,
|
2012-03-08 06:13:49 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2010-08-19 01:20:09 +02:00
|
|
|
};
|
|
|
|
enum {
|
|
|
|
TEGRA_CAMERA_VI_CLK,
|
|
|
|
TEGRA_CAMERA_VI_SENSOR_CLK,
|
2012-03-08 06:13:49 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2010-08-19 01:20:09 +02:00
|
|
|
};
|
|
|
|
struct tegra_camera_clk_info {
|
|
|
|
uint id;
|
|
|
|
uint clk_id;
|
2012-03-08 06:13:49 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2010-08-19 01:20:09 +02:00
|
|
|
unsigned long rate;
|
|
|
|
};
|
|
|
|
#define TEGRA_CAMERA_IOCTL_ENABLE _IOWR('i', 1, uint)
|
|
|
|
#define TEGRA_CAMERA_IOCTL_DISABLE _IOWR('i', 2, uint)
|
2012-03-08 06:13:49 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2010-08-19 01:20:09 +02:00
|
|
|
#define TEGRA_CAMERA_IOCTL_CLK_SET_RATE _IOWR('i', 3, struct tegra_camera_clk_info)
|
|
|
|
#define TEGRA_CAMERA_IOCTL_RESET _IOWR('i', 4, uint)
|