Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
rivafb.h File Reference
#include <linux/fb.h>
#include <video/vga.h>
#include <linux/i2c.h>
#include <linux/i2c-algo-bit.h>
#include "riva_hw.h"

Go to the source code of this file.

Data Structures

struct  riva_regs
 
struct  riva_i2c_chan
 
struct  riva_par
 

Macros

#define NUM_SEQ_REGS   0x05
 
#define NUM_CRT_REGS   0x41
 
#define NUM_GRC_REGS   0x09
 
#define NUM_ATC_REGS   0x15
 
#define DDC_SCL_READ_MASK   (1 << 2)
 
#define DDC_SCL_WRITE_MASK   (1 << 5)
 
#define DDC_SDA_READ_MASK   (1 << 3)
 
#define DDC_SDA_WRITE_MASK   (1 << 4)
 

Functions

void riva_common_setup (struct riva_par *)
 
unsigned long riva_get_memlen (struct riva_par *)
 
unsigned long riva_get_maxdclk (struct riva_par *)
 
void riva_delete_i2c_busses (struct riva_par *par)
 
void riva_create_i2c_busses (struct riva_par *par)
 
int riva_probe_i2c_connector (struct riva_par *par, int conn, u8 **out_edid)
 

Macro Definition Documentation

#define DDC_SCL_READ_MASK   (1 << 2)

Definition at line 18 of file rivafb.h.

#define DDC_SCL_WRITE_MASK   (1 << 5)

Definition at line 19 of file rivafb.h.

#define DDC_SDA_READ_MASK   (1 << 3)

Definition at line 20 of file rivafb.h.

#define DDC_SDA_WRITE_MASK   (1 << 4)

Definition at line 21 of file rivafb.h.

#define NUM_ATC_REGS   0x15

Definition at line 15 of file rivafb.h.

#define NUM_CRT_REGS   0x41

Definition at line 13 of file rivafb.h.

#define NUM_GRC_REGS   0x09

Definition at line 14 of file rivafb.h.

#define NUM_SEQ_REGS   0x05

Definition at line 12 of file rivafb.h.

Function Documentation

void riva_common_setup ( struct riva_par )

Definition at line 314 of file nv_driver.c.

void riva_create_i2c_busses ( struct riva_par par)

Definition at line 127 of file rivafb-i2c.c.

void riva_delete_i2c_busses ( struct riva_par par)

Definition at line 141 of file rivafb-i2c.c.

unsigned long riva_get_maxdclk ( struct riva_par )

Definition at line 272 of file nv_driver.c.

unsigned long riva_get_memlen ( struct riva_par )

Definition at line 155 of file nv_driver.c.

int riva_probe_i2c_connector ( struct riva_par par,
int  conn,
u8 **  out_edid 
)

Definition at line 153 of file rivafb-i2c.c.