Lines Matching refs:nv_encoder

414 	struct nouveau_encoder *nv_encoder = nouveau_encoder(encoder);  in nv04_dac_commit()  local
422 nouveau_encoder_connector_get(nv_encoder)->base.name, in nv04_dac_commit()
423 nv_crtc->index, '@' + ffs(nv_encoder->dcb->or)); in nv04_dac_commit()
462 struct nouveau_encoder *nv_encoder = nouveau_encoder(encoder); in nv04_dac_dpms() local
465 if (nv_encoder->last_dpms == mode) in nv04_dac_dpms()
467 nv_encoder->last_dpms = mode; in nv04_dac_dpms()
470 mode, nv_encoder->dcb->index); in nv04_dac_dpms()
477 struct nouveau_encoder *nv_encoder = nouveau_encoder(encoder); in nv04_dac_save() local
481 nv_encoder->restore.output = NVReadRAMDAC(dev, 0, NV_PRAMDAC_DACCLK + in nv04_dac_save()
487 struct nouveau_encoder *nv_encoder = nouveau_encoder(encoder); in nv04_dac_restore() local
492 nv_encoder->restore.output); in nv04_dac_restore()
494 nv_encoder->last_dpms = NV_DPMS_CLEARED; in nv04_dac_restore()
499 struct nouveau_encoder *nv_encoder = nouveau_encoder(encoder); in nv04_dac_destroy() local
502 kfree(nv_encoder); in nv04_dac_destroy()
531 struct nouveau_encoder *nv_encoder = NULL; in nv04_dac_create() local
535 nv_encoder = kzalloc(sizeof(*nv_encoder), GFP_KERNEL); in nv04_dac_create()
536 if (!nv_encoder) in nv04_dac_create()
539 encoder = to_drm_encoder(nv_encoder); in nv04_dac_create()
541 nv_encoder->dcb = entry; in nv04_dac_create()
542 nv_encoder->or = ffs(entry->or) - 1; in nv04_dac_create()
544 nv_encoder->enc_save = nv04_dac_save; in nv04_dac_create()
545 nv_encoder->enc_restore = nv04_dac_restore; in nv04_dac_create()