Home
last modified time | relevance | path

Searched refs:NV_WR32 (Results 1 – 10 of 10) sorted by relevance

/linux-5.19.10/drivers/video/fbdev/nvidia/
Dnv_hw.c83 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 …]
Dnv_accel.c212 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 …]
Dnv_setup.c154 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 …]
Dnv_local.h66 #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); \
Dnv_backlight.c75 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()
Dnvidia.c136 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/
Driva_hw.c1327 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 …]
Dnv_driver.c63 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()
Dfbdev.c310 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 …]
Driva_hw.h82 #define NV_WR32(p,i,d) (__raw_writel((d), (void __iomem *)(p) + (i))) macro