Lines Matching refs:dcb
132 nv_crtc->fp_users |= 1 << nouveau_encoder(encoder)->dcb->index;
139 nv_crtc->fp_users &= ~(1 << nouveau_encoder(encoder)->dcb->index);
155 struct dcb_output *dcb = nouveau_encoder(encoder)->dcb;
158 if (dcb->type != DCB_OUTPUT_TMDS || dcb->location == DCB_LOC_ON_CHIP)
172 struct dcb_output *slave_dcb = nouveau_encoder(slave)->dcb;
175 slave_dcb->tmdsconf.slave_addr == dcb->tmdsconf.slave_addr)
208 uint32_t bits1618 = nv_encoder->dcb->or & DCB_OUTPUT_A ? 0x10000 : 0x40000;
210 if (nv_encoder->dcb->location != DCB_LOC_ON_CHIP)
237 if (nv_encoder->dcb->type == DCB_OUTPUT_LVDS && nv04_display(dev)->saved_reg.sel_clk & 0xf0) {
262 if (nv_encoder->dcb->location == DCB_LOC_ON_CHIP)
265 *cr_lcd |= (nv_encoder->dcb->or << 4) & 0x30;
266 if (nv_encoder->dcb->type == DCB_OUTPUT_LVDS)
342 if (nv_encoder->dcb->location != DCB_LOC_ON_CHIP &&
345 if (nv_encoder->dcb->type == DCB_OUTPUT_LVDS) {
453 struct dcb_output *dcbe = nv_encoder->dcb;
484 nv_crtc->index, '@' + ffs(nv_encoder->dcb->or));
528 mode, nv_encoder->dcb->index);
533 if (nv_encoder->dcb->lvdsconf.use_power_scripts) {
538 nv04_dfp_get_bound_head(dev, nv_encoder->dcb);
541 call_lvds_script(dev, nv_encoder->dcb, head,
547 call_lvds_script(dev, nv_encoder->dcb, head,
573 mode, nv_encoder->dcb->index);
586 nv04_dfp_get_bound_head(dev, nv_encoder->dcb);
595 if (nv_encoder->dcb->type == DCB_OUTPUT_LVDS) {
600 call_lvds_script(dev, nv_encoder->dcb, head,
604 } else if (nv_encoder->dcb->type == DCB_OUTPUT_TMDS) {
608 run_tmds_table(dev, nv_encoder->dcb, head, clock);
628 struct dcb_output *dcb = nouveau_encoder(encoder)->dcb;
636 .addr = (dcb->tmdsconf.slave_addr == 0x7 ? 0x3a : 0x38),
709 nv_encoder->dcb = entry;