Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | via_port_cfg |
struct | viafb_dev |
Macros | |
#define | VIAFB_NUM_PORTS 5 |
#define | VDE_INTERRUPT 0x200 /* Video interrupt flags/masks */ |
#define | VDE_I_DVISENSE 0x00000001 /* DVI sense int status */ |
#define | VDE_I_VBLANK 0x00000002 /* Vertical blank status */ |
#define | VDE_I_MCCFI 0x00000004 /* MCE compl. frame int status */ |
#define | VDE_I_VSYNC 0x00000008 /* VGA VSYNC int status */ |
#define | VDE_I_DMA0DDONE 0x00000010 /* DMA 0 descr done */ |
#define | VDE_I_DMA0TDONE 0x00000020 /* DMA 0 transfer done */ |
#define | VDE_I_DMA1DDONE 0x00000040 /* DMA 1 descr done */ |
#define | VDE_I_DMA1TDONE 0x00000080 /* DMA 1 transfer done */ |
#define | VDE_I_C1AV 0x00000100 /* Cap Eng 1 act vid end */ |
#define | VDE_I_HQV0 0x00000200 /* First HQV engine */ |
#define | VDE_I_HQV1 0x00000400 /* Second HQV engine */ |
#define | VDE_I_HQV1EN 0x00000800 /* Second HQV engine enable */ |
#define | VDE_I_C0AV 0x00001000 /* Cap Eng 0 act vid end */ |
#define | VDE_I_C0VBI 0x00002000 /* Cap Eng 0 VBI end */ |
#define | VDE_I_C1VBI 0x00004000 /* Cap Eng 1 VBI end */ |
#define | VDE_I_VSYNC2 0x00008000 /* Sec. Disp. VSYNC */ |
#define | VDE_I_DVISNSEN 0x00010000 /* DVI sense enable */ |
#define | VDE_I_VSYNC2EN 0x00020000 /* Sec Disp VSYNC enable */ |
#define | VDE_I_MCCFIEN 0x00040000 /* MC comp frame int mask enable */ |
#define | VDE_I_VSYNCEN 0x00080000 /* VSYNC enable */ |
#define | VDE_I_DMA0DDEN 0x00100000 /* DMA 0 descr done enable */ |
#define | VDE_I_DMA0TDEN 0x00200000 /* DMA 0 trans done enable */ |
#define | VDE_I_DMA1DDEN 0x00400000 /* DMA 1 descr done enable */ |
#define | VDE_I_DMA1TDEN 0x00800000 /* DMA 1 trans done enable */ |
#define | VDE_I_C1AVEN 0x01000000 /* cap 1 act vid end enable */ |
#define | VDE_I_HQV0EN 0x02000000 /* First hqv engine enable */ |
#define | VDE_I_C1VBIEN 0x04000000 /* Cap 1 VBI end enable */ |
#define | VDE_I_LVDSSI 0x08000000 /* LVDS sense interrupt */ |
#define | VDE_I_C0AVEN 0x10000000 /* Cap 0 act vid end enable */ |
#define | VDE_I_C0VBIEN 0x20000000 /* Cap 0 VBI end enable */ |
#define | VDE_I_LVDSSIEN 0x40000000 /* LVDS Sense enable */ |
#define | VDE_I_ENABLE 0x80000000 /* Global interrupt enable */ |
#define | VIAStatus 0x3DA /* Non-indexed port */ |
#define | VIACR 0x3D4 |
#define | VIASR 0x3C4 |
#define | VIAGR 0x3CE |
#define | VIAAR 0x3C0 |
#define | VIA_MISC_REG_READ 0x03CC |
#define | VIA_MISC_REG_WRITE 0x03C2 |
Enumerations | |
enum | via_port_type { VIA_PORT_NONE = 0, VIA_PORT_I2C, VIA_PORT_GPIO } |
enum | via_port_mode { VIA_MODE_OFF = 0, VIA_MODE_I2C, VIA_MODE_GPIO } |
enum | viafb_i2c_adap { VIA_PORT_26 = 0, VIA_PORT_31, VIA_PORT_25, VIA_PORT_2C, VIA_PORT_3D } |
Functions | |
void | viafb_irq_enable (u32 mask) |
void | viafb_irq_disable (u32 mask) |
#define VDE_I_C0AV 0x00001000 /* Cap Eng 0 act vid end */ |
Definition at line 135 of file via-core.h.
#define VDE_I_C0AVEN 0x10000000 /* Cap 0 act vid end enable */ |
Definition at line 151 of file via-core.h.
#define VDE_I_C0VBI 0x00002000 /* Cap Eng 0 VBI end */ |
Definition at line 136 of file via-core.h.
#define VDE_I_C0VBIEN 0x20000000 /* Cap 0 VBI end enable */ |
Definition at line 152 of file via-core.h.
#define VDE_I_C1AV 0x00000100 /* Cap Eng 1 act vid end */ |
Definition at line 131 of file via-core.h.
#define VDE_I_C1AVEN 0x01000000 /* cap 1 act vid end enable */ |
Definition at line 147 of file via-core.h.
#define VDE_I_C1VBI 0x00004000 /* Cap Eng 1 VBI end */ |
Definition at line 137 of file via-core.h.
#define VDE_I_C1VBIEN 0x04000000 /* Cap 1 VBI end enable */ |
Definition at line 149 of file via-core.h.
#define VDE_I_DMA0DDEN 0x00100000 /* DMA 0 descr done enable */ |
Definition at line 143 of file via-core.h.
#define VDE_I_DMA0DDONE 0x00000010 /* DMA 0 descr done */ |
Definition at line 127 of file via-core.h.
#define VDE_I_DMA0TDEN 0x00200000 /* DMA 0 trans done enable */ |
Definition at line 144 of file via-core.h.
#define VDE_I_DMA0TDONE 0x00000020 /* DMA 0 transfer done */ |
Definition at line 128 of file via-core.h.
#define VDE_I_DMA1DDEN 0x00400000 /* DMA 1 descr done enable */ |
Definition at line 145 of file via-core.h.
#define VDE_I_DMA1DDONE 0x00000040 /* DMA 1 descr done */ |
Definition at line 129 of file via-core.h.
#define VDE_I_DMA1TDEN 0x00800000 /* DMA 1 trans done enable */ |
Definition at line 146 of file via-core.h.
#define VDE_I_DMA1TDONE 0x00000080 /* DMA 1 transfer done */ |
Definition at line 130 of file via-core.h.
#define VDE_I_DVISENSE 0x00000001 /* DVI sense int status */ |
Definition at line 123 of file via-core.h.
#define VDE_I_DVISNSEN 0x00010000 /* DVI sense enable */ |
Definition at line 139 of file via-core.h.
#define VDE_I_ENABLE 0x80000000 /* Global interrupt enable */ |
Definition at line 154 of file via-core.h.
#define VDE_I_HQV0 0x00000200 /* First HQV engine */ |
Definition at line 132 of file via-core.h.
#define VDE_I_HQV0EN 0x02000000 /* First hqv engine enable */ |
Definition at line 148 of file via-core.h.
#define VDE_I_HQV1 0x00000400 /* Second HQV engine */ |
Definition at line 133 of file via-core.h.
#define VDE_I_HQV1EN 0x00000800 /* Second HQV engine enable */ |
Definition at line 134 of file via-core.h.
#define VDE_I_LVDSSI 0x08000000 /* LVDS sense interrupt */ |
Definition at line 150 of file via-core.h.
#define VDE_I_LVDSSIEN 0x40000000 /* LVDS Sense enable */ |
Definition at line 153 of file via-core.h.
#define VDE_I_MCCFI 0x00000004 /* MCE compl. frame int status */ |
Definition at line 125 of file via-core.h.
#define VDE_I_MCCFIEN 0x00040000 /* MC comp frame int mask enable */ |
Definition at line 141 of file via-core.h.
#define VDE_I_VBLANK 0x00000002 /* Vertical blank status */ |
Definition at line 124 of file via-core.h.
#define VDE_I_VSYNC 0x00000008 /* VGA VSYNC int status */ |
Definition at line 126 of file via-core.h.
#define VDE_I_VSYNC2 0x00008000 /* Sec. Disp. VSYNC */ |
Definition at line 138 of file via-core.h.
#define VDE_I_VSYNC2EN 0x00020000 /* Sec Disp VSYNC enable */ |
Definition at line 140 of file via-core.h.
#define VDE_I_VSYNCEN 0x00080000 /* VSYNC enable */ |
Definition at line 142 of file via-core.h.
#define VDE_INTERRUPT 0x200 /* Video interrupt flags/masks */ |
Definition at line 122 of file via-core.h.
#define VIA_MISC_REG_READ 0x03CC |
Definition at line 226 of file via-core.h.
#define VIA_MISC_REG_WRITE 0x03C2 |
Definition at line 227 of file via-core.h.
#define VIAAR 0x3C0 |
Definition at line 203 of file via-core.h.
#define VIACR 0x3D4 |
Definition at line 200 of file via-core.h.
#define VIAFB_NUM_PORTS 5 |
Definition at line 53 of file via-core.h.
#define VIAGR 0x3CE |
Definition at line 202 of file via-core.h.
#define VIASR 0x3C4 |
Definition at line 201 of file via-core.h.
#define VIAStatus 0x3DA /* Non-indexed port */ |
Definition at line 199 of file via-core.h.
enum via_port_mode |
Definition at line 40 of file via-core.h.
enum via_port_type |
Definition at line 34 of file via-core.h.
enum viafb_i2c_adap |
Definition at line 46 of file via-core.h.
Definition at line 101 of file via-core.c.
Definition at line 94 of file via-core.c.