Searched refs:dsi_mnp (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/gpu/drm/i915/
H A Dintel_dsi_pll.c41 struct dsi_mnp { struct
165 static int dsi_calc_mnp(u32 dsi_clk, struct dsi_mnp *dsi_mnp) dsi_calc_mnp() argument
216 dsi_mnp->dsi_pll_ctrl = 1 << (DSI_PLL_P1_POST_DIV_SHIFT + calc_p - 2); dsi_calc_mnp()
217 dsi_mnp->dsi_pll_div = (n - 1) << DSI_PLL_N1_DIV_SHIFT | dsi_calc_mnp()
232 struct dsi_mnp dsi_mnp; vlv_configure_dsi_pll() local
238 ret = dsi_calc_mnp(dsi_clk, &dsi_mnp); vlv_configure_dsi_pll()
245 dsi_mnp.dsi_pll_ctrl |= DSI_PLL_CLK_GATE_DSI0_DSIPLL; vlv_configure_dsi_pll()
248 dsi_mnp.dsi_pll_ctrl |= DSI_PLL_CLK_GATE_DSI1_DSIPLL; vlv_configure_dsi_pll()
251 dsi_mnp.dsi_pll_div, dsi_mnp.dsi_pll_ctrl); vlv_configure_dsi_pll()
254 vlv_cck_write(dev_priv, CCK_REG_DSI_PLL_DIVIDER, dsi_mnp.dsi_pll_div); vlv_configure_dsi_pll()
255 vlv_cck_write(dev_priv, CCK_REG_DSI_PLL_CONTROL, dsi_mnp.dsi_pll_ctrl); vlv_configure_dsi_pll()

Completed in 76 milliseconds