Lines Matching refs:PCIO
62 VGA_WR08(par->PCIO, par->IOBase + 0x04, index); in NVWriteCrtc()
63 VGA_WR08(par->PCIO, par->IOBase + 0x05, value); in NVWriteCrtc()
67 VGA_WR08(par->PCIO, par->IOBase + 0x04, index); in NVReadCrtc()
68 return (VGA_RD08(par->PCIO, par->IOBase + 0x05)); in NVReadCrtc()
94 tmp = VGA_RD08(par->PCIO, par->IOBase + 0x0a); in NVWriteAttr()
99 VGA_WR08(par->PCIO, VGA_ATT_IW, index); in NVWriteAttr()
100 VGA_WR08(par->PCIO, VGA_ATT_W, value); in NVWriteAttr()
106 tmp = VGA_RD08(par->PCIO, par->IOBase + 0x0a); in NVReadAttr()
111 VGA_WR08(par->PCIO, VGA_ATT_IW, index); in NVReadAttr()
112 return (VGA_RD08(par->PCIO, VGA_ATT_R)); in NVReadAttr()
127 tmp = VGA_RD08(par->PCIO, par->IOBase + 0x0a);
128 VGA_WR08(par->PCIO, VGA_ATT_IW, 0x00);
135 tmp = VGA_RD08(par->PCIO, par->IOBase + 0x0a);
136 VGA_WR08(par->PCIO, VGA_ATT_IW, 0x20);
212 par->PCIO = par->PCIO0 + 0x2000; in NVSelectHeadRegisters()
217 par->PCIO = par->PCIO0; in NVSelectHeadRegisters()
438 VGA_WR08(par->PCIO, 0x03D4, 0x28); in NVCommonSetup()
439 if (VGA_RD08(par->PCIO, 0x03D5) & 0x80) { in NVCommonSetup()
440 VGA_WR08(par->PCIO, 0x03D4, 0x33); in NVCommonSetup()
441 if (!(VGA_RD08(par->PCIO, 0x03D5) & 0x01)) in NVCommonSetup()
485 VGA_WR08(par->PCIO, 0x03D4, 0x44); in NVCommonSetup()
486 cr44 = VGA_RD08(par->PCIO, 0x03D5); in NVCommonSetup()
488 VGA_WR08(par->PCIO, 0x03D5, 3); in NVCommonSetup()
492 VGA_WR08(par->PCIO, 0x03D4, 0x28); in NVCommonSetup()
493 slaved_on_B = VGA_RD08(par->PCIO, 0x03D5) & 0x80; in NVCommonSetup()
495 VGA_WR08(par->PCIO, 0x03D4, 0x33); in NVCommonSetup()
496 tvB = !(VGA_RD08(par->PCIO, 0x03D5) & 0x01); in NVCommonSetup()
499 VGA_WR08(par->PCIO, 0x03D4, 0x44); in NVCommonSetup()
500 VGA_WR08(par->PCIO, 0x03D5, 0); in NVCommonSetup()
504 VGA_WR08(par->PCIO, 0x03D4, 0x28); in NVCommonSetup()
505 slaved_on_A = VGA_RD08(par->PCIO, 0x03D5) & 0x80; in NVCommonSetup()
507 VGA_WR08(par->PCIO, 0x03D4, 0x33); in NVCommonSetup()
508 tvA = !(VGA_RD08(par->PCIO, 0x03D5) & 0x01); in NVCommonSetup()
638 VGA_WR08(par->PCIO, 0x03D4, 0x44); in NVCommonSetup()
639 VGA_WR08(par->PCIO, 0x03D5, cr44); in NVCommonSetup()