Lines Matching refs:head
85 int head = nouveau_crtc(encoder->crtc)->index; in nv04_tv_dpms() local
86 crtc1A = NVReadVgaCrtc(dev, head, NV_CIO_CRE_RPC1_INDEX); in nv04_tv_dpms()
88 state->pllsel |= head ? PLLSEL_TV_CRTC2_MASK : in nv04_tv_dpms()
94 NVWriteVgaCrtc(dev, head, NV_CIO_CRE_RPC1_INDEX, crtc1A); in nv04_tv_dpms()
102 static void nv04_tv_bind(struct drm_device *dev, int head, bool bind) in nv04_tv_bind() argument
104 struct nv04_crtc_reg *state = &nv04_display(dev)->mode_reg.crtc_reg[head]; in nv04_tv_bind()
113 NVWriteVgaCrtc(dev, head, NV_CIO_CRE_LCD__INDEX, in nv04_tv_bind()
115 NVWriteVgaCrtc(dev, head, NV_CIO_CRE_49, in nv04_tv_bind()
117 NVWriteRAMDAC(dev, head, NV_PRAMDAC_TV_SETUP, in nv04_tv_bind()
124 int head = nouveau_crtc(encoder->crtc)->index; in nv04_tv_prepare() local
129 nv04_dfp_disable(dev, head); in nv04_tv_prepare()
132 nv04_tv_bind(dev, head ^ 1, false); in nv04_tv_prepare()
134 nv04_tv_bind(dev, head, true); in nv04_tv_prepare()