Lines Matching refs:head
89 int head = nouveau_crtc(encoder->crtc)->index; in nv04_tv_dpms() local
90 crtc1A = NVReadVgaCrtc(dev, head, NV_CIO_CRE_RPC1_INDEX); in nv04_tv_dpms()
92 state->pllsel |= head ? PLLSEL_TV_CRTC2_MASK : in nv04_tv_dpms()
98 NVWriteVgaCrtc(dev, head, NV_CIO_CRE_RPC1_INDEX, crtc1A); in nv04_tv_dpms()
106 static void nv04_tv_bind(struct drm_device *dev, int head, bool bind) in nv04_tv_bind() argument
108 struct nv04_crtc_reg *state = &nv04_display(dev)->mode_reg.crtc_reg[head]; in nv04_tv_bind()
117 NVWriteVgaCrtc(dev, head, NV_CIO_CRE_LCD__INDEX, in nv04_tv_bind()
119 NVWriteVgaCrtc(dev, head, NV_CIO_CRE_49, in nv04_tv_bind()
121 NVWriteRAMDAC(dev, head, NV_PRAMDAC_TV_SETUP, in nv04_tv_bind()
128 int head = nouveau_crtc(encoder->crtc)->index; in nv04_tv_prepare() local
133 nv04_dfp_disable(dev, head); in nv04_tv_prepare()
136 nv04_tv_bind(dev, head ^ 1, false); in nv04_tv_prepare()
138 nv04_tv_bind(dev, head, true); in nv04_tv_prepare()