Home
last modified time | relevance | path

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

/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
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/drivers/gpu/drm/bridge/synopsys/
H A Ddw-hdmi-qp.c54 unsigned long tmds; member
59 { .tmds = 25175000, .n_32k = 4576, .n_44k1 = 7007, .n_48k = 6864, },
60 { .tmds = 25200000, .n_32k = 4096, .n_44k1 = 6272, .n_48k = 6144, },
61 { .tmds = 27000000, .n_32k = 4096, .n_44k1 = 6272, .n_48k = 6144, },
62 { .tmds = 28320000, .n_32k = 4096, .n_44k1 = 5586, .n_48k = 6144, },
63 { .tmds = 30240000, .n_32k = 4096, .n_44k1 = 5642, .n_48k = 6144, },
64 { .tmds = 31500000, .n_32k = 4096, .n_44k1 = 5600, .n_48k = 6144, },
65 { .tmds = 32000000, .n_32k = 4096, .n_44k1 = 5733, .n_48k = 6144, },
66 { .tmds = 33750000, .n_32k = 4096, .n_44k1 = 6272, .n_48k = 6144, },
67 { .tmds = 36000000, .n_32k = 4096, .n_44k1 = 5684, .n_48k = 6144, },
[all …]
/linux/drivers/gpu/drm/radeon/
H A Dradeon_combios.c1299 struct radeon_encoder_int_tmds *tmds) in radeon_legacy_get_tmds_info_from_table() argument
1306 tmds->tmds_pll[i].value = in radeon_legacy_get_tmds_info_from_table()
1308 tmds->tmds_pll[i].freq = default_tmds_pll[rdev->family][i].freq; in radeon_legacy_get_tmds_info_from_table()
1315 struct radeon_encoder_int_tmds *tmds) in radeon_legacy_get_tmds_info_from_combios() argument
1333 tmds->tmds_pll[i].value = in radeon_legacy_get_tmds_info_from_combios()
1335 tmds->tmds_pll[i].freq = in radeon_legacy_get_tmds_info_from_combios()
1338 tmds->tmds_pll[i].freq, in radeon_legacy_get_tmds_info_from_combios()
1339 tmds->tmds_pll[i].value); in radeon_legacy_get_tmds_info_from_combios()
1347 tmds->tmds_pll[i].value = in radeon_legacy_get_tmds_info_from_combios()
1349 tmds->tmds_pll[i].freq = in radeon_legacy_get_tmds_info_from_combios()
[all …]
H A Dradeon_legacy_encoders.c796 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; in radeon_legacy_get_tmds_info() local
1698 tmds = kzalloc_obj(struct radeon_encoder_int_tmds); 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 …]
H A Dradeon_connectors.c652 struct radeon_encoder_int_tmds *tmds = NULL; in radeon_connector_set_property() local
661 tmds = radeon_encoder->enc_priv; in radeon_connector_set_property()
662 if (!tmds) in radeon_connector_set_property()
667 ret = radeon_atombios_get_tmds_info(radeon_encoder, tmds); in radeon_connector_set_property()
669 ret = radeon_legacy_get_tmds_info_from_combios(radeon_encoder, tmds); in radeon_connector_set_property()
672 radeon_legacy_get_tmds_info_from_table(radeon_encoder, tmds); in radeon_connector_set_property()
H A Dradeon_atombios.c1329 struct radeon_encoder_int_tmds *tmds) in radeon_atombios_get_tmds_info() argument
1349 tmds->tmds_pll[i].freq = in radeon_atombios_get_tmds_info()
1351 tmds->tmds_pll[i].value = in radeon_atombios_get_tmds_info()
1353 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()
1364 tmds->tmds_pll[i].freq, in radeon_atombios_get_tmds_info()
1365 tmds->tmds_pll[i].value); in radeon_atombios_get_tmds_info()
1367 if (maxfreq == tmds->tmds_pll[i].freq) { in radeon_atombios_get_tmds_info()
1368 tmds->tmds_pll[i].freq = 0xffffffff; in radeon_atombios_get_tmds_info()
/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dgm200.c78 ior->tmds.high_speed = khz > 340000; in gm200_sor_hdmi_scdc()
81 if (ior->tmds.high_speed) in gm200_sor_hdmi_scdc()
83 if (ior->tmds.high_speed || scrambling_low_rates) in gm200_sor_hdmi_scdc()
H A Dga102.c92 if (sor->tmds.high_speed) in ga102_sor_clock()
H A Dior.h49 } tmds; member
H A Duoutp.c618 args->v0.tmds.dual = (outp->info.tmdsconf.sor.link == 3); in nvkm_uoutp_new()
621 args->v0.tmds.dual = 0; in nvkm_uoutp_new()
H A Dgf119.c294 const u32 speed = sor->tmds.high_speed ? 0x14 : 0x0a; in gf119_sor_clock()
296 if (sor->tmds.high_speed) in gf119_sor_clock()
/linux/drivers/gpu/drm/nouveau/include/nvif/
H A Dif0012.h29 } tmds; member
136 } tmds; member
H A Doutp.h38 } tmds; member
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_bios.c650 clktable = bios->tmds.output0_script_ptr; in run_tmds_table()
654 clktable = bios->tmds.output1_script_ptr; in run_tmds_table()
957 bios->tmds.output0_script_ptr = ROM16(bios->data[tmdstableptr + 11]); in parse_bit_tmds_tbl_entry()
958 bios->tmds.output1_script_ptr = ROM16(bios->data[tmdstableptr + 13]); in parse_bit_tmds_tbl_entry()
1035 parse_bit_table(bios, bitoffset, &BIT_TABLE('T', tmds)); in parse_bit_structure()
1204 bios->tmds.output0_script_ptr = ROM16(bmp[89]); in parse_bmp_structure()
1205 bios->tmds.output1_script_ptr = ROM16(bmp[91]); in parse_bmp_structure()
1777 else if (bios->tmds.output0_script_ptr || in fabricate_dcb_encoder_table()
1778 bios->tmds.output1_script_ptr) in fabricate_dcb_encoder_table()
H A Dnouveau_bios.h142 } tmds; member
/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()
1122 u8 tmds = nvbios_rd08(bios, init->offset + 1); in init_zm_tmds_group() local
[all …]
/linux/drivers/gpu/drm/nouveau/nvif/
H A Doutp.c530 outp->info.tmds.dual = args.tmds.dual; in nvif_outp_ctor()
/linux/sound/x86/
H A Dintel_hdmi_audio.c724 static void had_prog_cts(u32 aud_samp_freq, u32 tmds, u32 link_rate, in had_prog_cts() argument
735 dividend = (u64)tmds * n_param*1000; in had_prog_cts()
740 tmds, n_param, cts_val); in had_prog_cts()
/linux/Documentation/devicetree/bindings/display/
H A Dst,stih4xx.txt205 clock-names = "pix", "tmds", "phy", "audio";
/linux/arch/arm/boot/dts/allwinner/
H A Dsunxi-h3-h5.dtsi828 clock-names = "iahb", "isfr", "tmds", "cec";
H A Dsun8i-a83t.dtsi1074 clock-names = "iahb", "isfr", "tmds";
H A Dsun8i-r40.dtsi1275 clock-names = "iahb", "isfr", "tmds", "cec";
/linux/arch/arm64/boot/dts/allwinner/
H A Dsun50i-h6.dtsi823 clock-names = "iahb", "isfr", "tmds", "cec", "hdcp",
/linux/drivers/pinctrl/tegra/
H A Dpinctrl-tegra124.c1684 FUNCTION(tmds),
/linux/drivers/gpu/drm/nouveau/dispnv50/
H A Ddisp.c2935 outp->dcb->duallink_possible = outp->outp.info.tmds.dual; in nv50_display_create()