Lines Matching refs:sishw_ext

542 	if(sisfb_gettotalfrommode(&ivideo->SiS_Pr, &ivideo->sishw_ext,   in sisfb_verify_rate()
879 SiS_SiS30xBLOn(&ivideo->SiS_Pr, &ivideo->sishw_ext); in sisfb_myblank()
881 SiS_SiS30xBLOff(&ivideo->SiS_Pr, &ivideo->sishw_ext); in sisfb_myblank()
886 SiS_Chrontel701xBLOn(&ivideo->SiS_Pr,&ivideo->sishw_ext); in sisfb_myblank()
1082 if(SiSSetMode(&ivideo->SiS_Pr, &ivideo->sishw_ext, ivideo->mode_no) == 0) {
1877 &ivideo->sishw_ext,
1880 sisfb_mode_rate_to_ddata(&ivideo->SiS_Pr, &ivideo->sishw_ext,
4028 ULONG FBAddr = (ULONG)ivideo->sishw_ext.pjVideoMemoryAddress, Addr;
4123 if(ivideo->sishw_ext.UseROM) {
4124 if(ivideo->sishw_ext.pjVirtualRomBase[0x52] & 0x80) {
4125 memtype = ivideo->sishw_ext.pjVirtualRomBase[0x52];
4138 if(ivideo->sishw_ext.UseROM) {
4141 v1 = ivideo->sishw_ext.pjVirtualRomBase[rindex++];
4142 v2 = ivideo->sishw_ext.pjVirtualRomBase[rindex++];
4143 v3 = ivideo->sishw_ext.pjVirtualRomBase[rindex++];
4145 v4 = ivideo->sishw_ext.pjVirtualRomBase[rindex++];
4146 v5 = ivideo->sishw_ext.pjVirtualRomBase[rindex++];
4147 v6 = ivideo->sishw_ext.pjVirtualRomBase[rindex++];
4157 if(ivideo->sishw_ext.UseROM) v1 = ivideo->sishw_ext.pjVirtualRomBase[0xa4];
4162 if(ivideo->sishw_ext.UseROM) {
4164 v1 = ivideo->sishw_ext.pjVirtualRomBase[memtype];
4165 v2 = ivideo->sishw_ext.pjVirtualRomBase[memtype + 8];
4166 v3 = ivideo->sishw_ext.pjVirtualRomBase[memtype + 16];
4167 v4 = ivideo->sishw_ext.pjVirtualRomBase[memtype + 24];
4168 v5 = ivideo->sishw_ext.pjVirtualRomBase[memtype + 32];
4169 v6 = ivideo->sishw_ext.pjVirtualRomBase[memtype + 40];
4170 v7 = ivideo->sishw_ext.pjVirtualRomBase[memtype + 48];
4171 v8 = ivideo->sishw_ext.pjVirtualRomBase[memtype + 56];
4184 if(ivideo->sishw_ext.UseROM) {
4185 if(ivideo->sishw_ext.pjVirtualRomBase[0x53] & 0x02) {
4194 if(ivideo->sishw_ext.UseROM) {
4195 v1 = ivideo->sishw_ext.pjVirtualRomBase[0xe8];
4196 v2 = ivideo->sishw_ext.pjVirtualRomBase[0xe9];
4197 v3 = ivideo->sishw_ext.pjVirtualRomBase[0xea];
4208 if(ivideo->sishw_ext.UseROM) {
4209 v1 = ivideo->sishw_ext.pjVirtualRomBase[0xec];
4210 v2 = ivideo->sishw_ext.pjVirtualRomBase[0xeb];
4219 if(ivideo->sishw_ext.UseROM) {
4220 v4 = ivideo->sishw_ext.pjVirtualRomBase[0xf5];
4221 v5 = ivideo->sishw_ext.pjVirtualRomBase[0xf6];
4222 v6 = ivideo->sishw_ext.pjVirtualRomBase[0xf7];
4252 ivideo->sishw_ext.pjVideoMemoryAddress = ioremap(ivideo->video_base, 0x4000000);
4253 if(ivideo->sishw_ext.pjVideoMemoryAddress) {
4255 iounmap(ivideo->sishw_ext.pjVideoMemoryAddress);
4264 if(ivideo->sishw_ext.UseROM) {
4265 v1 = ivideo->sishw_ext.pjVirtualRomBase[0xe6];
4266 v2 = ivideo->sishw_ext.pjVirtualRomBase[0xe7];
4318 ivideo->sishw_ext.jChipRevision = ivideo->revision_id;
4446 ivideo->sishw_ext.jChipType = ivideo->chip;
4449 if((ivideo->sishw_ext.jChipType == SIS_315PRO) ||
4450 (ivideo->sishw_ext.jChipType == SIS_315)) {
4451 ivideo->sishw_ext.jChipType = SIS_315H;
4459 ivideo->sishw_ext.ulIOAddress = ivideo->vga_base = ivideo->SiS_Pr.RelIO;
4469 SiSRegInit(&ivideo->SiS_Pr, ivideo->sishw_ext.ulIOAddress);
4515 ivideo->sishw_ext.bIntegratedMMEnabled = TRUE;
4521 ivideo->sishw_ext.bIntegratedMMEnabled = FALSE;
4529 ivideo->sishw_ext.pjVirtualRomBase = sis_find_rom(pdev);
4531 ivideo->bios_vbase = ivideo->sishw_ext.pjVirtualRomBase; /* mapped */
4533 ivideo->bios_abase = ivideo->sishw_ext.pjVirtualRomBase; /* allocated */
4535 if(ivideo->sishw_ext.pjVirtualRomBase) {
4538 ivideo->sishw_ext.pjVirtualRomBase);
4539 ivideo->sishw_ext.UseROM = TRUE;
4541 ivideo->sishw_ext.UseROM = FALSE;
4545 ivideo->sishw_ext.pjVirtualRomBase = NULL;
4546 ivideo->sishw_ext.UseROM = FALSE;
4558 if(ivideo->sishw_ext.UseROM) {
4559 biosver = ivideo->sishw_ext.pjVirtualRomBase + 0x06;
4560 biosdate = ivideo->sishw_ext.pjVirtualRomBase + 0x2c;
4561 for(i=0; i<32768; i++) chksum += ivideo->sishw_ext.pjVirtualRomBase[i];
4568 (ivideo->sishw_ext.UseROM &&
4571 (ivideo->sishw_ext.UseROM &&
4574 (ivideo->sishw_ext.UseROM &&
4581 if(ivideo->sishw_ext.UseROM) {
4582 if(ivideo->sishw_ext.pjVirtualRomBase[mycustomttable[i].biosFootprintAddr[j]] !=
4680 ivideo->sishw_ext.pjVideoMemoryAddress = (unsigned char *)ivideo->video_vbase;
4716 ivideo->sishw_ext.ulVideoMemorySize = ivideo->sisfb_mem;
4725 ivideo->newrom = SiSDetermineROMLayout661(&ivideo->SiS_Pr, &ivideo->sishw_ext);
4767 ivideo->sishw_ext.ulCRT2LCDType = sis300paneltype[reg];
4769 ivideo->sishw_ext.ulCRT2LCDType = sis661paneltype[reg];
4771 ivideo->sishw_ext.ulCRT2LCDType = sis310paneltype[reg];
4773 if((ivideo->sishw_ext.ulCRT2LCDType != LCD_640x480_2) &&
4774 (ivideo->sishw_ext.ulCRT2LCDType != LCD_640x480_3)) {
4775 ivideo->sishw_ext.ulCRT2LCDType = LCD_320x480;
4779 if(ivideo->sishw_ext.ulCRT2LCDType == LCD_UNKNOWN) {
4780 ivideo->sishw_ext.ulCRT2LCDType = LCD_1024x768;
4784 if(ivideo->sishw_ext.ulCRT2LCDType == sis_lcd_data[i].lcdtype) {
4983 if(SiSSetMode(&ivideo->SiS_Pr, &ivideo->sishw_ext, ivideo->mode_no) == 0) {
5037 sisfb_mode_rate_to_dclock(&ivideo->SiS_Pr, &ivideo->sishw_ext,
5040 if(sisfb_mode_rate_to_ddata(&ivideo->SiS_Pr, &ivideo->sishw_ext,