File tree Expand file tree Collapse file tree 2 files changed +23
-23
lines changed Expand file tree Collapse file tree 2 files changed +23
-23
lines changed Original file line number Diff line number Diff line change @@ -64,29 +64,6 @@ struct apple_gmux_data {
64
64
65
65
static struct apple_gmux_data * apple_gmux_data ;
66
66
67
- /*
68
- * gmux port offsets. Many of these are not yet used, but may be in the
69
- * future, and it's useful to have them documented here anyhow.
70
- */
71
- #define GMUX_PORT_VERSION_MAJOR 0x04
72
- #define GMUX_PORT_VERSION_MINOR 0x05
73
- #define GMUX_PORT_VERSION_RELEASE 0x06
74
- #define GMUX_PORT_SWITCH_DISPLAY 0x10
75
- #define GMUX_PORT_SWITCH_GET_DISPLAY 0x11
76
- #define GMUX_PORT_INTERRUPT_ENABLE 0x14
77
- #define GMUX_PORT_INTERRUPT_STATUS 0x16
78
- #define GMUX_PORT_SWITCH_DDC 0x28
79
- #define GMUX_PORT_SWITCH_EXTERNAL 0x40
80
- #define GMUX_PORT_SWITCH_GET_EXTERNAL 0x41
81
- #define GMUX_PORT_DISCRETE_POWER 0x50
82
- #define GMUX_PORT_MAX_BRIGHTNESS 0x70
83
- #define GMUX_PORT_BRIGHTNESS 0x74
84
- #define GMUX_PORT_VALUE 0xc2
85
- #define GMUX_PORT_READ 0xd0
86
- #define GMUX_PORT_WRITE 0xd4
87
-
88
- #define GMUX_MIN_IO_LEN (GMUX_PORT_BRIGHTNESS + 4)
89
-
90
67
#define GMUX_INTERRUPT_ENABLE 0xff
91
68
#define GMUX_INTERRUPT_DISABLE 0x00
92
69
Original file line number Diff line number Diff line change 11
11
12
12
#define GMUX_ACPI_HID "APP000B"
13
13
14
+ /*
15
+ * gmux port offsets. Many of these are not yet used, but may be in the
16
+ * future, and it's useful to have them documented here anyhow.
17
+ */
18
+ #define GMUX_PORT_VERSION_MAJOR 0x04
19
+ #define GMUX_PORT_VERSION_MINOR 0x05
20
+ #define GMUX_PORT_VERSION_RELEASE 0x06
21
+ #define GMUX_PORT_SWITCH_DISPLAY 0x10
22
+ #define GMUX_PORT_SWITCH_GET_DISPLAY 0x11
23
+ #define GMUX_PORT_INTERRUPT_ENABLE 0x14
24
+ #define GMUX_PORT_INTERRUPT_STATUS 0x16
25
+ #define GMUX_PORT_SWITCH_DDC 0x28
26
+ #define GMUX_PORT_SWITCH_EXTERNAL 0x40
27
+ #define GMUX_PORT_SWITCH_GET_EXTERNAL 0x41
28
+ #define GMUX_PORT_DISCRETE_POWER 0x50
29
+ #define GMUX_PORT_MAX_BRIGHTNESS 0x70
30
+ #define GMUX_PORT_BRIGHTNESS 0x74
31
+ #define GMUX_PORT_VALUE 0xc2
32
+ #define GMUX_PORT_READ 0xd0
33
+ #define GMUX_PORT_WRITE 0xd4
34
+
35
+ #define GMUX_MIN_IO_LEN (GMUX_PORT_BRIGHTNESS + 4)
36
+
14
37
#if IS_ENABLED (CONFIG_APPLE_GMUX )
15
38
16
39
/**
You can’t perform that action at this time.
0 commit comments