Go to the documentation of this file.
37 #define VGA_RSRC_NONE 0x00
38 #define VGA_RSRC_LEGACY_IO 0x01
39 #define VGA_RSRC_LEGACY_MEM 0x02
40 #define VGA_RSRC_LEGACY_MASK (VGA_RSRC_LEGACY_IO | VGA_RSRC_LEGACY_MEM)
42 #define VGA_RSRC_NORMAL_IO 0x04
43 #define VGA_RSRC_NORMAL_MEM 0x08
49 #define VGA_DEFAULT_DEVICE (NULL)
69 unsigned int decodes);
99 #if defined(CONFIG_VGA_ARB)
100 extern int vga_get(
struct pci_dev *pdev,
unsigned int rsrc,
int interruptible);
102 static inline int vga_get(
struct pci_dev *pdev,
unsigned int rsrc,
int interruptible) {
return 0; }
111 static inline int vga_get_interruptible(
struct pci_dev *pdev,
123 static inline int vga_get_uninterruptible(
struct pci_dev *pdev,
140 #if defined(CONFIG_VGA_ARB)
143 static inline int vga_tryget(
struct pci_dev *pdev,
unsigned int rsrc) {
return 0; }
159 #if defined(CONFIG_VGA_ARB)
162 #define vga_put(pdev, rsrc)
185 #ifndef __ARCH_HAS_VGA_DEFAULT_DEVICE
186 #ifdef CONFIG_VGA_ARB
203 #ifndef __ARCH_HAS_VGA_CONFLICT
238 #if defined(CONFIG_VGA_ARB)
240 void (*irq_set_state)(
void *cookie,
bool state),
241 unsigned int (*set_vga_decode)(
void *cookie,
bool state));
244 void (*irq_set_state)(
void *cookie,
bool state),
245 unsigned int (*set_vga_decode)(
void *cookie,
bool state))