Home
last modified time | relevance | path

Searched refs:tmds (Results 1 – 22 of 22) 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.c53 unsigned long tmds; member
58 { .tmds = 25175000, .n_32k = 4576, .n_44k1 = 7007, .n_48k = 6864, },
59 { .tmds = 25200000, .n_32k = 4096, .n_44k1 = 6272, .n_48k = 6144, },
60 { .tmds = 27000000, .n_32k = 4096, .n_44k1 = 6272, .n_48k = 6144, },
61 { .tmds = 28320000, .n_32k = 4096, .n_44k1 = 5586, .n_48k = 6144, },
62 { .tmds = 30240000, .n_32k = 4096, .n_44k1 = 5642, .n_48k = 6144, },
63 { .tmds = 31500000, .n_32k = 4096, .n_44k1 = 5600, .n_48k = 6144, },
64 { .tmds = 32000000, .n_32k = 4096, .n_44k1 = 5733, .n_48k = 6144, },
65 { .tmds = 33750000, .n_32k = 4096, .n_44k1 = 6272, .n_48k = 6144, },
66 { .tmds = 36000000, .n_32k = 4096, .n_44k1 = 5684, .n_48k = 6144, },
[all …]
/linux/drivers/gpu/drm/radeon/
H A Dradeon_combios.c1300 struct radeon_encoder_int_tmds *tmds) in radeon_legacy_get_tmds_info_from_table() argument
1307 tmds->tmds_pll[i].value = in radeon_legacy_get_tmds_info_from_table()
1309 tmds->tmds_pll[i].freq = default_tmds_pll[rdev->family][i].freq; in radeon_legacy_get_tmds_info_from_table()
1316 struct radeon_encoder_int_tmds *tmds) in radeon_legacy_get_tmds_info_from_combios() argument
1334 tmds->tmds_pll[i].value = in radeon_legacy_get_tmds_info_from_combios()
1336 tmds->tmds_pll[i].freq = in radeon_legacy_get_tmds_info_from_combios()
1339 tmds->tmds_pll[i].freq, in radeon_legacy_get_tmds_info_from_combios()
1340 tmds->tmds_pll[i].value); in radeon_legacy_get_tmds_info_from_combios()
1348 tmds->tmds_pll[i].value = in radeon_legacy_get_tmds_info_from_combios()
1350 tmds->tmds_pll[i].freq = in radeon_legacy_get_tmds_info_from_combios()
[all …]
H A Dradeon_mode.h857 struct radeon_encoder_int_tmds *tmds);
859 struct radeon_encoder_int_tmds *tmds);
861 struct radeon_encoder_int_tmds *tmds);
863 struct radeon_encoder_ext_tmds *tmds);
865 struct radeon_encoder_ext_tmds *tmds);
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/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()