提交 ecb8b190 编写于 作者: F Felipe Balbi 提交者: Greg Kroah-Hartman

USB: SisUSB2VGA: Lindent drivers/usb/misc/sisusbvga/sisusb_struct.h

Better indentation
Signed-off-by: NFelipe Balbi <felipe.lima@indt.org.br>
Cc: Thomas Winischhofer <thomas@winischhofer.net>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 7c599014
...@@ -52,85 +52,78 @@ ...@@ -52,85 +52,78 @@
#define _SISUSB_STRUCT_H_ #define _SISUSB_STRUCT_H_
struct SiS_St { struct SiS_St {
unsigned char St_ModeID; unsigned char St_ModeID;
unsigned short St_ModeFlag; unsigned short St_ModeFlag;
unsigned char St_StTableIndex; unsigned char St_StTableIndex;
unsigned char St_CRT2CRTC; unsigned char St_CRT2CRTC;
unsigned char St_ResInfo; unsigned char St_ResInfo;
unsigned char VB_StTVFlickerIndex; unsigned char VB_StTVFlickerIndex;
unsigned char VB_StTVEdgeIndex; unsigned char VB_StTVEdgeIndex;
unsigned char VB_StTVYFilterIndex; unsigned char VB_StTVYFilterIndex;
unsigned char St_PDC; unsigned char St_PDC;
}; };
struct SiS_StandTable struct SiS_StandTable {
{ unsigned char CRT_COLS;
unsigned char CRT_COLS; unsigned char ROWS;
unsigned char ROWS; unsigned char CHAR_HEIGHT;
unsigned char CHAR_HEIGHT; unsigned short CRT_LEN;
unsigned short CRT_LEN; unsigned char SR[4];
unsigned char SR[4]; unsigned char MISC;
unsigned char MISC; unsigned char CRTC[0x19];
unsigned char CRTC[0x19]; unsigned char ATTR[0x14];
unsigned char ATTR[0x14]; unsigned char GRC[9];
unsigned char GRC[9];
}; };
struct SiS_StResInfo_S { struct SiS_StResInfo_S {
unsigned short HTotal; unsigned short HTotal;
unsigned short VTotal; unsigned short VTotal;
}; };
struct SiS_Ext struct SiS_Ext {
{ unsigned char Ext_ModeID;
unsigned char Ext_ModeID; unsigned short Ext_ModeFlag;
unsigned short Ext_ModeFlag; unsigned short Ext_VESAID;
unsigned short Ext_VESAID; unsigned char Ext_RESINFO;
unsigned char Ext_RESINFO; unsigned char VB_ExtTVFlickerIndex;
unsigned char VB_ExtTVFlickerIndex; unsigned char VB_ExtTVEdgeIndex;
unsigned char VB_ExtTVEdgeIndex; unsigned char VB_ExtTVYFilterIndex;
unsigned char VB_ExtTVYFilterIndex; unsigned char VB_ExtTVYFilterIndexROM661;
unsigned char VB_ExtTVYFilterIndexROM661; unsigned char REFindex;
unsigned char REFindex; char ROMMODEIDX661;
char ROMMODEIDX661;
}; };
struct SiS_Ext2 struct SiS_Ext2 {
{ unsigned short Ext_InfoFlag;
unsigned short Ext_InfoFlag; unsigned char Ext_CRT1CRTC;
unsigned char Ext_CRT1CRTC; unsigned char Ext_CRTVCLK;
unsigned char Ext_CRTVCLK; unsigned char Ext_CRT2CRTC;
unsigned char Ext_CRT2CRTC; unsigned char Ext_CRT2CRTC_NS;
unsigned char Ext_CRT2CRTC_NS; unsigned char ModeID;
unsigned char ModeID; unsigned short XRes;
unsigned short XRes; unsigned short YRes;
unsigned short YRes; unsigned char Ext_PDC;
unsigned char Ext_PDC; unsigned char Ext_FakeCRT2CRTC;
unsigned char Ext_FakeCRT2CRTC; unsigned char Ext_FakeCRT2Clk;
unsigned char Ext_FakeCRT2Clk;
}; };
struct SiS_CRT1Table struct SiS_CRT1Table {
{ unsigned char CR[17];
unsigned char CR[17];
}; };
struct SiS_VCLKData struct SiS_VCLKData {
{ unsigned char SR2B, SR2C;
unsigned char SR2B,SR2C; unsigned short CLOCK;
unsigned short CLOCK;
}; };
struct SiS_ModeResInfo struct SiS_ModeResInfo {
{ unsigned short HTotal;
unsigned short HTotal; unsigned short VTotal;
unsigned short VTotal; unsigned char XChar;
unsigned char XChar; unsigned char YChar;
unsigned char YChar;
}; };
struct SiS_Private struct SiS_Private {
{
void *sisusb; void *sisusb;
unsigned long IOAddress; unsigned long IOAddress;
...@@ -151,19 +144,18 @@ struct SiS_Private ...@@ -151,19 +144,18 @@ struct SiS_Private
unsigned long SiS_P3da; unsigned long SiS_P3da;
unsigned long SiS_Part1Port; unsigned long SiS_Part1Port;
unsigned char SiS_MyCR63; unsigned char SiS_MyCR63;
unsigned short SiS_CRT1Mode; unsigned short SiS_CRT1Mode;
unsigned short SiS_ModeType; unsigned short SiS_ModeType;
unsigned short SiS_SetFlag; unsigned short SiS_SetFlag;
const struct SiS_StandTable *SiS_StandTable; const struct SiS_StandTable *SiS_StandTable;
const struct SiS_St *SiS_SModeIDTable; const struct SiS_St *SiS_SModeIDTable;
const struct SiS_Ext *SiS_EModeIDTable; const struct SiS_Ext *SiS_EModeIDTable;
const struct SiS_Ext2 *SiS_RefIndex; const struct SiS_Ext2 *SiS_RefIndex;
const struct SiS_CRT1Table *SiS_CRT1Table; const struct SiS_CRT1Table *SiS_CRT1Table;
const struct SiS_VCLKData *SiS_VCLKData; const struct SiS_VCLKData *SiS_VCLKData;
const struct SiS_ModeResInfo *SiS_ModeResInfo; const struct SiS_ModeResInfo *SiS_ModeResInfo;
}; };
#endif #endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册