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

Go to the source code of this file.

Data Structures

struct  tfp410_priv
 

Macros

#define TFP410_VID   0x014C
 
#define TFP410_DID   0x0410
 
#define TFP410_VID_LO   0x00
 
#define TFP410_VID_HI   0x01
 
#define TFP410_DID_LO   0x02
 
#define TFP410_DID_HI   0x03
 
#define TFP410_REV   0x04
 
#define TFP410_CTL_1   0x08
 
#define TFP410_CTL_1_TDIS   (1<<6)
 
#define TFP410_CTL_1_VEN   (1<<5)
 
#define TFP410_CTL_1_HEN   (1<<4)
 
#define TFP410_CTL_1_DSEL   (1<<3)
 
#define TFP410_CTL_1_BSEL   (1<<2)
 
#define TFP410_CTL_1_EDGE   (1<<1)
 
#define TFP410_CTL_1_PD   (1<<0)
 
#define TFP410_CTL_2   0x09
 
#define TFP410_CTL_2_VLOW   (1<<7)
 
#define TFP410_CTL_2_MSEL_MASK   (0x7<<4)
 
#define TFP410_CTL_2_MSEL   (1<<4)
 
#define TFP410_CTL_2_TSEL   (1<<3)
 
#define TFP410_CTL_2_RSEN   (1<<2)
 
#define TFP410_CTL_2_HTPLG   (1<<1)
 
#define TFP410_CTL_2_MDI   (1<<0)
 
#define TFP410_CTL_3   0x0A
 
#define TFP410_CTL_3_DK_MASK   (0x7<<5)
 
#define TFP410_CTL_3_DK   (1<<5)
 
#define TFP410_CTL_3_DKEN   (1<<4)
 
#define TFP410_CTL_3_CTL_MASK   (0x7<<1)
 
#define TFP410_CTL_3_CTL   (1<<1)
 
#define TFP410_USERCFG   0x0B
 
#define TFP410_DE_DLY   0x32
 
#define TFP410_DE_CTL   0x33
 
#define TFP410_DE_CTL_DEGEN   (1<<6)
 
#define TFP410_DE_CTL_VSPOL   (1<<5)
 
#define TFP410_DE_CTL_HSPOL   (1<<4)
 
#define TFP410_DE_CTL_DEDLY8   (1<<0)
 
#define TFP410_DE_TOP   0x34
 
#define TFP410_DE_CNT_LO   0x36
 
#define TFP410_DE_CNT_HI   0x37
 
#define TFP410_DE_LIN_LO   0x38
 
#define TFP410_DE_LIN_HI   0x39
 
#define TFP410_H_RES_LO   0x3A
 
#define TFP410_H_RES_HI   0x3B
 
#define TFP410_V_RES_LO   0x3C
 
#define TFP410_V_RES_HI   0x3D
 

Variables

struct intel_dvo_dev_ops tfp410_ops
 

Macro Definition Documentation

#define TFP410_CTL_1   0x08

Definition at line 40 of file dvo_tfp410.c.

#define TFP410_CTL_1_BSEL   (1<<2)

Definition at line 45 of file dvo_tfp410.c.

#define TFP410_CTL_1_DSEL   (1<<3)

Definition at line 44 of file dvo_tfp410.c.

#define TFP410_CTL_1_EDGE   (1<<1)

Definition at line 46 of file dvo_tfp410.c.

#define TFP410_CTL_1_HEN   (1<<4)

Definition at line 43 of file dvo_tfp410.c.

#define TFP410_CTL_1_PD   (1<<0)

Definition at line 47 of file dvo_tfp410.c.

#define TFP410_CTL_1_TDIS   (1<<6)

Definition at line 41 of file dvo_tfp410.c.

#define TFP410_CTL_1_VEN   (1<<5)

Definition at line 42 of file dvo_tfp410.c.

#define TFP410_CTL_2   0x09

Definition at line 49 of file dvo_tfp410.c.

#define TFP410_CTL_2_HTPLG   (1<<1)

Definition at line 55 of file dvo_tfp410.c.

#define TFP410_CTL_2_MDI   (1<<0)

Definition at line 56 of file dvo_tfp410.c.

