Lines Matching refs:nv_encoder
42 struct nouveau_encoder *nv_encoder = nouveau_encoder(encoder);
48 if (!nv_encoder->crtc)
50 nv50_crtc_blank(nouveau_crtc(nv_encoder->crtc), true);
52 NV_DEBUG_KMS(dev, "Disconnecting DAC %d\n", nv_encoder->or);
59 BEGIN_RING(evo, 0, NV50_EVO_DAC(nv_encoder->or, MODE_CTRL), 1);
64 nv_encoder->crtc = NULL;
70 struct nouveau_encoder *nv_encoder = nouveau_encoder(encoder);
75 int or = nv_encoder->or;
126 struct nouveau_encoder *nv_encoder = nouveau_encoder(encoder);
128 int or = nv_encoder->or;
182 struct nouveau_encoder *nv_encoder = nouveau_encoder(encoder);
185 NV_DEBUG_KMS(encoder->dev, "or %d\n", nv_encoder->or);
187 connector = nouveau_encoder_connector_get(nv_encoder);
217 struct nouveau_encoder *nv_encoder = nouveau_encoder(encoder);
226 nv_encoder->or, nv_encoder->dcb->type, crtc->index);
236 if (nv_encoder->dcb->type == OUTPUT_ANALOG)
239 if (nv_encoder->dcb->type == OUTPUT_TV)
253 BEGIN_RING(evo, 0, NV50_EVO_DAC(nv_encoder->or, MODE_CTRL), 2);
257 nv_encoder->crtc = encoder->crtc;
282 struct nouveau_encoder *nv_encoder = nouveau_encoder(encoder);
290 kfree(nv_encoder);
300 struct nouveau_encoder *nv_encoder;
303 nv_encoder = kzalloc(sizeof(*nv_encoder), GFP_KERNEL);
304 if (!nv_encoder)
306 encoder = to_drm_encoder(nv_encoder);
308 nv_encoder->dcb = entry;
309 nv_encoder->or = ffs(entry->or) - 1;