/linux-6.3-rc2/drivers/video/fbdev/nvidia/ |
A D | nv_hw.c | 1193 NV_WR32(par->PGRAPH, 0x0710, in NVLoadStateExt() 1195 NV_WR32(par->PGRAPH, 0x0710, in NVLoadStateExt() 1251 NV_WR32(par->PFB, 0x033C, in NVLoadStateExt() 1266 NV_WR32(par->PMC, 0x1700, in NVLoadStateExt() 1270 NV_WR32(par->PMC, 0x170C, in NVLoadStateExt() 1374 NV_WR32(par->PGRAPH, in NVLoadStateExt() 1378 NV_WR32(par->PGRAPH, in NVLoadStateExt() 1385 NV_WR32(par->PGRAPH, in NVLoadStateExt() 1395 NV_WR32(par->PGRAPH, in NVLoadStateExt() 1525 NV_WR32(par->PMC, 0x8704, 1); in NVLoadStateExt() [all …]
|
A D | nv_accel.c | 212 NV_WR32(&par->dmaBase[i], 0, 0x00000000); in NVResetGraphics() 214 NV_WR32(&par->dmaBase[0x0 + SKIPS], 0, 0x00040000); in NVResetGraphics() 215 NV_WR32(&par->dmaBase[0x1 + SKIPS], 0, 0x80000010); in NVResetGraphics() 216 NV_WR32(&par->dmaBase[0x2 + SKIPS], 0, 0x00042000); in NVResetGraphics() 217 NV_WR32(&par->dmaBase[0x3 + SKIPS], 0, 0x80000011); in NVResetGraphics() 218 NV_WR32(&par->dmaBase[0x4 + SKIPS], 0, 0x00044000); in NVResetGraphics() 219 NV_WR32(&par->dmaBase[0x5 + SKIPS], 0, 0x80000012); in NVResetGraphics() 220 NV_WR32(&par->dmaBase[0x6 + SKIPS], 0, 0x00046000); in NVResetGraphics() 221 NV_WR32(&par->dmaBase[0x7 + SKIPS], 0, 0x80000013); in NVResetGraphics() 222 NV_WR32(&par->dmaBase[0x8 + SKIPS], 0, 0x00048000); in NVResetGraphics() [all …]
|
A D | nv_setup.c | 154 NV_WR32(PRAMDAC, 0x0608, reg608 & ~0x00010000); in NVIsConnected() 156 NV_WR32(PRAMDAC, 0x052C, reg52C & 0x0000FEEE); in NVIsConnected() 158 NV_WR32(PRAMDAC, 0x052C, NV_RD32(PRAMDAC, 0x052C) | 1); in NVIsConnected() 160 NV_WR32(par->PRAMDAC0, 0x0610, 0x94050140); in NVIsConnected() 174 NV_WR32(par->PRAMDAC0, 0x0608, dac0_reg608); in NVIsConnected() 176 NV_WR32(PRAMDAC, 0x052C, reg52C); in NVIsConnected() 177 NV_WR32(PRAMDAC, 0x0608, reg608); in NVIsConnected() 235 NV_WR32(par->PMC, 0x0004, 0x01000001); in nv10GetConfig() 485 NV_WR32(par->PCRTC0, 0x00000860, oldhead | 0x00000010); in NVCommonSetup() 609 NV_WR32(par->PCRTC0, 0x00000860, oldhead); in NVCommonSetup() [all …]
|
A D | nv_local.h | 66 #define NV_WR32(p,i,d) (__raw_writel((d), (void __iomem *)(p) + (i))) macro 74 NV_WR32(&(par)->dmaBase[(par)->dmaCurrent++], 0, (data)) 92 NV_WR32(&(par)->FIFO[0x0010], 0, (data) << 2); \
|
A D | nv_backlight.c | 69 NV_WR32(par->PCRTC0, 0x081C, tmp_pcrt); in nvidia_bl_update_status() 70 NV_WR32(par->PMC, 0x10F0, tmp_pmc); in nvidia_bl_update_status() 71 NV_WR32(par->PRAMDAC, 0x848, fpcontrol); in nvidia_bl_update_status()
|
A D | nvidia.c | 137 NV_WR32(&par->CURSOR[k++], 0, tmp); in nvidiafb_load_cursor_image() 553 NV_WR32(par->PRAMDAC, 0x0000300, temp); in nvidiafb_cursor()
|
/linux-6.3-rc2/drivers/video/fbdev/riva/ |
A D | riva_hw.c | 1686 NV_WR32(chip->PCRTC, 0x00000140, 0); in LoadStateExt() 1798 NV_WR32(chip->PCRTC, 0x800, start); in SetStartAddress() 1845 NV_WR32(&Surface->Offset, 0, surf0); in nv3SetSurfaces2D() 1847 NV_WR32(&Surface->Offset, 0, surf1); in nv3SetSurfaces2D() 1861 NV_WR32(&Surface->Offset, 0, surf0); in nv4SetSurfaces2D() 1863 NV_WR32(&Surface->Offset, 0, surf1); in nv4SetSurfaces2D() 1877 NV_WR32(&Surface->Offset, 0, surf0); in nv10SetSurfaces2D() 1879 NV_WR32(&Surface->Offset, 0, surf1); in nv10SetSurfaces2D() 1894 NV_WR32(&Surface->Offset, 0, surf0); in nv3SetSurfaces3D() 1896 NV_WR32(&Surface->Offset, 0, surf1); in nv3SetSurfaces3D() [all …]
|
A D | nv_driver.c | 63 NV_WR32(PRAMDAC, 0x0608, reg608 & ~0x00010000); in riva_is_connected() 65 NV_WR32(PRAMDAC, 0x052C, reg52C & 0x0000FEEE); in riva_is_connected() 67 NV_WR32(PRAMDAC, 0x052C, NV_RD32(PRAMDAC, 0x052C) | 1); in riva_is_connected() 69 NV_WR32(par->riva.PRAMDAC0, 0x0610, 0x94050140); in riva_is_connected() 70 NV_WR32(par->riva.PRAMDAC0, 0x0608, 0x00001000); in riva_is_connected() 76 NV_WR32(par->riva.PRAMDAC0, 0x0608, in riva_is_connected() 79 NV_WR32(PRAMDAC, 0x052C, reg52C); in riva_is_connected() 80 NV_WR32(PRAMDAC, 0x0608, reg608); in riva_is_connected()
|
A D | fbdev.c | 306 NV_WR32(par->riva.PMC, 0x10F0, tmp_pmc); in riva_bl_update_status() 945 NV_WR32(&par->riva.Patt->Color0, 0, clr0); in riva_set_pattern() 946 NV_WR32(&par->riva.Patt->Color1, 0, clr1); in riva_set_pattern() 974 NV_WR32(&par->riva.Clip->TopLeft, 0, 0x0); in riva_setup_accel() 975 NV_WR32(&par->riva.Clip->WidthHeight, 0, in riva_setup_accel() 1449 NV_WR32(&par->riva.Blt->TopLeftSrc, 0, in rivafb_copyarea() 1451 NV_WR32(&par->riva.Blt->TopLeftDst, 0, in rivafb_copyarea() 1454 NV_WR32(&par->riva.Blt->WidthHeight, 0, in rivafb_copyarea() 1529 NV_WR32(&par->riva.Bitmap->PointE, 0, in rivafb_imageblit() 1542 NV_WR32(d, i*4, tmp); in rivafb_imageblit() [all …]
|
A D | riva_hw.h | 82 #define NV_WR32(p,i,d) (__raw_writel((d), (void __iomem *)(p) + (i))) macro
|