/linux-5.19.10/drivers/video/fbdev/nvidia/ |
D | nv_hw.c | 83 NV_WR32(par->PRAMDAC, 0x0300, NV_RD32(par->PRAMDAC, 0x0300)); in NVShowHideCursor() 950 NV_WR32(par->PMC, 0x0140, 0x00000000); in NVLoadStateExt() 951 NV_WR32(par->PMC, 0x0200, 0xFFFF00FF); in NVLoadStateExt() 952 NV_WR32(par->PMC, 0x0200, 0xFFFFFFFF); in NVLoadStateExt() 954 NV_WR32(par->PTIMER, 0x0200 * 4, 0x00000008); in NVLoadStateExt() 955 NV_WR32(par->PTIMER, 0x0210 * 4, 0x00000003); in NVLoadStateExt() 956 NV_WR32(par->PTIMER, 0x0140 * 4, 0x00000000); in NVLoadStateExt() 957 NV_WR32(par->PTIMER, 0x0100 * 4, 0xFFFFFFFF); in NVLoadStateExt() 961 NV_WR32(par->PFB, 0x0200, state->config); in NVLoadStateExt() 965 NV_WR32(par->PFB, 0x0240 + (i * 0x10), 0); in NVLoadStateExt() [all …]
|
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 …]
|
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() 161 NV_WR32(par->PRAMDAC0, 0x0608, NV_RD32(par->PRAMDAC0, 0x0608) | 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() [all …]
|
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); \
|
D | nv_backlight.c | 75 NV_WR32(par->PCRTC0, 0x081C, tmp_pcrt); in nvidia_bl_update_status() 76 NV_WR32(par->PMC, 0x10F0, tmp_pmc); in nvidia_bl_update_status() 77 NV_WR32(par->PRAMDAC, 0x848, fpcontrol); in nvidia_bl_update_status()
|
D | nvidia.c | 136 NV_WR32(&par->CURSOR[k++], 0, tmp); in nvidiafb_load_cursor_image() 552 NV_WR32(par->PRAMDAC, 0x0000300, temp); in nvidiafb_cursor()
|
/linux-5.19.10/drivers/video/fbdev/riva/ |
D | riva_hw.c | 1327 NV_WR32(&chip->dev[tbl##Table##dev[i][0]], 0, tbl##Table##dev[i][1]) 1330 NV_WR32(&chip->dev[tbl##Table##dev##_8BPP[i][0]], 0, tbl##Table##dev##_8BPP[i][1]) 1333 NV_WR32(&chip->dev[tbl##Table##dev##_15BPP[i][0]], 0, tbl##Table##dev##_15BPP[i][1]) 1336 NV_WR32(&chip->dev[tbl##Table##dev##_16BPP[i][0]], 0, tbl##Table##dev##_16BPP[i][1]) 1339 NV_WR32(&chip->dev[tbl##Table##dev##_32BPP[i][0]], 0, tbl##Table##dev##_32BPP[i][1]) 1387 NV_WR32(chip->PFB, 0x00000200, state->config); in LoadStateExt() 1413 NV_WR32(&chip->PRAMIN[0x00000502 + i], 0, (i << 12) | 0x03); in LoadStateExt() 1414 NV_WR32(chip->PGRAPH, 0x00000630, state->offset0); in LoadStateExt() 1415 NV_WR32(chip->PGRAPH, 0x00000634, state->offset1); in LoadStateExt() 1416 NV_WR32(chip->PGRAPH, 0x00000638, state->offset2); in LoadStateExt() [all …]
|
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()
|
D | fbdev.c | 310 NV_WR32(par->riva.PCRTC0, 0x081C, tmp_pcrt); in riva_bl_update_status() 311 NV_WR32(par->riva.PMC, 0x10F0, tmp_pmc); in riva_bl_update_status() 950 NV_WR32(&par->riva.Patt->Color0, 0, clr0); in riva_set_pattern() 951 NV_WR32(&par->riva.Patt->Color1, 0, clr1); in riva_set_pattern() 952 NV_WR32(par->riva.Patt->Monochrome, 0, pat0); in riva_set_pattern() 953 NV_WR32(par->riva.Patt->Monochrome, 4, pat1); in riva_set_pattern() 970 NV_WR32(&par->riva.Rop->Rop3, 0, rop); in riva_set_rop_solid() 979 NV_WR32(&par->riva.Clip->TopLeft, 0, 0x0); in riva_setup_accel() 980 NV_WR32(&par->riva.Clip->WidthHeight, 0, in riva_setup_accel() 1420 NV_WR32(&par->riva.Bitmap->Color1A, 0, color); in rivafb_fillrect() [all …]
|
D | riva_hw.h | 82 #define NV_WR32(p,i,d) (__raw_writel((d), (void __iomem *)(p) + (i))) macro
|