Home
last modified time | relevance | path

Searched refs:VGA_RD08 (Results 1 – 9 of 9) sorted by relevance

/drivers/video/fbdev/nvidia/
Dnv_setup.c68 return (VGA_RD08(par->PCIO, par->IOBase + 0x05)); in NVReadCrtc()
78 return (VGA_RD08(par->PVIO, VGA_GFX_D)); in NVReadGr()
88 return (VGA_RD08(par->PVIO, VGA_SEQ_D)); in NVReadSeq()
94 tmp = VGA_RD08(par->PCIO, par->IOBase + 0x0a); in NVWriteAttr()
106 tmp = VGA_RD08(par->PCIO, par->IOBase + 0x0a); in NVReadAttr()
112 return (VGA_RD08(par->PCIO, VGA_ATT_R)); in NVReadAttr()
120 return (VGA_RD08(par->PVIO, VGA_MIS_R)); in NVReadMiscOut()
140 return (VGA_RD08(par->PDIO, VGA_PEL_D)); in NVReadDacData()
415 if (VGA_RD08(par->PCIO, 0x03D5) & 0x80) { in NVCommonSetup()
417 if (!(VGA_RD08(par->PCIO, 0x03D5) & 0x01)) in NVCommonSetup()
[all …]
Dnv_hw.c65 cr11 = VGA_RD08(par->PCIO, 0x3D5); in NVLockUnlock()
1615 state->repaint0 = VGA_RD08(par->PCIO, 0x03D5); in NVUnloadStateExt()
1617 state->repaint1 = VGA_RD08(par->PCIO, 0x03D5); in NVUnloadStateExt()
1619 state->screen = VGA_RD08(par->PCIO, 0x03D5); in NVUnloadStateExt()
1621 state->pixel = VGA_RD08(par->PCIO, 0x03D5); in NVUnloadStateExt()
1623 state->horiz = VGA_RD08(par->PCIO, 0x03D5); in NVUnloadStateExt()
1625 state->fifo = VGA_RD08(par->PCIO, 0x03D5); in NVUnloadStateExt()
1627 state->arbitration0 = VGA_RD08(par->PCIO, 0x03D5); in NVUnloadStateExt()
1629 state->arbitration1 = VGA_RD08(par->PCIO, 0x03D5); in NVUnloadStateExt()
1633 state->arbitration1 |= (VGA_RD08(par->PCIO, 0x03D5) & 1) << 8; in NVUnloadStateExt()
[all …]
Dnv_local.h71 #define VGA_RD08(p,i) (readb((void __iomem *)(p) + (i))) macro
Dnvidia.c436 state->fifo = VGA_RD08(par->PCIO, 0x03D5) & ~(1<<5); in nvidia_calc_regs()
651 tmp = VGA_RD08(par->PCIO, 0x3d5); in nvidiafb_set_par()
/drivers/video/fbdev/riva/
Drivafb-i2c.c34 val = VGA_RD08(par->riva.PCIO, 0x3d5) & 0xf0; in riva_gpio_setscl()
52 val = VGA_RD08(par->riva.PCIO, 0x3d5) & 0xf0; in riva_gpio_setsda()
70 if (VGA_RD08(par->riva.PCIO, 0x3d5) & 0x04) in riva_gpio_getscl()
83 if (VGA_RD08(par->riva.PCIO, 0x3d5) & 0x08) in riva_gpio_getsda()
Driva_hw.c93 cr11 = VGA_RD08(chip->PCIO, 0x3D5); in vgaLockUnlock()
1733 state->repaint0 = VGA_RD08(chip->PCIO, 0x03D5); in UnloadStateExt()
1735 state->repaint1 = VGA_RD08(chip->PCIO, 0x03D5); in UnloadStateExt()
1737 state->screen = VGA_RD08(chip->PCIO, 0x03D5); in UnloadStateExt()
1739 state->pixel = VGA_RD08(chip->PCIO, 0x03D5); in UnloadStateExt()
1741 state->horiz = VGA_RD08(chip->PCIO, 0x03D5); in UnloadStateExt()
1743 state->arbitration0 = VGA_RD08(chip->PCIO, 0x03D5); in UnloadStateExt()
1745 state->arbitration1 = VGA_RD08(chip->PCIO, 0x03D5); in UnloadStateExt()
1747 state->cursor0 = VGA_RD08(chip->PCIO, 0x03D5); in UnloadStateExt()
1749 state->cursor1 = VGA_RD08(chip->PCIO, 0x03D5); in UnloadStateExt()
[all …]
Dfbdev.c395 return (VGA_RD08(par->riva.PCIO, 0x3d5)); in CRTCin()
409 return (VGA_RD08(par->riva.PVIO, 0x3cf)); in GRAin()
423 return (VGA_RD08(par->riva.PVIO, 0x3c5)); in SEQin()
437 return (VGA_RD08(par->riva.PCIO, 0x3c1)); in ATTRin()
447 return (VGA_RD08(par->riva.PVIO, 0x3cc)); in MISCin()
567 *red = VGA_RD08(chip->PDIO, 0x3c9); in riva_rclut()
568 *green = VGA_RD08(chip->PDIO, 0x3c9); in riva_rclut()
569 *blue = VGA_RD08(chip->PDIO, 0x3c9); in riva_rclut()
Dnv_driver.c48 return (VGA_RD08(par->riva.PVIO, 0x3cc)); in MISCin()
Driva_hw.h86 #define VGA_RD08(p,i) (readb((void __iomem *)(p) + (i))) macro