Lines Matching defs:encoder
216 * The following is some guesswork on how the TV encoder flicker
315 static void tv_setup_filter(struct drm_encoder *encoder)
317 struct nv17_tv_encoder *tv_enc = to_tv_enc(encoder);
318 struct nv17_tv_norm_params *tv_norm = get_tv_norm(encoder);
319 struct drm_display_mode *mode = &encoder->crtc->mode;
471 void nv17_tv_update_properties(struct drm_encoder *encoder)
473 struct drm_device *dev = encoder->dev;
474 struct nv17_tv_encoder *tv_enc = to_tv_enc(encoder);
476 struct nv17_tv_norm_params *tv_norm = get_tv_norm(encoder);
526 void nv17_tv_update_rescaler(struct drm_encoder *encoder)
528 struct drm_device *dev = encoder->dev;
529 struct nv17_tv_encoder *tv_enc = to_tv_enc(encoder);
534 tv_setup_filter(encoder);
542 void nv17_ctv_update_rescaler(struct drm_encoder *encoder)
544 struct drm_device *dev = encoder->dev;
545 struct nv17_tv_encoder *tv_enc = to_tv_enc(encoder);
546 int head = nouveau_crtc(encoder->crtc)->index;
548 struct drm_display_mode *crtc_mode = &encoder->crtc->mode;
550 &get_tv_norm(encoder)->ctv_enc_mode.mode;