Searched refs:tmds (Results 1 - 34 of 34) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dg84.c37 .outp.internal.tmds = nv50_sor_output_new,
39 .outp.external.tmds = nv50_pior_output_new,
H A Dg94.c37 .outp.internal.tmds = nv50_sor_output_new,
40 .outp.external.tmds = nv50_pior_output_new,
H A Dgt200.c37 .outp.internal.tmds = nv50_sor_output_new,
39 .outp.external.tmds = nv50_pior_output_new,
H A Dgt215.c37 .outp.internal.tmds = nv50_sor_output_new,
40 .outp.external.tmds = nv50_pior_output_new,
H A Dgk104.c37 .outp.internal.tmds = nv50_sor_output_new,
H A Dgk110.c37 .outp.internal.tmds = nv50_sor_output_new,
H A Dgm107.c37 .outp.internal.tmds = nv50_sor_output_new,
H A Dgm204.c37 .outp.internal.tmds = nv50_sor_output_new,
H A Dpriv.h18 int (*tmds)(struct nvkm_disp *, int index, struct dcb_output *, member in struct:nvkm_disp_func_outp
H A Dnv50.h61 int (*tmds)(struct nvkm_disp *, int index, struct dcb_output *, member in struct:nv50_disp_func_outp
H A Dnv50.c56 return disp->func->outp.internal.tmds(base, index, dcb, poutp); nv50_disp_outp_internal_tmds_()
84 if (disp->func->outp.external.tmds) nv50_disp_outp_external_tmds_()
85 return disp->func->outp.external.tmds(base, index, dcb, poutp); nv50_disp_outp_external_tmds_()
134 .outp.internal.tmds = nv50_disp_outp_internal_tmds_,
137 .outp.external.tmds = nv50_disp_outp_external_tmds_,
825 .outp.internal.tmds = nv50_sor_output_new,
827 .outp.external.tmds = nv50_pior_output_new,
H A Dbase.c330 case DCB_OUTPUT_TMDS : ctor = outps->tmds; break; nvkm_disp_ctor()
H A Dgf119.c520 .outp.internal.tmds = nv50_sor_output_new,
/linux-4.4.14/drivers/gpu/drm/radeon/
H A Dradeon_combios.c94 COMBIOS_TMDS_POWER_ON_TABLE, /* offset from tmds power */
95 COMBIOS_TMDS_POWER_OFF_TABLE, /* offset from tmds power */
339 case COMBIOS_TMDS_POWER_ON_TABLE: /* offset from tmds power */ combios_get_table_offset()
348 case COMBIOS_TMDS_POWER_OFF_TABLE: /* offset from tmds power */ combios_get_table_offset()
1316 struct radeon_encoder_int_tmds *tmds) radeon_legacy_get_tmds_info_from_table()
1323 tmds->tmds_pll[i].value = radeon_legacy_get_tmds_info_from_table()
1325 tmds->tmds_pll[i].freq = default_tmds_pll[rdev->family][i].freq; radeon_legacy_get_tmds_info_from_table()
1332 struct radeon_encoder_int_tmds *tmds) radeon_legacy_get_tmds_info_from_combios()
1350 tmds->tmds_pll[i].value = radeon_legacy_get_tmds_info_from_combios()
1352 tmds->tmds_pll[i].freq = radeon_legacy_get_tmds_info_from_combios()
1355 tmds->tmds_pll[i].freq, radeon_legacy_get_tmds_info_from_combios()
1356 tmds->tmds_pll[i].value); radeon_legacy_get_tmds_info_from_combios()
1364 tmds->tmds_pll[i].value = radeon_legacy_get_tmds_info_from_combios()
1366 tmds->tmds_pll[i].freq = radeon_legacy_get_tmds_info_from_combios()
1373 tmds->tmds_pll[i].freq, radeon_legacy_get_tmds_info_from_combios()
1374 tmds->tmds_pll[i].value); radeon_legacy_get_tmds_info_from_combios()
1385 struct radeon_encoder_ext_tmds *tmds) radeon_legacy_get_ext_tmds_info_from_table()
1393 tmds->i2c_bus = radeon_i2c_lookup(rdev, &i2c_bus); radeon_legacy_get_ext_tmds_info_from_table()
1400 tmds->dvo_chip = DVO_SIL164; radeon_legacy_get_ext_tmds_info_from_table()
1401 tmds->slave_addr = 0x70 >> 1; /* 7 bit addressing */ radeon_legacy_get_ext_tmds_info_from_table()
1409 struct radeon_encoder_ext_tmds *tmds) radeon_legacy_get_ext_tmds_info_from_combios()
1418 tmds->i2c_bus = NULL; radeon_legacy_get_ext_tmds_info_from_combios()
1421 tmds->i2c_bus = radeon_i2c_lookup(rdev, &i2c_bus); radeon_legacy_get_ext_tmds_info_from_combios()
1422 tmds->dvo_chip = DVO_SIL164; radeon_legacy_get_ext_tmds_info_from_combios()
1423 tmds->slave_addr = 0x70 >> 1; /* 7 bit addressing */ radeon_legacy_get_ext_tmds_info_from_combios()
1429 tmds->slave_addr = RBIOS8(offset + 4 + 2); radeon_legacy_get_ext_tmds_info_from_combios()
1430 tmds->slave_addr >>= 1; /* 7 bit addressing */ radeon_legacy_get_ext_tmds_info_from_combios()
1440 tmds->i2c_bus = radeon_i2c_lookup(rdev, &i2c_bus); radeon_legacy_get_ext_tmds_info_from_combios()
1444 if (!tmds->i2c_bus) { radeon_legacy_get_ext_tmds_info_from_combios()
1466 /* powerbook with internal tmds */ radeon_get_legacy_connector_info_from_table()
1473 /* powerbook with external single link tmds (sil164) */ radeon_get_legacy_connector_info_from_table()
1476 /* powerbook with external dual or single link tmds */ radeon_get_legacy_connector_info_from_table()
1482 /* powerbook with external dual link tmds (sil1178?) */ radeon_get_legacy_connector_info_from_table()
1499 /* mini with internal tmds */ radeon_get_legacy_connector_info_from_table()
1502 /* mini with external tmds */ radeon_get_legacy_connector_info_from_table()
1586 /* DVI-I - tv dac, int tmds */ radeon_get_legacy_connector_info_from_table()
1682 DRM_INFO("Connector Table: %d (powerbook external tmds)\n", radeon_get_legacy_connector_info_from_table()
1696 /* DVI-I - primary dac, ext tmds */ radeon_get_legacy_connector_info_from_table()
1731 DRM_INFO("Connector Table: %d (powerbook internal tmds)\n", radeon_get_legacy_connector_info_from_table()
1745 /* DVI-I - primary dac, int tmds */ radeon_get_legacy_connector_info_from_table()
1820 DRM_INFO("Connector Table: %d (mini external tmds)\n", radeon_get_legacy_connector_info_from_table()
1822 /* DVI-I - tv dac, ext tmds */ radeon_get_legacy_connector_info_from_table()
1857 DRM_INFO("Connector Table: %d (mini internal tmds)\n", radeon_get_legacy_connector_info_from_table()
1859 /* DVI-I - tv dac, int tmds */ radeon_get_legacy_connector_info_from_table()
1895 /* DVI-D - int tmds */ radeon_get_legacy_connector_info_from_table()
2004 /* DVI - primary dac, internal tmds */ radeon_get_legacy_connector_info_from_table()
2065 /* ADC - primary dac, internal tmds */ radeon_get_legacy_connector_info_from_table()
2113 /* DVI-I - secondary dac, int tmds */ radeon_get_legacy_connector_info_from_table()
2162 /* DVI-I - tv dac, int tmds */ radeon_get_legacy_connector_info_from_table()
2835 struct radeon_encoder_ext_tmds *tmds = radeon_encoder->enc_priv; radeon_external_tmds_setup() local
2837 if (!tmds) radeon_external_tmds_setup()
2840 switch (tmds->dvo_chip) { radeon_external_tmds_setup()
2843 radeon_i2c_put_byte(tmds->i2c_bus, radeon_external_tmds_setup()
2844 tmds->slave_addr, radeon_external_tmds_setup()
2846 radeon_i2c_put_byte(tmds->i2c_bus, radeon_external_tmds_setup()
2847 tmds->slave_addr, radeon_external_tmds_setup()
2849 radeon_i2c_put_byte(tmds->i2c_bus, radeon_external_tmds_setup()
2850 tmds->slave_addr, radeon_external_tmds_setup()
2852 radeon_i2c_put_byte(tmds->i2c_bus, radeon_external_tmds_setup()
2853 tmds->slave_addr, radeon_external_tmds_setup()
2855 radeon_i2c_put_byte(tmds->i2c_bus, radeon_external_tmds_setup()
2856 tmds->slave_addr, radeon_external_tmds_setup()
2888 struct radeon_encoder_ext_tmds *tmds = radeon_encoder->enc_priv; radeon_combios_external_tmds_setup() local
2890 if (!tmds) radeon_combios_external_tmds_setup()
2939 radeon_i2c_put_byte(tmds->i2c_bus, radeon_combios_external_tmds_setup()
2994 radeon_i2c_put_byte(tmds->i2c_bus, radeon_combios_external_tmds_setup()
2995 tmds->slave_addr, radeon_combios_external_tmds_setup()
1315 radeon_legacy_get_tmds_info_from_table(struct radeon_encoder *encoder, struct radeon_encoder_int_tmds *tmds) radeon_legacy_get_tmds_info_from_table() argument
1331 radeon_legacy_get_tmds_info_from_combios(struct radeon_encoder *encoder, struct radeon_encoder_int_tmds *tmds) radeon_legacy_get_tmds_info_from_combios() argument
1384 radeon_legacy_get_ext_tmds_info_from_table(struct radeon_encoder *encoder, struct radeon_encoder_ext_tmds *tmds) radeon_legacy_get_ext_tmds_info_from_table() argument
1408 radeon_legacy_get_ext_tmds_info_from_combios(struct radeon_encoder *encoder, struct radeon_encoder_ext_tmds *tmds) radeon_legacy_get_ext_tmds_info_from_combios() argument
H A Dradeon_legacy_encoders.c796 struct radeon_encoder_int_tmds *tmds = (struct radeon_encoder_int_tmds *)radeon_encoder->enc_priv; radeon_legacy_tmds_int_mode_set() local
799 if (tmds->tmds_pll[i].freq == 0) radeon_legacy_tmds_int_mode_set()
801 if ((uint32_t)(mode->clock / 10) < tmds->tmds_pll[i].freq) { radeon_legacy_tmds_int_mode_set()
802 tmp = tmds->tmds_pll[i].value ; radeon_legacy_tmds_int_mode_set()
1695 struct radeon_encoder_int_tmds *tmds = NULL; radeon_legacy_get_tmds_info() local
1698 tmds = kzalloc(sizeof(struct radeon_encoder_int_tmds), GFP_KERNEL); radeon_legacy_get_tmds_info()
1700 if (!tmds) radeon_legacy_get_tmds_info()
1704 ret = radeon_atombios_get_tmds_info(encoder, tmds); radeon_legacy_get_tmds_info()
1706 ret = radeon_legacy_get_tmds_info_from_combios(encoder, tmds); radeon_legacy_get_tmds_info()
1709 radeon_legacy_get_tmds_info_from_table(encoder, tmds); radeon_legacy_get_tmds_info()
1711 return tmds; radeon_legacy_get_tmds_info()
1718 struct radeon_encoder_ext_tmds *tmds = NULL; radeon_legacy_get_ext_tmds_info() local
1724 tmds = kzalloc(sizeof(struct radeon_encoder_ext_tmds), GFP_KERNEL); radeon_legacy_get_ext_tmds_info()
1726 if (!tmds) radeon_legacy_get_ext_tmds_info()
1729 ret = radeon_legacy_get_ext_tmds_info_from_combios(encoder, tmds); radeon_legacy_get_ext_tmds_info()
1732 radeon_legacy_get_ext_tmds_info_from_table(encoder, tmds); radeon_legacy_get_ext_tmds_info()
1734 return tmds; radeon_legacy_get_ext_tmds_info()
H A Dradeon_mode.h414 /* legacy int tmds */
419 /* tmds over dvo */
895 struct radeon_encoder_int_tmds *tmds);
897 struct radeon_encoder_int_tmds *tmds);
899 struct radeon_encoder_int_tmds *tmds);
901 struct radeon_encoder_ext_tmds *tmds);
903 struct radeon_encoder_ext_tmds *tmds);
H A Dradeon_connectors.c199 /* Any defined maximum tmds clock limit we must not exceed? */ radeon_get_monitor_bpc()
207 DRM_DEBUG("%s: hdmi mode dotclock %d kHz, max tmds input clock %d kHz.\n", radeon_get_monitor_bpc()
218 DRM_DEBUG("%s: HDMI deep color 12 bpc exceeds max tmds clock. Using %d bpc.\n", radeon_get_monitor_bpc()
224 DRM_DEBUG("%s: HDMI deep color 10 bpc exceeds max tmds clock. Using %d bpc.\n", radeon_get_monitor_bpc()
230 DRM_DEBUG("%s: Required max tmds clock for HDMI deep color missing. Using 8 bpc.\n", radeon_get_monitor_bpc()
701 struct radeon_encoder_int_tmds *tmds = NULL; radeon_connector_set_property() local
710 tmds = radeon_encoder->enc_priv; radeon_connector_set_property()
711 if (!tmds) radeon_connector_set_property()
716 ret = radeon_atombios_get_tmds_info(radeon_encoder, tmds); radeon_connector_set_property()
718 ret = radeon_legacy_get_tmds_info_from_combios(radeon_encoder, tmds); radeon_connector_set_property()
721 radeon_legacy_get_tmds_info_from_table(radeon_encoder, tmds); radeon_connector_set_property()
H A Dradeon_encoders.c55 /* DVO requires 2x ppll clocks depending on tmds chip */ radeon_encoder_clones()
H A Dradeon_atombios.c1338 struct radeon_encoder_int_tmds *tmds) radeon_atombios_get_tmds_info()
1358 tmds->tmds_pll[i].freq = radeon_atombios_get_tmds_info()
1360 tmds->tmds_pll[i].value = radeon_atombios_get_tmds_info()
1362 tmds->tmds_pll[i].value |= radeon_atombios_get_tmds_info()
1365 tmds->tmds_pll[i].value |= radeon_atombios_get_tmds_info()
1368 tmds->tmds_pll[i].value |= radeon_atombios_get_tmds_info()
1373 tmds->tmds_pll[i].freq, radeon_atombios_get_tmds_info()
1374 tmds->tmds_pll[i].value); radeon_atombios_get_tmds_info()
1376 if (maxfreq == tmds->tmds_pll[i].freq) { radeon_atombios_get_tmds_info()
1377 tmds->tmds_pll[i].freq = 0xffffffff; radeon_atombios_get_tmds_info()
1337 radeon_atombios_get_tmds_info(struct radeon_encoder *encoder, struct radeon_encoder_int_tmds *tmds) radeon_atombios_get_tmds_info() argument
/linux-4.4.14/drivers/gpu/drm/tegra/
H A Dhdmi.c35 const struct tmds_config *tmds; member in struct:tegra_hdmi_config
743 const struct tmds_config *tmds) tegra_hdmi_setup_tmds()
747 tegra_hdmi_writel(hdmi, tmds->pll0, HDMI_NV_PDISP_SOR_PLL0); tegra_hdmi_setup_tmds()
748 tegra_hdmi_writel(hdmi, tmds->pll1, HDMI_NV_PDISP_SOR_PLL1); tegra_hdmi_setup_tmds()
749 tegra_hdmi_writel(hdmi, tmds->pe_current, HDMI_NV_PDISP_PE_CURRENT); tegra_hdmi_setup_tmds()
751 tegra_hdmi_writel(hdmi, tmds->drive_current, tegra_hdmi_setup_tmds()
759 tegra_hdmi_writel(hdmi, tmds->peak_current, tegra_hdmi_setup_tmds()
948 if (pclk <= hdmi->config->tmds[i].pclk) { tegra_hdmi_encoder_enable()
949 tegra_hdmi_setup_tmds(hdmi, &hdmi->config->tmds[i]); tegra_hdmi_encoder_enable()
1400 .tmds = tegra20_tmds_config,
1408 .tmds = tegra30_tmds_config,
1416 .tmds = tegra114_tmds_config,
1424 .tmds = tegra124_tmds_config,
742 tegra_hdmi_setup_tmds(struct tegra_hdmi *hdmi, const struct tmds_config *tmds) tegra_hdmi_setup_tmds() argument
/linux-4.4.14/drivers/gpu/drm/nouveau/
H A Dnouveau_bios.h119 uint16_t fptablepointer; /* also used by tmds */
143 } tmds; member in struct:nvbios
H A Dnouveau_bios.c644 /* pre-nv17 off-chip tmds uses scripts, post nv17 doesn't */ run_tmds_table()
651 clktable = bios->tmds.output0_script_ptr; run_tmds_table()
655 clktable = bios->tmds.output1_script_ptr; run_tmds_table()
958 bios->tmds.output0_script_ptr = ROM16(bios->data[tmdstableptr + 11]); parse_bit_tmds_tbl_entry()
959 bios->tmds.output1_script_ptr = ROM16(bios->data[tmdstableptr + 13]); parse_bit_tmds_tbl_entry()
1036 parse_bit_table(bios, bitoffset, &BIT_TABLE('T', tmds)); parse_bit_structure()
1205 bios->tmds.output0_script_ptr = ROM16(bmp[89]); parse_bmp_structure()
1206 bios->tmds.output1_script_ptr = ROM16(bmp[91]); parse_bmp_structure()
1773 else if (bios->tmds.output0_script_ptr || fabricate_dcb_encoder_table()
1774 bios->tmds.output1_script_ptr) fabricate_dcb_encoder_table()
/linux-4.4.14/drivers/gpu/drm/sti/
H A Dsti_hdmi.h36 * @clk_tmds: hdmi tmds clock
H A Dsti_hdmi.c844 hdmi->clk_tmds = devm_clk_get(dev, "tmds"); sti_hdmi_probe()
/linux-4.4.14/fs/ceph/
H A Ddebugfs.c39 seq_printf(s, "\tmds%d\t%s\t(%s)\n", i, mdsmap_show()
64 seq_printf(s, "%lld\tmds%d\t", req->r_tid, mdsc_show()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dinit.c537 init_tmds_reg(struct nvbios_init *init, u8 tmds) init_tmds_reg() argument
552 if (tmds >= 0x80) { init_tmds_reg()
555 if (tmds == 0x81) init_tmds_reg()
561 error("tmds opcodes need dcb\n"); init_tmds_reg()
563 if (tmds < ARRAY_SIZE(pramdac_table)) init_tmds_reg()
564 return pramdac_table[tmds]; init_tmds_reg()
566 error("tmds selector 0x%02x unknown\n", tmds); init_tmds_reg()
1089 u8 tmds = nvbios_rd08(bios, init->offset + 1); init_tmds() local
1093 u32 reg = init_tmds_reg(init, tmds); init_tmds()
1096 tmds, addr, mask, data); init_tmds()
1115 u8 tmds = nvbios_rd08(bios, init->offset + 1); init_zm_tmds_group() local
1117 u32 reg = init_tmds_reg(init, tmds); init_zm_tmds_group()
1119 trace("TMDS_ZM_GROUP\tT[0x%02x]\n", tmds); init_zm_tmds_group()
/linux-4.4.14/drivers/video/fbdev/omap2/dss/
H A Dhdmi_pll.c53 DSSDBG("clkin %lu, target tmds %lu\n", clkin, target_tmds); hdmi_pll_compute()
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_connectors.c170 /* Any defined maximum tmds clock limit we must not exceed? */ amdgpu_connector_get_monitor_bpc()
178 DRM_DEBUG("%s: hdmi mode dotclock %d kHz, max tmds input clock %d kHz.\n", amdgpu_connector_get_monitor_bpc()
189 DRM_DEBUG("%s: HDMI deep color 12 bpc exceeds max tmds clock. Using %d bpc.\n", amdgpu_connector_get_monitor_bpc()
195 DRM_DEBUG("%s: HDMI deep color 10 bpc exceeds max tmds clock. Using %d bpc.\n", amdgpu_connector_get_monitor_bpc()
200 DRM_DEBUG("%s: Required max tmds clock for HDMI deep color missing. Using 8 bpc.\n", amdgpu_connector_get_monitor_bpc()
/linux-4.4.14/drivers/gpu/drm/nouveau/dispnv04/
H A Dnvreg.h402 /* This doesn't seem to be essential for tmds, but still often set */
H A Ddfp.c568 NV_DEBUG(drm, "Setting dpms mode %d on tmds encoder (output %d)\n", nv04_tmds_dpms()
H A Dcrtc.c522 /* 0x00 is disabled, 0x11 is lvds, 0x22 crt and 0x88 tmds */ nv_crtc_mode_set_regs()
/linux-4.4.14/drivers/pinctrl/
H A Dpinctrl-tegra124.c1693 FUNCTION(tmds),
/linux-4.4.14/drivers/gpu/drm/bridge/
H A Ddw_hdmi.c1121 /* Enable pixel clock and tmds data path */ dw_hdmi_enable_video_path()
/linux-4.4.14/drivers/gpu/drm/i2c/
H A Dtda998x_drv.c1007 /* set BIAS tmds value: */ tda998x_encoder_mode_set()

Completed in 951 milliseconds