#include "i915_reg.h"
#include "intel_combo_phy.h"
#include "intel_combo_phy_regs.h"
#include "intel_de.h"
#include "intel_display_types.h"
#define for_each_combo_phy(__dev_priv, __phy) …
#define for_each_combo_phy_reverse(__dev_priv, __phy) …
enum { … };
static const struct icl_procmon { … } icl_procmon_values[] = …;
static const struct icl_procmon *
icl_get_procmon_ref_values(struct drm_i915_private *dev_priv, enum phy phy)
{ … }
static void icl_set_procmon_ref_values(struct drm_i915_private *dev_priv,
enum phy phy)
{ … }
static bool check_phy_reg(struct drm_i915_private *dev_priv,
enum phy phy, i915_reg_t reg, u32 mask,
u32 expected_val)
{ … }
static bool icl_verify_procmon_ref_values(struct drm_i915_private *dev_priv,
enum phy phy)
{ … }
static bool has_phy_misc(struct drm_i915_private *i915, enum phy phy)
{ … }
static bool icl_combo_phy_enabled(struct drm_i915_private *dev_priv,
enum phy phy)
{ … }
static bool ehl_vbt_ddi_d_present(struct drm_i915_private *i915)
{ … }
static bool phy_is_master(struct drm_i915_private *dev_priv, enum phy phy)
{ … }
static bool icl_combo_phy_verify_state(struct drm_i915_private *dev_priv,
enum phy phy)
{ … }
void intel_combo_phy_power_up_lanes(struct drm_i915_private *dev_priv,
enum phy phy, bool is_dsi,
int lane_count, bool lane_reversal)
{ … }
static void icl_combo_phys_init(struct drm_i915_private *dev_priv)
{ … }
static void icl_combo_phys_uninit(struct drm_i915_private *dev_priv)
{ … }
void intel_combo_phy_init(struct drm_i915_private *i915)
{ … }
void intel_combo_phy_uninit(struct drm_i915_private *i915)
{ … }