Home
last modified time | relevance | path

Searched refs:tc_port (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_dkl_phy_regs.h29 #define _DKL_REG_PHY_BASE(tc_port) _PORT(tc_port, \ argument
39 #define _DKL_REG(tc_port, phy_offset) \ argument
41 .reg = _DKL_REG_PHY_BASE(tc_port) + \
46 #define _DKL_REG_LN(tc_port, ln_idx, ln0_offs, ln1_offs) \ argument
47 _DKL_REG(tc_port, (ln0_offs) + (ln_idx) * ((ln1_offs) - (ln0_offs)))
51 #define DKL_PCS_DW5(tc_port, ln) _DKL_REG_LN(tc_port, ln, \ argument
57 #define DKL_PLL_DIV0(tc_port) _DKL_REG(tc_port, \ argument
76 #define DKL_PLL_DIV1(tc_port) _DKL_REG(tc_port, \ argument
84 #define DKL_PLL_SSC(tc_port) _DKL_REG(tc_port, \ argument
95 #define DKL_PLL_BIAS(tc_port) _DKL_REG(tc_port, \ argument
[all …]
H A Dintel_mg_phy_regs.h11 #define MG_PHY_PORT_LN(ln, tc_port, ln0p1, ln0p2, ln1p1) \ argument
12 _MMIO(_PORT(tc_port, ln0p1, ln0p2) + (ln) * ((ln1p1) - (ln0p1)))
18 #define MG_TX1_LINK_PARAMS(ln, tc_port) \ argument
19 MG_PHY_PORT_LN(ln, tc_port, MG_TX_LINK_PARAMS_TX1LN0_PORT1, \
27 #define MG_TX2_LINK_PARAMS(ln, tc_port) \ argument
28 MG_PHY_PORT_LN(ln, tc_port, MG_TX_LINK_PARAMS_TX2LN0_PORT1, \
37 #define MG_TX1_PISO_READLOAD(ln, tc_port) \ argument
38 MG_PHY_PORT_LN(ln, tc_port, MG_TX_PISO_READLOAD_TX1LN0_PORT1, \
46 #define MG_TX2_PISO_READLOAD(ln, tc_port) \ argument
47 MG_PHY_PORT_LN(ln, tc_port, MG_TX_PISO_READLOAD_TX2LN0_PORT1, \
[all …]
H A Dintel_dkl_phy.c26 enum tc_port tc_port = DKL_REG_TC_PORT(reg); in dkl_phy_set_hip_idx() local
28 drm_WARN_ON(&i915->drm, tc_port < TC_PORT_1 || tc_port >= I915_MAX_TC_PORTS); in dkl_phy_set_hip_idx()
31 HIP_INDEX_REG(tc_port), in dkl_phy_set_hip_idx()
32 HIP_INDEX_VAL(tc_port, reg.bank_idx)); in dkl_phy_set_hip_idx()
H A Dintel_dpll_mgr.c179 static enum tc_port icl_pll_id_to_tc_port(enum intel_dpll_id id) in icl_pll_id_to_tc_port()
184 enum intel_dpll_id icl_tc_port_to_pll_id(enum tc_port tc_port) in icl_tc_port_to_pll_id() argument
186 return tc_port - TC_PORT_1 + DPLL_ID_ICL_MGPLL1; in icl_tc_port_to_pll_id()
207 enum tc_port tc_port = icl_pll_id_to_tc_port(id); in intel_tc_pll_enable_reg() local
210 return ADLP_PORTTC_PLL_ENABLE(tc_port); in intel_tc_pll_enable_reg()
212 return MG_PLL_ENABLE(tc_port); in intel_tc_pll_enable_reg()
3401 enum tc_port tc_port = icl_pll_id_to_tc_port(id); in mg_pll_get_hw_state() local
3418 MG_REFCLKIN_CTL(tc_port)); in mg_pll_get_hw_state()
3422 intel_de_read(dev_priv, MG_CLKTOP2_CORECLKCTL1(tc_port)); in mg_pll_get_hw_state()
3427 intel_de_read(dev_priv, MG_CLKTOP2_HSCLKCTL(tc_port)); in mg_pll_get_hw_state()
[all …]
H A Dintel_ddi.c1226 enum tc_port tc_port = intel_port_to_tc(dev_priv, encoder->port); in icl_mg_phy_set_signal_levels() local
1238 intel_de_rmw(dev_priv, MG_TX1_LINK_PARAMS(ln, tc_port), in icl_mg_phy_set_signal_levels()
1240 intel_de_rmw(dev_priv, MG_TX2_LINK_PARAMS(ln, tc_port), in icl_mg_phy_set_signal_levels()
1250 intel_de_rmw(dev_priv, MG_TX1_SWINGCTRL(ln, tc_port), in icl_mg_phy_set_signal_levels()
1256 intel_de_rmw(dev_priv, MG_TX2_SWINGCTRL(ln, tc_port), in icl_mg_phy_set_signal_levels()
1267 intel_de_rmw(dev_priv, MG_TX1_DRVCTRL(ln, tc_port), in icl_mg_phy_set_signal_levels()
1276 intel_de_rmw(dev_priv, MG_TX2_DRVCTRL(ln, tc_port), in icl_mg_phy_set_signal_levels()
1292 intel_de_rmw(dev_priv, MG_CLKHUB(ln, tc_port), in icl_mg_phy_set_signal_levels()
1299 intel_de_rmw(dev_priv, MG_TX1_DCC(ln, tc_port), in icl_mg_phy_set_signal_levels()
1306 intel_de_rmw(dev_priv, MG_TX2_DCC(ln, tc_port), in icl_mg_phy_set_signal_levels()
[all …]
H A Dintel_dpll_mgr.h32 enum tc_port;
361 enum intel_dpll_id icl_tc_port_to_pll_id(enum tc_port tc_port);
H A Dintel_tc.c249 enum tc_port tc_port = intel_port_to_tc(i915, tc->dig_port->base.port); in tc_port_power_domain() local
251 return POWER_DOMAIN_PORT_DDI_LANES_TC1 + tc_port - TC_PORT_1; in tc_port_power_domain()
420 enum tc_port tc_port = intel_port_to_tc(i915, port); in tc_phy_load_fia_params() local
427 tc->phy_fia = tc_port / 2; in tc_phy_load_fia_params()
428 tc->phy_fia_idx = tc_port % 2; in tc_phy_load_fia_params()
431 tc->phy_fia_idx = tc_port; in tc_phy_load_fia_params()
772 enum tc_port tc_port = intel_port_to_tc(i915, tc->dig_port->base.port); in adlp_tc_phy_is_ready() local
777 val = intel_de_read(i915, TCSS_DDI_STATUS(tc_port)); in adlp_tc_phy_is_ready()
1823 enum tc_port tc_port = intel_port_to_tc(i915, port); in intel_tc_port_init() local
1825 if (drm_WARN_ON(&i915->drm, tc_port == TC_PORT_NONE)) in intel_tc_port_init()
[all …]
H A Dintel_display.h154 enum tc_port { enum
452 enum tc_port intel_port_to_tc(struct drm_i915_private *dev_priv,
H A Dintel_display_power_well.c537 enum tc_port tc_port; in icl_tc_phy_aux_power_well_enable() local
539 tc_port = TGL_AUX_PW_TO_TC_PORT(i915_power_well_instance(power_well)->hsw.idx); in icl_tc_phy_aux_power_well_enable()
541 if (wait_for(intel_dkl_phy_read(dev_priv, DKL_CMN_UC_DW_27(tc_port)) & in icl_tc_phy_aux_power_well_enable()
H A Dintel_display.c1811 enum tc_port intel_port_to_tc(struct drm_i915_private *dev_priv, enum port port) in intel_port_to_tc()
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_reg.h6026 #define ICL_DPCLKA_CFGCR0_TC_CLK_OFF(tc_port) (1 << ((tc_port) < TC_PORT_4 ? \ argument
6027 (tc_port) + 12 : \
6028 (tc_port) - TC_PORT_4 + 21))
6103 #define MG_PLL_ENABLE(tc_port) _MMIO_PORT((tc_port), _MG_PLL1_ENABLE, \ argument
6115 #define ADLP_PORTTC_PLL_ENABLE(tc_port) _MMIO_PORT((tc_port), \ argument