/linux-4.4.14/drivers/video/fbdev/nvidia/ |
H A D | nv_setup.c | 68 return (VGA_RD08(par->PCIO, par->IOBase + 0x05)); NVReadCrtc() 78 return (VGA_RD08(par->PVIO, VGA_GFX_D)); NVReadGr() 88 return (VGA_RD08(par->PVIO, VGA_SEQ_D)); NVReadSeq() 94 tmp = VGA_RD08(par->PCIO, par->IOBase + 0x0a); NVWriteAttr() 106 tmp = VGA_RD08(par->PCIO, par->IOBase + 0x0a); NVReadAttr() 112 return (VGA_RD08(par->PCIO, VGA_ATT_R)); NVReadAttr() 120 return (VGA_RD08(par->PVIO, VGA_MIS_R)); NVReadMiscOut() 127 tmp = VGA_RD08(par->PCIO, par->IOBase + 0x0a); 135 tmp = VGA_RD08(par->PCIO, par->IOBase + 0x0a); 147 return (VGA_RD08(par->PDIO, VGA_PEL_MSK)); 164 return (VGA_RD08(par->PDIO, VGA_PEL_D)); NVReadDacData() 438 if (VGA_RD08(par->PCIO, 0x03D5) & 0x80) { NVCommonSetup() 440 if (!(VGA_RD08(par->PCIO, 0x03D5) & 0x01)) NVCommonSetup() 485 cr44 = VGA_RD08(par->PCIO, 0x03D5); NVCommonSetup() 492 slaved_on_B = VGA_RD08(par->PCIO, 0x03D5) & 0x80; NVCommonSetup() 495 tvB = !(VGA_RD08(par->PCIO, 0x03D5) & 0x01); NVCommonSetup() 504 slaved_on_A = VGA_RD08(par->PCIO, 0x03D5) & 0x80; NVCommonSetup() 507 tvA = !(VGA_RD08(par->PCIO, 0x03D5) & 0x01); NVCommonSetup()
|
H A D | nv_hw.c | 65 cr11 = VGA_RD08(par->PCIO, 0x3D5); NVLockUnlock() 1614 state->repaint0 = VGA_RD08(par->PCIO, 0x03D5); NVUnloadStateExt() 1616 state->repaint1 = VGA_RD08(par->PCIO, 0x03D5); NVUnloadStateExt() 1618 state->screen = VGA_RD08(par->PCIO, 0x03D5); NVUnloadStateExt() 1620 state->pixel = VGA_RD08(par->PCIO, 0x03D5); NVUnloadStateExt() 1622 state->horiz = VGA_RD08(par->PCIO, 0x03D5); NVUnloadStateExt() 1624 state->fifo = VGA_RD08(par->PCIO, 0x03D5); NVUnloadStateExt() 1626 state->arbitration0 = VGA_RD08(par->PCIO, 0x03D5); NVUnloadStateExt() 1628 state->arbitration1 = VGA_RD08(par->PCIO, 0x03D5); NVUnloadStateExt() 1632 state->arbitration1 |= (VGA_RD08(par->PCIO, 0x03D5) & 1) << 8; NVUnloadStateExt() 1636 state->cursor0 = VGA_RD08(par->PCIO, 0x03D5); NVUnloadStateExt() 1638 state->cursor1 = VGA_RD08(par->PCIO, 0x03D5); NVUnloadStateExt() 1640 state->cursor2 = VGA_RD08(par->PCIO, 0x03D5); NVUnloadStateExt() 1642 state->interlace = VGA_RD08(par->PCIO, 0x03D5); NVUnloadStateExt() 1663 state->crtcOwner = VGA_RD08(par->PCIO, 0x03D5); NVUnloadStateExt() 1666 state->extra = VGA_RD08(par->PCIO, 0x03D5); NVUnloadStateExt() 1677 state->timingH = VGA_RD08(par->PCIO, 0x03D5); NVUnloadStateExt() 1679 state->timingV = VGA_RD08(par->PCIO, 0x03D5); NVUnloadStateExt()
|
H A D | nv_local.h | 71 #define VGA_RD08(p,i) (readb((void __iomem *)(p) + (i))) macro
|
H A D | nvidia.c | 441 state->fifo = VGA_RD08(par->PCIO, 0x03D5) & ~(1<<5); nvidia_calc_regs() 654 tmp = VGA_RD08(par->PCIO, 0x3d5); nvidiafb_set_par()
|
/linux-4.4.14/drivers/video/fbdev/riva/ |
H A D | rivafb-i2c.c | 34 val = VGA_RD08(par->riva.PCIO, 0x3d5) & 0xf0; riva_gpio_setscl() 52 val = VGA_RD08(par->riva.PCIO, 0x3d5) & 0xf0; riva_gpio_setsda() 70 if (VGA_RD08(par->riva.PCIO, 0x3d5) & 0x04) riva_gpio_getscl() 83 if (VGA_RD08(par->riva.PCIO, 0x3d5) & 0x08) riva_gpio_getsda()
|
H A D | riva_hw.c | 93 cr11 = VGA_RD08(chip->PCIO, 0x3D5); vgaLockUnlock() 1749 state->repaint0 = VGA_RD08(chip->PCIO, 0x03D5); UnloadStateExt() 1751 state->repaint1 = VGA_RD08(chip->PCIO, 0x03D5); UnloadStateExt() 1753 state->screen = VGA_RD08(chip->PCIO, 0x03D5); UnloadStateExt() 1755 state->pixel = VGA_RD08(chip->PCIO, 0x03D5); UnloadStateExt() 1757 state->horiz = VGA_RD08(chip->PCIO, 0x03D5); UnloadStateExt() 1759 state->arbitration0 = VGA_RD08(chip->PCIO, 0x03D5); UnloadStateExt() 1761 state->arbitration1 = VGA_RD08(chip->PCIO, 0x03D5); UnloadStateExt() 1763 state->cursor0 = VGA_RD08(chip->PCIO, 0x03D5); UnloadStateExt() 1765 state->cursor1 = VGA_RD08(chip->PCIO, 0x03D5); UnloadStateExt() 1767 state->cursor2 = VGA_RD08(chip->PCIO, 0x03D5); UnloadStateExt() 1769 state->interlace = VGA_RD08(chip->PCIO, 0x03D5); UnloadStateExt() 1813 state->crtcOwner = VGA_RD08(chip->PCIO, 0x03D5); UnloadStateExt() 1816 state->extra = VGA_RD08(chip->PCIO, 0x03D5); UnloadStateExt() 1858 VGA_WR08(chip->PCIO, 0x3D4, 0x19); tmp = VGA_RD08(chip->PCIO, 0x3D5); SetStartAddress3() 1860 VGA_WR08(chip->PCIO, 0x3D4, 0x2D); tmp = VGA_RD08(chip->PCIO, 0x3D5); SetStartAddress3() 1865 offset = VGA_RD08(chip->PCIO, chip->IO + 0x0A); SetStartAddress3()
|
H A D | fbdev.c | 399 return (VGA_RD08(par->riva.PCIO, 0x3d5)); CRTCin() 413 return (VGA_RD08(par->riva.PVIO, 0x3cf)); GRAin() 427 return (VGA_RD08(par->riva.PVIO, 0x3c5)); SEQin() 441 return (VGA_RD08(par->riva.PCIO, 0x3c1)); ATTRin() 451 return (VGA_RD08(par->riva.PVIO, 0x3cc)); MISCin() 571 *red = VGA_RD08(chip->PDIO, 0x3c9); riva_rclut() 572 *green = VGA_RD08(chip->PDIO, 0x3c9); riva_rclut() 573 *blue = VGA_RD08(chip->PDIO, 0x3c9); riva_rclut()
|
H A D | nv_driver.c | 48 return (VGA_RD08(par->riva.PVIO, 0x3cc)); MISCin()
|
H A D | riva_hw.h | 86 #define VGA_RD08(p,i) (readb((void __iomem *)(p) + (i))) macro
|