diff options
Diffstat (limited to 'include/media/nvc_torch.h')
-rw-r--r-- | include/media/nvc_torch.h | 43 |
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 | |||
21 | struct nvc_torch_level_info { | ||
22 | __s32 guidenum; | ||
23 | __u32 sustaintime; | ||
24 | __s32 rechargefactor; | ||
25 | } __packed; | ||
26 | |||
27 | struct nvc_torch_pin_state { | ||
28 | __u16 mask; | ||
29 | __u16 values; | ||
30 | } __packed; | ||
31 | |||
32 | struct nvc_torch_flash_capabilities { | ||
33 | __u32 numberoflevels; | ||
34 | struct nvc_torch_level_info levels[]; | ||
35 | } __packed; | ||
36 | |||
37 | struct nvc_torch_torch_capabilities { | ||
38 | __u32 numberoflevels; | ||
39 | __s32 guidenum[]; | ||
40 | } __packed; | ||
41 | |||
42 | #endif /* __NVC_TORCH_H__ */ | ||
43 | |||