return c20pll_state_is_dp(&pll_state->c20);
}
-static int intel_c10pll_calc_port_clock(struct intel_encoder *encoder,
- const struct intel_c10pll_state *pll_state)
+static int intel_c10pll_calc_port_clock(const struct intel_c10pll_state *pll_state)
{
unsigned int frac_quot = 0, frac_rem = 0, frac_den = 1;
unsigned int multiplier, tx_clk_div, hdmi_div, refclk = 38400;
return state->tx[0] & C20_PHY_USE_MPLLB;
}
-static int intel_c20pll_calc_port_clock(struct intel_encoder *encoder,
- const struct intel_c20pll_state *pll_state)
+static int intel_c20pll_calc_port_clock(const struct intel_c20pll_state *pll_state)
{
unsigned int frac, frac_en, frac_quot, frac_rem, frac_den;
unsigned int multiplier, refclk = 38400;
intel_cx0_phy_transaction_end(encoder, wakeref);
- pll_state->clock = intel_c10pll_calc_port_clock(encoder, pll_state);
+ pll_state->clock = intel_c10pll_calc_port_clock(pll_state);
cx0pll_state->ssc_enabled = readout_ssc_state(encoder, true);
}
}
- pll_state->clock = intel_c20pll_calc_port_clock(encoder, pll_state);
+ pll_state->clock = intel_c20pll_calc_port_clock(pll_state);
intel_cx0_phy_transaction_end(encoder, wakeref);
const struct intel_cx0pll_state *pll_state)
{
if (intel_encoder_is_c10phy(encoder))
- return intel_c10pll_calc_port_clock(encoder, &pll_state->c10);
+ return intel_c10pll_calc_port_clock(&pll_state->c10);
- return intel_c20pll_calc_port_clock(encoder, &pll_state->c20);
+ return intel_c20pll_calc_port_clock(&pll_state->c20);
}
/*