Home
last modified time | relevance | path

Searched refs:dp_opts (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/phy/qualcomm/
H A Dphy-qcom-edp.c95 struct phy_configure_opts_dp dp_opts; member
235 static int qcom_edp_set_voltages(struct qcom_edp *edp, const struct phy_configure_opts_dp *dp_opts) in qcom_edp_set_voltages() argument
248 for (i = 0; i < dp_opts->lanes; i++) { in qcom_edp_set_voltages()
249 v_level = max(v_level, dp_opts->voltage[i]); in qcom_edp_set_voltages()
250 p_level = max(p_level, dp_opts->pre[i]); in qcom_edp_set_voltages()
253 if (dp_opts->link_rate <= 2700) { in qcom_edp_set_voltages()
279 const struct phy_configure_opts_dp *dp_opts = &opts->dp; in qcom_edp_phy_configure() local
283 memcpy(&edp->dp_opts, dp_opts, sizeof(*dp_opts)); in qcom_edp_phy_configure()
285 if (dp_opts->set_voltages) in qcom_edp_phy_configure()
286 ret = qcom_edp_set_voltages(edp, dp_opts); in qcom_edp_phy_configure()
[all …]
H A Dphy-qcom-qmp-combo.c1420 struct phy_configure_opts_dp dp_opts; member
1905 const struct phy_configure_opts_dp *dp_opts = &qmp->dp_opts; in qmp_combo_dp_serdes_init() local
1909 switch (dp_opts->link_rate) { in qmp_combo_dp_serdes_init()
1981 const struct phy_configure_opts_dp *dp_opts = &qmp->dp_opts; in qmp_combo_configure_dp_swing() local
1987 for (i = 0; i < dp_opts->lanes; i++) { in qmp_combo_configure_dp_swing()
1988 v_level = max(v_level, dp_opts->voltage[i]); in qmp_combo_configure_dp_swing()
1989 p_level = max(p_level, dp_opts->pre[i]); in qmp_combo_configure_dp_swing()
1992 if (dp_opts->link_rate <= 2700) { in qmp_combo_configure_dp_swing()
2018 const struct phy_configure_opts_dp *dp_opts = &qmp->dp_opts; in qmp_v3_configure_dp_tx() local
2024 if (dp_opts->lanes == 1) { in qmp_v3_configure_dp_tx()
[all …]
/openbmc/linux/drivers/phy/mediatek/
H A Dphy-mtk-hdmi-mt8195.c467 struct phy_configure_opts_dp *dp_opts = &opts->dp; in mtk_hdmi_phy_configure() local
471 ret = clk_set_rate(hdmi_phy->pll, dp_opts->link_rate); in mtk_hdmi_phy_configure()