aboutsummaryrefslogtreecommitdiffstats
path: root/include/media/nvc_torch.h
diff options
context:
space:
mode:
authorJonathan Herman <hermanjl@cs.unc.edu>2013-01-22 10:38:37 -0500
committerJonathan Herman <hermanjl@cs.unc.edu>2013-01-22 10:38:37 -0500
commitfcc9d2e5a6c89d22b8b773a64fb4ad21ac318446 (patch)
treea57612d1888735a2ec7972891b68c1ac5ec8faea /include/media/nvc_torch.h
parent8dea78da5cee153b8af9c07a2745f6c55057fe12 (diff)
Added missing tegra files.HEADmaster
Diffstat (limited to 'include/media/nvc_torch.h')
-rw-r--r--include/media/nvc_torch.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/include/media/nvc_torch.h b/include/media/nvc_torch.h
new file mode 100644
index 00000000000..7c88bc75af0
--- /dev/null
+++ b/include/media/nvc_torch.h
@@ -0,0 +1,43 @@
1/* Copyright (C) 2011 NVIDIA Corporation.
2 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 as
5 * published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 *
12 * You should have received a copy of the GNU General Public License
13 * along with this program; if not, write to the Free Software
14 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
15 * 02111-1307, USA
16 */
17
18#ifndef __NVC_TORCH_H__
19#define __NVC_TORCH_H__
20
21struct nvc_torch_level_info {
22 __s32 guidenum;
23 __u32 sustaintime;
24 __s32 rechargefactor;
25} __packed;
26
27struct nvc_torch_pin_state {
28 __u16 mask;
29 __u16 values;
30} __packed;
31
32struct nvc_torch_flash_capabilities {
33 __u32 numberoflevels;
34 struct nvc_torch_level_info levels[];
35} __packed;
36
37struct nvc_torch_torch_capabilities {
38 __u32 numberoflevels;
39 __s32 guidenum[];
40} __packed;
41
42#endif /* __NVC_TORCH_H__ */
43