Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/nouveau/dispnv04/
H A Dhw.c428 uint32_t ramdac_reg = NV_PRAMDAC_FP_VDISPLAY_END + (i * 4); in nv_save_state_ramdac() local
429 regp->fp_vert_regs[i] = NVReadRAMDAC(dev, head, ramdac_reg); in nv_save_state_ramdac()
430 regp->fp_horiz_regs[i] = NVReadRAMDAC(dev, head, ramdac_reg + 0x20); in nv_save_state_ramdac()
505 uint32_t ramdac_reg = NV_PRAMDAC_FP_VDISPLAY_END + (i * 4); in nv_load_state_ramdac() local
507 NVWriteRAMDAC(dev, head, ramdac_reg, regp->fp_vert_regs[i]); in nv_load_state_ramdac()
508 NVWriteRAMDAC(dev, head, ramdac_reg + 0x20, regp->fp_horiz_regs[i]); in nv_load_state_ramdac()