Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Variables
dvo_ivch.c File Reference
#include "dvo.h"

Go to the source code of this file.

Data Structures

struct  ivch_priv
 

Macros

#define VR00   0x00
 
#define VR00_BASE_ADDRESS_MASK   0x007f
 
#define VR01   0x01
 
#define VR01_PANEL_FIT_ENABLE   (1 << 3)
 
#define VR01_LCD_ENABLE   (1 << 2)
 
#define VR01_DVO_BYPASS_ENABLE   (1 << 1)
 
#define VR01_DVO_ENABLE   (1 << 0)
 
#define VR10   0x10
 
#define VR10_LVDS_ENABLE   (1 << 4)
 
#define VR10_INTERFACE_1X18   (0 << 2)
 
#define VR10_INTERFACE_1X24   (1 << 2)
 
#define VR10_INTERFACE_2X18   (2 << 2)
 
#define VR10_INTERFACE_2X24   (3 << 2)
 
#define VR20   0x20
 
#define VR21   0x20
 
#define VR30   0x30
 
#define VR30_PANEL_ON   (1 << 15)
 
#define VR40   0x40
 
#define VR40_STALL_ENABLE   (1 << 13)
 
#define VR40_VERTICAL_INTERP_ENABLE   (1 << 12)
 
#define VR40_ENHANCED_PANEL_FITTING   (1 << 11)
 
#define VR40_HORIZONTAL_INTERP_ENABLE   (1 << 10)
 
#define VR40_AUTO_RATIO_ENABLE   (1 << 9)
 
#define VR40_CLOCK_GATING_ENABLE   (1 << 8)
 
#define VR41   0x41
 
#define VR42   0x42
 
#define VR43   0x43
 
#define VR80   0x80
 
#define VR81   0x81
 
#define VR82   0x82
 
#define VR83   0x83
 
#define VR84   0x84
 
#define VR85   0x85
 
#define VR86   0x86
 
#define VR87   0x87
 
#define VR88   0x88
 
#define VR8E   0x8E
 
#define VR8E_PANEL_TYPE_MASK   (0xf << 0)
 
#define VR8E_PANEL_INTERFACE_CMOS   (0 << 4)
 
#define VR8E_PANEL_INTERFACE_LVDS   (1 << 4)
 
#define VR8E_FORCE_DEFAULT_PANEL   (1 << 5)
 
#define VR8F   0x8F
 
#define VR8F_VCH_PRESENT   (1 << 0)
 
#define VR8F_DISPLAY_CONN   (1 << 1)
 
#define VR8F_POWER_MASK   (0x3c)
 
#define VR8F_POWER_POS   (2)
 

Variables

struct intel_dvo_dev_ops ivch_ops
 

Macro Definition Documentation

#define VR00   0x00

Definition at line 40 of file dvo_ivch.c.

#define VR00_BASE_ADDRESS_MASK   0x007f

Definition at line 41 of file dvo_ivch.c.

#define VR01   0x01

Definition at line 46 of file dvo_ivch.c.

#define VR01_DVO_BYPASS_ENABLE   (1 << 1)

Enables the DVO repeater.

Definition at line 59 of file dvo_ivch.c.

#define VR01_DVO_ENABLE   (1 << 0)

Enables the DVO clock

Definition at line 61 of file dvo_ivch.c.

#define VR01_LCD_ENABLE   (1 << 2)

Definition at line 57 of file dvo_ivch.c.

#define VR01_PANEL_FIT_ENABLE   (1 << 3)

Definition at line 51 of file dvo_ivch.c.

#define VR10   0x10

Definition at line 66 of file dvo_ivch.c.

#define VR10_INTERFACE_1X18   (0 << 2)

Enables 18-bit LVDS output.

Definition at line 70 of file dvo_ivch.c.

#define VR10_INTERFACE_1X24   (1 << 2)

Enables 24-bit LVDS or CMOS output

Definition at line 72 of file dvo_ivch.c.

#define VR10_INTERFACE_2X18   (2 << 2)

Enables 2x18-bit LVDS or CMOS output.

