Searched refs:VGA_RD08 (Results 1 – 9 of 9) sorted by relevance
/drivers/video/fbdev/nvidia/ |
D | nv_setup.c | 68 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 …]
|
D | nv_hw.c | 65 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 …]
|
D | nv_local.h | 71 #define VGA_RD08(p,i) (readb((void __iomem *)(p) + (i))) macro
|
D | nvidia.c | 436 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/ |
D | rivafb-i2c.c | 34 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()
|
D | riva_hw.c | 93 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 …]
|
D | fbdev.c | 395 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()
|
D | nv_driver.c | 48 return (VGA_RD08(par->riva.PVIO, 0x3cc)); in MISCin()
|
D | riva_hw.h | 86 #define VGA_RD08(p,i) (readb((void __iomem *)(p) + (i))) macro
|