Home
last modified time | relevance | path

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

12345678910>>...12

/kernel/linux/linux-4.19/drivers/gpu/drm/sun4i/
Dsun4i_hdmi_tmds_clk.c72 struct sun4i_tmds *tmds = hw_to_tmds(hw); in sun4i_tmds_determine_rate() local
91 for (j = tmds->div_offset ?: 1; in sun4i_tmds_determine_rate()
92 j < (16 + tmds->div_offset); j++) { in sun4i_tmds_determine_rate()
131 struct sun4i_tmds *tmds = hw_to_tmds(hw); in sun4i_tmds_recalc_rate() local
134 reg = readl(tmds->hdmi->base + SUN4I_HDMI_PAD_CTRL1_REG); in sun4i_tmds_recalc_rate()
138 reg = readl(tmds->hdmi->base + SUN4I_HDMI_PLL_CTRL_REG); in sun4i_tmds_recalc_rate()
139 reg = ((reg >> 4) & 0xf) + tmds->div_offset; in sun4i_tmds_recalc_rate()
149 struct sun4i_tmds *tmds = hw_to_tmds(hw); in sun4i_tmds_set_rate() local
154 sun4i_tmds_calc_divider(rate, parent_rate, tmds->div_offset, in sun4i_tmds_set_rate()
157 reg = readl(tmds->hdmi->base + SUN4I_HDMI_PAD_CTRL1_REG); in sun4i_tmds_set_rate()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/
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 …]
/kernel/linux/linux-4.19/drivers/gpu/drm/
Ddrm_scdc_helper.c157 * Writes the TMDS config register over SCDC channel, and:
171 DRM_DEBUG_KMS("Failed to read TMDS config: %d\n", ret); in drm_scdc_set_scrambling()
191 * drm_scdc_set_high_tmds_clock_ratio - set TMDS clock ratio
196 * TMDS clock ratio calculations go like this:
197 * TMDS character = 10 bit TMDS encoded value
199 * TMDS character rate = The rate at which TMDS characters are
202 * TMDS bit rate = 10x TMDS character rate
205 * TMDS clock rate for pixel clock < 340 MHz = 1x the character
208 * TMDS clock rate for pixel clock > 340 MHz = 0.25x the character
211 * Writes to the TMDS config register over SCDC channel, and:
[all …]
Ddrm_dp_dual_mode_helper.c250 * drm_dp_dual_mode_max_tmds_clock - Max TMDS clock for DP dual mode adaptor
254 * Determine the max TMDS clock the adaptor supports based on the
262 * Maximum supported TMDS clock rate for the DP dual mode adaptor in kHz.
284 DRM_DEBUG_KMS("Failed to query max TMDS clock\n"); in drm_dp_dual_mode_max_tmds_clock()
293 …* drm_dp_dual_mode_get_tmds_output - Get the state of the TMDS output buffers in the DP dual mode …
296 * @enabled: current state of the TMDS output buffers
298 * Get the state of the TMDS output buffers in the adaptor. For
323 DRM_DEBUG_KMS("Failed to query state of TMDS output buffers\n"); in drm_dp_dual_mode_get_tmds_output()
334 * drm_dp_dual_mode_set_tmds_output - Enable/disable TMDS output buffers in the DP dual mode adaptor
337 * @enable: enable (as opposed to disable) the TMDS output buffers
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_scdc_helper.c157 * Writes the TMDS config register over SCDC channel, and:
171 DRM_DEBUG_KMS("Failed to read TMDS config: %d\n", ret); in drm_scdc_set_scrambling()
191 * drm_scdc_set_high_tmds_clock_ratio - set TMDS clock ratio
196 * TMDS clock ratio calculations go like this:
197 * TMDS character = 10 bit TMDS encoded value
199 * TMDS character rate = The rate at which TMDS characters are
202 * TMDS bit rate = 10x TMDS character rate
205 * TMDS clock rate for pixel clock < 340 MHz = 1x the character
208 * TMDS clock rate for pixel clock > 340 MHz = 0.25x the character
211 * Writes to the TMDS config register over SCDC channel, and:
[all …]
Ddrm_dp_dual_mode_helper.c252 * drm_dp_dual_mode_max_tmds_clock - Max TMDS clock for DP dual mode adaptor
256 * Determine the max TMDS clock the adaptor supports based on the
264 * Maximum supported TMDS clock rate for the DP dual mode adaptor in kHz.
286 DRM_DEBUG_KMS("Failed to query max TMDS clock\n"); in drm_dp_dual_mode_max_tmds_clock()
295 …* drm_dp_dual_mode_get_tmds_output - Get the state of the TMDS output buffers in the DP dual mode …
298 * @enabled: current state of the TMDS output buffers
300 * Get the state of the TMDS output buffers in the adaptor. For
325 DRM_DEBUG_KMS("Failed to query state of TMDS output buffers\n"); in drm_dp_dual_mode_get_tmds_output()
336 * drm_dp_dual_mode_set_tmds_output - Enable/disable TMDS output buffers in the DP dual mode adaptor
339 * @enable: enable (as opposed to disable) the TMDS output buffers
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/display/
Damlogic,meson-dw-hdmi.txt7 - A custom HDMI PHY in order to convert video to TMDS signal
12 | Synopsys HDMI | HDMI PHY |=> TMDS
65 S905 (GXBB) VENC Input TMDS Output
66 S905X (GXL) VENC Input TMDS Output
67 S905D (GXL) VENC Input TMDS Output
68 S912 (GXM) VENC Input TMDS Output
107 /* TMDS Output */
/kernel/linux/linux-4.19/drivers/gpu/drm/sti/
Dsti_hdmi.h51 * @clk_tmds: hdmi tmds clock
103 * A pointer to an array of these structures is passed to a TMDS (HDMI) output
106 * specific configuration for a given TMDS clock frequency range.
108 * @min_tmds_freq: Lower bound of TMDS clock frequency this entry applies to
109 * @max_tmds_freq: Upper bound of TMDS clock frequency this entry applies to
/kernel/linux/linux-5.10/drivers/gpu/drm/sti/
Dsti_hdmi.h53 * @clk_tmds: hdmi tmds clock
105 * A pointer to an array of these structures is passed to a TMDS (HDMI) output
108 * specific configuration for a given TMDS clock frequency range.
110 * @min_tmds_freq: Lower bound of TMDS clock frequency this entry applies to
111 * @max_tmds_freq: Upper bound of TMDS clock frequency this entry applies to
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_combios.c97 COMBIOS_TMDS_POWER_ON_TABLE, /* offset from tmds power */
98 COMBIOS_TMDS_POWER_OFF_TABLE, /* offset from tmds power */
342 case COMBIOS_TMDS_POWER_ON_TABLE: /* offset from tmds power */ in combios_get_table_offset()
351 case COMBIOS_TMDS_POWER_OFF_TABLE: /* offset from tmds power */ in combios_get_table_offset()
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()
[all …]
Dradeon_legacy_encoders.c803 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 …]
/kernel/linux/linux-4.19/drivers/gpu/drm/radeon/
Dradeon_combios.c93 COMBIOS_TMDS_POWER_ON_TABLE, /* offset from tmds power */
94 COMBIOS_TMDS_POWER_OFF_TABLE, /* offset from tmds power */
338 case COMBIOS_TMDS_POWER_ON_TABLE: /* offset from tmds power */ in combios_get_table_offset()
347 case COMBIOS_TMDS_POWER_OFF_TABLE: /* offset from tmds power */ in combios_get_table_offset()
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()
[all …]
Dradeon_legacy_encoders.c797 struct radeon_encoder_int_tmds *tmds = (struct radeon_encoder_int_tmds *)radeon_encoder->enc_priv; in radeon_legacy_tmds_int_mode_set() local
800 if (tmds->tmds_pll[i].freq == 0) in radeon_legacy_tmds_int_mode_set()
802 if ((uint32_t)(mode->clock / 10) < tmds->tmds_pll[i].freq) { in radeon_legacy_tmds_int_mode_set()
803 tmp = tmds->tmds_pll[i].value ; in radeon_legacy_tmds_int_mode_set()
1696 struct radeon_encoder_int_tmds *tmds = NULL; in radeon_legacy_get_tmds_info() local
1699 tmds = kzalloc(sizeof(struct radeon_encoder_int_tmds), GFP_KERNEL); in radeon_legacy_get_tmds_info()
1701 if (!tmds) in radeon_legacy_get_tmds_info()
1705 ret = radeon_atombios_get_tmds_info(encoder, tmds); in radeon_legacy_get_tmds_info()
1707 ret = radeon_legacy_get_tmds_info_from_combios(encoder, tmds); in radeon_legacy_get_tmds_info()
1710 radeon_legacy_get_tmds_info_from_table(encoder, tmds); in radeon_legacy_get_tmds_info()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dsorgf119.c126 if (sor->asy.proto == TMDS) { in gf119_sor_clock()
127 const u32 speed = sor->tmds.high_speed ? 0x14 : 0x0a; in gf119_sor_clock()
129 if (sor->tmds.high_speed) in gf119_sor_clock()
145 case 1: state->proto = TMDS; state->link = 1; break; in gf119_sor_state()
146 case 2: state->proto = TMDS; state->link = 2; break; in gf119_sor_state()
147 case 5: state->proto = TMDS; state->link = 3; break; in gf119_sor_state()
Dsornv50.c76 case 1: state->proto = TMDS; state->link = 1; break; in nv50_sor_state()
77 case 2: state->proto = TMDS; state->link = 2; break; in nv50_sor_state()
78 case 5: state->proto = TMDS; state->link = 3; break; in nv50_sor_state()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/
Damlogic,meson-dw-hdmi.yaml17 - A custom HDMI PHY in order to convert video to TMDS signal
22 | Synopsys HDMI | HDMI PHY |=> TMDS
91 A port node pointing to the TMDS Output port node.
139 /* TMDS Output */
Dallwinner,sun8i-a83t-dw-hdmi.yaml53 - description: TMDS Clock
64 - const: tmds
187 clock-names = "iahb", "isfr", "tmds";
245 clock-names = "iahb", "isfr", "tmds", "cec", "hdcp",
/kernel/linux/linux-4.19/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dsorgf119.c125 if (sor->asy.proto == TMDS) { in gf119_sor_clock()
126 /* NFI why, but this sets DP_LINK_BW_2_7 when using TMDS. */ in gf119_sor_clock()
142 case 1: state->proto = TMDS; state->link = 1; break; in gf119_sor_state()
143 case 2: state->proto = TMDS; state->link = 2; break; in gf119_sor_state()
144 case 5: state->proto = TMDS; state->link = 3; break; in gf119_sor_state()
Dsornv50.c76 case 1: state->proto = TMDS; state->link = 1; break; in nv50_sor_state()
77 case 2: state->proto = TMDS; state->link = 2; break; in nv50_sor_state()
78 case 5: state->proto = TMDS; state->link = 3; break; in nv50_sor_state()
Dsorgv100.c67 case 1: state->proto = TMDS; state->link = 1; break; in gv100_sor_state()
68 case 2: state->proto = TMDS; state->link = 2; break; in gv100_sor_state()
69 case 5: state->proto = TMDS; state->link = 3; break; in gv100_sor_state()
/kernel/linux/linux-5.10/include/media/i2c/
Dtc358743.h80 /* Reset PHY automatically when TMDS clock goes from DC to AC.
86 /* Reset PHY automatically when TMDS clock passes 21 MHz.
92 /* Reset PHY automatically when TMDS clock is detected.
/kernel/linux/linux-4.19/include/media/i2c/
Dtc358743.h80 /* Reset PHY automatically when TMDS clock goes from DC to AC.
86 /* Reset PHY automatically when TMDS clock passes 21 MHz.
92 /* Reset PHY automatically when TMDS clock is detected.
/kernel/linux/linux-4.19/drivers/gpu/drm/i2c/
DKconfig15 tristate "Silicon Image sil164 TMDS transmitter"
19 when used in pairs) TMDS transmitters, used in some nVidia
/kernel/linux/linux-5.10/drivers/gpu/drm/i2c/
DKconfig16 tristate "Silicon Image sil164 TMDS transmitter"
20 when used in pairs) TMDS transmitters, used in some nVidia
/kernel/linux/linux-5.10/drivers/video/fbdev/via/
Dchip.h64 /* Definition TMDS Trasmitter Information */
67 /* Definition TMDS Trasmitter Index */
72 /* Definition TMDS Trasmitter I2C Slave Address */

12345678910>>...12