Definition at line 74 of file dvo_ivch.c.

#define VR10_INTERFACE_2X24   (3 << 2)

Enables 2x24-bit LVDS output

Definition at line 76 of file dvo_ivch.c.

#define VR10_LVDS_ENABLE   (1 << 4)

Enables LVDS output instead of CMOS

Definition at line 68 of file dvo_ivch.c.

#define VR20   0x20

Definition at line 81 of file dvo_ivch.c.

#define VR21   0x20

Definition at line 86 of file dvo_ivch.c.

#define VR30   0x30

Definition at line 91 of file dvo_ivch.c.

#define VR30_PANEL_ON   (1 << 15)

Read only bit indicating that the panel is not in a safe poweroff state.

Definition at line 93 of file dvo_ivch.c.

#define VR40   0x40

Definition at line 95 of file dvo_ivch.c.

#define VR40_AUTO_RATIO_ENABLE   (1 << 9)

Definition at line 100 of file dvo_ivch.c.

#define VR40_CLOCK_GATING_ENABLE   (1 << 8)

Definition at line 101 of file dvo_ivch.c.

#define VR40_ENHANCED_PANEL_FITTING   (1 << 11)

Definition at line 98 of file dvo_ivch.c.

#define VR40_HORIZONTAL_INTERP_ENABLE   (1 << 10)

Definition at line 99 of file dvo_ivch.c.

#define VR40_STALL_ENABLE   (1 << 13)

Definition at line 96 of file dvo_ivch.c.

#define VR40_VERTICAL_INTERP_ENABLE   (1 << 12)

Definition at line 97 of file dvo_ivch.c.

#define VR41   0x41

Definition at line 107 of file dvo_ivch.c.

#define VR42   0x42

Definition at line 113 of file dvo_ivch.c.

#define VR43   0x43

Definition at line 118 of file dvo_ivch.c.

#define VR80   0x80

Definition at line 122 of file dvo_ivch.c.

#define VR81   0x81

Definition at line 123 of file dvo_ivch.c.

#define VR82   0x82

Definition at line 124 of file dvo_ivch.c.

#define VR83   0x83

Definition at line 125 of file dvo_ivch.c.

#define VR84   0x84

Definition at line 126 of file dvo_ivch.c.

#define VR85   0x85

Definition at line 127 of file dvo_ivch.c.

#define VR86   0x86

Definition at line 128 of file dvo_ivch.c.

#define VR87   0x87

Definition at line 129 of file dvo_ivch.c.

#define VR88   0x88

Definition at line 133 of file dvo_ivch.c.

#define VR8E   0x8E

Definition at line 137 of file dvo_ivch.c.

#define VR8E_FORCE_DEFAULT_PANEL   (1 << 5)

Definition at line 141 of file dvo_ivch.c.

#define VR8E_PANEL_INTERFACE_CMOS   (0 << 4)

Definition at line 139 of file dvo_ivch.c.

#define VR8E_PANEL_INTERFACE_LVDS   (1 << 4)

Definition at line 140 of file dvo_ivch.c.

#define VR8E_PANEL_TYPE_MASK   (0xf << 0)

Definition at line 138 of file dvo_ivch.c.

#define VR8F   0x8F

Definition at line 145 of file dvo_ivch.c.

#define VR8F_DISPLAY_CONN   (1 << 1)

Definition at line 147 of file dvo_ivch.c.

#define VR8F_POWER_MASK   (0x3c)

Definition at line 148 of file dvo_ivch.c.

#define VR8F_POWER_POS   (2)

Definition at line 149 of file dvo_ivch.c.

#define VR8F_VCH_PRESENT   (1 << 0)

Definition at line 146 of file dvo_ivch.c.

Variable Documentation

Initial value:
= {
.init = ivch_init,
.dpms = ivch_dpms,
.get_hw_state = ivch_get_hw_state,
.mode_valid = ivch_mode_valid,
.mode_set = ivch_mode_set,
.detect = ivch_detect,
.dump_regs = ivch_dump_regs,
.destroy = ivch_destroy,
}

Definition at line 427 of file dvo_ivch.c.