tmds 649 drivers/gpu/drm/nouveau/nouveau_bios.c clktable = bios->tmds.output0_script_ptr; tmds 653 drivers/gpu/drm/nouveau/nouveau_bios.c clktable = bios->tmds.output1_script_ptr; tmds 956 drivers/gpu/drm/nouveau/nouveau_bios.c bios->tmds.output0_script_ptr = ROM16(bios->data[tmdstableptr + 11]); tmds 957 drivers/gpu/drm/nouveau/nouveau_bios.c bios->tmds.output1_script_ptr = ROM16(bios->data[tmdstableptr + 13]); tmds 1034 drivers/gpu/drm/nouveau/nouveau_bios.c parse_bit_table(bios, bitoffset, &BIT_TABLE('T', tmds)); tmds 1203 drivers/gpu/drm/nouveau/nouveau_bios.c bios->tmds.output0_script_ptr = ROM16(bmp[89]); tmds 1204 drivers/gpu/drm/nouveau/nouveau_bios.c bios->tmds.output1_script_ptr = ROM16(bmp[91]); tmds 1776 drivers/gpu/drm/nouveau/nouveau_bios.c else if (bios->tmds.output0_script_ptr || tmds 1777 drivers/gpu/drm/nouveau/nouveau_bios.c bios->tmds.output1_script_ptr) tmds 141 drivers/gpu/drm/nouveau/nouveau_bios.h } tmds; tmds 35 drivers/gpu/drm/nouveau/nvkm/engine/disp/hdmigm200.c ior->tmds.high_speed = !!(scdc & 0x2); tmds 48 drivers/gpu/drm/nouveau/nvkm/engine/disp/ior.h } tmds; tmds 127 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c const u32 speed = sor->tmds.high_speed ? 0x14 : 0x0a; tmds 129 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c if (sor->tmds.high_speed) tmds 539 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c init_tmds_reg(struct nvbios_init *init, u8 tmds) tmds 554 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c if (tmds >= 0x80) { tmds 557 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c if (tmds == 0x81) tmds 565 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c if (tmds < ARRAY_SIZE(pramdac_table)) tmds 566 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c return pramdac_table[tmds]; tmds 568 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c error("tmds selector 0x%02x unknown\n", tmds); tmds 1096 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u8 tmds = nvbios_rd08(bios, init->offset + 1); tmds 1100 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u32 reg = init_tmds_reg(init, tmds); tmds 1103 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c tmds, addr, mask, data); tmds 1122 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u8 tmds = nvbios_rd08(bios, init->offset + 1); tmds 1124 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u32 reg = init_tmds_reg(init, tmds); tmds 1126 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c trace("TMDS_ZM_GROUP\tT[0x%02x]\n", tmds); tmds 1342 drivers/gpu/drm/radeon/radeon_atombios.c struct radeon_encoder_int_tmds *tmds) tmds 1362 drivers/gpu/drm/radeon/radeon_atombios.c tmds->tmds_pll[i].freq = tmds 1364 drivers/gpu/drm/radeon/radeon_atombios.c tmds->tmds_pll[i].value = tmds 1366 drivers/gpu/drm/radeon/radeon_atombios.c tmds->tmds_pll[i].value |= tmds 1369 drivers/gpu/drm/radeon/radeon_atombios.c tmds->tmds_pll[i].value |= tmds 1372 drivers/gpu/drm/radeon/radeon_atombios.c tmds->tmds_pll[i].value |= tmds 1377 drivers/gpu/drm/radeon/radeon_atombios.c tmds->tmds_pll[i].freq, tmds 1378 drivers/gpu/drm/radeon/radeon_atombios.c tmds->tmds_pll[i].value); tmds 1380 drivers/gpu/drm/radeon/radeon_atombios.c if (maxfreq == tmds->tmds_pll[i].freq) { tmds 1381 drivers/gpu/drm/radeon/radeon_atombios.c tmds->tmds_pll[i].freq = 0xffffffff; tmds 1318 drivers/gpu/drm/radeon/radeon_combios.c struct radeon_encoder_int_tmds *tmds) tmds 1325 drivers/gpu/drm/radeon/radeon_combios.c tmds->tmds_pll[i].value = tmds 1327 drivers/gpu/drm/radeon/radeon_combios.c tmds->tmds_pll[i].freq = default_tmds_pll[rdev->family][i].freq; tmds 1334 drivers/gpu/drm/radeon/radeon_combios.c struct radeon_encoder_int_tmds *tmds) tmds 1352 drivers/gpu/drm/radeon/radeon_combios.c tmds->tmds_pll[i].value = tmds 1354 drivers/gpu/drm/radeon/radeon_combios.c tmds->tmds_pll[i].freq = tmds 1357 drivers/gpu/drm/radeon/radeon_combios.c tmds->tmds_pll[i].freq, tmds 1358 drivers/gpu/drm/radeon/radeon_combios.c tmds->tmds_pll[i].value); tmds 1366 drivers/gpu/drm/radeon/radeon_combios.c tmds->tmds_pll[i].value = tmds 1368 drivers/gpu/drm/radeon/radeon_combios.c tmds->tmds_pll[i].freq = tmds 1375 drivers/gpu/drm/radeon/radeon_combios.c tmds->tmds_pll[i].freq, tmds 1376 drivers/gpu/drm/radeon/radeon_combios.c tmds->tmds_pll[i].value); tmds 1387 drivers/gpu/drm/radeon/radeon_combios.c struct radeon_encoder_ext_tmds *tmds) tmds 1395 drivers/gpu/drm/radeon/radeon_combios.c tmds->i2c_bus = radeon_i2c_lookup(rdev, &i2c_bus); tmds 1402 drivers/gpu/drm/radeon/radeon_combios.c tmds->dvo_chip = DVO_SIL164; tmds 1403 drivers/gpu/drm/radeon/radeon_combios.c tmds->slave_addr = 0x70 >> 1; /* 7 bit addressing */ tmds 1411 drivers/gpu/drm/radeon/radeon_combios.c struct radeon_encoder_ext_tmds *tmds) tmds 1420 drivers/gpu/drm/radeon/radeon_combios.c tmds->i2c_bus = NULL; tmds 1423 drivers/gpu/drm/radeon/radeon_combios.c tmds->i2c_bus = radeon_i2c_lookup(rdev, &i2c_bus); tmds 1424 drivers/gpu/drm/radeon/radeon_combios.c tmds->dvo_chip = DVO_SIL164; tmds 1425 drivers/gpu/drm/radeon/radeon_combios.c tmds->slave_addr = 0x70 >> 1; /* 7 bit addressing */ tmds 1431 drivers/gpu/drm/radeon/radeon_combios.c tmds->slave_addr = RBIOS8(offset + 4 + 2); tmds 1432 drivers/gpu/drm/radeon/radeon_combios.c tmds->slave_addr >>= 1; /* 7 bit addressing */ tmds 1442 drivers/gpu/drm/radeon/radeon_combios.c tmds->i2c_bus = radeon_i2c_lookup(rdev, &i2c_bus); tmds 1446 drivers/gpu/drm/radeon/radeon_combios.c if (!tmds->i2c_bus) { tmds 2840 drivers/gpu/drm/radeon/radeon_combios.c struct radeon_encoder_ext_tmds *tmds = radeon_encoder->enc_priv; tmds 2842 drivers/gpu/drm/radeon/radeon_combios.c if (!tmds) tmds 2845 drivers/gpu/drm/radeon/radeon_combios.c switch (tmds->dvo_chip) { tmds 2848 drivers/gpu/drm/radeon/radeon_combios.c radeon_i2c_put_byte(tmds->i2c_bus, tmds 2849 drivers/gpu/drm/radeon/radeon_combios.c tmds->slave_addr, tmds 2851 drivers/gpu/drm/radeon/radeon_combios.c radeon_i2c_put_byte(tmds->i2c_bus, tmds 2852 drivers/gpu/drm/radeon/radeon_combios.c tmds->slave_addr, tmds 2854 drivers/gpu/drm/radeon/radeon_combios.c radeon_i2c_put_byte(tmds->i2c_bus, tmds 2855 drivers/gpu/drm/radeon/radeon_combios.c tmds->slave_addr, tmds 2857 drivers/gpu/drm/radeon/radeon_combios.c radeon_i2c_put_byte(tmds->i2c_bus, tmds 2858 drivers/gpu/drm/radeon/radeon_combios.c tmds->slave_addr, tmds 2860 drivers/gpu/drm/radeon/radeon_combios.c radeon_i2c_put_byte(tmds->i2c_bus, tmds 2861 drivers/gpu/drm/radeon/radeon_combios.c tmds->slave_addr, tmds 2893 drivers/gpu/drm/radeon/radeon_combios.c struct radeon_encoder_ext_tmds *tmds = radeon_encoder->enc_priv; tmds 2895 drivers/gpu/drm/radeon/radeon_combios.c if (!tmds) tmds 2944 drivers/gpu/drm/radeon/radeon_combios.c radeon_i2c_put_byte(tmds->i2c_bus, tmds 2999 drivers/gpu/drm/radeon/radeon_combios.c radeon_i2c_put_byte(tmds->i2c_bus, tmds 3000 drivers/gpu/drm/radeon/radeon_combios.c tmds->slave_addr, tmds 688 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_encoder_int_tmds *tmds = NULL; tmds 697 drivers/gpu/drm/radeon/radeon_connectors.c tmds = radeon_encoder->enc_priv; tmds 698 drivers/gpu/drm/radeon/radeon_connectors.c if (!tmds) tmds 703 drivers/gpu/drm/radeon/radeon_connectors.c ret = radeon_atombios_get_tmds_info(radeon_encoder, tmds); tmds 705 drivers/gpu/drm/radeon/radeon_connectors.c ret = radeon_legacy_get_tmds_info_from_combios(radeon_encoder, tmds); tmds 708 drivers/gpu/drm/radeon/radeon_connectors.c radeon_legacy_get_tmds_info_from_table(radeon_encoder, tmds); tmds 803 drivers/gpu/drm/radeon/radeon_legacy_encoders.c struct radeon_encoder_int_tmds *tmds = (struct radeon_encoder_int_tmds *)radeon_encoder->enc_priv; tmds 806 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (tmds->tmds_pll[i].freq == 0) tmds 808 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if ((uint32_t)(mode->clock / 10) < tmds->tmds_pll[i].freq) { tmds 809 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp = tmds->tmds_pll[i].value ; tmds 1702 drivers/gpu/drm/radeon/radeon_legacy_encoders.c struct radeon_encoder_int_tmds *tmds = NULL; tmds 1705 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmds = kzalloc(sizeof(struct radeon_encoder_int_tmds), GFP_KERNEL); tmds 1707 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (!tmds) tmds 1711 drivers/gpu/drm/radeon/radeon_legacy_encoders.c ret = radeon_atombios_get_tmds_info(encoder, tmds); tmds 1713 drivers/gpu/drm/radeon/radeon_legacy_encoders.c ret = radeon_legacy_get_tmds_info_from_combios(encoder, tmds); tmds 1716 drivers/gpu/drm/radeon/radeon_legacy_encoders.c radeon_legacy_get_tmds_info_from_table(encoder, tmds); tmds 1718 drivers/gpu/drm/radeon/radeon_legacy_encoders.c return tmds; tmds 1725 drivers/gpu/drm/radeon/radeon_legacy_encoders.c struct radeon_encoder_ext_tmds *tmds = NULL; tmds 1731 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmds = kzalloc(sizeof(struct radeon_encoder_ext_tmds), GFP_KERNEL); tmds 1733 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (!tmds) tmds 1736 drivers/gpu/drm/radeon/radeon_legacy_encoders.c ret = radeon_legacy_get_ext_tmds_info_from_combios(encoder, tmds); tmds 1739 drivers/gpu/drm/radeon/radeon_legacy_encoders.c radeon_legacy_get_ext_tmds_info_from_table(encoder, tmds); tmds 1741 drivers/gpu/drm/radeon/radeon_legacy_encoders.c return tmds; tmds 892 drivers/gpu/drm/radeon/radeon_mode.h struct radeon_encoder_int_tmds *tmds); tmds 894 drivers/gpu/drm/radeon/radeon_mode.h struct radeon_encoder_int_tmds *tmds); tmds 896 drivers/gpu/drm/radeon/radeon_mode.h struct radeon_encoder_int_tmds *tmds); tmds 898 drivers/gpu/drm/radeon/radeon_mode.h struct radeon_encoder_ext_tmds *tmds); tmds 900 drivers/gpu/drm/radeon/radeon_mode.h struct radeon_encoder_ext_tmds *tmds); tmds 69 drivers/gpu/drm/sun4i/sun4i_hdmi_tmds_clk.c struct sun4i_tmds *tmds = hw_to_tmds(hw); tmds 88 drivers/gpu/drm/sun4i/sun4i_hdmi_tmds_clk.c for (j = tmds->div_offset ?: 1; tmds 89 drivers/gpu/drm/sun4i/sun4i_hdmi_tmds_clk.c j < (16 + tmds->div_offset); j++) { tmds 128 drivers/gpu/drm/sun4i/sun4i_hdmi_tmds_clk.c struct sun4i_tmds *tmds = hw_to_tmds(hw); tmds 131 drivers/gpu/drm/sun4i/sun4i_hdmi_tmds_clk.c reg = readl(tmds->hdmi->base + SUN4I_HDMI_PAD_CTRL1_REG); tmds 135 drivers/gpu/drm/sun4i/sun4i_hdmi_tmds_clk.c reg = readl(tmds->hdmi->base + SUN4I_HDMI_PLL_CTRL_REG); tmds 136 drivers/gpu/drm/sun4i/sun4i_hdmi_tmds_clk.c reg = ((reg >> 4) & 0xf) + tmds->div_offset; tmds 146 drivers/gpu/drm/sun4i/sun4i_hdmi_tmds_clk.c struct sun4i_tmds *tmds = hw_to_tmds(hw); tmds 151 drivers/gpu/drm/sun4i/sun4i_hdmi_tmds_clk.c sun4i_tmds_calc_divider(rate, parent_rate, tmds->div_offset, tmds 154 drivers/gpu/drm/sun4i/sun4i_hdmi_tmds_clk.c reg = readl(tmds->hdmi->base + SUN4I_HDMI_PAD_CTRL1_REG); tmds 158 drivers/gpu/drm/sun4i/sun4i_hdmi_tmds_clk.c writel(reg, tmds->hdmi->base + SUN4I_HDMI_PAD_CTRL1_REG); tmds 160 drivers/gpu/drm/sun4i/sun4i_hdmi_tmds_clk.c reg = readl(tmds->hdmi->base + SUN4I_HDMI_PLL_CTRL_REG); tmds 162 drivers/gpu/drm/sun4i/sun4i_hdmi_tmds_clk.c writel(reg | SUN4I_HDMI_PLL_CTRL_DIV(div - tmds->div_offset), tmds 163 drivers/gpu/drm/sun4i/sun4i_hdmi_tmds_clk.c tmds->hdmi->base + SUN4I_HDMI_PLL_CTRL_REG); tmds 170 drivers/gpu/drm/sun4i/sun4i_hdmi_tmds_clk.c struct sun4i_tmds *tmds = hw_to_tmds(hw); tmds 173 drivers/gpu/drm/sun4i/sun4i_hdmi_tmds_clk.c reg = readl(tmds->hdmi->base + SUN4I_HDMI_PLL_DBG0_REG); tmds 180 drivers/gpu/drm/sun4i/sun4i_hdmi_tmds_clk.c struct sun4i_tmds *tmds = hw_to_tmds(hw); tmds 186 drivers/gpu/drm/sun4i/sun4i_hdmi_tmds_clk.c reg = readl(tmds->hdmi->base + SUN4I_HDMI_PLL_DBG0_REG); tmds 189 drivers/gpu/drm/sun4i/sun4i_hdmi_tmds_clk.c tmds->hdmi->base + SUN4I_HDMI_PLL_DBG0_REG); tmds 206 drivers/gpu/drm/sun4i/sun4i_hdmi_tmds_clk.c struct sun4i_tmds *tmds; tmds 217 drivers/gpu/drm/sun4i/sun4i_hdmi_tmds_clk.c tmds = devm_kzalloc(hdmi->dev, sizeof(*tmds), GFP_KERNEL); tmds 218 drivers/gpu/drm/sun4i/sun4i_hdmi_tmds_clk.c if (!tmds) tmds 227 drivers/gpu/drm/sun4i/sun4i_hdmi_tmds_clk.c tmds->hdmi = hdmi; tmds 228 drivers/gpu/drm/sun4i/sun4i_hdmi_tmds_clk.c tmds->hw.init = &init; tmds 229 drivers/gpu/drm/sun4i/sun4i_hdmi_tmds_clk.c tmds->div_offset = hdmi->variant->tmds_clk_div_offset; tmds 231 drivers/gpu/drm/sun4i/sun4i_hdmi_tmds_clk.c hdmi->tmds_clk = devm_clk_register(hdmi->dev, &tmds->hw); tmds 44 drivers/gpu/drm/tegra/hdmi.c const struct tmds_config *tmds; tmds 812 drivers/gpu/drm/tegra/hdmi.c const struct tmds_config *tmds) tmds 816 drivers/gpu/drm/tegra/hdmi.c tegra_hdmi_writel(hdmi, tmds->pll0, HDMI_NV_PDISP_SOR_PLL0); tmds 817 drivers/gpu/drm/tegra/hdmi.c tegra_hdmi_writel(hdmi, tmds->pll1, HDMI_NV_PDISP_SOR_PLL1); tmds 818 drivers/gpu/drm/tegra/hdmi.c tegra_hdmi_writel(hdmi, tmds->pe_current, HDMI_NV_PDISP_PE_CURRENT); tmds 820 drivers/gpu/drm/tegra/hdmi.c tegra_hdmi_writel(hdmi, tmds->drive_current, tmds 828 drivers/gpu/drm/tegra/hdmi.c tegra_hdmi_writel(hdmi, tmds->peak_current, tmds 1299 drivers/gpu/drm/tegra/hdmi.c if (hdmi->pixel_clock <= hdmi->config->tmds[i].pclk) { tmds 1300 drivers/gpu/drm/tegra/hdmi.c tegra_hdmi_setup_tmds(hdmi, &hdmi->config->tmds[i]); tmds 1498 drivers/gpu/drm/tegra/hdmi.c .tmds = tegra20_tmds_config, tmds 1508 drivers/gpu/drm/tegra/hdmi.c .tmds = tegra30_tmds_config, tmds 1518 drivers/gpu/drm/tegra/hdmi.c .tmds = tegra114_tmds_config, tmds 1528 drivers/gpu/drm/tegra/hdmi.c .tmds = tegra124_tmds_config, tmds 1687 drivers/pinctrl/tegra/pinctrl-tegra124.c FUNCTION(tmds), tmds 728 sound/x86/intel_hdmi_audio.c static void had_prog_cts(u32 aud_samp_freq, u32 tmds, u32 link_rate, tmds 739 sound/x86/intel_hdmi_audio.c dividend = (u64)tmds * n_param*1000; tmds 744 sound/x86/intel_hdmi_audio.c tmds, n_param, cts_val);