Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/nouveau/dispnv04/
Dhw.c426 uint32_t ramdac_reg = NV_PRAMDAC_FP_VDISPLAY_END + (i * 4); in nv_save_state_ramdac() local
427 regp->fp_vert_regs[i] = NVReadRAMDAC(dev, head, ramdac_reg); in nv_save_state_ramdac()
428 regp->fp_horiz_regs[i] = NVReadRAMDAC(dev, head, ramdac_reg + 0x20); in nv_save_state_ramdac()
503 uint32_t ramdac_reg = NV_PRAMDAC_FP_VDISPLAY_END + (i * 4); in nv_load_state_ramdac() local
505 NVWriteRAMDAC(dev, head, ramdac_reg, regp->fp_vert_regs[i]); in nv_load_state_ramdac()
506 NVWriteRAMDAC(dev, head, ramdac_reg + 0x20, regp->fp_horiz_regs[i]); in nv_load_state_ramdac()