Home
last modified time | relevance | path

Searched refs:tmds (Results 1 – 25 of 37) sorted by relevance

12

/openbmc/linux/drivers/gpu/drm/sun4i/
H A Dsun4i_hdmi_tmds_clk.c69 struct sun4i_tmds *tmds = hw_to_tmds(hw); in sun4i_tmds_determine_rate() local
88 for (j = tmds->div_offset ?: 1; in sun4i_tmds_determine_rate()
89 j < (16 + tmds->div_offset); j++) { in sun4i_tmds_determine_rate()
128 struct sun4i_tmds *tmds = hw_to_tmds(hw); in sun4i_tmds_recalc_rate() local
146 struct sun4i_tmds *tmds = hw_to_tmds(hw); in sun4i_tmds_set_rate() local
170 struct sun4i_tmds *tmds = hw_to_tmds(hw); in sun4i_tmds_get_parent() local
206 struct sun4i_tmds *tmds; in sun4i_tmds_create() local
217 tmds = devm_kzalloc(hdmi->dev, sizeof(*tmds), GFP_KERNEL); in sun4i_tmds_create()
218 if (!tmds) in sun4i_tmds_create()
227 tmds->hdmi = hdmi; in sun4i_tmds_create()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvif/
H A Doutp.c172 args.tmds.head = head; in nvif_outp_acquire_tmds()
173 args.tmds.hdmi = hdmi; in nvif_outp_acquire_tmds()
174 args.tmds.hdmi_max_ac_packet = max_ac_packet; in nvif_outp_acquire_tmds()
175 args.tmds.hdmi_rekey = rekey; in nvif_outp_acquire_tmds()
176 args.tmds.hdmi_scdc = scdc; in nvif_outp_acquire_tmds()
177 args.tmds.hdmi_hda = hda; in nvif_outp_acquire_tmds()
182 " or:%d link:%d", args.tmds.head, args.tmds.hdmi, args.tmds.hdmi_max_ac_packet, in nvif_outp_acquire_tmds()
183 args.tmds.hdmi_rekey, args.tmds.hdmi_scdc, args.tmds.hdmi_hda, in nvif_outp_acquire_tmds()
/openbmc/u-boot/drivers/video/
H A Ddw_hdmi.c15 u32 tmds; member
22 .tmds = 25175000, .n = 6144, .cts = 25175,
24 .tmds = 25200000, .n = 6144, .cts = 25200,
26 .tmds = 27000000, .n = 6144, .cts = 27000,
28 .tmds = 27027000, .n = 6144, .cts = 27027,
30 .tmds = 40000000, .n = 6144, .cts = 40000,
32 .tmds = 54000000, .n = 6144, .cts = 54000,
34 .tmds = 54054000, .n = 6144, .cts = 54054,
36 .tmds = 65000000, .n = 6144, .cts = 65000,
40 .tmds = 74250000, .n = 6144, .cts = 74250,
[all …]
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dradeon_combios.c1322 tmds->tmds_pll[i].value = in radeon_legacy_get_tmds_info_from_table()
1351 tmds->tmds_pll[i].freq = in radeon_legacy_get_tmds_info_from_combios()
1365 tmds->tmds_pll[i].freq = in radeon_legacy_get_tmds_info_from_combios()
1417 tmds->i2c_bus = NULL; in radeon_legacy_get_ext_tmds_info_from_combios()
1443 if (!tmds->i2c_bus) { in radeon_legacy_get_ext_tmds_info_from_combios()
2841 if (!tmds) in radeon_external_tmds_setup()
2844 switch (tmds->dvo_chip) { in radeon_external_tmds_setup()
2848 tmds->slave_addr, in radeon_external_tmds_setup()
2854 tmds->slave_addr, in radeon_external_tmds_setup()
2857 tmds->slave_addr, in radeon_external_tmds_setup()
[all …]
H A Dradeon_legacy_encoders.c799 if (tmds->tmds_pll[i].freq == 0) in radeon_legacy_tmds_int_mode_set()
802 tmp = tmds->tmds_pll[i].value ; in radeon_legacy_tmds_int_mode_set()
1695 struct radeon_encoder_int_tmds *tmds; in radeon_legacy_get_tmds_info() local
1700 if (!tmds) in radeon_legacy_get_tmds_info()
1704 ret = radeon_atombios_get_tmds_info(encoder, tmds); in radeon_legacy_get_tmds_info()
1709 radeon_legacy_get_tmds_info_from_table(encoder, tmds); in radeon_legacy_get_tmds_info()
1711 return tmds; in radeon_legacy_get_tmds_info()
1718 struct radeon_encoder_ext_tmds *tmds; in radeon_legacy_get_ext_tmds_info() local
1726 if (!tmds) in radeon_legacy_get_ext_tmds_info()
1732 radeon_legacy_get_ext_tmds_info_from_table(encoder, tmds); in radeon_legacy_get_ext_tmds_info()
[all …]
H A Dradeon_mode.h858 struct radeon_encoder_int_tmds *tmds);
860 struct radeon_encoder_int_tmds *tmds);
862 struct radeon_encoder_int_tmds *tmds);
864 struct radeon_encoder_ext_tmds *tmds);
866 struct radeon_encoder_ext_tmds *tmds);
H A Dradeon_connectors.c664 struct radeon_encoder_int_tmds *tmds = NULL; in radeon_connector_set_property() local
673 tmds = radeon_encoder->enc_priv; in radeon_connector_set_property()
674 if (!tmds) in radeon_connector_set_property()
679 ret = radeon_atombios_get_tmds_info(radeon_encoder, tmds); in radeon_connector_set_property()
681 ret = radeon_legacy_get_tmds_info_from_combios(radeon_encoder, tmds); in radeon_connector_set_property()
684 radeon_legacy_get_tmds_info_from_table(radeon_encoder, tmds); in radeon_connector_set_property()
H A Dradeon_atombios.c1328 struct radeon_encoder_int_tmds *tmds) in radeon_atombios_get_tmds_info() argument
1348 tmds->tmds_pll[i].freq = in radeon_atombios_get_tmds_info()
1350 tmds->tmds_pll[i].value = in radeon_atombios_get_tmds_info()
1352 tmds->tmds_pll[i].value |= in radeon_atombios_get_tmds_info()
1355 tmds->tmds_pll[i].value |= in radeon_atombios_get_tmds_info()
1358 tmds->tmds_pll[i].value |= in radeon_atombios_get_tmds_info()
1363 tmds->tmds_pll[i].freq, in radeon_atombios_get_tmds_info()
1364 tmds->tmds_pll[i].value); in radeon_atombios_get_tmds_info()
1366 if (maxfreq == tmds->tmds_pll[i].freq) { in radeon_atombios_get_tmds_info()
1367 tmds->tmds_pll[i].freq = 0xffffffff; in radeon_atombios_get_tmds_info()
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Duoutp.c225 ret = nvkm_uoutp_mthd_acquire_tmds(outp, args->v0.tmds.head, in nvkm_uoutp_mthd_acquire()
226 args->v0.tmds.hdmi, in nvkm_uoutp_mthd_acquire()
227 args->v0.tmds.hdmi_max_ac_packet, in nvkm_uoutp_mthd_acquire()
228 args->v0.tmds.hdmi_rekey, in nvkm_uoutp_mthd_acquire()
229 args->v0.tmds.hdmi_scdc, in nvkm_uoutp_mthd_acquire()
230 args->v0.tmds.hdmi_hda); in nvkm_uoutp_mthd_acquire()
H A Dga102.c91 if (sor->tmds.high_speed) in ga102_sor_clock()
H A Dgm200.c79 ior->tmds.high_speed = !!(scdc & 0x2); in gm200_sor_hdmi_scdc()
H A Dior.h49 } tmds; member
/openbmc/linux/Documentation/devicetree/bindings/display/
H A Dallwinner,sun8i-a83t-dw-hdmi.yaml62 - const: tmds
170 clock-names = "iahb", "isfr", "tmds";
227 clock-names = "iahb", "isfr", "tmds", "cec", "hdcp",
/openbmc/linux/drivers/gpu/drm/tegra/
H A Dhdmi.c50 const struct tmds_config *tmds; member
833 const struct tmds_config *tmds) in tegra_hdmi_setup_tmds() argument
837 tegra_hdmi_writel(hdmi, tmds->pll0, HDMI_NV_PDISP_SOR_PLL0); in tegra_hdmi_setup_tmds()
841 tegra_hdmi_writel(hdmi, tmds->drive_current, in tegra_hdmi_setup_tmds()
849 tegra_hdmi_writel(hdmi, tmds->peak_current, in tegra_hdmi_setup_tmds()
1332 if (hdmi->pixel_clock <= hdmi->config->tmds[i].pclk) { in tegra_hdmi_encoder_enable()
1333 tegra_hdmi_setup_tmds(hdmi, &hdmi->config->tmds[i]); in tegra_hdmi_encoder_enable()
1716 .tmds = tegra20_tmds_config,
1726 .tmds = tegra30_tmds_config,
1736 .tmds = tegra114_tmds_config,
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvif/
H A Dif0012.h56 } tmds; member
/openbmc/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_bios.c653 clktable = bios->tmds.output0_script_ptr; in run_tmds_table()
657 clktable = bios->tmds.output1_script_ptr; in run_tmds_table()
960 bios->tmds.output0_script_ptr = ROM16(bios->data[tmdstableptr + 11]); in parse_bit_tmds_tbl_entry()
961 bios->tmds.output1_script_ptr = ROM16(bios->data[tmdstableptr + 13]); in parse_bit_tmds_tbl_entry()
1038 parse_bit_table(bios, bitoffset, &BIT_TABLE('T', tmds)); in parse_bit_structure()
1207 bios->tmds.output0_script_ptr = ROM16(bmp[89]); in parse_bmp_structure()
1208 bios->tmds.output1_script_ptr = ROM16(bmp[91]); in parse_bmp_structure()
1780 else if (bios->tmds.output0_script_ptr || in fabricate_dcb_encoder_table()
1781 bios->tmds.output1_script_ptr) in fabricate_dcb_encoder_table()
H A Dnouveau_bios.h141 } tmds; member
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dinit.c539 init_tmds_reg(struct nvbios_init *init, u8 tmds) in init_tmds_reg() argument
554 if (tmds >= 0x80) { in init_tmds_reg()
557 if (tmds == 0x81) in init_tmds_reg()
565 if (tmds < ARRAY_SIZE(pramdac_table)) in init_tmds_reg()
566 return pramdac_table[tmds]; in init_tmds_reg()
568 error("tmds selector 0x%02x unknown\n", tmds); in init_tmds_reg()
1096 u8 tmds = nvbios_rd08(bios, init->offset + 1); in init_tmds() local
1100 u32 reg = init_tmds_reg(init, tmds); in init_tmds()
1103 tmds, addr, mask, data); in init_tmds()
1124 u32 reg = init_tmds_reg(init, tmds); in init_zm_tmds_group()
[all …]
/openbmc/linux/arch/arm/boot/dts/st/
H A Dstih407.dtsi111 "tmds",
H A Dstih410.dtsi203 "tmds",
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/
H A Dnvidia,tegra124-pinmux.yaml112 pe0, pe, pe1, dp, rtck, sys, clk, tmds, csi, dsi_b ]
/openbmc/u-boot/arch/arm/dts/
H A Dstih407-clock.dtsi283 "clk-tmds-hdmi",
H A Dstih410-clock.dtsi304 "clk-tmds-hdmi",
/openbmc/linux/Documentation/devicetree/bindings/clock/
H A Dsamsung,exynos5260-clock.yaml32 - "phyclk_hdmi_phy_tmds_clko" - hdmi phy tmds clock
/openbmc/linux/sound/x86/
H A Dintel_hdmi_audio.c730 static void had_prog_cts(u32 aud_samp_freq, u32 tmds, u32 link_rate, in had_prog_cts() argument
741 dividend = (u64)tmds * n_param*1000; in had_prog_cts()
746 tmds, n_param, cts_val); in had_prog_cts()

12