Home
last modified time | relevance | path

Searched refs:dp_phy (Results 1 - 7 of 7) sorted by relevance

/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/
H A Dintel_dp_link_training.c62 enum drm_dp_phy dp_phy) in intel_dp_lttpr_phy_caps()
64 return intel_dp->lttpr_phy_caps[dp_phy - DP_PHY_LTTPR1]; in intel_dp_lttpr_phy_caps()
69 enum drm_dp_phy dp_phy) in intel_dp_read_lttpr_phy_caps()
71 u8 *phy_caps = intel_dp_lttpr_phy_caps(intel_dp, dp_phy); in intel_dp_read_lttpr_phy_caps()
73 if (drm_dp_read_lttpr_phy_caps(&intel_dp->aux, dpcd, dp_phy, phy_caps) < 0) { in intel_dp_read_lttpr_phy_caps()
74 lt_dbg(intel_dp, dp_phy, "failed to read the PHY caps\n"); in intel_dp_read_lttpr_phy_caps()
78 lt_dbg(intel_dp, dp_phy, "PHY capabilities: %*ph\n", in intel_dp_read_lttpr_phy_caps()
233 enum drm_dp_phy dp_phy) in intel_dp_lttpr_voltage_max()
235 const u8 *phy_caps = intel_dp_lttpr_phy_caps(intel_dp, dp_phy); in intel_dp_lttpr_voltage_max()
244 enum drm_dp_phy dp_phy) in intel_dp_lttpr_preemph_max()
61 intel_dp_lttpr_phy_caps(struct intel_dp *intel_dp, enum drm_dp_phy dp_phy) intel_dp_lttpr_phy_caps() argument
67 intel_dp_read_lttpr_phy_caps(struct intel_dp *intel_dp, const u8 dpcd[DP_RECEIVER_CAP_SIZE], enum drm_dp_phy dp_phy) intel_dp_read_lttpr_phy_caps() argument
232 intel_dp_lttpr_voltage_max(struct intel_dp *intel_dp, enum drm_dp_phy dp_phy) intel_dp_lttpr_voltage_max() argument
243 intel_dp_lttpr_preemph_max(struct intel_dp *intel_dp, enum drm_dp_phy dp_phy) intel_dp_lttpr_preemph_max() argument
255 intel_dp_phy_is_downstream_of_source(struct intel_dp *intel_dp, enum drm_dp_phy dp_phy) intel_dp_phy_is_downstream_of_source() argument
266 intel_dp_phy_voltage_max(struct intel_dp *intel_dp, const struct intel_crtc_state *crtc_state, enum drm_dp_phy dp_phy) intel_dp_phy_voltage_max() argument
289 intel_dp_phy_preemph_max(struct intel_dp *intel_dp, enum drm_dp_phy dp_phy) intel_dp_phy_preemph_max() argument
311 has_per_lane_signal_levels(struct intel_dp *intel_dp, enum drm_dp_phy dp_phy) has_per_lane_signal_levels() argument
321 intel_dp_get_lane_adjust_tx_ffe_preset(struct intel_dp *intel_dp, const struct intel_crtc_state *crtc_state, enum drm_dp_phy dp_phy, const u8 link_status[DP_LINK_STATUS_SIZE], int lane) intel_dp_get_lane_adjust_tx_ffe_preset() argument
341 intel_dp_get_lane_adjust_vswing_preemph(struct intel_dp *intel_dp, const struct intel_crtc_state *crtc_state, enum drm_dp_phy dp_phy, const u8 link_status[DP_LINK_STATUS_SIZE], int lane) intel_dp_get_lane_adjust_vswing_preemph() argument
377 intel_dp_get_lane_adjust_train(struct intel_dp *intel_dp, const struct intel_crtc_state *crtc_state, enum drm_dp_phy dp_phy, const u8 link_status[DP_LINK_STATUS_SIZE], int lane) intel_dp_get_lane_adjust_train() argument
415 intel_dp_get_adjust_train(struct intel_dp *intel_dp, const struct intel_crtc_state *crtc_state, enum drm_dp_phy dp_phy, const u8 link_status[DP_LINK_STATUS_SIZE]) intel_dp_get_adjust_train() argument
444 intel_dp_training_pattern_set_reg(struct intel_dp *intel_dp, enum drm_dp_phy dp_phy) intel_dp_training_pattern_set_reg() argument
453 intel_dp_set_link_train(struct intel_dp *intel_dp, const struct intel_crtc_state *crtc_state, enum drm_dp_phy dp_phy, u8 dp_train_pat) intel_dp_set_link_train() argument
489 intel_dp_program_link_training_pattern(struct intel_dp *intel_dp, const struct intel_crtc_state *crtc_state, enum drm_dp_phy dp_phy, u8 dp_train_pat) intel_dp_program_link_training_pattern() argument
528 intel_dp_set_signal_levels(struct intel_dp *intel_dp, const struct intel_crtc_state *crtc_state, enum drm_dp_phy dp_phy) intel_dp_set_signal_levels() argument
555 intel_dp_reset_link_train(struct intel_dp *intel_dp, const struct intel_crtc_state *crtc_state, enum drm_dp_phy dp_phy, u8 dp_train_pat) intel_dp_reset_link_train() argument
566 intel_dp_update_link_train(struct intel_dp *intel_dp, const struct intel_crtc_state *crtc_state, enum drm_dp_phy dp_phy) intel_dp_update_link_train() argument
760 intel_dp_dump_link_status(struct intel_dp *intel_dp, enum drm_dp_phy dp_phy, const u8 link_status[DP_LINK_STATUS_SIZE]) intel_dp_dump_link_status() argument
774 intel_dp_link_training_clock_recovery(struct intel_dp *intel_dp, const struct intel_crtc_state *crtc_state, enum drm_dp_phy dp_phy) intel_dp_link_training_clock_recovery() argument
867 intel_dp_training_pattern(struct intel_dp *intel_dp, const struct intel_crtc_state *crtc_state, enum drm_dp_phy dp_phy) intel_dp_training_pattern() argument
925 intel_dp_link_training_channel_equalization(struct intel_dp *intel_dp, const struct intel_crtc_state *crtc_state, enum drm_dp_phy dp_phy) intel_dp_link_training_channel_equalization() argument
994 intel_dp_disable_dpcd_training_pattern(struct intel_dp *intel_dp, enum drm_dp_phy dp_phy) intel_dp_disable_dpcd_training_pattern() argument
1051 intel_dp_link_train_phy(struct intel_dp *intel_dp, const struct intel_crtc_state *crtc_state, enum drm_dp_phy dp_phy) intel_dp_link_train_phy() argument
1109 enum drm_dp_phy dp_phy = DP_PHY_LTTPR(i); intel_dp_link_train_all_phys() local
[all...]
H A Dintel_dp_link_training.h18 enum drm_dp_phy dp_phy,
22 enum drm_dp_phy dp_phy,
26 enum drm_dp_phy dp_phy);
33 intel_dp_dump_link_status(struct intel_dp *intel_dp, enum drm_dp_phy dp_phy,
/kernel/linux/linux-6.6/drivers/phy/mediatek/
H A Dphy-mtk-dp.c87 struct mtk_dp_phy *dp_phy = phy_get_drvdata(phy); in mtk_dp_phy_init() local
97 regmap_bulk_write(dp_phy->regs, MTK_DP_LANE0_DRIVING_PARAM_3, in mtk_dp_phy_init()
99 regmap_bulk_write(dp_phy->regs, MTK_DP_LANE1_DRIVING_PARAM_3, in mtk_dp_phy_init()
101 regmap_bulk_write(dp_phy->regs, MTK_DP_LANE2_DRIVING_PARAM_3, in mtk_dp_phy_init()
103 regmap_bulk_write(dp_phy->regs, MTK_DP_LANE3_DRIVING_PARAM_3, in mtk_dp_phy_init()
111 struct mtk_dp_phy *dp_phy = phy_get_drvdata(phy); in mtk_dp_phy_configure() local
134 regmap_write(dp_phy->regs, MTK_DP_PHY_DIG_BIT_RATE, val); in mtk_dp_phy_configure()
137 regmap_update_bits(dp_phy->regs, MTK_DP_PHY_DIG_PLL_CTL_1, in mtk_dp_phy_configure()
145 struct mtk_dp_phy *dp_phy = phy_get_drvdata(phy); in mtk_dp_phy_reset() local
147 regmap_update_bits(dp_phy in mtk_dp_phy_reset()
166 struct mtk_dp_phy *dp_phy; mtk_dp_phy_probe() local
[all...]
/kernel/linux/linux-6.6/include/drm/display/
H A Ddrm_dp.h1389 #define DP_LTTPR_BASE(dp_phy) \
1391 ((dp_phy) - DP_PHY_LTTPR1))
1393 #define DP_LTTPR_REG(dp_phy, lttpr1_reg) \
1394 (DP_LTTPR_BASE(dp_phy) - DP_LTTPR_BASE(DP_PHY_LTTPR1) + (lttpr1_reg))
1397 #define DP_TRAINING_PATTERN_SET_PHY_REPEATER(dp_phy) \
1398 DP_LTTPR_REG(dp_phy, DP_TRAINING_PATTERN_SET_PHY_REPEATER1)
1401 #define DP_TRAINING_LANE0_SET_PHY_REPEATER(dp_phy) \
1402 DP_LTTPR_REG(dp_phy, DP_TRAINING_LANE0_SET_PHY_REPEATER1)
1408 #define DP_TRAINING_AUX_RD_INTERVAL_PHY_REPEATER(dp_phy) \
1409 DP_LTTPR_REG(dp_phy, DP_TRAINING_AUX_RD_INTERVAL_PHY_REPEATER
[all...]
H A Ddrm_dp_helper.h48 enum drm_dp_phy dp_phy, bool uhbr);
50 enum drm_dp_phy dp_phy, bool uhbr);
72 const char *drm_dp_phy_name(enum drm_dp_phy dp_phy);
497 enum drm_dp_phy dp_phy,
554 enum drm_dp_phy dp_phy,
/kernel/linux/linux-6.6/drivers/gpu/drm/display/
H A Ddrm_dp_helper.c285 enum drm_dp_phy dp_phy, bool uhbr, bool cr) in __read_delay()
291 if (dp_phy == DP_PHY_DPRX) { in __read_delay()
312 offset = DP_128B132B_TRAINING_AUX_RD_INTERVAL_PHY_REPEATER(dp_phy); in __read_delay()
319 offset = DP_TRAINING_AUX_RD_INTERVAL_PHY_REPEATER(dp_phy); in __read_delay()
340 enum drm_dp_phy dp_phy, bool uhbr) in drm_dp_read_clock_recovery_delay()
342 return __read_delay(aux, dpcd, dp_phy, uhbr, true); in drm_dp_read_clock_recovery_delay()
347 enum drm_dp_phy dp_phy, bool uhbr) in drm_dp_read_channel_eq_delay()
349 return __read_delay(aux, dpcd, dp_phy, uhbr, false); in drm_dp_read_channel_eq_delay()
408 * @dp_phy: The DP PHY identifier
410 * Given the @dp_phy, ge
284 __read_delay(struct drm_dp_aux *aux, const u8 dpcd[DP_RECEIVER_CAP_SIZE], enum drm_dp_phy dp_phy, bool uhbr, bool cr) __read_delay() argument
339 drm_dp_read_clock_recovery_delay(struct drm_dp_aux *aux, const u8 dpcd[DP_RECEIVER_CAP_SIZE], enum drm_dp_phy dp_phy, bool uhbr) drm_dp_read_clock_recovery_delay() argument
346 drm_dp_read_channel_eq_delay(struct drm_dp_aux *aux, const u8 dpcd[DP_RECEIVER_CAP_SIZE], enum drm_dp_phy dp_phy, bool uhbr) drm_dp_read_channel_eq_delay() argument
416 drm_dp_phy_name(enum drm_dp_phy dp_phy) drm_dp_phy_name() argument
709 drm_dp_dpcd_read_phy_link_status(struct drm_dp_aux *aux, enum drm_dp_phy dp_phy, u8 link_status[DP_LINK_STATUS_SIZE]) drm_dp_dpcd_read_phy_link_status() argument
2520 drm_dp_read_lttpr_phy_caps(struct drm_dp_aux *aux, const u8 dpcd[DP_RECEIVER_CAP_SIZE], enum drm_dp_phy dp_phy, u8 caps[DP_LTTPR_PHY_CAP_SIZE]) drm_dp_read_lttpr_phy_caps() argument
[all...]
/kernel/linux/linux-6.6/drivers/phy/qualcomm/
H A Dphy-qcom-qmp-combo.c1413 struct phy *dp_phy; member
3241 * Note that only tx/tx2 and pcs (dp_phy) are used by the DP in qmp_combo_parse_dt_lecacy_dp()
3403 return qmp->dp_phy; in qmp_combo_phy_xlate()
3489 qmp->dp_phy = devm_phy_create(dev, dp_np, &qmp_combo_dp_phy_ops); in qmp_combo_probe()
3490 if (IS_ERR(qmp->dp_phy)) { in qmp_combo_probe()
3491 ret = PTR_ERR(qmp->dp_phy); in qmp_combo_probe()
3496 phy_set_drvdata(qmp->dp_phy, qmp); in qmp_combo_probe()

Completed in 14 milliseconds