Home
last modified time | relevance | path

Searched refs:dcbent (Results 1 – 4 of 4) sorted by relevance

/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/
H A Dnouveau_dispnv04_disp.c233 struct dcb_output *dcbent = &dcb->entry[i]; in nv04_display_create() local
235 connector = nouveau_connector_create(dev, dcbent); in nv04_display_create()
239 switch (dcbent->type) { in nv04_display_create()
241 ret = nv04_dac_create(connector, dcbent); in nv04_display_create()
245 ret = nv04_dfp_create(connector, dcbent); in nv04_display_create()
248 if (dcbent->location == DCB_LOC_ON_CHIP) in nv04_display_create()
249 ret = nv17_tv_create(connector, dcbent); in nv04_display_create()
251 ret = nv04_tv_create(connector, dcbent); in nv04_display_create()
254 NV_WARN(drm, "DCB type %d not known\n", dcbent->type); in nv04_display_create()
H A Dnouveau_dispnv04_dfp.c60 int nv04_dfp_get_bound_head(struct drm_device *dev, struct dcb_output *dcbent) in nv04_dfp_get_bound_head() argument
66 int ramdac = (dcbent->or & DCB_OUTPUT_C) >> 2; in nv04_dfp_get_bound_head()
73 void nv04_dfp_bind_head(struct drm_device *dev, struct dcb_output *dcbent, in nv04_dfp_bind_head() argument
83 int ramdac = (dcbent->or & DCB_OUTPUT_C) >> 2; in nv04_dfp_bind_head()
89 if (dcbent->type == DCB_OUTPUT_LVDS) in nv04_dfp_bind_head()
92 nv_write_tmds(dev, dcbent->or, 0, 0x04, tmds04); in nv04_dfp_bind_head()
95 nv_write_tmds(dev, dcbent->or, 1, 0x04, tmds04 ^ 0x08); in nv04_dfp_bind_head()
H A Ddisp.h111 int nv04_dfp_get_bound_head(struct drm_device *dev, struct dcb_output *dcbent);
112 void nv04_dfp_bind_head(struct drm_device *dev, struct dcb_output *dcbent,
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/
H A Dnouveau_bios.c99 struct dcb_output *dcbent, int head, bool dl) in run_digital_op_script() argument
107 nouveau_bios_run_init_table(dev, scriptptr, dcbent, head); in run_digital_op_script()
109 nv04_dfp_bind_head(dev, dcbent, head, dl); in run_digital_op_script()
112 static int call_lvds_manufacturer_script(struct drm_device *dev, struct dcb_output *dcbent, int hea… in call_lvds_manufacturer_script() argument
116 …uint8_t sub = bios->data[bios->fp.xlated_entry + script] + (bios->fp.link_c_increment && dcbent->o… in call_lvds_manufacturer_script()
122 run_digital_op_script(dev, scriptofs, dcbent, head, bios->fp.dual_link); in call_lvds_manufacturer_script()
133 nv_write_tmds(dev, dcbent->or, 0, 0x02, 0x72); in call_lvds_manufacturer_script()
139 static int run_lvds_table(struct drm_device *dev, struct dcb_output *dcbent, int head, enum LVDS_sc… in run_lvds_table() argument
153 unsigned int outputset = (dcbent->or == 4) ? 1 : 0; in run_lvds_table()
174 if (dcbent->or == 4) in run_lvds_table()
[all …]