/linux-6.1.9/drivers/gpu/drm/sun4i/ |
D | sun4i_hdmi_tmds_clk.c | 69 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 131 reg = readl(tmds->hdmi->base + SUN4I_HDMI_PAD_CTRL1_REG); in sun4i_tmds_recalc_rate() 135 reg = readl(tmds->hdmi->base + SUN4I_HDMI_PLL_CTRL_REG); in sun4i_tmds_recalc_rate() 136 reg = ((reg >> 4) & 0xf) + tmds->div_offset; in sun4i_tmds_recalc_rate() 146 struct sun4i_tmds *tmds = hw_to_tmds(hw); in sun4i_tmds_set_rate() local 151 sun4i_tmds_calc_divider(rate, parent_rate, tmds->div_offset, in sun4i_tmds_set_rate() 154 reg = readl(tmds->hdmi->base + SUN4I_HDMI_PAD_CTRL1_REG); in sun4i_tmds_set_rate() [all …]
|
/linux-6.1.9/drivers/gpu/drm/radeon/ |
D | radeon_combios.c | 1315 struct radeon_encoder_int_tmds *tmds) in radeon_legacy_get_tmds_info_from_table() argument 1322 tmds->tmds_pll[i].value = in radeon_legacy_get_tmds_info_from_table() 1324 tmds->tmds_pll[i].freq = default_tmds_pll[rdev->family][i].freq; in radeon_legacy_get_tmds_info_from_table() 1331 struct radeon_encoder_int_tmds *tmds) in radeon_legacy_get_tmds_info_from_combios() argument 1349 tmds->tmds_pll[i].value = in radeon_legacy_get_tmds_info_from_combios() 1351 tmds->tmds_pll[i].freq = in radeon_legacy_get_tmds_info_from_combios() 1354 tmds->tmds_pll[i].freq, in radeon_legacy_get_tmds_info_from_combios() 1355 tmds->tmds_pll[i].value); in radeon_legacy_get_tmds_info_from_combios() 1363 tmds->tmds_pll[i].value = in radeon_legacy_get_tmds_info_from_combios() 1365 tmds->tmds_pll[i].freq = in radeon_legacy_get_tmds_info_from_combios() [all …]
|
D | radeon_legacy_encoders.c | 796 struct radeon_encoder_int_tmds *tmds = (struct radeon_encoder_int_tmds *)radeon_encoder->enc_priv; in radeon_legacy_tmds_int_mode_set() local 799 if (tmds->tmds_pll[i].freq == 0) in radeon_legacy_tmds_int_mode_set() 801 if ((uint32_t)(mode->clock / 10) < tmds->tmds_pll[i].freq) { 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 = NULL; in radeon_legacy_get_tmds_info() local 1698 tmds = kzalloc(sizeof(struct radeon_encoder_int_tmds), GFP_KERNEL); in radeon_legacy_get_tmds_info() 1700 if (!tmds) in radeon_legacy_get_tmds_info() 1704 ret = radeon_atombios_get_tmds_info(encoder, tmds); in radeon_legacy_get_tmds_info() 1706 ret = radeon_legacy_get_tmds_info_from_combios(encoder, tmds); in radeon_legacy_get_tmds_info() 1709 radeon_legacy_get_tmds_info_from_table(encoder, tmds); in radeon_legacy_get_tmds_info() [all …]
|
D | radeon_mode.h | 862 struct radeon_encoder_int_tmds *tmds); 864 struct radeon_encoder_int_tmds *tmds); 866 struct radeon_encoder_int_tmds *tmds); 868 struct radeon_encoder_ext_tmds *tmds); 870 struct radeon_encoder_ext_tmds *tmds);
|
D | radeon_connectors.c | 667 struct radeon_encoder_int_tmds *tmds = NULL; in radeon_connector_set_property() local 676 tmds = radeon_encoder->enc_priv; in radeon_connector_set_property() 677 if (!tmds) in radeon_connector_set_property() 682 ret = radeon_atombios_get_tmds_info(radeon_encoder, tmds); in radeon_connector_set_property() 684 ret = radeon_legacy_get_tmds_info_from_combios(radeon_encoder, tmds); in radeon_connector_set_property() 687 radeon_legacy_get_tmds_info_from_table(radeon_encoder, tmds); in radeon_connector_set_property()
|
D | radeon_atombios.c | 1324 struct radeon_encoder_int_tmds *tmds) in radeon_atombios_get_tmds_info() argument 1344 tmds->tmds_pll[i].freq = in radeon_atombios_get_tmds_info() 1346 tmds->tmds_pll[i].value = in radeon_atombios_get_tmds_info() 1348 tmds->tmds_pll[i].value |= in radeon_atombios_get_tmds_info() 1351 tmds->tmds_pll[i].value |= in radeon_atombios_get_tmds_info() 1354 tmds->tmds_pll[i].value |= in radeon_atombios_get_tmds_info() 1359 tmds->tmds_pll[i].freq, in radeon_atombios_get_tmds_info() 1360 tmds->tmds_pll[i].value); in radeon_atombios_get_tmds_info() 1362 if (maxfreq == tmds->tmds_pll[i].freq) { in radeon_atombios_get_tmds_info() 1363 tmds->tmds_pll[i].freq = 0xffffffff; in radeon_atombios_get_tmds_info()
|
/linux-6.1.9/Documentation/devicetree/bindings/display/ |
D | allwinner,sun8i-a83t-dw-hdmi.yaml | 62 - const: tmds 170 clock-names = "iahb", "isfr", "tmds"; 227 clock-names = "iahb", "isfr", "tmds", "cec", "hdcp",
|
D | st,stih4xx.txt | 205 clock-names = "pix", "tmds", "phy", "audio";
|
/linux-6.1.9/drivers/gpu/drm/tegra/ |
D | hdmi.c | 48 const struct tmds_config *tmds; member 831 const struct tmds_config *tmds) in tegra_hdmi_setup_tmds() argument 835 tegra_hdmi_writel(hdmi, tmds->pll0, HDMI_NV_PDISP_SOR_PLL0); in tegra_hdmi_setup_tmds() 836 tegra_hdmi_writel(hdmi, tmds->pll1, HDMI_NV_PDISP_SOR_PLL1); in tegra_hdmi_setup_tmds() 837 tegra_hdmi_writel(hdmi, tmds->pe_current, HDMI_NV_PDISP_PE_CURRENT); in tegra_hdmi_setup_tmds() 839 tegra_hdmi_writel(hdmi, tmds->drive_current, in tegra_hdmi_setup_tmds() 847 tegra_hdmi_writel(hdmi, tmds->peak_current, in tegra_hdmi_setup_tmds() 1337 if (hdmi->pixel_clock <= hdmi->config->tmds[i].pclk) { in tegra_hdmi_encoder_enable() 1338 tegra_hdmi_setup_tmds(hdmi, &hdmi->config->tmds[i]); in tegra_hdmi_encoder_enable() 1700 .tmds = tegra20_tmds_config, [all …]
|
/linux-6.1.9/drivers/gpu/drm/nouveau/ |
D | nouveau_bios.c | 652 clktable = bios->tmds.output0_script_ptr; in run_tmds_table() 656 clktable = bios->tmds.output1_script_ptr; in run_tmds_table() 959 bios->tmds.output0_script_ptr = ROM16(bios->data[tmdstableptr + 11]); in parse_bit_tmds_tbl_entry() 960 bios->tmds.output1_script_ptr = ROM16(bios->data[tmdstableptr + 13]); in parse_bit_tmds_tbl_entry() 1037 parse_bit_table(bios, bitoffset, &BIT_TABLE('T', tmds)); in parse_bit_structure() 1206 bios->tmds.output0_script_ptr = ROM16(bmp[89]); in parse_bmp_structure() 1207 bios->tmds.output1_script_ptr = ROM16(bmp[91]); in parse_bmp_structure() 1779 else if (bios->tmds.output0_script_ptr || in fabricate_dcb_encoder_table() 1780 bios->tmds.output1_script_ptr) in fabricate_dcb_encoder_table()
|
D | nouveau_bios.h | 141 } tmds; member
|
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | init.c | 539 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() 1122 u8 tmds = nvbios_rd08(bios, init->offset + 1); in init_zm_tmds_group() local [all …]
|
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | ga102.c | 91 if (sor->tmds.high_speed) in ga102_sor_clock()
|
D | gm200.c | 79 ior->tmds.high_speed = !!(scdc & 0x2); in gm200_sor_hdmi_scdc()
|
D | ior.h | 49 } tmds; member
|
D | gf119.c | 271 const u32 speed = sor->tmds.high_speed ? 0x14 : 0x0a; in gf119_sor_clock() 273 if (sor->tmds.high_speed) in gf119_sor_clock()
|
/linux-6.1.9/arch/arm/boot/dts/ |
D | stih407.dtsi | 111 "tmds",
|
D | stih410.dtsi | 203 "tmds",
|
D | sunxi-h3-h5.dtsi | 824 clock-names = "iahb", "isfr", "tmds", "cec";
|
D | sun8i-a83t.dtsi | 1074 clock-names = "iahb", "isfr", "tmds";
|
D | sun8i-r40.dtsi | 1273 clock-names = "iahb", "isfr", "tmds", "cec";
|
/linux-6.1.9/Documentation/devicetree/bindings/pinctrl/ |
D | nvidia,tegra124-pinmux.txt | 112 dp, rtck, sys, clk tmds, csi, dsi_b
|
/linux-6.1.9/sound/x86/ |
D | intel_hdmi_audio.c | 730 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()
|
/linux-6.1.9/Documentation/devicetree/bindings/clock/ |
D | samsung,exynos5260-clock.yaml | 32 - "phyclk_hdmi_phy_tmds_clko" - hdmi phy tmds clock
|
/linux-6.1.9/arch/arm64/boot/dts/allwinner/ |
D | sun50i-h6.dtsi | 791 clock-names = "iahb", "isfr", "tmds", "cec", "hdcp",
|