Home
last modified time | relevance | path

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

/drivers/video/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.c1568 NV_WR32(chip->PRAMDAC, 0x00000404, NV_RD32(chip->PRAMDAC, 0x00000404) | (1 << 25)); in LoadStateExt()
1665 NV_WR32(chip->PRAMDAC, 0x0528, state->dither); in LoadStateExt()
1668 NV_WR32(chip->PRAMDAC, 0x083C, state->dither); in LoadStateExt()
1716 NV_WR32(chip->PRAMDAC, 0x00000848 , state->scale); in LoadStateExt()
1718 NV_WR32(chip->PRAMDAC, 0x00000600 , state->general); in LoadStateExt()
1774 state->general = NV_RD32(chip->PRAMDAC, 0x00000600); in UnloadStateExt()
1775 state->scale = NV_RD32(chip->PRAMDAC, 0x00000848); in UnloadStateExt()
1821 state->dither = NV_RD32(chip->PRAMDAC, 0x0528); in UnloadStateExt()
1824 state->dither = NV_RD32(chip->PRAMDAC, 0x083C); in UnloadStateExt()
Driva_hw.h461 volatile U032 __iomem *PRAMDAC; member
Dfbdev.c799 newmode.ext.scale = NV_RD32(par->riva.PRAMDAC, 0x00000848) & in riva_load_video_mode()
1621 NV_WR32(par->riva.PRAMDAC, 0x0000300, temp); in rivafb_cursor()
/drivers/video/nvidia/
Dnv_setup.c168 volatile u32 __iomem *PRAMDAC = par->PRAMDAC0; in NVIsConnected() local
173 dac0_reg608 = NV_RD32(PRAMDAC, 0x0608); in NVIsConnected()
174 PRAMDAC += 0x800; in NVIsConnected()
177 reg52C = NV_RD32(PRAMDAC, 0x052C); in NVIsConnected()
178 reg608 = NV_RD32(PRAMDAC, 0x0608); in NVIsConnected()
180 NV_WR32(PRAMDAC, 0x0608, reg608 & ~0x00010000); in NVIsConnected()
182 NV_WR32(PRAMDAC, 0x052C, reg52C & 0x0000FEEE); in NVIsConnected()
184 NV_WR32(PRAMDAC, 0x052C, NV_RD32(PRAMDAC, 0x052C) | 1); in NVIsConnected()
192 present = (NV_RD32(PRAMDAC, 0x0608) & (1 << 28)) ? 1 : 0; in NVIsConnected()
202 NV_WR32(PRAMDAC, 0x052C, reg52C); in NVIsConnected()
[all …]
Dnv_hw.c83 NV_WR32(par->PRAMDAC, 0x0300, NV_RD32(par->PRAMDAC, 0x0300)); in NVShowHideCursor()
1273 NV_WR32(par->PRAMDAC, 0x0608, in NVLoadStateExt()
1274 NV_RD32(par->PRAMDAC, in NVLoadStateExt()
1286 NV_WR32(par->PRAMDAC, 0x0608, in NVLoadStateExt()
1287 NV_RD32(par->PRAMDAC, 0x0608) | in NVLoadStateExt()
1293 NV_WR32(par->PRAMDAC, 0x0608, in NVLoadStateExt()
1294 NV_RD32(par->PRAMDAC, 0x0608) | in NVLoadStateExt()
1521 NV_WR32(par->PRAMDAC, 0x0404, NV_RD32(par->PRAMDAC, 0x0404) | in NVLoadStateExt()
1538 NV_WR32(par->PRAMDAC, 0x0528, state->dither); in NVLoadStateExt()
1540 NV_WR32(par->PRAMDAC, 0x083C, state->dither); in NVLoadStateExt()
[all …]
Dnv_backlight.c68 fpcontrol = NV_RD32(par->PRAMDAC, 0x0848) & 0xCFFFFFCC; in nvidia_bl_update_status()
80 NV_WR32(par->PRAMDAC, 0x848, fpcontrol); in nvidia_bl_update_status()
Dnvidia.c427 state->scale = NV_RD32(par->PRAMDAC, 0x00000848) & 0xfff000ff; in nvidia_calc_regs()
437 state->crtcSync = NV_RD32(par->PRAMDAC, 0x0828); in nvidia_calc_regs()
485 state->dither = NV_RD32(par->PRAMDAC, 0x0528) & in nvidia_calc_regs()
490 state->dither = NV_RD32(par->PRAMDAC, 0x083C) & ~1; in nvidia_calc_regs()
566 NV_WR32(par->PRAMDAC, 0x0000300, temp); in nvidiafb_cursor()
631 par->FPDither = !!(NV_RD32(par->PRAMDAC, 0x0528) in nvidiafb_set_par()
634 par->FPDither = !!(NV_RD32(par->PRAMDAC, 0x083C) & 1); in nvidiafb_set_par()
Dnv_type.h179 volatile u32 __iomem *PRAMDAC; member