⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 310vtbl.h

📁 h内核
💻 H
📖 第 1 页 / 共 5 页
字号:
	{ 0x6d,0x46, 75}, /* 0x10 */	{ 0x41,0x43, 78}, /* 0x11 */	{ 0x31,0x42, 79}, /* 0x12 */	{ 0xab,0x44, 83}, /* 0x13 */	{ 0x46,0x25, 84}, /* 0x14 */	{ 0x78,0x29, 86}, /* 0x15 */	{ 0x62,0x44, 94}, /* 0x16 */	{ 0x2b,0x22,104}, /* 0x17 */	{ 0x49,0x24,105}, /* 0x18 */	{ 0xf8,0x2f,108}, /* 0x19 */  /* 1400x1050 LCD */	{ 0x3c,0x23,109}, /* 0x1a */	{ 0x5e,0x43,113}, /* 0x1b */	{ 0xbc,0x44,116}, /* 0x1c */	{ 0xe0,0x46,132}, /* 0x1d */#if 0	{ 0xd4,0x28,135}, /* 0x1e */	{ 0xea,0x2a,139}, /* 0x1f */	{ 0x41,0x22,157}, /* 0x20 */	{ 0x70,0x24,162}, /* 0x21 */#endif	{ 0xe2,0x46,135}, /* 0x1e */  /* 1280x1024-75, better clock for VGA2 */	{ 0xe5,0x46,139}, /* 0x1f */  /* 1024x768-120, better clock for VGA2 */	{ 0x15,0x01,157}, /* 0x20 */  /* 1280x1024-85, better clock for VGA2 */	{ 0x70,0x09,162}, /* 0x21 */  /* 1600x1200-60, better clock for VGA2 */	{ 0x30,0x21,175}, /* 0x22 */	{ 0x4e,0x22,189}, /* 0x23 */	{ 0xde,0x26,194}, /* 0x24 */	{ 0x70,0x07,202}, /* 0x25 */	{ 0x3f,0x03,229}, /* 0x26 */	{ 0xb8,0x06,234}, /* 0x27 */	{ 0x34,0x02,253}, /* 0x28 */	{ 0x58,0x04,255}, /* 0x29 */	{ 0x24,0x01,265}, /* 0x2a */	{ 0x9b,0x02,267}, /* 0x2b */	{ 0x70,0x05,270}, /* 0x2c */	{ 0x25,0x01,272}, /* 0x2d */	{ 0x9c,0x02,277}, /* 0x2e */	{ 0x27,0x01,286}, /* 0x2f */	{ 0x3c,0x02,291}, /* 0x30 */	{ 0xef,0x0a,292}, /* 0x31 */	{ 0xf6,0x0a,310}, /* 0x32 */	{ 0x95,0x01,315}, /* 0x33 */	{ 0xf0,0x09,324}, /* 0x34 */	{ 0xfe,0x0a,331}, /* 0x35 */	{ 0xf3,0x09,332}, /* 0x36 */	{ 0xea,0x08,340}, /* 0x37 */	{ 0xe8,0x07,376}, /* 0x38 */	{ 0xde,0x06,389}, /* 0x39 */	{ 0x52,0x2a, 54}, /* 0x3a 301 TV - start */	{ 0x52,0x6a, 27}, /* 0x3b 301 TV */	{ 0x62,0x24, 70}, /* 0x3c 301 TV */	{ 0x62,0x64, 70}, /* 0x3d 301 TV */	{ 0xa8,0x4c, 30}, /* 0x3e 301 TV */	{ 0x20,0x26, 33}, /* 0x3f 301 TV */	{ 0x31,0xc2, 39}, /* 0x40 */	{ 0x2e,0x48, 25}, /* 0x41 Replacement for LCD on 315 for index 0 */	{ 0x24,0x46, 25}, /* 0x42 Replacement for LCD on 315 for modes 0x01, 0x03, 0x0f, 0x10, 0x12 */	{ 0x26,0x64, 28}, /* 0x43 Replacement for LCD on 315 for index 1 */	{ 0x37,0x64, 40}, /* 0x44 Replacement for LCD on 315 for index 4 */	{ 0xa1,0x42,108}, /* 0x45 1280x960 LCD */	{ 0x37,0x61,100}, /* 0x46 1280x960 LCD */	{ 0x78,0x27,108}, /* 0x47 */	{ 0x97,0x2c, 26}, /* 0x48 UNUSED */	{ 0xce,0x3c, 39}, /* 0x49 UNUSED */	{ 0x52,0x4a, 36}, /* 0x4a UNUSED */	{ 0x34,0x61, 95}, /* 0x4b UNUSED */	{ 0x78,0x27,108}, /* 0x4c UNUSED */	{ 0x66,0x43,123}, /* 0x4d 1400x1050-60 */	{ 0x41,0x4e, 21}, /* 0x4e UNUSED */	{ 0xa1,0x4a, 29}, /* 0x4f UNUSED */	{ 0x19,0x42, 42}, /* 0x50 UNUSED */	{ 0x54,0x46, 58}, /* 0x51 UNUSED */	{ 0x25,0x42, 61}, /* 0x52 UNUSED */	{ 0x44,0x44, 66}, /* 0x53 UNUSED */	{ 0x3a,0x62, 70}, /* 0x54 UNUSED */	{ 0x62,0xc6, 34}, /* 0x55 848x480-60 */	{ 0x6a,0xc6, 37}, /* 0x56 848x480-75 - TEMP, UNUSED */	{ 0xbf,0xc8, 35}, /* 0x57 856x480-38i,60  */	{ 0x30,0x23, 88}, /* 0x58 1360x768-62 (is 60Hz!) TEMP, UNUSED */	{ 0x52,0x07,149}, /* 0x59 1280x960-85  */	{ 0x56,0x07,156}, /* 0x5a 1400x1050-75 */   	{ 0x70,0x29, 81}, /* 0x5b 1280x768 LCD (TMDS) */	{ 0xce,0x1e, 73}, /* 0x5c 1280x800_2 LCD (SiS LVDS) - (CRT1: 45 25 83) */	{ 0xbe,0x44,121}, /* 0x5d 1680x1050 LCD */	{ 0x70,0x24,162}, /* 0x5e 1600x1200 LCD */	{ 0x52,0x27, 75}, /* 0x5f 1280x720 (TMDS + HDTV) (correct) */	{ 0xc8,0x48, 77}, /* 0x60 1280x768_2 (SiS LVDS) */	{ 0x31,0x42, 79}, /* 0x61 1280x768_3 (SiS LVDS) - temp */	{    0,   0,  0}, /* 0x62 - custom (will be filled out at run-time) */	{ 0x9c,0x62, 69}, /* 0x63 1280x720 (SiS LVDS) */	{ 0x70,0x28, 90}, /* 0x64 1152x864@60 */	{ 0x41,0xc4, 32}, /* 0x65 848x480@60 */	{ 0x5c,0xc6, 32}, /* 0x66 856x480@60 */	{ 0x76,0xe7, 27}, /* 0x67 720x480@60 */	{ 0x5f,0xc6, 33}, /* 0x68 720/768x576@60 */	{ 0x52,0x27, 75}, /* 0x69 1920x1080i 60Hz interlaced (UNUSED) */	{ 0x7c,0x6b, 38}, /* 0x6a 960x540@60 */	{ 0xe3,0x56, 41}, /* 0x6b 960x600@60 */	{ 0x9c,0x62, 69}, /* 0x6c 1280x800 (SiS TMDS) (special) */	{ 0x70,0x28, 90}  /* 0x6d 1152x864@60 */};static const DRAM4Type SiS310_SR15[8] = {	{0x00,0x04,0x60,0x60},	{0x0f,0x0f,0x0f,0x0f},	{0xba,0xba,0xba,0xba},	{0xa9,0xa9,0xac,0xac},	{0xa0,0xa0,0xa0,0xa8},	{0x00,0x00,0x02,0x02}, 	{0x30,0x30,0x40,0x40},	{0x00,0xa5,0xfb,0xf6}};#ifdef LINUX_KERNELstatic UCHAR SiS310_SR07 = 0x18;static const DRAM4Type SiS310_CR40[5] = {	{0x77,0x77,0x33,0x33},	{0x77,0x77,0x33,0x33},	{0x00,0x00,0x00,0x00},	{0x5b,0x5b,0x03,0x03},	{0x00,0x00,0xf0,0xf8}};static UCHAR SiS310_CR49[] = {0xaa,0x88};static UCHAR SiS310_SR1F = 0x00;static UCHAR SiS310_SR21 = 0xa5;static UCHAR SiS310_SR22 = 0xfb;static UCHAR SiS310_SR23 = 0xf6;static UCHAR SiS310_SR24 = 0x0d;static UCHAR SiS310_SR25[] = {0x33,0x3};static UCHAR SiS310_SR31 = 0x00;static UCHAR SiS310_SR32 = 0x11;static UCHAR SiS310_SR33 = 0x00;static UCHAR SiS310_CRT2Data_1_2  = 0x00;static UCHAR SiS310_CRT2Data_4_D  = 0x00;static UCHAR SiS310_CRT2Data_4_E  = 0x00;static UCHAR SiS310_CRT2Data_4_10 = 0x80;static const USHORT SiS310_RGBSenseData    = 0xd1;static const USHORT SiS310_VideoSenseData  = 0xb9;static const USHORT SiS310_YCSenseData     = 0xb3;static const USHORT SiS310_RGBSenseData2   = 0x0190; static const USHORT SiS310_VideoSenseData2 = 0x0174;static const USHORT SiS310_YCSenseData2    = 0x016b;#endifstatic const SiS_PanelDelayTblStruct SiS310_PanelDelayTbl[]={        {{0x10,0x40}},	{{0x10,0x40}},	{{0x10,0x40}},	{{0x10,0x40}},	{{0x10,0x40}},	{{0x10,0x40}},	{{0x10,0x40}},	{{0x10,0x40}},	{{0x10,0x40}},	{{0x10,0x40}},	{{0x10,0x40}},	{{0x10,0x40}},	{{0x10,0x40}},	{{0x10,0x40}},	{{0x10,0x40}},	{{0x10,0x40}}};static const SiS_PanelDelayTblStruct SiS310_PanelDelayTblLVDS[]={	{{0x28,0xc8}},	{{0x28,0xc8}},	{{0x28,0xc8}},	{{0x28,0xc8}},	{{0x28,0xc8}},	{{0x28,0xc8}},	{{0x28,0xc8}},	{{0x28,0xc8}},	{{0x28,0xc8}},	{{0x28,0xc8}},	{{0x28,0xc8}},	{{0x28,0xc8}},	{{0x28,0xc8}},	{{0x28,0xc8}},	{{0x28,0xc8}},	{{0x28,0xc8}}};/**************************************************************//* SIS VIDEO BRIDGE ----------------------------------------- *//**************************************************************/static const SiS_LCDDataStruct  SiS310_St2LCD1024x768Data[] ={	{   62,  25, 800, 546,1344, 806},	{   32,  15, 930, 546,1344, 806},        {   62,  25, 800, 546,1344, 806},	{  104,  45, 945, 496,1344, 806},	{   62,  25, 800, 546,1344, 806},	{   31,  18,1008, 624,1344, 806},	{    1,   1,1344, 806,1344, 806}};static const SiS_LCDDataStruct  SiS310_ExtLCD1024x768Data[] ={	{   42,  25,1536, 419,1344, 806},	{   48,  25,1536, 369,1344, 806},	{   42,  25,1536, 419,1344, 806},	{   48,  25,1536, 369,1344, 806},	{   12,   5, 896, 500,1344, 806},	{   42,  25,1024, 625,1344, 806},	{    1,   1,1344, 806,1344, 806}};static const SiS_LCDDataStruct  SiS310_St2LCD1280x1024Data[] ={	{   22,   5, 800, 510,1650,1088},	{   22,   5, 800, 510,1650,1088},	{  176,  45, 900, 510,1650,1088},	{  176,  45, 900, 510,1650,1088},	{   22,   5, 800, 510,1650,1088},	{   13,   5,1024, 675,1560,1152},	{   16,   9,1266, 804,1688,1072},	{    1,   1,1688,1066,1688,1066}};static const SiS_LCDDataStruct  SiS310_ExtLCD1280x1024Data[] ={	{  211,  60,1024, 501,1688,1066},	{  211,  60,1024, 508,1688,1066},	{  211,  60,1024, 501,1688,1066},	{  211,  60,1024, 508,1688,1066},	{  211,  60,1024, 500,1688,1066},	{  211,  75,1024, 625,1688,1066},	{  211, 120,1280, 798,1688,1066},	{    1,   1,1688,1066,1688,1066}};static const SiS_Part2PortTblStruct SiS310_CRT2Part2_1024x768_1[] ={ {{0x25,0x12,0xc9,0xdc,0xb6,0x59,0x45,0x09,0x07,0xf9,0x09,0x24}}, {{0x2c,0x12,0x9a,0xae,0x88,0x59,0x45,0x09,0x07,0xf9,0x09,0x24}}, {{0x25,0x12,0xc9,0xdc,0xb6,0x59,0x45,0x09,0x07,0xf9,0x09,0x24}}, {{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}}, {{0x38,0x13,0x16,0x0c,0xe6,0x59,0x45,0x09,0x07,0xf9,0x09,0x24}}, {{0x38,0x18,0x16,0x00,0x00,0x59,0x45,0x09,0x07,0xf9,0x09,0x24}}, {{0x36,0x13,0x13,0x25,0xff,0x59,0x45,0x09,0x07,0xf9,0x09,0x24}}};/* *** LCDA *** */#if 0static const SiS_LVDSDataStruct  SiS_LCDA1600x1200Data_1[]={ /* Clevo, 651+301C */	{1200, 450, 2048,1250},	{1200, 400, 2048,1250},	{1280, 450, 2048,1250},	{1280, 400, 2048,1250},	{1200, 530, 2048,1250},	{1360, 650, 2048,1250},	{1584, 818, 2048,1250},	{1688,1066, 2048,1250},	{1688,1066, 2048,1250},#if 0	{2048,1250, 2048,1250}   /* this should be correct */#endif#if 1	{2160,1250, 2048,1250}   /* ? */#endif};#endif/**************************************************************//* LVDS, CHRONTEL ------------------------------------------- *//**************************************************************/static const SiS_LVDSDataStruct  SiS310_CHTVUPALData[]={	{1008, 625,1008, 625},	{1008, 625,1008, 625},	{1008, 625,1008, 625},	{1008, 625,1008, 625},	{ 840, 625, 840, 625},	{ 960, 750, 960, 750},	{1400,1000,1400,1000}};static const SiS_LVDSDataStruct  SiS310_CHTVOPALData[]={	{1008, 625,1008, 625},	{1008, 625,1008, 625},	{1008, 625,1008, 625},	{1008, 625,1008, 625},	{ 840, 625, 840, 625},	{ 944, 625, 944, 625},        {1400, 875,1400, 875}};static const SiS_LVDSDataStruct  SiS310_CHTVUPALMData[]={	{ 840, 600, 840, 600},	{ 840, 600, 840, 600},	{ 840, 600, 840, 600},	{ 840, 600, 840, 600},	{ 784, 600, 784, 600},	{1064, 750,1064, 750},        {1160, 945,1160, 945}};static const SiS_LVDSDataStruct  SiS310_CHTVOPALMData[]={	{ 840, 525, 840, 525},	{ 840, 525, 840, 525},	{ 840, 525, 840, 525},	{ 840, 525, 840, 525},	{ 784, 525, 784, 525},	{1040, 700,1040, 700},        {1160, 840,1160, 840}};static const SiS_LVDSDataStruct  SiS310_CHTVUPALNData[]={	{1008, 625,1008, 625},	{1008, 625,1008, 625},	{1008, 625,1008, 625},	{1008, 625,1008, 625},	{ 840, 625, 840, 625},	{ 960, 750, 960, 750},	{1400,1000,1400,1000}};static const SiS_LVDSDataStruct  SiS310_CHTVOPALNData[]={	{1008, 625,1008, 625},	{1008, 625,1008, 625},	{1008, 625,1008, 625},	{1008, 625,1008, 625},	{ 840, 625, 840, 625},	{ 944, 625, 944, 625},        {1400, 875,1400, 875}};static const SiS_LVDSDataStruct  SiS310_CHTVSOPALData[]=   /* (super overscan - no effect on 7019) */{	{1008, 625,1008, 625},	{1008, 625,1008, 625},	{1008, 625,1008, 625},	{1008, 625,1008, 625},	{ 840, 625, 840, 625},	{ 944, 625, 944, 625},        {1400, 875,1400, 875}};static const SiS_LVDSDesStruct  SiS310_PanelType00_1[]=  /* 800x600 */{	{ 0, 0},	{ 0, 0},	{ 0, 0},	{ 0, 0},	{ 0, 0},	{ 0, 0},	{ 0, 0},	{ 0, 0},	{ 0, 0}};static const SiS_LVDSDesStruct  SiS310_PanelType01_1[]=  /* 1024x768 */{	{ 0, 0},	{ 0, 0},	{ 0, 0},	{ 0, 0},	{ 0, 0},	{ 0, 0},	{ 0, 805},	{ 0, 0},	{ 0, 0}};static const SiS_LVDSDesStruct  SiS310_PanelType02_1[]=  /* 1280x1024 */{	{ 0, 0},	{ 0, 0},	{ 0, 0},	{ 0, 0},	{ 0, 0},	{ 0, 0},	{ 0, 0},	{ 0, 1065},	{ 0, 0},	{ 0, 0}};static const SiS_LVDSDesStruct  SiS310_PanelType03_1[]={	{ 0, 0},	{ 0, 0},	{ 0, 0},	{ 0, 0},	{ 0, 0},	{ 0, 0},	{ 0, 0},	{ 0, 0},	{ 0, 0}};static const SiS_LVDSDesStruct  SiS310_PanelType04_1[]={	{1343, 798},	{1343, 794},	{1343, 798},	{1343, 794},	{1343,   0},	{1343,   0},	{ 0, 805},	{ 0, 794},	{ 0,   0}};static const SiS_LVDSDesStruct  SiS310_PanelType05_1[]={	{1343, 798},

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -