Linux-2.6.12-rc2
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / include / asm-ia64 / sn / sndrv.h
1 /*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
5 *
6 * Copyright (c) 2002-2004 Silicon Graphics, Inc. All Rights Reserved.
7 */
8
9 #ifndef _ASM_IA64_SN_SNDRV_H
10 #define _ASM_IA64_SN_SNDRV_H
11
12 /* ioctl commands */
13 #define SNDRV_GET_ROUTERINFO 1
14 #define SNDRV_GET_INFOSIZE 2
15 #define SNDRV_GET_HUBINFO 3
16 #define SNDRV_GET_FLASHLOGSIZE 4
17 #define SNDRV_SET_FLASHSYNC 5
18 #define SNDRV_GET_FLASHLOGDATA 6
19 #define SNDRV_GET_FLASHLOGALL 7
20
21 #define SNDRV_SET_HISTOGRAM_TYPE 14
22
23 #define SNDRV_ELSC_COMMAND 19
24 #define SNDRV_CLEAR_LOG 20
25 #define SNDRV_INIT_LOG 21
26 #define SNDRV_GET_PIMM_PSC 22
27 #define SNDRV_SET_PARTITION 23
28 #define SNDRV_GET_PARTITION 24
29
30 /* see synergy_perf_ioctl() */
31 #define SNDRV_GET_SYNERGY_VERSION 30
32 #define SNDRV_GET_SYNERGY_STATUS 31
33 #define SNDRV_GET_SYNERGYINFO 32
34 #define SNDRV_SYNERGY_APPEND 33
35 #define SNDRV_SYNERGY_ENABLE 34
36 #define SNDRV_SYNERGY_FREQ 35
37
38 /* Devices */
39 #define SNDRV_UKNOWN_DEVICE -1
40 #define SNDRV_ROUTER_DEVICE 1
41 #define SNDRV_HUB_DEVICE 2
42 #define SNDRV_ELSC_NVRAM_DEVICE 3
43 #define SNDRV_ELSC_CONTROLLER_DEVICE 4
44 #define SNDRV_SYSCTL_SUBCH 5
45 #define SNDRV_SYNERGY_DEVICE 6
46
47 #endif /* _ASM_IA64_SN_SNDRV_H */