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

Go to the source code of this file.

Data Structures

struct  ns2501_priv
 

Macros

#define NS2501_VID   0x1305
 
#define NS2501_DID   0x6726
 
#define NS2501_VID_LO   0x00
 
#define NS2501_VID_HI   0x01
 
#define NS2501_DID_LO   0x02
 
#define NS2501_DID_HI   0x03
 
#define NS2501_REV   0x04
 
#define NS2501_RSVD   0x05
 
#define NS2501_FREQ_LO   0x06
 
#define NS2501_FREQ_HI   0x07
 
#define NS2501_REG8   0x08
 
#define NS2501_8_VEN   (1<<5)
 
#define NS2501_8_HEN   (1<<4)
 
#define NS2501_8_DSEL   (1<<3)
 
#define NS2501_8_BPAS   (1<<2)
 
#define NS2501_8_RSVD   (1<<1)
 
#define NS2501_8_PD   (1<<0)
 
#define NS2501_REG9   0x09
 
#define NS2501_9_VLOW   (1<<7)
 
#define NS2501_9_MSEL_MASK   (0x7<<4)
 
#define NS2501_9_TSEL   (1<<3)
 
#define NS2501_9_RSEN   (1<<2)
 
#define NS2501_9_RSVD   (1<<1)
 
#define NS2501_9_MDI   (1<<0)
 
#define NS2501_REGC   0x0c
 
#define NSPTR(d)   ((NS2501Ptr)(d->DriverPrivate.ptr))
 

Variables

struct intel_dvo_dev_ops ns2501_ops
 

Macro Definition Documentation

#define NS2501_8_BPAS   (1<<2)

Definition at line 49 of file dvo_ns2501.c.

#define NS2501_8_DSEL   (1<<3)

Definition at line 48 of file dvo_ns2501.c.

#define NS2501_8_HEN   (1<<4)

Definition at line 47 of file dvo_ns2501.c.

#define NS2501_8_PD   (1<<0)

Definition at line 51 of file dvo_ns2501.c.

#define NS2501_8_RSVD   (1<<1)

Definition at line 50 of file dvo_ns2501.c.

#define NS2501_8_VEN   (1<<5)

Definition at line 46 of file dvo_ns2501.c.

#define NS2501_9_MDI   (1<<0)

Definition at line 59 of file dvo_ns2501.c.

#define NS2501_9_MSEL_MASK   (0x7<<4)

Definition at line 55 of file dvo_ns2501.c.

#define NS2501_9_RSEN   (1<<2)

Definition at line 57 of file dvo_ns2501.c.

#define NS2501_9_RSVD   (1<<1)

Definition at line 58 of file dvo_ns2501.c.

#define NS2501_9_TSEL   (1<<3)

Definition at line 56 of file dvo_ns2501.c.

#define NS2501_9_VLOW   (1<<7)

Definition at line 54 of file dvo_ns2501.c.

#define NS2501_DID   0x6726

Definition at line 34 of file dvo_ns2501.c.

#define NS2501_DID_HI   0x03

Definition at line 39 of file dvo_ns2501.c.

#define NS2501_DID_LO   0x02

Definition at line 38 of file dvo_ns2501.c.

#define NS2501_FREQ_HI   0x07

Definition at line 43 of file dvo_ns2501.c.

#define NS2501_FREQ_LO   0x06

Definition at line 42 of file dvo_ns2501.c.

#define NS2501_REG8   0x08

Definition at line 45 of file dvo_ns2501.c.

#define NS2501_REG9   0x09

Definition at line 53 of file dvo_ns2501.c.

#define NS2501_REGC   0x0c

Definition at line 61 of file dvo_ns2501.c.

#define NS2501_REV   0x04

Definition at line 40 of file dvo_ns2501.c.

#define NS2501_RSVD   0x05

Definition at line 41 of file dvo_ns2501.c.

#define NS2501_VID   0x1305

Definition at line 33 of file dvo_ns2501.c.

#define NS2501_VID_HI   0x01

Definition at line 37 of file dvo_ns2501.c.

#define NS2501_VID_LO   0x00

Definition at line 36 of file dvo_ns2501.c.

#define NSPTR (   d)    ((NS2501Ptr)(d->DriverPrivate.ptr))

Definition at line 75 of file dvo_ns2501.c.

Variable Documentation

Initial value:
= {
.init = ns2501_init,
.detect = ns2501_detect,
.mode_valid = ns2501_mode_valid,
.mode_set = ns2501_mode_set,
.dpms = ns2501_dpms,
.get_hw_state = ns2501_get_hw_state,
.dump_regs = ns2501_dump_regs,
.destroy = ns2501_destroy,
}

Definition at line 579 of file dvo_ns2501.c.