Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
init301.h File Reference
#include "initdef.h"
#include "vgatypes.h"
#include "vstruct.h"
#include <linux/types.h>
#include <asm/io.h>
#include <linux/fb.h>
#include "sis.h"
#include <video/sisfb.h>

Go to the source code of this file.

Functions

void SiS_UnLockCRT2 (struct SiS_Private *SiS_Pr)
 
void SiS_EnableCRT2 (struct SiS_Private *SiS_Pr)
 
unsigned short SiS_GetRatePtr (struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex)
 
void SiS_WaitRetrace1 (struct SiS_Private *SiS_Pr)
 
bool SiS_IsDualEdge (struct SiS_Private *SiS_Pr)
 
bool SiS_IsVAMode (struct SiS_Private *SiS_Pr)
 
void SiS_GetVBInfo (struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex, int checkcrt2mode)
 
void SiS_SetYPbPr (struct SiS_Private *SiS_Pr)
 
void SiS_SetTVMode (struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex)
 
void SiS_GetLCDResInfo (struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex)
 
unsigned short SiS_GetVCLK2Ptr (struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex, unsigned short RefreshRateTableIndex)
 
unsigned short SiS_GetResInfo (struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex)
 
void SiS_DisableBridge (struct SiS_Private *SiS_Pr)
 
bool SiS_SetCRT2Group (struct SiS_Private *SiS_Pr, unsigned short ModeNo)
 
void SiS_SiS30xBLOn (struct SiS_Private *SiS_Pr)
 
void SiS_SiS30xBLOff (struct SiS_Private *SiS_Pr)
 
void SiS_SetCH700x (struct SiS_Private *SiS_Pr, unsigned short reg, unsigned char val)
 
unsigned short SiS_GetCH700x (struct SiS_Private *SiS_Pr, unsigned short tempax)
 
void SiS_SetCH701x (struct SiS_Private *SiS_Pr, unsigned short reg, unsigned char val)
 
unsigned short SiS_GetCH701x (struct SiS_Private *SiS_Pr, unsigned short tempax)
 
void SiS_SetCH70xxANDOR (struct SiS_Private *SiS_Pr, unsigned short reg, unsigned char orval, unsigned short andval)
 
void SiS_DDC2Delay (struct SiS_Private *SiS_Pr, unsigned int delaytime)
 
unsigned short SiS_ReadDDC1Bit (struct SiS_Private *SiS_Pr)
 
unsigned short SiS_HandleDDC (struct SiS_Private *SiS_Pr, unsigned int VBFlags, int VGAEngine, unsigned short adaptnum, unsigned short DDCdatatype, unsigned char *buffer, unsigned int VBFlags2)
 
void SiS_DisplayOff (struct SiS_Private *SiS_Pr)
 
void SiS_DisplayOn (struct SiS_Private *SiS_Pr)
 
bool SiS_SearchModeID (struct SiS_Private *, unsigned short *, unsigned short *)
 
unsigned short SiS_GetModeFlag (struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex)
 
unsigned short SiS_GetModePtr (struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex)
 
unsigned short SiS_GetColorDepth (struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex)
 
unsigned short SiS_GetOffset (struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex, unsigned short RefreshRateTableIndex)
 
void SiS_LoadDAC (struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex)
 
void SiS_CalcLCDACRT1Timing (struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex)
 
void SiS_CalcCRRegisters (struct SiS_Private *SiS_Pr, int depth)
 
unsigned short SiS_GetRefCRTVCLK (struct SiS_Private *SiS_Pr, unsigned short Index, int UseWide)
 
unsigned short SiS_GetRefCRT1CRTC (struct SiS_Private *SiS_Pr, unsigned short Index, int UseWide)
 

Function Documentation

void SiS_CalcCRRegisters ( struct SiS_Private SiS_Pr,
int  depth 
)

Definition at line 3330 of file init.c.

void SiS_CalcLCDACRT1Timing ( struct SiS_Private SiS_Pr,
unsigned short  ModeNo,
unsigned short  ModeIdIndex 
)

Definition at line 3386 of file init.c.

void SiS_DDC2Delay ( struct SiS_Private SiS_Pr,
unsigned int  delaytime 
)

Definition at line 438 of file init301.c.

void SiS_DisableBridge ( struct SiS_Private SiS_Pr)

Definition at line 3836 of file init301.c.

void SiS_DisplayOff ( struct SiS_Private SiS_Pr)

Definition at line 969 of file init.c.

void SiS_DisplayOn ( struct SiS_Private SiS_Pr)

Definition at line 963 of file init.c.

void SiS_EnableCRT2 ( struct SiS_Private SiS_Pr)
unsigned short SiS_GetCH700x ( struct SiS_Private SiS_Pr,
unsigned short  tempax 
)

Definition at line 8891 of file init301.c.

unsigned short SiS_GetCH701x ( struct SiS_Private SiS_Pr,
unsigned short  tempax 
)

