/linux-6.1.9/drivers/gpu/drm/tegra/ |
D | dp.c | 449 request->pre_emphasis[i] = 0; in drm_dp_link_train_init() 450 adjust->pre_emphasis[i] = 0; in drm_dp_link_train_init() 481 pe = request->pre_emphasis; in drm_dp_link_apply_training() 567 adjust->pre_emphasis[i] = in drm_dp_link_get_adjustments() 587 if (request->pre_emphasis[i] != adjust->pre_emphasis[i]) in drm_dp_link_train_adjust() 588 request->pre_emphasis[i] = adjust->pre_emphasis[i]; in drm_dp_link_train_adjust()
|
D | dp.h | 87 unsigned int pre_emphasis[4]; member
|
D | sor.c | 390 const u8 (*pre_emphasis)[4][4]; member 804 u32 voltage_swing = 0, pre_emphasis = 0, post_cursor = 0; in tegra_sor_dp_link_apply_training() local 811 u8 pe = link->train.request.pre_emphasis[i]; in tegra_sor_dp_link_apply_training() 816 pre_emphasis |= soc->pre_emphasis[pc][vs][pe] << shift; in tegra_sor_dp_link_apply_training() 854 tegra_sor_writel(sor, pre_emphasis, SOR_LANE_PREEMPHASIS0); in tegra_sor_dp_link_apply_training() 3411 .pre_emphasis = tegra124_sor_pre_emphasis, 3451 .pre_emphasis = tegra132_sor_pre_emphasis, 3492 .pre_emphasis = tegra124_sor_pre_emphasis, 3512 .pre_emphasis = tegra124_sor_pre_emphasis, 3595 .pre_emphasis = tegra186_sor_pre_emphasis, [all …]
|
/linux-6.1.9/drivers/gpu/drm/bridge/analogix/ |
D | analogix_dp_core.c | 239 int pre_emphasis, int lane) in analogix_dp_set_lane_lane_pre_emphasis() argument 243 analogix_dp_set_lane0_pre_emphasis(dp, pre_emphasis); in analogix_dp_set_lane_lane_pre_emphasis() 246 analogix_dp_set_lane1_pre_emphasis(dp, pre_emphasis); in analogix_dp_set_lane_lane_pre_emphasis() 250 analogix_dp_set_lane2_pre_emphasis(dp, pre_emphasis); in analogix_dp_set_lane_lane_pre_emphasis() 254 analogix_dp_set_lane3_pre_emphasis(dp, pre_emphasis); in analogix_dp_set_lane_lane_pre_emphasis() 447 u8 voltage_swing, pre_emphasis, training_lane; in analogix_dp_get_adjust_training_lane() local 453 pre_emphasis = analogix_dp_get_adjust_request_pre_emphasis( in analogix_dp_get_adjust_training_lane() 456 DPCD_PRE_EMPHASIS_SET(pre_emphasis); in analogix_dp_get_adjust_training_lane() 460 if (pre_emphasis == PRE_EMPHASIS_LEVEL_3) in analogix_dp_get_adjust_training_lane() 470 u8 voltage_swing, pre_emphasis, training_lane; in analogix_dp_process_clock_recovery() local [all …]
|
/linux-6.1.9/drivers/gpu/drm/bridge/ |
D | ite-it6505.c | 462 u8 pre_emphasis[MAX_LANE_COUNT]; member 1652 u8 *pre_emphasis = lane_voltage_pre_emphasis->pre_emphasis; in step_train_lane_voltage_para_set() local 1662 pre_emphasis[i] &= 0x03; in step_train_lane_voltage_para_set() 1663 lane_voltage_pre_emphasis_set[i] |= pre_emphasis[i] in step_train_lane_voltage_para_set() 1665 if (it6505_check_pre_emphasis_max(pre_emphasis[i])) in step_train_lane_voltage_para_set() 1719 lane_voltage_pre_emphasis->pre_emphasis[j] = in it6505_step_cr_train() 1726 lane_voltage_pre_emphasis->pre_emphasis[j]) { in it6505_step_cr_train() 1734 lane_voltage_pre_emphasis->pre_emphasis[j]; in it6505_step_cr_train() 1742 ->pre_emphasis[j]; in it6505_step_cr_train() 1792 lane_voltage_pre_emphasis->pre_emphasis[i] = in it6505_step_eq_train() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/include/ |
D | link_service_types.h | 99 enum dc_pre_emphasis *pre_emphasis; member
|
/linux-6.1.9/drivers/phy/mediatek/ |
D | phy-mtk-tphy.c | 325 int pre_emphasis; member 783 &instance->pre_emphasis); in phy_parse_property() 788 dev_dbg(dev, "pre-emp:%d\n", instance->pre_emphasis); in phy_parse_property() 825 if (instance->pre_emphasis) in u2_phy_props_set() 827 instance->pre_emphasis); in u2_phy_props_set()
|
/linux-6.1.9/drivers/gpu/drm/bridge/cadence/ |
D | cdns-mhdp8546-core.c | 921 max_pre_emph = CDNS_PRE_EMPHASIS(mhdp->host.pre_emphasis) in cdns_mhdp_get_adjust_train() 971 unsigned int lane, u8 pre_emphasis) in cdns_mhdp_set_adjust_request_pre_emphasis() argument 979 link_status[idx] |= pre_emphasis << s; in cdns_mhdp_set_adjust_request_pre_emphasis() 985 u8 max_pre = CDNS_PRE_EMPHASIS(mhdp->host.pre_emphasis); in cdns_mhdp_adjust_requested_eq() 999 if (mhdp->host.pre_emphasis & CDNS_FORCE_PRE_EMPHASIS) in cdns_mhdp_adjust_requested_eq() 1097 const u8 max_pre = CDNS_PRE_EMPHASIS(mhdp->host.pre_emphasis); in cdns_mhdp_adjust_requested_cr() 1107 val = mhdp->host.pre_emphasis & CDNS_FORCE_PRE_EMPHASIS ? in cdns_mhdp_adjust_requested_cr() 1121 const u8 max_pre = CDNS_PRE_EMPHASIS(mhdp->host.pre_emphasis); in cdns_mhdp_validate_cr() 1373 mhdp->host.pre_emphasis = CDNS_PRE_EMPHASIS(3); in cdns_mhdp_fill_host_caps()
|
D | cdns-mhdp8546-core.h | 290 u8 pre_emphasis; member
|
/linux-6.1.9/drivers/phy/xilinx/ |
D | phy-zynqmp.c | 469 static const u8 pre_emphasis[4][4] = { in xpsgtr_phy_configure_dp() local 477 xpsgtr_write_phy(gtr_phy, L0_TX_ANA_TM_18, pre_emphasis[pre][voltage]); in xpsgtr_phy_configure_dp()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_link_dp.c | 779 enum dc_pre_emphasis pre_emphasis; in get_max_pre_emphasis_for_voltage_swing() local 780 pre_emphasis = PRE_EMPHASIS_MAX_LEVEL; in get_max_pre_emphasis_for_voltage_swing() 783 pre_emphasis = voltage_swing_to_pre_emphasis[voltage]; in get_max_pre_emphasis_for_voltage_swing() 785 return pre_emphasis; in get_max_pre_emphasis_for_voltage_swing() 843 lt_settings->pre_emphasis == NULL && in override_lane_settings() 852 if (lt_settings->pre_emphasis) in override_lane_settings() 853 lane_settings[lane].PRE_EMPHASIS = *lt_settings->pre_emphasis; in override_lane_settings() 1536 if (overrides->pre_emphasis != NULL) in override_training_settings() 1537 lt_settings->pre_emphasis = overrides->pre_emphasis; in override_training_settings() 1546 lt_settings->pre_emphasis = &link->bios_forced_drive_settings.PRE_EMPHASIS; in override_training_settings() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/ |
D | dc_dp_types.h | 175 enum dc_pre_emphasis *pre_emphasis; member
|