• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/gpu/drm/nouveau/

Lines Matching defs:dcbent

298 	struct dcb_entry *dcbent = bios->display.output;
304 BUG_ON(!dcbent);
306 reg += (ffs(dcbent->or) - 1) * 0x800;
307 if ((reg & 0x20000000) && !(dcbent->sorconf.link & 1))
3833 struct dcb_entry *dcbent, int head, bool dl)
3844 NVWriteVgaCrtc5758(dev, head, 0, dcbent->index);
3847 nv04_dfp_bind_head(dev, dcbent, head, dl);
3850 static int call_lvds_manufacturer_script(struct drm_device *dev, struct dcb_entry *dcbent, int head, enum LVDS_script script)
3854 uint8_t sub = bios->data[bios->fp.xlated_entry + script] + (bios->fp.link_c_increment && dcbent->or & OUTPUT_C ? 1 : 0);
3860 run_digital_op_script(dev, scriptofs, dcbent, head, bios->fp.dual_link);
3871 nv_write_tmds(dev, dcbent->or, 0, 0x02, 0x72);
3877 static int run_lvds_table(struct drm_device *dev, struct dcb_entry *dcbent, int head, enum LVDS_script script, int pxclk)
3891 unsigned int outputset = (dcbent->or == 4) ? 1 : 0;
3912 if (dcbent->or == 4)
3915 if (dcbent->lvdsconf.use_straps_for_mode) {
3922 int cmpval_24bit = (dcbent->or == 4) ? 4 : 1;
3945 run_digital_op_script(dev, scriptptr, dcbent, head, bios->fp.dual_link);
3950 int call_lvds_script(struct drm_device *dev, struct dcb_entry *dcbent, int head, enum LVDS_script script, int pxclk)
3970 call_lvds_script(dev, dcbent, head, LVDS_INIT, pxclk);
3974 call_lvds_script(dev, dcbent, head, LVDS_RESET, pxclk);
3976 call_lvds_script(dev, dcbent, head, LVDS_PANEL_OFF, pxclk);
3984 ret = call_lvds_manufacturer_script(dev, dcbent, head, script);
3986 ret = run_lvds_table(dev, dcbent, head, script, pxclk);
4376 bios_output_config_match(struct drm_device *dev, struct dcb_entry *dcbent,
4386 switch (dcbent->type) {
4404 if (!(v & dcbent->sorconf.link))
4409 if (!(v & dcbent->or))
4413 if (v != dcbent->location)
4417 if (v != dcbent->type)
4427 nouveau_bios_dp_table(struct drm_device *dev, struct dcb_entry *dcbent,
4447 return bios_output_config_match(dev, dcbent,
4453 nouveau_bios_run_display_table(struct drm_device *dev, struct dcb_entry *dcbent,
4535 dcbent->type, dcbent->location, dcbent->or);
4536 otable = bios_output_config_match(dev, dcbent, table[1] +
4554 sub, dcbent->type, dcbent->or);
4567 nouveau_bios_run_init_table(dev, script, dcbent);
4577 nouveau_bios_run_init_table(dev, script, dcbent);
4590 nouveau_bios_run_init_table(dev, script, dcbent);
4602 nouveau_bios_run_init_table(dev, script, dcbent);
4614 nouveau_bios_run_init_table(dev, script, dcbent);
4621 int run_tmds_table(struct drm_device *dev, struct dcb_entry *dcbent, int head, int pxclk)
4640 dcbent->location != DCB_LOC_ON_CHIP)
4643 switch (ffs(dcbent->or)) {
4667 run_digital_op_script(dev, scriptptr, dcbent, head, pxclk >= 165000);
6440 * guarantees dcbent->index is the index of the entry in the rom image
6624 struct dcb_entry *dcbent)
6631 bios->display.output = dcbent;