aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/cuda.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2012-10-13 05:46:48 -0400
committerDavid Howells <dhowells@redhat.com>2012-10-13 05:46:48 -0400
commit607ca46e97a1b6594b29647d98a32d545c24bdff (patch)
tree30f4c0784bfddb57332cdc0678bd06d1e77fa185 /include/linux/cuda.h
parent08cce05c5a91f5017f4edc9866cf026908c73f9f (diff)
UAPI: (Scripted) Disintegrate include/linux
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Michael Kerrisk <mtk.manpages@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'include/linux/cuda.h')
-rw-r--r--include/linux/cuda.h25
1 files changed, 1 insertions, 24 deletions
diff --git a/include/linux/cuda.h b/include/linux/cuda.h
index 9f9865ff781e..b72332823807 100644
--- a/include/linux/cuda.h
+++ b/include/linux/cuda.h
@@ -4,38 +4,15 @@
4 * 4 *
5 * Copyright (C) 1996 Paul Mackerras. 5 * Copyright (C) 1996 Paul Mackerras.
6 */ 6 */
7
8#ifndef _LINUX_CUDA_H 7#ifndef _LINUX_CUDA_H
9#define _LINUX_CUDA_H 8#define _LINUX_CUDA_H
10 9
11/* CUDA commands (2nd byte) */ 10#include <uapi/linux/cuda.h>
12#define CUDA_WARM_START 0
13#define CUDA_AUTOPOLL 1
14#define CUDA_GET_6805_ADDR 2
15#define CUDA_GET_TIME 3
16#define CUDA_GET_PRAM 7
17#define CUDA_SET_6805_ADDR 8
18#define CUDA_SET_TIME 9
19#define CUDA_POWERDOWN 0xa
20#define CUDA_POWERUP_TIME 0xb
21#define CUDA_SET_PRAM 0xc
22#define CUDA_MS_RESET 0xd
23#define CUDA_SEND_DFAC 0xe
24#define CUDA_RESET_SYSTEM 0x11
25#define CUDA_SET_IPL 0x12
26#define CUDA_SET_AUTO_RATE 0x14
27#define CUDA_GET_AUTO_RATE 0x16
28#define CUDA_SET_DEVICE_LIST 0x19
29#define CUDA_GET_DEVICE_LIST 0x1a
30#define CUDA_GET_SET_IIC 0x22
31 11
32#ifdef __KERNEL__
33 12
34extern int find_via_cuda(void); 13extern int find_via_cuda(void);
35extern int cuda_request(struct adb_request *req, 14extern int cuda_request(struct adb_request *req,
36 void (*done)(struct adb_request *), int nbytes, ...); 15 void (*done)(struct adb_request *), int nbytes, ...);
37extern void cuda_poll(void); 16extern void cuda_poll(void);
38 17
39#endif /* __KERNEL */
40
41#endif /* _LINUX_CUDA_H */ 18#endif /* _LINUX_CUDA_H */