blob: cbbdb994f1ddcb67990b0cc51700890cd498347f [file] [log] [blame]
Lukas Wunnerfb001df2016-07-11 10:22:33 +02001.. _vga_switcheroo:
2
Jani Nikulaca00c2b2016-06-21 14:48:58 +03003==============
4VGA Switcheroo
5==============
6
7.. kernel-doc:: drivers/gpu/vga/vga_switcheroo.c
8 :doc: Overview
9
10Modes of Use
11============
12
13Manual switching and manual power control
14-----------------------------------------
15
16.. kernel-doc:: drivers/gpu/vga/vga_switcheroo.c
17 :doc: Manual switching and manual power control
18
19Driver power control
20--------------------
21
22.. kernel-doc:: drivers/gpu/vga/vga_switcheroo.c
23 :doc: Driver power control
24
25API
26===
27
28Public functions
29----------------
30
31.. kernel-doc:: drivers/gpu/vga/vga_switcheroo.c
32 :export:
33
34Public structures
35-----------------
36
37.. kernel-doc:: include/linux/vga_switcheroo.h
38 :functions: vga_switcheroo_handler
39
40.. kernel-doc:: include/linux/vga_switcheroo.h
41 :functions: vga_switcheroo_client_ops
42
43Public constants
44----------------
45
46.. kernel-doc:: include/linux/vga_switcheroo.h
47 :functions: vga_switcheroo_handler_flags_t
48
49.. kernel-doc:: include/linux/vga_switcheroo.h
50 :functions: vga_switcheroo_client_id
51
52.. kernel-doc:: include/linux/vga_switcheroo.h
53 :functions: vga_switcheroo_state
54
55Private structures
56------------------
57
58.. kernel-doc:: drivers/gpu/vga/vga_switcheroo.c
59 :functions: vgasr_priv
60
61.. kernel-doc:: drivers/gpu/vga/vga_switcheroo.c
62 :functions: vga_switcheroo_client
63
64Handlers
65========
66
67apple-gmux Handler
68------------------
69
70.. kernel-doc:: drivers/platform/x86/apple-gmux.c
71 :doc: Overview
72
73.. kernel-doc:: drivers/platform/x86/apple-gmux.c
74 :doc: Interrupt
75
76Graphics mux
77~~~~~~~~~~~~
78
79.. kernel-doc:: drivers/platform/x86/apple-gmux.c
80 :doc: Graphics mux
81
82Power control
83~~~~~~~~~~~~~
84
85.. kernel-doc:: drivers/platform/x86/apple-gmux.c
86 :doc: Power control
87
88Backlight control
89~~~~~~~~~~~~~~~~~
90
91.. kernel-doc:: drivers/platform/x86/apple-gmux.c
92 :doc: Backlight control
93
94Public functions
95~~~~~~~~~~~~~~~~
96
97.. kernel-doc:: include/linux/apple-gmux.h
98 :internal: