| /OK3568_Linux_fs/kernel/drivers/gpu/drm/sun4i/ |
| H A 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 …]
|
| /OK3568_Linux_fs/u-boot/drivers/video/ |
| H A D | dw_hdmi.c | 15 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, 38 .tmds = 74176000, .n = 11648, .cts = 140625, [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/video/drm/ |
| H A D | dw_hdmi.c | 41 { .tmds = 25175000, .n_32k = 4096, .n_44k1 = 12854, .n_48k = 6144, }, 42 { .tmds = 25200000, .n_32k = 4096, .n_44k1 = 5656, .n_48k = 6144, }, 43 { .tmds = 27000000, .n_32k = 4096, .n_44k1 = 5488, .n_48k = 6144, }, 44 { .tmds = 28320000, .n_32k = 4096, .n_44k1 = 5586, .n_48k = 6144, }, 45 { .tmds = 30240000, .n_32k = 4096, .n_44k1 = 5642, .n_48k = 6144, }, 46 { .tmds = 31500000, .n_32k = 4096, .n_44k1 = 5600, .n_48k = 6144, }, 47 { .tmds = 32000000, .n_32k = 4096, .n_44k1 = 5733, .n_48k = 6144, }, 48 { .tmds = 33750000, .n_32k = 4096, .n_44k1 = 6272, .n_48k = 6144, }, 49 { .tmds = 36000000, .n_32k = 4096, .n_44k1 = 5684, .n_48k = 6144, }, 50 { .tmds = 40000000, .n_32k = 4096, .n_44k1 = 5733, .n_48k = 6144, }, [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/radeon/ |
| H A D | radeon_combios.c | 1319 struct radeon_encoder_int_tmds *tmds) in radeon_legacy_get_tmds_info_from_table() argument 1326 tmds->tmds_pll[i].value = in radeon_legacy_get_tmds_info_from_table() 1328 tmds->tmds_pll[i].freq = default_tmds_pll[rdev->family][i].freq; in radeon_legacy_get_tmds_info_from_table() 1335 struct radeon_encoder_int_tmds *tmds) in radeon_legacy_get_tmds_info_from_combios() argument 1353 tmds->tmds_pll[i].value = in radeon_legacy_get_tmds_info_from_combios() 1355 tmds->tmds_pll[i].freq = in radeon_legacy_get_tmds_info_from_combios() 1358 tmds->tmds_pll[i].freq, in radeon_legacy_get_tmds_info_from_combios() 1359 tmds->tmds_pll[i].value); in radeon_legacy_get_tmds_info_from_combios() 1367 tmds->tmds_pll[i].value = in radeon_legacy_get_tmds_info_from_combios() 1369 tmds->tmds_pll[i].freq = in radeon_legacy_get_tmds_info_from_combios() [all …]
|
| H A D | radeon_legacy_encoders.c | 803 struct radeon_encoder_int_tmds *tmds = (struct radeon_encoder_int_tmds *)radeon_encoder->enc_priv; in radeon_legacy_tmds_int_mode_set() local 806 if (tmds->tmds_pll[i].freq == 0) in radeon_legacy_tmds_int_mode_set() 808 if ((uint32_t)(mode->clock / 10) < tmds->tmds_pll[i].freq) { in radeon_legacy_tmds_int_mode_set() 809 tmp = tmds->tmds_pll[i].value ; in radeon_legacy_tmds_int_mode_set() 1702 struct radeon_encoder_int_tmds *tmds = NULL; in radeon_legacy_get_tmds_info() local 1705 tmds = kzalloc(sizeof(struct radeon_encoder_int_tmds), GFP_KERNEL); in radeon_legacy_get_tmds_info() 1707 if (!tmds) in radeon_legacy_get_tmds_info() 1711 ret = radeon_atombios_get_tmds_info(encoder, tmds); in radeon_legacy_get_tmds_info() 1713 ret = radeon_legacy_get_tmds_info_from_combios(encoder, tmds); in radeon_legacy_get_tmds_info() 1716 radeon_legacy_get_tmds_info_from_table(encoder, tmds); in radeon_legacy_get_tmds_info() [all …]
|
| H A D | radeon_mode.h | 897 struct radeon_encoder_int_tmds *tmds); 899 struct radeon_encoder_int_tmds *tmds); 901 struct radeon_encoder_int_tmds *tmds); 903 struct radeon_encoder_ext_tmds *tmds); 905 struct radeon_encoder_ext_tmds *tmds);
|
| H A D | radeon_connectors.c | 688 struct radeon_encoder_int_tmds *tmds = NULL; in radeon_connector_set_property() local 697 tmds = radeon_encoder->enc_priv; in radeon_connector_set_property() 698 if (!tmds) in radeon_connector_set_property() 703 ret = radeon_atombios_get_tmds_info(radeon_encoder, tmds); in radeon_connector_set_property() 705 ret = radeon_legacy_get_tmds_info_from_combios(radeon_encoder, tmds); in radeon_connector_set_property() 708 radeon_legacy_get_tmds_info_from_table(radeon_encoder, tmds); in radeon_connector_set_property()
|
| H A D | radeon_atombios.c | 1332 struct radeon_encoder_int_tmds *tmds) in radeon_atombios_get_tmds_info() argument 1352 tmds->tmds_pll[i].freq = in radeon_atombios_get_tmds_info() 1354 tmds->tmds_pll[i].value = in radeon_atombios_get_tmds_info() 1356 tmds->tmds_pll[i].value |= in radeon_atombios_get_tmds_info() 1359 tmds->tmds_pll[i].value |= in radeon_atombios_get_tmds_info() 1362 tmds->tmds_pll[i].value |= in radeon_atombios_get_tmds_info() 1367 tmds->tmds_pll[i].freq, in radeon_atombios_get_tmds_info() 1368 tmds->tmds_pll[i].value); in radeon_atombios_get_tmds_info() 1370 if (maxfreq == tmds->tmds_pll[i].freq) { in radeon_atombios_get_tmds_info() 1371 tmds->tmds_pll[i].freq = 0xffffffff; in radeon_atombios_get_tmds_info()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/bridge/synopsys/ |
| H A D | dw-hdmi-qp.c | 81 { .tmds = 25175000, .n_32k = 4096, .n_44k1 = 12854, .n_48k = 6144, }, 82 { .tmds = 25200000, .n_32k = 4096, .n_44k1 = 5656, .n_48k = 6144, }, 83 { .tmds = 27000000, .n_32k = 4096, .n_44k1 = 5488, .n_48k = 6144, }, 84 { .tmds = 28320000, .n_32k = 4096, .n_44k1 = 5586, .n_48k = 6144, }, 85 { .tmds = 30240000, .n_32k = 4096, .n_44k1 = 5642, .n_48k = 6144, }, 86 { .tmds = 31500000, .n_32k = 4096, .n_44k1 = 5600, .n_48k = 6144, }, 87 { .tmds = 32000000, .n_32k = 4096, .n_44k1 = 5733, .n_48k = 6144, }, 88 { .tmds = 33750000, .n_32k = 4096, .n_44k1 = 6272, .n_48k = 6144, }, 89 { .tmds = 36000000, .n_32k = 4096, .n_44k1 = 5684, .n_48k = 6144, }, 90 { .tmds = 40000000, .n_32k = 4096, .n_44k1 = 5733, .n_48k = 6144, }, [all …]
|
| H A D | dw-hdmi.c | 84 { .tmds = 25175000, .n_32k = 4096, .n_44k1 = 12854, .n_48k = 6144, }, 85 { .tmds = 25200000, .n_32k = 4096, .n_44k1 = 5656, .n_48k = 6144, }, 86 { .tmds = 27000000, .n_32k = 4096, .n_44k1 = 5488, .n_48k = 6144, }, 87 { .tmds = 28320000, .n_32k = 4096, .n_44k1 = 5586, .n_48k = 6144, }, 88 { .tmds = 30240000, .n_32k = 4096, .n_44k1 = 5642, .n_48k = 6144, }, 89 { .tmds = 31500000, .n_32k = 4096, .n_44k1 = 5600, .n_48k = 6144, }, 90 { .tmds = 32000000, .n_32k = 4096, .n_44k1 = 5733, .n_48k = 6144, }, 91 { .tmds = 33750000, .n_32k = 4096, .n_44k1 = 6272, .n_48k = 6144, }, 92 { .tmds = 36000000, .n_32k = 4096, .n_44k1 = 5684, .n_48k = 6144, }, 93 { .tmds = 40000000, .n_32k = 4096, .n_44k1 = 5733, .n_48k = 6144, }, [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/tegra/ |
| H A D | hdmi.c | 44 const struct tmds_config *tmds; member 812 const struct tmds_config *tmds) in tegra_hdmi_setup_tmds() argument 816 tegra_hdmi_writel(hdmi, tmds->pll0, HDMI_NV_PDISP_SOR_PLL0); in tegra_hdmi_setup_tmds() 817 tegra_hdmi_writel(hdmi, tmds->pll1, HDMI_NV_PDISP_SOR_PLL1); in tegra_hdmi_setup_tmds() 818 tegra_hdmi_writel(hdmi, tmds->pe_current, HDMI_NV_PDISP_PE_CURRENT); in tegra_hdmi_setup_tmds() 820 tegra_hdmi_writel(hdmi, tmds->drive_current, in tegra_hdmi_setup_tmds() 828 tegra_hdmi_writel(hdmi, tmds->peak_current, in tegra_hdmi_setup_tmds() 1293 if (hdmi->pixel_clock <= hdmi->config->tmds[i].pclk) { in tegra_hdmi_encoder_enable() 1294 tegra_hdmi_setup_tmds(hdmi, &hdmi->config->tmds[i]); in tegra_hdmi_encoder_enable() 1550 .tmds = tegra20_tmds_config, [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
| H A D | hdmigm200.c | 35 ior->tmds.high_speed = !!(scdc & 0x2); in gm200_hdmi_scdc()
|
| H A D | sorgf119.c | 127 const u32 speed = sor->tmds.high_speed ? 0x14 : 0x0a; in gf119_sor_clock() 129 if (sor->tmds.high_speed) in gf119_sor_clock()
|
| H A D | ior.h | 48 } tmds; member
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/ |
| H A D | nouveau_bios.c | 649 clktable = bios->tmds.output0_script_ptr; in run_tmds_table() 653 clktable = bios->tmds.output1_script_ptr; in run_tmds_table() 956 bios->tmds.output0_script_ptr = ROM16(bios->data[tmdstableptr + 11]); in parse_bit_tmds_tbl_entry() 957 bios->tmds.output1_script_ptr = ROM16(bios->data[tmdstableptr + 13]); in parse_bit_tmds_tbl_entry() 1034 parse_bit_table(bios, bitoffset, &BIT_TABLE('T', tmds)); in parse_bit_structure() 1203 bios->tmds.output0_script_ptr = ROM16(bmp[89]); in parse_bmp_structure() 1204 bios->tmds.output1_script_ptr = ROM16(bmp[91]); in parse_bmp_structure() 1776 else if (bios->tmds.output0_script_ptr || in fabricate_dcb_encoder_table() 1777 bios->tmds.output1_script_ptr) in fabricate_dcb_encoder_table()
|
| H A D | nouveau_bios.h | 141 } tmds; member
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
| H A 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 …]
|
| /OK3568_Linux_fs/u-boot/include/linux/ |
| H A D | dw_hdmi.h | 100 unsigned long tmds; member
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | stih418-clock.dtsi | 275 "clk-tmds-hdmi-div2", 284 "clk-tmds-hdmi",
|
| H A D | stih407.dtsi | 111 "tmds",
|
| H A D | stih410.dtsi | 205 "tmds",
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/ |
| H A D | dw_hdmi-rockchip.c | 260 { .tmds = 25177000, .n_32k = 4352, .n_44k1 = 14994, .n_48k = 6528, }, 262 { .tmds = 57291000, .n_32k = 3968, .n_44k1 = 4557, .n_48k = 5952, }, 264 { .tmds = 74438000, .n_32k = 8192, .n_44k1 = 18816, .n_48k = 4096, }, 266 { .tmds = 118667000, .n_32k = 4224, .n_44k1 = 5292, .n_48k = 6336, }, 268 { .tmds = 121715000, .n_32k = 4480, .n_44k1 = 6174, .n_48k = 6272, }, 270 { .tmds = 136800000, .n_32k = 4096, .n_44k1 = 5684, .n_48k = 6144, }, 272 { .tmds = 0, .n_32k = 0, .n_44k1 = 0, .n_48k = 0, },
|
| /OK3568_Linux_fs/kernel/include/drm/bridge/ |
| H A D | dw_hdmi.h | 109 unsigned long tmds; member
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/clock/ |
| H A D | exynos5260-clock.txt | 37 - "phyclk_hdmi_phy_tmds_clko" - hdmi phy tmds clock
|
| /OK3568_Linux_fs/kernel/sound/x86/ |
| H A D | intel_hdmi_audio.c | 728 static void had_prog_cts(u32 aud_samp_freq, u32 tmds, u32 link_rate, in had_prog_cts() argument 739 dividend = (u64)tmds * n_param*1000; in had_prog_cts() 744 tmds, n_param, cts_val); in had_prog_cts()
|