Searched refs:VGA_RD08 (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/drivers/video/fbdev/nvidia/ |
H A D | nv_setup.c | 78 return (VGA_RD08(par->PVIO, VGA_GFX_D)); in NVReadGr() 88 return (VGA_RD08(par->PVIO, VGA_SEQ_D)); in NVReadSeq() 93 VGA_RD08(par->PCIO, par->IOBase + 0x0a); in NVWriteAttr() 103 VGA_RD08(par->PCIO, par->IOBase + 0x0a); in NVReadAttr() 109 return (VGA_RD08(par->PCIO, VGA_ATT_R)); in NVReadAttr() 117 return (VGA_RD08(par->PVIO, VGA_MIS_R)); in NVReadMiscOut() 137 return (VGA_RD08(par->PDIO, VGA_PEL_D)); in NVReadDacData() 412 if (VGA_RD08(par->PCIO, 0x03D5) & 0x80) { in NVCommonSetup() 414 if (!(VGA_RD08(par->PCIO, 0x03D5) & 0x01)) in NVCommonSetup() 459 cr44 = VGA_RD08(par->PCIO, 0x03D5); in NVCommonSetup() [all …]
|
H A 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() 1637 state->cursor0 = VGA_RD08(par->PCIO, 0x03D5); in NVUnloadStateExt() 1639 state->cursor1 = VGA_RD08(par->PCIO, 0x03D5); in NVUnloadStateExt() 1641 state->cursor2 = VGA_RD08(par->PCIO, 0x03D5); in NVUnloadStateExt() 1643 state->interlace = VGA_RD08(par->PCIO, 0x03D5); in NVUnloadStateExt() [all …]
|
H A D | nv_local.h | 71 #define VGA_RD08(p,i) (readb((void __iomem *)(p) + (i))) macro
|
H A D | nvidia.c | 437 state->fifo = VGA_RD08(par->PCIO, 0x03D5) & ~(1<<5); in nvidia_calc_regs() 652 tmp = VGA_RD08(par->PCIO, 0x3d5); in nvidiafb_set_par()
|
/openbmc/linux/drivers/video/fbdev/riva/ |
H A 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()
|
H A D | riva_hw.c | 93 cr11 = VGA_RD08(chip->PCIO, 0x3D5); in vgaLockUnlock() 1713 state->repaint0 = VGA_RD08(chip->PCIO, 0x03D5); in UnloadStateExt() 1715 state->repaint1 = VGA_RD08(chip->PCIO, 0x03D5); in UnloadStateExt() 1717 state->screen = VGA_RD08(chip->PCIO, 0x03D5); in UnloadStateExt() 1719 state->pixel = VGA_RD08(chip->PCIO, 0x03D5); in UnloadStateExt() 1721 state->horiz = VGA_RD08(chip->PCIO, 0x03D5); in UnloadStateExt() 1723 state->arbitration0 = VGA_RD08(chip->PCIO, 0x03D5); in UnloadStateExt() 1725 state->arbitration1 = VGA_RD08(chip->PCIO, 0x03D5); in UnloadStateExt() 1727 state->cursor0 = VGA_RD08(chip->PCIO, 0x03D5); in UnloadStateExt() 1729 state->cursor1 = VGA_RD08(chip->PCIO, 0x03D5); in UnloadStateExt() [all …]
|
H A D | fbdev.c | 390 return (VGA_RD08(par->riva.PCIO, 0x3d5)); in CRTCin() 404 return (VGA_RD08(par->riva.PVIO, 0x3cf)); in GRAin() 418 return (VGA_RD08(par->riva.PVIO, 0x3c5)); in SEQin() 432 return (VGA_RD08(par->riva.PCIO, 0x3c1)); in ATTRin() 442 return (VGA_RD08(par->riva.PVIO, 0x3cc)); in MISCin() 562 *red = VGA_RD08(chip->PDIO, 0x3c9); in riva_rclut() 563 *green = VGA_RD08(chip->PDIO, 0x3c9); in riva_rclut() 564 *blue = VGA_RD08(chip->PDIO, 0x3c9); in riva_rclut()
|
H A D | nv_driver.c | 48 return (VGA_RD08(par->riva.PVIO, 0x3cc)); in MISCin()
|
H A D | riva_hw.h | 86 #define VGA_RD08(p,i) (readb((void __iomem *)(p) + (i))) macro
|