Lines Matching refs:ddi_translations
682 const struct ddi_buf_trans *ddi_translations = in intel_ddi_get_buf_trans_dp() local
685 return ddi_translations; in intel_ddi_get_buf_trans_dp()
687 const struct ddi_buf_trans *ddi_translations = in intel_ddi_get_buf_trans_dp() local
690 return ddi_translations; in intel_ddi_get_buf_trans_dp()
708 const struct ddi_buf_trans *ddi_translations = in intel_ddi_get_buf_trans_edp() local
711 return ddi_translations; in intel_ddi_get_buf_trans_edp()
926 const struct ddi_buf_trans *ddi_translations; in intel_prepare_dp_ddi_buffers() local
929 ddi_translations = intel_ddi_get_buf_trans_fdi(dev_priv, in intel_prepare_dp_ddi_buffers()
932 ddi_translations = intel_ddi_get_buf_trans_edp(dev_priv, port, in intel_prepare_dp_ddi_buffers()
935 ddi_translations = intel_ddi_get_buf_trans_dp(dev_priv, port, in intel_prepare_dp_ddi_buffers()
945 ddi_translations[i].trans1 | iboost_bit); in intel_prepare_dp_ddi_buffers()
947 ddi_translations[i].trans2); in intel_prepare_dp_ddi_buffers()
963 const struct ddi_buf_trans *ddi_translations; in intel_prepare_hdmi_ddi_buffers() local
965 ddi_translations = intel_ddi_get_buf_trans_hdmi(dev_priv, &n_entries); in intel_prepare_hdmi_ddi_buffers()
967 if (WARN_ON_ONCE(!ddi_translations)) in intel_prepare_hdmi_ddi_buffers()
979 ddi_translations[level].trans1 | iboost_bit); in intel_prepare_hdmi_ddi_buffers()
981 ddi_translations[level].trans2); in intel_prepare_hdmi_ddi_buffers()
2207 const struct ddi_buf_trans *ddi_translations; in skl_ddi_set_iboost() local
2211 ddi_translations = intel_ddi_get_buf_trans_hdmi(dev_priv, &n_entries); in skl_ddi_set_iboost()
2213 ddi_translations = intel_ddi_get_buf_trans_edp(dev_priv, port, &n_entries); in skl_ddi_set_iboost()
2215 ddi_translations = intel_ddi_get_buf_trans_dp(dev_priv, port, &n_entries); in skl_ddi_set_iboost()
2217 if (WARN_ON_ONCE(!ddi_translations)) in skl_ddi_set_iboost()
2222 iboost = ddi_translations[level].i_boost; in skl_ddi_set_iboost()
2241 const struct bxt_ddi_buf_trans *ddi_translations; in bxt_ddi_vswing_sequence() local
2246 ddi_translations = bxt_get_buf_trans_hdmi(dev_priv, &n_entries); in bxt_ddi_vswing_sequence()
2248 ddi_translations = bxt_get_buf_trans_edp(dev_priv, &n_entries); in bxt_ddi_vswing_sequence()
2250 ddi_translations = bxt_get_buf_trans_dp(dev_priv, &n_entries); in bxt_ddi_vswing_sequence()
2252 if (WARN_ON_ONCE(!ddi_translations)) in bxt_ddi_vswing_sequence()
2258 ddi_translations[level].margin, in bxt_ddi_vswing_sequence()
2259 ddi_translations[level].scale, in bxt_ddi_vswing_sequence()
2260 ddi_translations[level].enable, in bxt_ddi_vswing_sequence()
2261 ddi_translations[level].deemphasis); in bxt_ddi_vswing_sequence()
2328 const struct cnl_ddi_buf_trans *ddi_translations; in cnl_ddi_vswing_program() local
2334 ddi_translations = cnl_get_buf_trans_hdmi(dev_priv, &n_entries); in cnl_ddi_vswing_program()
2336 ddi_translations = cnl_get_buf_trans_edp(dev_priv, &n_entries); in cnl_ddi_vswing_program()
2338 ddi_translations = cnl_get_buf_trans_dp(dev_priv, &n_entries); in cnl_ddi_vswing_program()
2340 if (WARN_ON_ONCE(!ddi_translations)) in cnl_ddi_vswing_program()
2355 val |= SWING_SEL_UPPER(ddi_translations[level].dw2_swing_sel); in cnl_ddi_vswing_program()
2356 val |= SWING_SEL_LOWER(ddi_translations[level].dw2_swing_sel); in cnl_ddi_vswing_program()
2367 val |= POST_CURSOR_1(ddi_translations[level].dw4_post_cursor_1); in cnl_ddi_vswing_program()
2368 val |= POST_CURSOR_2(ddi_translations[level].dw4_post_cursor_2); in cnl_ddi_vswing_program()
2369 val |= CURSOR_COEFF(ddi_translations[level].dw4_cursor_coeff); in cnl_ddi_vswing_program()
2384 val |= N_SCALAR(ddi_translations[level].dw7_n_scalar); in cnl_ddi_vswing_program()
2459 const struct cnl_ddi_buf_trans *ddi_translations = NULL; in icl_ddi_combo_vswing_program() local
2463 ddi_translations = icl_get_combo_buf_trans(dev_priv, type, rate, in icl_ddi_combo_vswing_program()
2465 if (!ddi_translations) in icl_ddi_combo_vswing_program()
2486 val |= SWING_SEL_UPPER(ddi_translations[level].dw2_swing_sel); in icl_ddi_combo_vswing_program()
2487 val |= SWING_SEL_LOWER(ddi_translations[level].dw2_swing_sel); in icl_ddi_combo_vswing_program()
2498 val |= POST_CURSOR_1(ddi_translations[level].dw4_post_cursor_1); in icl_ddi_combo_vswing_program()
2499 val |= POST_CURSOR_2(ddi_translations[level].dw4_post_cursor_2); in icl_ddi_combo_vswing_program()
2500 val |= CURSOR_COEFF(ddi_translations[level].dw4_cursor_coeff); in icl_ddi_combo_vswing_program()
2507 val |= N_SCALAR(ddi_translations[level].dw7_n_scalar); in icl_ddi_combo_vswing_program()
2587 const struct icl_mg_phy_ddi_buf_trans *ddi_translations; in icl_mg_phy_ddi_vswing_sequence() local
2592 ddi_translations = icl_mg_phy_ddi_translations; in icl_mg_phy_ddi_vswing_sequence()
2616 ddi_translations[level].cri_txdeemph_override_17_12); in icl_mg_phy_ddi_vswing_sequence()
2622 ddi_translations[level].cri_txdeemph_override_17_12); in icl_mg_phy_ddi_vswing_sequence()
2632 ddi_translations[level].cri_txdeemph_override_5_0) | in icl_mg_phy_ddi_vswing_sequence()
2634 ddi_translations[level].cri_txdeemph_override_11_6) | in icl_mg_phy_ddi_vswing_sequence()
2642 ddi_translations[level].cri_txdeemph_override_5_0) | in icl_mg_phy_ddi_vswing_sequence()
2644 ddi_translations[level].cri_txdeemph_override_11_6) | in icl_mg_phy_ddi_vswing_sequence()