Lines Matching refs:head

69 			int head, bool dl)  in nv04_dfp_bind_head()  argument
81 if (head != ramdac) in nv04_dfp_bind_head()
93 void nv04_dfp_disable(struct drm_device *dev, int head) in nv04_dfp_disable() argument
97 if (NVReadRAMDAC(dev, head, NV_PRAMDAC_FP_TG_CONTROL) & in nv04_dfp_disable()
103 NVWriteRAMDAC(dev, head, NV_PRAMDAC_FP_TG_CONTROL, in nv04_dfp_disable()
108 crtcstate[head].fp_control = FP_TG_CONTROL_OFF; in nv04_dfp_disable()
109 crtcstate[head].CRTC[NV_CIO_CRE_LCD__INDEX] &= in nv04_dfp_disable()
135 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in nv04_dfp_update_fp_control()
171 list_for_each_entry(slave, &dev->mode_config.encoder_list, head) { in get_tmds_slave()
204 struct nouveau_encoder *nv_encoder, int head) in nv04_dfp_prepare_sel_clk() argument
216 if (head) in nv04_dfp_prepare_sel_clk()
240 state->sel_clk |= (head ? 0x40 : 0x10) << shift; in nv04_dfp_prepare_sel_clk()
249 int head = nouveau_crtc(encoder->crtc)->index; in nv04_dfp_prepare() local
251 uint8_t *cr_lcd = &crtcstate[head].CRTC[NV_CIO_CRE_LCD__INDEX]; in nv04_dfp_prepare()
252 uint8_t *cr_lcd_oth = &crtcstate[head ^ 1].CRTC[NV_CIO_CRE_LCD__INDEX]; in nv04_dfp_prepare()
256 nv04_dfp_prepare_sel_clk(dev, nv_encoder, head); in nv04_dfp_prepare()
262 *cr_lcd |= head ? 0x0 : 0x8; in nv04_dfp_prepare()
270 NVWriteVgaCrtc(dev, head ^ 1, in nv04_dfp_prepare()
452 int head = nouveau_crtc(encoder->crtc)->index; in nv04_dfp_commit() local
456 run_tmds_table(dev, dcbe, head, nv_encoder->mode.clock); in nv04_dfp_commit()
458 call_lvds_script(dev, dcbe, head, LVDS_RESET, nv_encoder->mode.clock); in nv04_dfp_commit()
462 nv04_display(dev)->mode_reg.crtc_reg[head].fp_control = in nv04_dfp_commit()
463 NVReadRAMDAC(dev, head, NV_PRAMDAC_FP_TG_CONTROL); in nv04_dfp_commit()
533 int head = crtc ? nouveau_crtc(crtc)->index : in nv04_lvds_dpms() local
537 call_lvds_script(dev, nv_encoder->dcb, head, in nv04_lvds_dpms()
543 call_lvds_script(dev, nv_encoder->dcb, head, in nv04_lvds_dpms()
581 nv_encoder->restore.head = in nv04_dfp_save()
589 int head = nv_encoder->restore.head; in nv04_dfp_restore() local
596 call_lvds_script(dev, nv_encoder->dcb, head, in nv04_dfp_restore()
602 (&nv04_display(dev)->saved_reg.crtc_reg[head].pllvals); in nv04_dfp_restore()
604 run_tmds_table(dev, nv_encoder->dcb, head, clock); in nv04_dfp_restore()