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

Go to the source code of this file.

Data Structures

struct  ch7xxx_id_struct
 
struct  ch7xxx_priv
 

Macros

#define CH7xxx_REG_VID   0x4a
 
#define CH7xxx_REG_DID   0x4b
 
#define CH7011_VID   0x83 /* 7010 as well */
 
#define CH7009A_VID   0x84
 
#define CH7009B_VID   0x85
 
#define CH7301_VID   0x95
 
#define CH7xxx_VID   0x84
 
#define CH7xxx_DID   0x17
 
#define CH7xxx_NUM_REGS   0x4c
 
#define CH7xxx_CM   0x1c
 
#define CH7xxx_CM_XCM   (1<<0)
 
#define CH7xxx_CM_MCP   (1<<2)
 
#define CH7xxx_INPUT_CLOCK   0x1d
 
#define CH7xxx_GPIO   0x1e
 
#define CH7xxx_GPIO_HPIR   (1<<3)
 
#define CH7xxx_IDF   0x1f
 
#define CH7xxx_IDF_HSP   (1<<3)
 
#define CH7xxx_IDF_VSP   (1<<4)
 
#define CH7xxx_CONNECTION_DETECT   0x20
 
#define CH7xxx_CDET_DVI   (1<<5)
 
#define CH7301_DAC_CNTL   0x21
 
#define CH7301_HOTPLUG   0x23
 
#define CH7xxx_TCTL   0x31
 
#define CH7xxx_TVCO   0x32
 
#define CH7xxx_TPCP   0x33
 
#define CH7xxx_TPD   0x34
 
#define CH7xxx_TPVT   0x35
 
#define CH7xxx_TLPF   0x36
 
#define CH7xxx_TCT   0x37
 
#define CH7301_TEST_PATTERN   0x48
 
#define CH7xxx_PM   0x49
 
#define CH7xxx_PM_FPD   (1<<0)
 
#define CH7301_PM_DACPD0   (1<<1)
 
#define CH7301_PM_DACPD1   (1<<2)
 
#define CH7301_PM_DACPD2   (1<<3)
 
#define CH7xxx_PM_DVIL   (1<<6)
 
#define CH7xxx_PM_DVIP   (1<<7)
 
#define CH7301_SYNC_POLARITY   0x56
 
#define CH7301_SYNC_RGB_YUV   (1<<0)
 
#define CH7301_SYNC_POL_DVI   (1<<5)
 

Variables

struct intel_dvo_dev_ops ch7xxx_ops
 

Detailed Description

driver for the Chrontel 7xxx DVI chip over DVO.

Definition in file dvo_ch7xxx.c.

Macro Definition Documentation

#define CH7009A_VID   0x84

Definition at line 35 of file dvo_ch7xxx.c.

#define CH7009B_VID   0x85

Definition at line 36 of file dvo_ch7xxx.c.

#define CH7011_VID   0x83 /* 7010 as well */

Definition at line 34 of file dvo_ch7xxx.c.

#define CH7301_DAC_CNTL   0x21

Definition at line 58 of file dvo_ch7xxx.c.

#define CH7301_HOTPLUG   0x23

Definition at line 59 of file dvo_ch7xxx.c.

#define CH7301_PM_DACPD0   (1<<1)

Definition at line 71 of file dvo_ch7xxx.c.

#define CH7301_PM_DACPD1   (1<<2)

Definition at line 72 of file dvo_ch7xxx.c.

#define CH7301_PM_DACPD2   (1<<3)

Definition at line 73 of file dvo_ch7xxx.c.

#define CH7301_SYNC_POL_DVI   (1<<5)

Definition at line 79 of file dvo_ch7xxx.c.

#define CH7301_SYNC_POLARITY   0x56

Definition at line 77 of file dvo_ch7xxx.c.

#define CH7301_SYNC_RGB_YUV   (1<<0)

Definition at line 78 of file dvo_ch7xxx.c.

#define CH7301_TEST_PATTERN   0x48

Definition at line 67 of file dvo_ch7xxx.c.

#define CH7301_VID   0x95

Definition at line 37 of file dvo_ch7xxx.c.

#define CH7xxx_CDET_DVI   (1<<5)

Definition at line 56 of file dvo_ch7xxx.c.

#define CH7xxx_CM   0x1c

Definition at line 44 of file dvo_ch7xxx.c.

#define CH7xxx_CM_MCP   (1<<2)

Definition at line 46 of file dvo_ch7xxx.c.

#define CH7xxx_CM_XCM   (1<<0)

Definition at line 45 of file dvo_ch7xxx.c.

#define CH7xxx_CONNECTION_DETECT   0x20

Definition at line 55 of file dvo_ch7xxx.c.

#define CH7xxx_DID   0x17

Definition at line 40 of file dvo_ch7xxx.c.

#define CH7xxx_GPIO   0x1e

Definition at line 48 of file dvo_ch7xxx.c.

#define CH7xxx_GPIO_HPIR   (1<<3)

Definition at line 49 of file dvo_ch7xxx.c.

#define CH7xxx_IDF   0x1f

Definition at line 50 of file dvo_ch7xxx.c.

#define CH7xxx_IDF_HSP   (1<<3)

Definition at line 52 of file dvo_ch7xxx.c.

#define CH7xxx_IDF_VSP   (1<<4)

Definition at line 53 of file dvo_ch7xxx.c.

#define CH7xxx_INPUT_CLOCK   0x1d

Definition at line 47 of file dvo_ch7xxx.c.

#define CH7xxx_NUM_REGS   0x4c

Definition at line 42 of file dvo_ch7xxx.c.

#define CH7xxx_PM   0x49

Definition at line 69 of file dvo_ch7xxx.c.

#define CH7xxx_PM_DVIL   (1<<6)

Definition at line 74 of file dvo_ch7xxx.c.

#define CH7xxx_PM_DVIP   (1<<7)

Definition at line 75 of file dvo_ch7xxx.c.

#define CH7xxx_PM_FPD   (1<<0)

Definition at line 70 of file dvo_ch7xxx.c.

#define CH7xxx_REG_DID   0x4b

Definition at line 32 of file dvo_ch7xxx.c.

#define CH7xxx_REG_VID   0x4a

Definition at line 31 of file dvo_ch7xxx.c.

#define CH7xxx_TCT   0x37

Definition at line 66 of file dvo_ch7xxx.c.

#define CH7xxx_TCTL   0x31

Definition at line 60 of file dvo_ch7xxx.c.

#define CH7xxx_TLPF   0x36

Definition at line 65 of file dvo_ch7xxx.c.

#define CH7xxx_TPCP   0x33

Definition at line 62 of file dvo_ch7xxx.c.

#define CH7xxx_TPD   0x34

Definition at line 63 of file dvo_ch7xxx.c.

#define CH7xxx_TPVT   0x35

Definition at line 64 of file dvo_ch7xxx.c.

#define CH7xxx_TVCO   0x32

Definition at line 61 of file dvo_ch7xxx.c.

#define CH7xxx_VID   0x84

Definition at line 39 of file dvo_ch7xxx.c.

Variable Documentation

Initial value:
= {
.init = ch7xxx_init,
.detect = ch7xxx_detect,
.mode_valid = ch7xxx_mode_valid,
.mode_set = ch7xxx_mode_set,
.dpms = ch7xxx_dpms,
.get_hw_state = ch7xxx_get_hw_state,
.dump_regs = ch7xxx_dump_regs,
.destroy = ch7xxx_destroy,
}

Definition at line 335 of file dvo_ch7xxx.c.