Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/gpu/drm/nouveau/dispnv04/
Ddac.c161 NVWriteRAMDAC(dev, 0, NV_PRAMDAC_TEST_CONTROL, in nv04_dac_detect()
179 NVWriteRAMDAC(dev, 0, NV_PRAMDAC_GENERAL_CONTROL, in nv04_dac_detect()
217 NVWriteRAMDAC(dev, 0, NV_PRAMDAC_GENERAL_CONTROL, saved_rgen_ctrl); in nv04_dac_detect()
221 NVWriteRAMDAC(dev, 0, NV_PRAMDAC_TEST_CONTROL, saved_rtest_ctrl); in nv04_dac_detect()
261 NVWriteRAMDAC(dev, 0, NV_PRAMDAC_TEST_CONTROL + regoffset, in nv17_dac_sample_load()
298 NVWriteRAMDAC(dev, 0, NV_PRAMDAC_DACCLK + regoffset, routput); in nv17_dac_sample_load()
302 NVWriteRAMDAC(dev, 0, NV_PRAMDAC_DACCLK + regoffset, temp | 1); in nv17_dac_sample_load()
304 NVWriteRAMDAC(dev, head, NV_PRAMDAC_TESTPOINT_DATA, in nv17_dac_sample_load()
307 NVWriteRAMDAC(dev, head, NV_PRAMDAC_TEST_CONTROL, in nv17_dac_sample_load()
316 NVWriteRAMDAC(dev, head, NV_PRAMDAC_TEST_CONTROL, in nv17_dac_sample_load()
[all …]
Dhw.c446 NVWriteRAMDAC(dev, 0, NV_PRAMDAC_FP_DEBUG_0, regp->fp_debug_0 & in nv_save_state_ramdac()
479 NVWriteRAMDAC(dev, head, NV_RAMDAC_NV10_CURSYNC, regp->nv10_cursync); in nv_load_state_ramdac()
482 NVWriteRAMDAC(dev, 0, NV_PRAMDAC_PLL_COEFF_SELECT, state->pllsel); in nv_load_state_ramdac()
484 NVWriteRAMDAC(dev, 0, NV_PRAMDAC_SEL_CLK, state->sel_clk); in nv_load_state_ramdac()
486 NVWriteRAMDAC(dev, head, NV_RAMDAC_DITHER_NV11, regp->dither); in nv_load_state_ramdac()
488 NVWriteRAMDAC(dev, head, NV_PRAMDAC_GENERAL_CONTROL, regp->ramdac_gen_ctrl); in nv_load_state_ramdac()
491 NVWriteRAMDAC(dev, head, NV_PRAMDAC_630, regp->ramdac_630); in nv_load_state_ramdac()
493 NVWriteRAMDAC(dev, head, NV_PRAMDAC_634, regp->ramdac_634); in nv_load_state_ramdac()
495 NVWriteRAMDAC(dev, head, NV_PRAMDAC_TV_SETUP, regp->tv_setup); in nv_load_state_ramdac()
496 NVWriteRAMDAC(dev, head, NV_PRAMDAC_TV_VTOTAL, regp->tv_vtotal); in nv_load_state_ramdac()
[all …]
Dtvnv17.c80 NVWriteRAMDAC(dev, head, NV_PRAMDAC_FP_HTOTAL, 1343); in nv42_tv_sample_load()
81 NVWriteRAMDAC(dev, head, NV_PRAMDAC_FP_HSYNC_START, 1047); in nv42_tv_sample_load()
82 NVWriteRAMDAC(dev, head, NV_PRAMDAC_FP_HSYNC_END, 1183); in nv42_tv_sample_load()
83 NVWriteRAMDAC(dev, head, NV_PRAMDAC_FP_TG_CONTROL, in nv42_tv_sample_load()
90 NVWriteRAMDAC(dev, 0, NV_PRAMDAC_TEST_CONTROL + regoffset, 0); in nv42_tv_sample_load()
92 NVWriteRAMDAC(dev, 0, NV_PRAMDAC_DACCLK + regoffset, in nv42_tv_sample_load()
95 NVWriteRAMDAC(dev, 0, NV_PRAMDAC_DACCLK + regoffset, in nv42_tv_sample_load()
98 NVWriteRAMDAC(dev, head, 0x680c1c, 1 << 20); in nv42_tv_sample_load()
99 NVWriteRAMDAC(dev, head, 0x680c14, 4 << 16); in nv42_tv_sample_load()
102 NVWriteRAMDAC(dev, head, 0x680c6c, testval >> 10 & 0x3ff); in nv42_tv_sample_load()
[all …]
Dhw.h90 static inline void NVWriteRAMDAC(struct drm_device *dev, in NVWriteRAMDAC() function
104 NVWriteRAMDAC(dev, ramdac, NV_PRAMDAC_FP_TMDS_CONTROL + dl * 8, in nv_read_tmds()
115 NVWriteRAMDAC(dev, ramdac, NV_PRAMDAC_FP_TMDS_DATA + dl * 8, data); in nv_write_tmds()
116 NVWriteRAMDAC(dev, ramdac, NV_PRAMDAC_FP_TMDS_CONTROL + dl * 8, address); in nv_write_tmds()
349 NVWriteRAMDAC(dev, head, NV_PRAMDAC_CU_START_POS, curpos); in nv_fix_nv40_hw_cursor()
Ddfp.c63 NVWriteRAMDAC(dev, ramdac, NV_PRAMDAC_FP_TMDS_CONTROL, in nv04_dfp_get_bound_head()
103 NVWriteRAMDAC(dev, head, NV_PRAMDAC_FP_TG_CONTROL, in nv04_dfp_disable()
133 NVWriteRAMDAC(dev, nv_crtc->index, NV_PRAMDAC_FP_TG_CONTROL, *fpc); in nv04_dfp_update_fp_control()
145 NVWriteRAMDAC(dev, nv_crtc->index, in nv04_dfp_update_fp_control()
469 NVWriteRAMDAC(dev, 0, NV_PRAMDAC_TEST_CONTROL + nv04_dac_output_offset(encoder), 0xf0000000); in nv04_dfp_commit()
471 NVWriteRAMDAC(dev, 0, NV_PRAMDAC_TEST_CONTROL + nv04_dac_output_offset(encoder), 0x00100000); in nv04_dfp_commit()
559 NVWriteRAMDAC(dev, 0, NV_PRAMDAC_SEL_CLK, nv04_display(dev)->mode_reg.sel_clk); in nv04_lvds_dpms()
Dtvmodesnv17.c582 NVWriteRAMDAC(dev, head, NV_PRAMDAC_FP_HVALID_START, in nv17_ctv_update_rescaler()
584 NVWriteRAMDAC(dev, head, NV_PRAMDAC_FP_HVALID_END, in nv17_ctv_update_rescaler()
586 NVWriteRAMDAC(dev, head, NV_PRAMDAC_FP_VVALID_START, in nv17_ctv_update_rescaler()
588 NVWriteRAMDAC(dev, head, NV_PRAMDAC_FP_VVALID_END, in nv17_ctv_update_rescaler()
590 NVWriteRAMDAC(dev, head, NV_PRAMDAC_FP_DEBUG_1, regs->fp_debug_1); in nv17_ctv_update_rescaler()
Dtvnv04.c100 NVWriteRAMDAC(dev, 0, NV_PRAMDAC_PLL_COEFF_SELECT, state->pllsel); in nv04_tv_dpms()
120 NVWriteRAMDAC(dev, head, NV_PRAMDAC_TV_SETUP, in nv04_tv_bind()
Dcursor.c24 NVWriteRAMDAC(nv_crtc->base.dev, nv_crtc->index, in nv04_cursor_set_pos()
Dcrtc.c88 NVWriteRAMDAC(crtc->dev, nv_crtc->index, NV_PRAMDAC_634, regp->ramdac_634); in nv_crtc_set_image_sharpening()
659 NVWriteRAMDAC(dev, 0, NV_PRAMDAC_SEL_CLK, nv04_display(dev)->mode_reg.sel_clk); in nv_crtc_mode_set()
721 NVWriteRAMDAC(dev, nv_crtc->index, NV_PRAMDAC_900, reg900 & ~0x10000); in nv_crtc_prepare()
868 NVWriteRAMDAC(dev, nv_crtc->index, NV_PRAMDAC_GENERAL_CONTROL, in nv04_crtc_do_mode_set_base()
/Linux-v5.15/drivers/gpu/drm/nouveau/
Dnouveau_bios.c252 NVWriteRAMDAC(dev, 0, NV_PRAMDAC_SEL_CLK, sel_clk | sel_clk_binding); in call_lvds_script()
676 NVWriteRAMDAC(dev, 0, NV_PRAMDAC_SEL_CLK, sel_clk | sel_clk_binding); in run_tmds_table()