Blame view
include/acpi/video.h
958 Bytes
74a365b3f ACPI: Populate DI... |
1 2 |
#ifndef __ACPI_VIDEO_H #define __ACPI_VIDEO_H |
b72512ed7 ACPI: video: fix ... |
3 4 5 |
#include <linux/errno.h> /* for ENODEV */ struct acpi_device; |
f5a3d0c40 i915: Fix opregio... |
6 |
#define ACPI_VIDEO_CLASS "video" |
e92a71624 ACPI: Export EDID... |
7 8 9 10 11 12 13 14 |
#define ACPI_VIDEO_DISPLAY_CRT 1 #define ACPI_VIDEO_DISPLAY_TV 2 #define ACPI_VIDEO_DISPLAY_DVI 3 #define ACPI_VIDEO_DISPLAY_LCD 4 #define ACPI_VIDEO_DISPLAY_LEGACY_MONITOR 0x0100 #define ACPI_VIDEO_DISPLAY_LEGACY_PANEL 0x0110 #define ACPI_VIDEO_DISPLAY_LEGACY_TV 0x0200 |
74a365b3f ACPI: Populate DI... |
15 16 |
#if (defined CONFIG_ACPI_VIDEO || defined CONFIG_ACPI_VIDEO_MODULE) extern int acpi_video_register(void); |
86e437f07 ACPI: Add the ref... |
17 |
extern void acpi_video_unregister(void); |
e92a71624 ACPI: Export EDID... |
18 19 |
extern int acpi_video_get_edid(struct acpi_device *device, int type, int device_id, void **edid); |
74a365b3f ACPI: Populate DI... |
20 21 |
#else static inline int acpi_video_register(void) { return 0; } |
86e437f07 ACPI: Add the ref... |
22 |
static inline void acpi_video_unregister(void) { return; } |
e92a71624 ACPI: Export EDID... |
23 24 25 26 27 |
static inline int acpi_video_get_edid(struct acpi_device *device, int type, int device_id, void **edid) { return -ENODEV; } |
74a365b3f ACPI: Populate DI... |
28 29 30 |
#endif #endif |