Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/nouveau/dispnv04/
Ddisp.c254 struct dcb_output *dcbent = &dcb->entry[i]; in nv04_display_create() local
256 connector = nouveau_connector_create(dev, dcbent); in nv04_display_create()
260 switch (dcbent->type) { in nv04_display_create()
262 ret = nv04_dac_create(connector, dcbent); in nv04_display_create()
266 ret = nv04_dfp_create(connector, dcbent); in nv04_display_create()
269 if (dcbent->location == DCB_LOC_ON_CHIP) in nv04_display_create()
270 ret = nv17_tv_create(connector, dcbent); in nv04_display_create()
272 ret = nv04_tv_create(connector, dcbent); in nv04_display_create()
275 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.h113 int nv04_dfp_get_bound_head(struct drm_device *dev, struct dcb_output *dcbent);
114 void nv04_dfp_bind_head(struct drm_device *dev, struct dcb_output *dcbent,
/linux-6.1.9/drivers/gpu/drm/nouveau/
Dnouveau_bios.c94 struct dcb_output *dcbent, int head, bool dl) in run_digital_op_script() argument
102 nouveau_bios_run_init_table(dev, scriptptr, dcbent, head); in run_digital_op_script()
104 nv04_dfp_bind_head(dev, dcbent, head, dl); in run_digital_op_script()
107 static int call_lvds_manufacturer_script(struct drm_device *dev, struct dcb_output *dcbent, int hea… in call_lvds_manufacturer_script() argument
111 …uint8_t sub = bios->data[bios->fp.xlated_entry + script] + (bios->fp.link_c_increment && dcbent->o… in call_lvds_manufacturer_script()
120 run_digital_op_script(dev, scriptofs, dcbent, head, bios->fp.dual_link); in call_lvds_manufacturer_script()
131 nv_write_tmds(dev, dcbent->or, 0, 0x02, 0x72); in call_lvds_manufacturer_script()
137 static int run_lvds_table(struct drm_device *dev, struct dcb_output *dcbent, int head, enum LVDS_sc… in run_lvds_table() argument
151 unsigned int outputset = (dcbent->or == 4) ? 1 : 0; in run_lvds_table()
172 if (dcbent->or == 4) in run_lvds_table()
[all …]