/linux-3.4.99/drivers/video/nvidia/ |
D | nv_hw.c | 83 NV_WR32(par->PRAMDAC, 0x0300, NV_RD32(par->PRAMDAC, 0x0300)); in NVShowHideCursor() 949 NV_WR32(par->PMC, 0x0140, 0x00000000); in NVLoadStateExt() 950 NV_WR32(par->PMC, 0x0200, 0xFFFF00FF); in NVLoadStateExt() 951 NV_WR32(par->PMC, 0x0200, 0xFFFFFFFF); in NVLoadStateExt() 953 NV_WR32(par->PTIMER, 0x0200 * 4, 0x00000008); in NVLoadStateExt() 954 NV_WR32(par->PTIMER, 0x0210 * 4, 0x00000003); in NVLoadStateExt() 955 NV_WR32(par->PTIMER, 0x0140 * 4, 0x00000000); in NVLoadStateExt() 956 NV_WR32(par->PTIMER, 0x0100 * 4, 0xFFFFFFFF); in NVLoadStateExt() 960 NV_WR32(par->PFB, 0x0200, state->config); in NVLoadStateExt() 964 NV_WR32(par->PFB, 0x0240 + (i * 0x10), 0); in NVLoadStateExt() [all …]
|
D | nv_accel.c | 210 NV_WR32(&par->dmaBase[i], 0, 0x00000000); in NVResetGraphics() 212 NV_WR32(&par->dmaBase[0x0 + SKIPS], 0, 0x00040000); in NVResetGraphics() 213 NV_WR32(&par->dmaBase[0x1 + SKIPS], 0, 0x80000010); in NVResetGraphics() 214 NV_WR32(&par->dmaBase[0x2 + SKIPS], 0, 0x00042000); in NVResetGraphics() 215 NV_WR32(&par->dmaBase[0x3 + SKIPS], 0, 0x80000011); in NVResetGraphics() 216 NV_WR32(&par->dmaBase[0x4 + SKIPS], 0, 0x00044000); in NVResetGraphics() 217 NV_WR32(&par->dmaBase[0x5 + SKIPS], 0, 0x80000012); in NVResetGraphics() 218 NV_WR32(&par->dmaBase[0x6 + SKIPS], 0, 0x00046000); in NVResetGraphics() 219 NV_WR32(&par->dmaBase[0x7 + SKIPS], 0, 0x80000013); in NVResetGraphics() 220 NV_WR32(&par->dmaBase[0x8 + SKIPS], 0, 0x00048000); in NVResetGraphics() [all …]
|
D | nv_setup.c | 181 NV_WR32(PRAMDAC, 0x0608, reg608 & ~0x00010000); in NVIsConnected() 183 NV_WR32(PRAMDAC, 0x052C, reg52C & 0x0000FEEE); in NVIsConnected() 185 NV_WR32(PRAMDAC, 0x052C, NV_RD32(PRAMDAC, 0x052C) | 1); in NVIsConnected() 187 NV_WR32(par->PRAMDAC0, 0x0610, 0x94050140); in NVIsConnected() 188 NV_WR32(par->PRAMDAC0, 0x0608, NV_RD32(par->PRAMDAC0, 0x0608) | in NVIsConnected() 201 NV_WR32(par->PRAMDAC0, 0x0608, dac0_reg608); in NVIsConnected() 203 NV_WR32(PRAMDAC, 0x052C, reg52C); in NVIsConnected() 204 NV_WR32(PRAMDAC, 0x0608, reg608); in NVIsConnected() 262 NV_WR32(par->PMC, 0x0004, 0x01000001); in nv10GetConfig() 511 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 | 78 NV_WR32(par->PCRTC0, 0x081C, tmp_pcrt); in nvidia_bl_update_status() 79 NV_WR32(par->PMC, 0x10F0, tmp_pmc); in nvidia_bl_update_status() 80 NV_WR32(par->PRAMDAC, 0x848, fpcontrol); in nvidia_bl_update_status()
|
D | nvidia.c | 149 NV_WR32(&par->CURSOR[k++], 0, tmp); in nvidiafb_load_cursor_image() 566 NV_WR32(par->PRAMDAC, 0x0000300, temp); in nvidiafb_cursor()
|
/linux-3.4.99/drivers/video/riva/ |
D | riva_hw.c | 1364 NV_WR32(&chip->dev[tbl##Table##dev[i][0]], 0, tbl##Table##dev[i][1]) 1367 NV_WR32(&chip->dev[tbl##Table##dev##_8BPP[i][0]], 0, tbl##Table##dev##_8BPP[i][1]) 1370 NV_WR32(&chip->dev[tbl##Table##dev##_15BPP[i][0]], 0, tbl##Table##dev##_15BPP[i][1]) 1373 NV_WR32(&chip->dev[tbl##Table##dev##_16BPP[i][0]], 0, tbl##Table##dev##_16BPP[i][1]) 1376 NV_WR32(&chip->dev[tbl##Table##dev##_32BPP[i][0]], 0, tbl##Table##dev##_32BPP[i][1]) 1424 NV_WR32(chip->PFB, 0x00000200, state->config); in LoadStateExt() 1450 NV_WR32(&chip->PRAMIN[0x00000502 + i], 0, (i << 12) | 0x03); in LoadStateExt() 1451 NV_WR32(chip->PGRAPH, 0x00000630, state->offset0); in LoadStateExt() 1452 NV_WR32(chip->PGRAPH, 0x00000634, state->offset1); in LoadStateExt() 1453 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 | 323 NV_WR32(par->riva.PCRTC0, 0x081C, tmp_pcrt); in riva_bl_update_status() 324 NV_WR32(par->riva.PMC, 0x10F0, tmp_pmc); in riva_bl_update_status() 969 NV_WR32(&par->riva.Patt->Color0, 0, clr0); in riva_set_pattern() 970 NV_WR32(&par->riva.Patt->Color1, 0, clr1); in riva_set_pattern() 971 NV_WR32(par->riva.Patt->Monochrome, 0, pat0); in riva_set_pattern() 972 NV_WR32(par->riva.Patt->Monochrome, 4, pat1); in riva_set_pattern() 989 NV_WR32(&par->riva.Rop->Rop3, 0, rop); in riva_set_rop_solid() 998 NV_WR32(&par->riva.Clip->TopLeft, 0, 0x0); in riva_setup_accel() 999 NV_WR32(&par->riva.Clip->WidthHeight, 0, in riva_setup_accel() 1442 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
|