#define TFP410_CTL_2_MSEL   (1<<4)

Definition at line 52 of file dvo_tfp410.c.

#define TFP410_CTL_2_MSEL_MASK   (0x7<<4)

Definition at line 51 of file dvo_tfp410.c.

#define TFP410_CTL_2_RSEN   (1<<2)

Definition at line 54 of file dvo_tfp410.c.

#define TFP410_CTL_2_TSEL   (1<<3)

Definition at line 53 of file dvo_tfp410.c.

#define TFP410_CTL_2_VLOW   (1<<7)

Definition at line 50 of file dvo_tfp410.c.

#define TFP410_CTL_3   0x0A

Definition at line 58 of file dvo_tfp410.c.

#define TFP410_CTL_3_CTL   (1<<1)

Definition at line 63 of file dvo_tfp410.c.

#define TFP410_CTL_3_CTL_MASK   (0x7<<1)

Definition at line 62 of file dvo_tfp410.c.

#define TFP410_CTL_3_DK   (1<<5)

Definition at line 60 of file dvo_tfp410.c.

#define TFP410_CTL_3_DK_MASK   (0x7<<5)

Definition at line 59 of file dvo_tfp410.c.

#define TFP410_CTL_3_DKEN   (1<<4)

Definition at line 61 of file dvo_tfp410.c.

#define TFP410_DE_CNT_HI   0x37

Definition at line 78 of file dvo_tfp410.c.

#define TFP410_DE_CNT_LO   0x36

Definition at line 77 of file dvo_tfp410.c.

#define TFP410_DE_CTL   0x33

Definition at line 69 of file dvo_tfp410.c.

#define TFP410_DE_CTL_DEDLY8   (1<<0)

Definition at line 73 of file dvo_tfp410.c.

#define TFP410_DE_CTL_DEGEN   (1<<6)

Definition at line 70 of file dvo_tfp410.c.

#define TFP410_DE_CTL_HSPOL   (1<<4)

Definition at line 72 of file dvo_tfp410.c.

#define TFP410_DE_CTL_VSPOL   (1<<5)

Definition at line 71 of file dvo_tfp410.c.

#define TFP410_DE_DLY   0x32

Definition at line 67 of file dvo_tfp410.c.

#define TFP410_DE_LIN_HI   0x39

Definition at line 81 of file dvo_tfp410.c.

#define TFP410_DE_LIN_LO   0x38

Definition at line 80 of file dvo_tfp410.c.

#define TFP410_DE_TOP   0x34

Definition at line 75 of file dvo_tfp410.c.

#define TFP410_DID   0x0410

Definition at line 32 of file dvo_tfp410.c.

#define TFP410_DID_HI   0x03

Definition at line 37 of file dvo_tfp410.c.

#define TFP410_DID_LO   0x02

Definition at line 36 of file dvo_tfp410.c.

#define TFP410_H_RES_HI   0x3B

Definition at line 84 of file dvo_tfp410.c.

#define TFP410_H_RES_LO   0x3A

Definition at line 83 of file dvo_tfp410.c.

#define TFP410_REV   0x04

Definition at line 38 of file dvo_tfp410.c.

#define TFP410_USERCFG   0x0B

Definition at line 65 of file dvo_tfp410.c.

#define TFP410_V_RES_HI   0x3D

Definition at line 87 of file dvo_tfp410.c.

#define TFP410_V_RES_LO   0x3C

Definition at line 86 of file dvo_tfp410.c.

#define TFP410_VID   0x014C

Definition at line 31 of file dvo_tfp410.c.

#define TFP410_VID_HI   0x01

Definition at line 35 of file dvo_tfp410.c.

#define TFP410_VID_LO   0x00

Definition at line 34 of file dvo_tfp410.c.

Variable Documentation

Initial value:
= {
.init = tfp410_init,
.detect = tfp410_detect,
.mode_valid = tfp410_mode_valid,
.mode_set = tfp410_mode_set,
.dpms = tfp410_dpms,
.get_hw_state = tfp410_get_hw_state,
.dump_regs = tfp410_dump_regs,
.destroy = tfp410_destroy,
}

Definition at line 309 of file dvo_tfp410.c.