diff options
Diffstat (limited to 'include/linux/acpi.h')
-rw-r--r-- | include/linux/acpi.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index fd6a452b0ceb..7f23761ace35 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h | |||
@@ -194,6 +194,50 @@ extern bool wmi_has_guid(const char *guid); | |||
194 | 194 | ||
195 | #endif /* CONFIG_ACPI_WMI */ | 195 | #endif /* CONFIG_ACPI_WMI */ |
196 | 196 | ||
197 | #define ACPI_VIDEO_OUTPUT_SWITCHING 0x0001 | ||
198 | #define ACPI_VIDEO_DEVICE_POSTING 0x0002 | ||
199 | #define ACPI_VIDEO_ROM_AVAILABLE 0x0004 | ||
200 | #define ACPI_VIDEO_BACKLIGHT 0x0008 | ||
201 | #define ACPI_VIDEO_BACKLIGHT_FORCE_VENDOR 0x0010 | ||
202 | #define ACPI_VIDEO_BACKLIGHT_FORCE_VIDEO 0x0020 | ||
203 | #define ACPI_VIDEO_OUTPUT_SWITCHING_FORCE_VENDOR 0x0040 | ||
204 | #define ACPI_VIDEO_OUTPUT_SWITCHING_FORCE_VIDEO 0x0080 | ||
205 | #define ACPI_VIDEO_BACKLIGHT_DMI_VENDOR 0x0100 | ||
206 | #define ACPI_VIDEO_BACKLIGHT_DMI_VIDEO 0x0200 | ||
207 | #define ACPI_VIDEO_OUTPUT_SWITCHING_DMI_VENDOR 0x0400 | ||
208 | #define ACPI_VIDEO_OUTPUT_SWITCHING_DMI_VIDEO 0x0800 | ||
209 | |||
210 | #if defined(CONFIG_ACPI_VIDEO) || defined(CONFIG_ACPI_VIDEO_MODULE) | ||
211 | |||
212 | extern long acpi_video_get_capabilities(acpi_handle graphics_dev_handle); | ||
213 | extern long acpi_is_video_device(struct acpi_device *device); | ||
214 | extern int acpi_video_backlight_support(void); | ||
215 | extern int acpi_video_display_switch_support(void); | ||
216 | |||
217 | #else | ||
218 | |||
219 | static inline long acpi_video_get_capabilities(acpi_handle graphics_dev_handle) | ||
220 | { | ||
221 | return 0; | ||
222 | } | ||
223 | |||
224 | static inline long acpi_is_video_device(struct acpi_device *device) | ||
225 | { | ||
226 | return 0; | ||
227 | } | ||
228 | |||
229 | static inline int acpi_video_backlight_support(void) | ||
230 | { | ||
231 | return 0; | ||
232 | } | ||
233 | |||
234 | static inline int acpi_video_display_switch_support(void) | ||
235 | { | ||
236 | return 0; | ||
237 | } | ||
238 | |||
239 | #endif /* defined(CONFIG_ACPI_VIDEO) || defined(CONFIG_ACPI_VIDEO_MODULE) */ | ||
240 | |||
197 | extern int acpi_blacklisted(void); | 241 | extern int acpi_blacklisted(void); |
198 | #ifdef CONFIG_DMI | 242 | #ifdef CONFIG_DMI |
199 | extern void acpi_dmi_osi_linux(int enable, const struct dmi_system_id *d); | 243 | extern void acpi_dmi_osi_linux(int enable, const struct dmi_system_id *d); |