Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/gpu/drm/nouveau/dispnv04/
Ddisp.c64 struct dcb_output *dcbent = &dcb->entry[i]; in nv04_display_create() local
66 connector = nouveau_connector_create(dev, dcbent->connector); in nv04_display_create()
70 switch (dcbent->type) { in nv04_display_create()
72 ret = nv04_dac_create(connector, dcbent); in nv04_display_create()
76 ret = nv04_dfp_create(connector, dcbent); in nv04_display_create()
79 if (dcbent->location == DCB_LOC_ON_CHIP) in nv04_display_create()
80 ret = nv17_tv_create(connector, dcbent); in nv04_display_create()
82 ret = nv04_tv_create(connector, dcbent); in nv04_display_create()
85 NV_WARN(drm, "DCB type %d not known\n", dcbent->type); in nv04_display_create()
Ddfp.c55 int nv04_dfp_get_bound_head(struct drm_device *dev, struct dcb_output *dcbent) in nv04_dfp_get_bound_head() argument
61 int ramdac = (dcbent->or & DCB_OUTPUT_C) >> 2; in nv04_dfp_get_bound_head()
68 void nv04_dfp_bind_head(struct drm_device *dev, struct dcb_output *dcbent, in nv04_dfp_bind_head() argument
78 int ramdac = (dcbent->or & DCB_OUTPUT_C) >> 2; in nv04_dfp_bind_head()
84 if (dcbent->type == DCB_OUTPUT_LVDS) in nv04_dfp_bind_head()
87 nv_write_tmds(dev, dcbent->or, 0, 0x04, tmds04); in nv04_dfp_bind_head()
90 nv_write_tmds(dev, dcbent->or, 1, 0x04, tmds04 ^ 0x08); in nv04_dfp_bind_head()
Ddisp.h110 int nv04_dfp_get_bound_head(struct drm_device *dev, struct dcb_output *dcbent);
111 void nv04_dfp_bind_head(struct drm_device *dev, struct dcb_output *dcbent,
/linux-4.1.27/drivers/gpu/drm/nouveau/
Dnouveau_bios.c96 struct dcb_output *dcbent, int head, bool dl) in run_digital_op_script() argument
104 nouveau_bios_run_init_table(dev, scriptptr, dcbent, head); in run_digital_op_script()
106 nv04_dfp_bind_head(dev, dcbent, head, dl); in run_digital_op_script()
109 static int call_lvds_manufacturer_script(struct drm_device *dev, struct dcb_output *dcbent, int hea… in call_lvds_manufacturer_script() argument
113 …uint8_t sub = bios->data[bios->fp.xlated_entry + script] + (bios->fp.link_c_increment && dcbent->o… in call_lvds_manufacturer_script()
119 run_digital_op_script(dev, scriptofs, dcbent, head, bios->fp.dual_link); in call_lvds_manufacturer_script()
130 nv_write_tmds(dev, dcbent->or, 0, 0x02, 0x72); in call_lvds_manufacturer_script()
136 static int run_lvds_table(struct drm_device *dev, struct dcb_output *dcbent, int head, enum LVDS_sc… in run_lvds_table() argument
150 unsigned int outputset = (dcbent->or == 4) ? 1 : 0; in run_lvds_table()
171 if (dcbent->or == 4) in run_lvds_table()
[all …]