PORT_C
intel_bios_is_port_hpd_inverted(dev_priv, PORT_C))
_MMIO(_PORT((port) - PORT_C, ln0p1, ln0p2) + (ln) * ((ln1p1) - (ln0p1)))
#define MG_PLL_ENABLE(port) _MMIO_PORT((port) - PORT_C, _MG_PLL1_ENABLE, \
#define MG_REFCLKIN_CTL(port) _MMIO_PORT((port) - PORT_C, \
#define MG_CLKTOP2_CORECLKCTL1(port) _MMIO_PORT((port) - PORT_C, \
#define MG_CLKTOP2_HSCLKCTL(port) _MMIO_PORT((port) - PORT_C, \
#define MG_PLL_DIV0(port) _MMIO_PORT((port) - PORT_C, _MG_PLL_DIV0_PORT1, \
#define MG_PLL_DIV1(port) _MMIO_PORT((port) - PORT_C, _MG_PLL_DIV1_PORT1, \
#define MG_PLL_LF(port) _MMIO_PORT((port) - PORT_C, _MG_PLL_LF_PORT1, \
#define MG_PLL_FRAC_LOCK(port) _MMIO_PORT((port) - PORT_C, \
#define MG_PLL_SSC(port) _MMIO_PORT((port) - PORT_C, _MG_PLL_SSC_PORT1, \
#define MG_PLL_BIAS(port) _MMIO_PORT((port) - PORT_C, _MG_PLL_BIAS_PORT1, \
#define MG_PLL_TDC_COLDST_BIAS(port) _MMIO_PORT((port) - PORT_C, \
if (is_edp && (port == PORT_B || port == PORT_C || port == PORT_E))
[PORT_C] = { DVO_PORT_DPC, DVO_PORT_HDMIC, },
[PORT_C] = DVO_PORT_DPC,
[PORT_C] = { DVO_PORT_DPC, DVO_PORT_HDMIC, },
if (port == PORT_C)
if (port == PORT_C)
dev_priv->vbt.dsi.bl_ports = BIT(PORT_C);
dev_priv->vbt.dsi.bl_ports = BIT(PORT_A) | BIT(PORT_C);
dev_priv->vbt.dsi.cabc_ports = BIT(PORT_C);
BIT(PORT_A) | BIT(PORT_C);
[PORT_C] = TRANSCODER_B,
case PORT_C:
intel_dp_port_enabled(dev_priv, PCH_DP_C, PORT_C, &panel_pipe);
assert_pch_dp_disabled(dev_priv, pipe, PORT_C, PCH_DP_C);
assert_pch_hdmi_disabled(dev_priv, pipe, PORT_C, PCH_HDMIC);
intel_ddi_init(dev_priv, PORT_C);
intel_ddi_init(dev_priv, PORT_C);
intel_ddi_init(dev_priv, PORT_C);
intel_hdmi_init(dev_priv, PCH_HDMIC, PORT_C);
intel_dp_init(dev_priv, PCH_DP_C, PORT_C);
has_edp = intel_dp_is_port_edp(dev_priv, PORT_C);
has_port = intel_bios_is_port_present(dev_priv, PORT_C);
has_edp &= intel_dp_init(dev_priv, VLV_DP_C, PORT_C);
intel_hdmi_init(dev_priv, VLV_HDMIC, PORT_C);
found = intel_sdvo_init(dev_priv, GEN3_SDVOC, PORT_C);
intel_hdmi_init(dev_priv, GEN4_HDMIC, PORT_C);
intel_dp_init(dev_priv, DP_C, PORT_C);
case PORT_C:
return port >= PORT_C && port <= PORT_F;
return port - PORT_C;
case PORT_C:
case PORT_C:
case PORT_C:
for_each_port_masked(port, BIT(PORT_A) | BIT(PORT_C)) {
case PORT_C:
case PORT_C:
port != PORT_B && port != PORT_C))
(port == PORT_B || port == PORT_C ||
[DPIO_CH1] = { .port = PORT_C },
[DPIO_CH0] = { .port = PORT_C },
return id - DPLL_ID_ICL_MGPLL1 + PORT_C;
return port - PORT_C + DPLL_ID_ICL_MGPLL1;
case PORT_C:
case PORT_C:
case PORT_C:
return port ? PORT_C : PORT_A;
if (intel_dsi->ports == (1 << PORT_C))
port = PORT_C;
return PORT_C;
case PORT_C:
case PORT_C:
case PORT_C:
case PORT_C:
case PORT_C:
case PORT_C:
case PORT_C:
WARN_ON(port != PORT_B && port != PORT_C);
port == PORT_C)
PORT_A ? PORT_C : PORT_A),
intel_dsi->ports = BIT(PORT_A) | BIT(PORT_C);
if (intel_dsi->ports == BIT(PORT_C))
if (intel_dsi->ports == (BIT(PORT_A) | BIT(PORT_C))) {
if (intel_dsi->ports & (1 << PORT_C))