Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/nouveau/dispnv04/
Ddisp.c252 struct dcb_output *dcbent = &dcb->entry[i]; in nv04_display_create() local
254 connector = nouveau_connector_create(dev, dcbent->connector); in nv04_display_create()
258 switch (dcbent->type) { in nv04_display_create()
260 ret = nv04_dac_create(connector, dcbent); in nv04_display_create()
264 ret = nv04_dfp_create(connector, dcbent); in nv04_display_create()
267 if (dcbent->location == DCB_LOC_ON_CHIP) in nv04_display_create()
268 ret = nv17_tv_create(connector, dcbent); in nv04_display_create()
270 ret = nv04_tv_create(connector, dcbent); in nv04_display_create()
273 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.h116 int nv04_dfp_get_bound_head(struct drm_device *dev, struct dcb_output *dcbent);
117 void nv04_dfp_bind_head(struct drm_device *dev, struct dcb_output *dcbent,
/linux-6.12.1/drivers/gpu/drm/nouveau/
Dnouveau_bios.c92 struct dcb_output *dcbent, int head, bool dl) in run_digital_op_script() argument
100 nouveau_bios_run_init_table(dev, scriptptr, dcbent, head); in run_digital_op_script()
102 nv04_dfp_bind_head(dev, dcbent, head, dl); in run_digital_op_script()
105 static int call_lvds_manufacturer_script(struct drm_device *dev, struct dcb_output *dcbent, int hea… in call_lvds_manufacturer_script() argument
109 …uint8_t sub = bios->data[bios->fp.xlated_entry + script] + (bios->fp.link_c_increment && dcbent->o… in call_lvds_manufacturer_script()
118 run_digital_op_script(dev, scriptofs, dcbent, head, bios->fp.dual_link); in call_lvds_manufacturer_script()
129 nv_write_tmds(dev, dcbent->or, 0, 0x02, 0x72); in call_lvds_manufacturer_script()
135 static int run_lvds_table(struct drm_device *dev, struct dcb_output *dcbent, int head, enum LVDS_sc… in run_lvds_table() argument
149 unsigned int outputset = (dcbent->or == 4) ? 1 : 0; in run_lvds_table()
170 if (dcbent->or == 4) in run_lvds_table()
[all …]