Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/video/fbdev/riva/
Dnv_driver.c54 volatile U032 __iomem *PRAMDAC = par->riva.PRAMDAC0; in riva_is_connected() local
58 if(second) PRAMDAC += 0x800; in riva_is_connected()
60 reg52C = NV_RD32(PRAMDAC, 0x052C); in riva_is_connected()
61 reg608 = NV_RD32(PRAMDAC, 0x0608); in riva_is_connected()
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()
74 present = (NV_RD32(PRAMDAC, 0x0608) & (1 << 28)) ? TRUE : FALSE; in riva_is_connected()
79 NV_WR32(PRAMDAC, 0x052C, reg52C); in riva_is_connected()
80 NV_WR32(PRAMDAC, 0x0608, reg608); in riva_is_connected()
[all …]
Dnvreg.h149 #define PRAMDAC_Write(reg,value) DEVICE_WRITE(PRAMDAC,reg,value)
150 #define PRAMDAC_Read(reg) DEVICE_READ(PRAMDAC,reg)
151 #define PRAMDAC_Print(reg) DEVICE_PRINT(PRAMDAC,reg)
152 #define PRAMDAC_Def(mask,value) DEVICE_DEF(PRAMDAC,mask,value)
153 #define PRAMDAC_Val(mask,value) DEVICE_VALUE(PRAMDAC,mask,value)
154 #define PRAMDAC_Mask(mask) DEVICE_MASK(PRAMDAC,mask)
Driva_hw.c1531 NV_WR32(chip->PRAMDAC, 0x00000404, NV_RD32(chip->PRAMDAC, 0x00000404) | (1 << 25)); in LoadStateExt()
1628 NV_WR32(chip->PRAMDAC, 0x0528, state->dither); in LoadStateExt()
1631 NV_WR32(chip->PRAMDAC, 0x083C, state->dither); in LoadStateExt()
1679 NV_WR32(chip->PRAMDAC, 0x00000848 , state->scale); in LoadStateExt()
1681 NV_WR32(chip->PRAMDAC, 0x00000600 , state->general); in LoadStateExt()
1737 state->general = NV_RD32(chip->PRAMDAC, 0x00000600); in UnloadStateExt()
1738 state->scale = NV_RD32(chip->PRAMDAC, 0x00000848); in UnloadStateExt()
1784 state->dither = NV_RD32(chip->PRAMDAC, 0x0528); in UnloadStateExt()
1787 state->dither = NV_RD32(chip->PRAMDAC, 0x083C); in UnloadStateExt()
Driva_hw.h461 volatile U032 __iomem *PRAMDAC; member
Dfbdev.c785 newmode.ext.scale = NV_RD32(par->riva.PRAMDAC, 0x00000848) & in riva_load_video_mode()
1604 NV_WR32(par->riva.PRAMDAC, 0x0000300, temp); in rivafb_cursor()
/Linux-v6.1/drivers/video/fbdev/nvidia/
Dnv_setup.c142 volatile u32 __iomem *PRAMDAC = par->PRAMDAC0; in NVIsConnected() local
147 dac0_reg608 = NV_RD32(PRAMDAC, 0x0608); in NVIsConnected()
148 PRAMDAC += 0x800; in NVIsConnected()
151 reg52C = NV_RD32(PRAMDAC, 0x052C); in NVIsConnected()
152 reg608 = NV_RD32(PRAMDAC, 0x0608); in NVIsConnected()
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()
166 present = (NV_RD32(PRAMDAC, 0x0608) & (1 << 28)) ? 1 : 0; in NVIsConnected()
176 NV_WR32(PRAMDAC, 0x052C, reg52C); in NVIsConnected()
[all …]
Dnv_hw.c83 NV_WR32(par->PRAMDAC, 0x0300, NV_RD32(par->PRAMDAC, 0x0300)); in NVShowHideCursor()
1274 NV_WR32(par->PRAMDAC, 0x0608, in NVLoadStateExt()
1275 NV_RD32(par->PRAMDAC, in NVLoadStateExt()
1287 NV_WR32(par->PRAMDAC, 0x0608, in NVLoadStateExt()
1288 NV_RD32(par->PRAMDAC, 0x0608) | in NVLoadStateExt()
1294 NV_WR32(par->PRAMDAC, 0x0608, in NVLoadStateExt()
1295 NV_RD32(par->PRAMDAC, 0x0608) | in NVLoadStateExt()
1522 NV_WR32(par->PRAMDAC, 0x0404, NV_RD32(par->PRAMDAC, 0x0404) | in NVLoadStateExt()
1539 NV_WR32(par->PRAMDAC, 0x0528, state->dither); in NVLoadStateExt()
1541 NV_WR32(par->PRAMDAC, 0x083C, state->dither); in NVLoadStateExt()
[all …]
Dnv_backlight.c65 fpcontrol = NV_RD32(par->PRAMDAC, 0x0848) & 0xCFFFFFCC; in nvidia_bl_update_status()
77 NV_WR32(par->PRAMDAC, 0x848, fpcontrol); in nvidia_bl_update_status()
Dnvidia.c414 state->scale = NV_RD32(par->PRAMDAC, 0x00000848) & 0xfff000ff; in nvidia_calc_regs()
424 state->crtcSync = NV_RD32(par->PRAMDAC, 0x0828); in nvidia_calc_regs()
472 state->dither = NV_RD32(par->PRAMDAC, 0x0528) & in nvidia_calc_regs()
477 state->dither = NV_RD32(par->PRAMDAC, 0x083C) & ~1; in nvidia_calc_regs()
553 NV_WR32(par->PRAMDAC, 0x0000300, temp); in nvidiafb_cursor()
620 par->FPDither = !!(NV_RD32(par->PRAMDAC, 0x0528) in nvidiafb_set_par()
623 par->FPDither = !!(NV_RD32(par->PRAMDAC, 0x083C) & 1); in nvidiafb_set_par()
Dnv_type.h173 volatile u32 __iomem *PRAMDAC; member