Go to the documentation of this file.
28 struct acpi_bus_event;
31 struct acpi_bus_event *
event);
70 #define ATIF_FUNCTION_VERIFY_INTERFACE 0x0
80 # define ATIF_DISPLAY_SWITCH_REQUEST_SUPPORTED (1 << 0)
81 # define ATIF_EXPANSION_MODE_CHANGE_REQUEST_SUPPORTED (1 << 1)
82 # define ATIF_THERMAL_STATE_CHANGE_REQUEST_SUPPORTED (1 << 2)
83 # define ATIF_FORCED_POWER_STATE_CHANGE_REQUEST_SUPPORTED (1 << 3)
84 # define ATIF_SYSTEM_POWER_SOURCE_CHANGE_REQUEST_SUPPORTED (1 << 4)
85 # define ATIF_DISPLAY_CONF_CHANGE_REQUEST_SUPPORTED (1 << 5)
86 # define ATIF_PX_GFX_SWITCH_REQUEST_SUPPORTED (1 << 6)
87 # define ATIF_PANEL_BRIGHTNESS_CHANGE_REQUEST_SUPPORTED (1 << 7)
88 # define ATIF_DGPU_DISPLAY_EVENT_SUPPORTED (1 << 8)
90 # define ATIF_GET_SYSTEM_PARAMETERS_SUPPORTED (1 << 0)
91 # define ATIF_GET_SYSTEM_BIOS_REQUESTS_SUPPORTED (1 << 1)
92 # define ATIF_SELECT_ACTIVE_DISPLAYS_SUPPORTED (1 << 2)
93 # define ATIF_GET_LID_STATE_SUPPORTED (1 << 3)
94 # define ATIF_GET_TV_STANDARD_FROM_CMOS_SUPPORTED (1 << 4)
95 # define ATIF_SET_TV_STANDARD_IN_CMOS_SUPPORTED (1 << 5)
96 # define ATIF_GET_PANEL_EXPANSION_MODE_FROM_CMOS_SUPPORTED (1 << 6)
97 # define ATIF_SET_PANEL_EXPANSION_MODE_IN_CMOS_SUPPORTED (1 << 7)
98 # define ATIF_TEMPERATURE_CHANGE_NOTIFICATION_SUPPORTED (1 << 12)
99 # define ATIF_GET_GRAPHICS_DEVICE_TYPES_SUPPORTED (1 << 14)
100 #define ATIF_FUNCTION_GET_SYSTEM_PARAMETERS 0x1
124 #define ATIF_FUNCTION_GET_SYSTEM_BIOS_REQUESTS 0x2
139 # define ATIF_DISPLAY_SWITCH_REQUEST (1 << 0)
140 # define ATIF_EXPANSION_MODE_CHANGE_REQUEST (1 << 1)
141 # define ATIF_THERMAL_STATE_CHANGE_REQUEST (1 << 2)
142 # define ATIF_FORCED_POWER_STATE_CHANGE_REQUEST (1 << 3)
143 # define ATIF_SYSTEM_POWER_SOURCE_CHANGE_REQUEST (1 << 4)
144 # define ATIF_DISPLAY_CONF_CHANGE_REQUEST (1 << 5)
145 # define ATIF_PX_GFX_SWITCH_REQUEST (1 << 6)
146 # define ATIF_PANEL_BRIGHTNESS_CHANGE_REQUEST (1 << 7)
147 # define ATIF_DGPU_DISPLAY_EVENT (1 << 8)
149 # define ATIF_PANEL_EXPANSION_DISABLE 0
150 # define ATIF_PANEL_EXPANSION_FULL 1
151 # define ATIF_PANEL_EXPANSION_ASPECT 2
153 # define ATIF_TARGET_GFX_SINGLE 0
154 # define ATIF_TARGET_GFX_PX_IGPU 1
155 # define ATIF_TARGET_GFX_PX_DGPU 2
157 # define ATIF_POWER_SOURCE_AC 1
158 # define ATIF_POWER_SOURCE_DC 2
159 # define ATIF_POWER_SOURCE_RESTRICTED_AC_1 3
160 # define ATIF_POWER_SOURCE_RESTRICTED_AC_2 4
161 #define ATIF_FUNCTION_SELECT_ACTIVE_DISPLAYS 0x3
171 # define ATIF_LCD1 (1 << 0)
172 # define ATIF_CRT1 (1 << 1)
173 # define ATIF_TV (1 << 2)
174 # define ATIF_DFP1 (1 << 3)
175 # define ATIF_CRT2 (1 << 4)
176 # define ATIF_LCD2 (1 << 5)
177 # define ATIF_DFP2 (1 << 7)
178 # define ATIF_CV (1 << 8)
179 # define ATIF_DFP3 (1 << 9)
180 # define ATIF_DFP4 (1 << 10)
181 # define ATIF_DFP5 (1 << 11)
182 # define ATIF_DFP6 (1 << 12)
183 #define ATIF_FUNCTION_GET_LID_STATE 0x4
193 #define ATIF_FUNCTION_GET_TV_STANDARD_FROM_CMOS 0x5
201 # define ATIF_TV_STD_NTSC 0
202 # define ATIF_TV_STD_PAL 1
203 # define ATIF_TV_STD_PALM 2
204 # define ATIF_TV_STD_PAL60 3
205 # define ATIF_TV_STD_NTSCJ 4
206 # define ATIF_TV_STD_PALCN 5
207 # define ATIF_TV_STD_PALN 6
208 # define ATIF_TV_STD_SCART_RGB 9
209 #define ATIF_FUNCTION_SET_TV_STANDARD_IN_CMOS 0x6
217 #define ATIF_FUNCTION_GET_PANEL_EXPANSION_MODE_FROM_CMOS 0x7
224 #define ATIF_FUNCTION_SET_PANEL_EXPANSION_MODE_IN_CMOS 0x8
231 #define ATIF_FUNCTION_TEMPERATURE_CHANGE_NOTIFICATION 0xD
239 #define ATIF_FUNCTION_GET_GRAPHICS_DEVICE_TYPES 0xF
250 # define ATIF_PX_REMOVABLE_GRAPHICS_DEVICE (1 << 0)
251 # define ATIF_XGP_PORT (1 << 1)
252 # define ATIF_VGA_ENABLED_GRAPHICS_DEVICE (1 << 2)
253 # define ATIF_XGP_PORT_IN_DOCK (1 << 3)
256 #define ATPX_FUNCTION_VERIFY_INTERFACE 0x0
265 # define ATPX_GET_PX_PARAMETERS_SUPPORTED (1 << 0)
266 # define ATPX_POWER_CONTROL_SUPPORTED (1 << 1)
267 # define ATPX_DISPLAY_MUX_CONTROL_SUPPORTED (1 << 2)
268 # define ATPX_I2C_MUX_CONTROL_SUPPORTED (1 << 3)
269 # define ATPX_GRAPHICS_DEVICE_SWITCH_START_NOTIFICATION_SUPPORTED (1 << 4)
270 # define ATPX_GRAPHICS_DEVICE_SWITCH_END_NOTIFICATION_SUPPORTED (1 << 5)
271 # define ATPX_GET_DISPLAY_CONNECTORS_MAPPING_SUPPORTED (1 << 7)
272 # define ATPX_GET_DISPLAY_DETECTION_PORTS_SUPPORTED (1 << 8)
273 #define ATPX_FUNCTION_GET_PX_PARAMETERS 0x1
282 # define ATPX_LVDS_I2C_AVAILABLE_TO_BOTH_GPUS (1 << 0)
283 # define ATPX_CRT1_I2C_AVAILABLE_TO_BOTH_GPUS (1 << 1)
284 # define ATPX_DVI1_I2C_AVAILABLE_TO_BOTH_GPUS (1 << 2)
285 # define ATPX_CRT1_RGB_SIGNAL_MUXED (1 << 3)
286 # define ATPX_TV_SIGNAL_MUXED (1 << 4)
287 # define ATPX_DFP_SIGNAL_MUXED (1 << 5)
288 # define ATPX_SEPARATE_MUX_FOR_I2C (1 << 6)
289 # define ATPX_DYNAMIC_PX_SUPPORTED (1 << 7)
290 # define ATPX_ACF_NOT_SUPPORTED (1 << 8)
291 # define ATPX_FIXED_NOT_SUPPORTED (1 << 9)
292 # define ATPX_DYNAMIC_DGPU_POWER_OFF_SUPPORTED (1 << 10)
293 # define ATPX_DGPU_REQ_POWER_FOR_DISPLAYS (1 << 11)
294 #define ATPX_FUNCTION_POWER_CONTROL 0x2
301 #define ATPX_FUNCTION_DISPLAY_MUX_CONTROL 0x3
308 # define ATPX_INTEGRATED_GPU 0
309 # define ATPX_DISCRETE_GPU 1
310 #define ATPX_FUNCTION_I2C_MUX_CONTROL 0x4
317 #define ATPX_FUNCTION_GRAPHICS_DEVICE_SWITCH_START_NOTIFICATION 0x5
324 #define ATPX_FUNCTION_GRAPHICS_DEVICE_SWITCH_END_NOTIFICATION 0x6
331 #define ATPX_FUNCTION_GET_DISPLAY_CONNECTORS_MAPPING 0x8
343 # define ATPX_DISPLAY_OUTPUT_SUPPORTED_BY_ADAPTER_ID_DEVICE (1 << 0)
344 # define ATPX_DISPLAY_HPD_SUPPORTED_BY_ADAPTER_ID_DEVICE (1 << 1)
345 # define ATPX_DISPLAY_I2C_SUPPORTED_BY_ADAPTER_ID_DEVICE (1 << 2)
346 #define ATPX_FUNCTION_GET_DISPLAY_DETECTION_PORTS 0x9
359 # define ATPX_HPD_NONE 0
367 # define ATPX_DDC_NONE 0
378 #define ATCS_FUNCTION_VERIFY_INTERFACE 0x0
387 # define ATCS_GET_EXTERNAL_STATE_SUPPORTED (1 << 0)
388 # define ATCS_PCIE_PERFORMANCE_REQUEST_SUPPORTED (1 << 1)
389 # define ATCS_PCIE_DEVICE_READY_NOTIFICATION_SUPPORTED (1 << 2)
390 # define ATCS_SET_PCIE_BUS_WIDTH_SUPPORTED (1 << 3)
391 #define ATCS_FUNCTION_GET_EXTERNAL_STATE 0x1
400 # define ATCS_DOCKED (1 << 0)
401 #define ATCS_FUNCTION_PCIE_PERFORMANCE_REQUEST 0x2
415 # define ATCS_ADVERTISE_CAPS (1 << 0)
416 # define ATCS_WAIT_FOR_COMPLETION (1 << 1)
418 # define ATCS_PCIE_LINK_SPEED 1
420 # define ATCS_REMOVE 0
421 # define ATCS_FORCE_LOW_POWER 1
422 # define ATCS_PERF_LEVEL_1 2
423 # define ATCS_PERF_LEVEL_2 3
424 # define ATCS_PERF_LEVEL_3 4
426 # define ATCS_REQUEST_REFUSED 1
427 # define ATCS_REQUEST_COMPLETE 2
428 # define ATCS_REQUEST_IN_PROGRESS 3
429 #define ATCS_FUNCTION_PCIE_DEVICE_READY_NOTIFICATION 0x3
434 #define ATCS_FUNCTION_SET_PCIE_BUS_WIDTH 0x4