Definition at line 8924 of file init301.c.

unsigned short SiS_GetColorDepth ( struct SiS_Private SiS_Pr,
unsigned short  ModeNo,
unsigned short  ModeIdIndex 
)

Definition at line 1777 of file init.c.

void SiS_GetLCDResInfo ( struct SiS_Private SiS_Pr,
unsigned short  ModeNo,
unsigned short  ModeIdIndex 
)

Definition at line 1466 of file init301.c.

unsigned short SiS_GetModeFlag ( struct SiS_Private SiS_Pr,
unsigned short  ModeNo,
unsigned short  ModeIdIndex 
)

Definition at line 1232 of file init.c.

unsigned short SiS_GetModePtr ( struct SiS_Private SiS_Pr,
unsigned short  ModeNo,
unsigned short  ModeIdIndex 
)

Definition at line 1636 of file init.c.

unsigned short SiS_GetOffset ( struct SiS_Private SiS_Pr,
unsigned short  ModeNo,
unsigned short  ModeIdIndex,
unsigned short  RefreshRateTableIndex 
)

Definition at line 1803 of file init.c.

unsigned short SiS_GetRatePtr ( struct SiS_Private SiS_Pr,
unsigned short  ModeNo,
unsigned short  ModeIdIndex 
)

Definition at line 284 of file init301.c.

unsigned short SiS_GetRefCRT1CRTC ( struct SiS_Private SiS_Pr,
unsigned short  Index,
int  UseWide 
)

Definition at line 1668 of file init.c.

unsigned short SiS_GetRefCRTVCLK ( struct SiS_Private SiS_Pr,
unsigned short  Index,
int  UseWide 
)

Definition at line 1654 of file init.c.

unsigned short SiS_GetResInfo ( struct SiS_Private SiS_Pr,
unsigned short  ModeNo,
unsigned short  ModeIdIndex 
)

Definition at line 2723 of file init301.c.

void SiS_GetVBInfo ( struct SiS_Private SiS_Pr,
unsigned short  ModeNo,
unsigned short  ModeIdIndex,
int  checkcrt2mode 
)

Definition at line 934 of file init301.c.

unsigned short SiS_GetVCLK2Ptr ( struct SiS_Private SiS_Pr,
unsigned short  ModeNo,
unsigned short  ModeIdIndex,
unsigned short  RefreshRateTableIndex 
)

Definition at line 2150 of file init301.c.

unsigned short SiS_HandleDDC ( struct SiS_Private SiS_Pr,
unsigned int  VBFlags,
int  VGAEngine,
unsigned short  adaptnum,
unsigned short  DDCdatatype,
unsigned char buffer,
unsigned int  VBFlags2 
)

Definition at line 9234 of file init301.c.

bool SiS_IsDualEdge ( struct SiS_Private SiS_Pr)

Definition at line 701 of file init301.c.

bool SiS_IsVAMode ( struct SiS_Private SiS_Pr)

Definition at line 714 of file init301.c.

void SiS_LoadDAC ( struct SiS_Private SiS_Pr,
unsigned short  ModeNo,
unsigned short  ModeIdIndex 
)

Definition at line 2873 of file init.c.

unsigned short SiS_ReadDDC1Bit ( struct SiS_Private SiS_Pr)

Definition at line 9310 of file init301.c.

bool SiS_SearchModeID ( struct SiS_Private ,
unsigned short ,
unsigned short  
)

Definition at line 1595 of file init.c.

void SiS_SetCH700x ( struct SiS_Private SiS_Pr,
unsigned short  reg,
unsigned char  val 
)

Definition at line 8815 of file init301.c.

void SiS_SetCH701x ( struct SiS_Private SiS_Pr,
unsigned short  reg,
unsigned char  val 
)

Definition at line 8842 of file init301.c.

void SiS_SetCH70xxANDOR ( struct SiS_Private SiS_Pr,
unsigned short  reg,
unsigned char  orval,
unsigned short  andval 
)

Definition at line 8950 of file init301.c.

bool SiS_SetCRT2Group ( struct SiS_Private SiS_Pr,
unsigned short  ModeNo 
)

Definition at line 8520 of file init301.c.

void SiS_SetTVMode ( struct SiS_Private SiS_Pr,
unsigned short  ModeNo,
unsigned short  ModeIdIndex 
)

Definition at line 1205 of file init301.c.

void SiS_SetYPbPr ( struct SiS_Private SiS_Pr)

Definition at line 1162 of file init301.c.

void SiS_SiS30xBLOff ( struct SiS_Private SiS_Pr)

Definition at line 8706 of file init301.c.

void SiS_SiS30xBLOn ( struct SiS_Private SiS_Pr)

Definition at line 8692 of file init301.c.

void SiS_UnLockCRT2 ( struct SiS_Private SiS_Pr)

Definition at line 93 of file init301.c.

void SiS_WaitRetrace1 ( struct SiS_Private SiS_Pr)

Definition at line 595 of file init301.c.