Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Variables
sm7xx.h File Reference

Go to the source code of this file.

Data Structures

struct  ModeInit
 

Macros

#define NR_PALETTE   256
 
#define FB_ACCEL_SMI_LYNX   88
 
#define SCREEN_X_RES   1024
 
#define SCREEN_Y_RES   600
 
#define SCREEN_BPP   16
 
#define SM712_VIDEOMEMORYSIZE   0x00400000
 
#define SM722_VIDEOMEMORYSIZE   0x00800000
 
#define dac_reg   (0x3c8)
 
#define dac_val   (0x3c9)
 
#define smtc_mmiowb(dat, reg)   writeb(dat, smtc_RegBaseAddress + reg)
 
#define smtc_mmioww(dat, reg)   writew(dat, smtc_RegBaseAddress + reg)
 
#define smtc_mmiowl(dat, reg)   writel(dat, smtc_RegBaseAddress + reg)
 
#define smtc_mmiorb(reg)   readb(smtc_RegBaseAddress + reg)
 
#define smtc_mmiorw(reg)   readw(smtc_RegBaseAddress + reg)
 
#define smtc_mmiorl(reg)   readl(smtc_RegBaseAddress + reg)
 
#define SIZE_SR00_SR04   (0x04 - 0x00 + 1)
 
#define SIZE_SR10_SR24   (0x24 - 0x10 + 1)
 
#define SIZE_SR30_SR75   (0x75 - 0x30 + 1)
 
#define SIZE_SR80_SR93   (0x93 - 0x80 + 1)
 
#define SIZE_SRA0_SRAF   (0xAF - 0xA0 + 1)
 
#define SIZE_GR00_GR08   (0x08 - 0x00 + 1)
 
#define SIZE_AR00_AR14   (0x14 - 0x00 + 1)
 
#define SIZE_CR00_CR18   (0x18 - 0x00 + 1)
 
#define SIZE_CR30_CR4D   (0x4D - 0x30 + 1)
 
#define SIZE_CR90_CRA7   (0xA7 - 0x90 + 1)
 
#define SIZE_VPR   (0x6C + 1)
 
#define SIZE_DPR   (0x44 + 1)
 
#define numVGAModes   ARRAY_SIZE(VGAMode)
 

Variables

void __iomemsmtc_RegBaseAddress
 
struct ModeInit VGAMode []
 

Macro Definition Documentation

#define dac_reg   (0x3c8)

Definition at line 29 of file sm7xx.h.

#define dac_val   (0x3c9)

Definition at line 30 of file sm7xx.h.

#define FB_ACCEL_SMI_LYNX   88

Definition at line 18 of file sm7xx.h.

#define NR_PALETTE   256

Definition at line 16 of file sm7xx.h.

#define numVGAModes   ARRAY_SIZE(VGAMode)

Definition at line 779 of file sm7xx.h.

#define SCREEN_BPP   16

Definition at line 22 of file sm7xx.h.

#define SCREEN_X_RES   1024

Definition at line 20 of file sm7xx.h.

#define SCREEN_Y_RES   600

Definition at line 21 of file sm7xx.h.

#define SIZE_AR00_AR14   (0x14 - 0x00 + 1)

Definition at line 47 of file sm7xx.h.

#define SIZE_CR00_CR18   (0x18 - 0x00 + 1)

Definition at line 48 of file sm7xx.h.

#define SIZE_CR30_CR4D   (0x4D - 0x30 + 1)

Definition at line 49 of file sm7xx.h.

#define SIZE_CR90_CRA7   (0xA7 - 0x90 + 1)

Definition at line 50 of file sm7xx.h.

#define SIZE_DPR   (0x44 + 1)

Definition at line 52 of file sm7xx.h.

#define SIZE_GR00_GR08   (0x08 - 0x00 + 1)

Definition at line 46 of file sm7xx.h.

#define SIZE_SR00_SR04   (0x04 - 0x00 + 1)

Definition at line 41 of file sm7xx.h.

#define SIZE_SR10_SR24   (0x24 - 0x10 + 1)

Definition at line 42 of file sm7xx.h.

#define SIZE_SR30_SR75   (0x75 - 0x30 + 1)

Definition at line 43 of file sm7xx.h.

#define SIZE_SR80_SR93   (0x93 - 0x80 + 1)

Definition at line 44 of file sm7xx.h.

#define SIZE_SRA0_SRAF   (0xAF - 0xA0 + 1)

Definition at line 45 of file sm7xx.h.

#define SIZE_VPR   (0x6C + 1)

Definition at line 51 of file sm7xx.h.

#define SM712_VIDEOMEMORYSIZE   0x00400000

Definition at line 25 of file sm7xx.h.

#define SM722_VIDEOMEMORYSIZE   0x00800000

Definition at line 27 of file sm7xx.h.

#define smtc_mmiorb (   reg)    readb(smtc_RegBaseAddress + reg)

Definition at line 37 of file sm7xx.h.

#define smtc_mmiorl (   reg)    readl(smtc_RegBaseAddress + reg)

Definition at line 39 of file sm7xx.h.

#define smtc_mmiorw (   reg)    readw(smtc_RegBaseAddress + reg)

Definition at line 38 of file sm7xx.h.

#define smtc_mmiowb (   dat,
  reg 
)    writeb(dat, smtc_RegBaseAddress + reg)

Definition at line 33 of file sm7xx.h.

#define smtc_mmiowl (   dat,
  reg 
)    writel(dat, smtc_RegBaseAddress + reg)

Definition at line 35 of file sm7xx.h.

#define smtc_mmioww (   dat,
  reg 
)    writew(dat, smtc_RegBaseAddress + reg)

Definition at line 34 of file sm7xx.h.

Variable Documentation

void __iomem* smtc_RegBaseAddress

Definition at line 59 of file sm7xxfb.c.

struct ModeInit VGAMode[]

Definition at line 122 of file sm7xx.h.