Searched refs:pll_out_khz (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.1/drivers/gpu/drm/stm/ |
D | dw_mipi_dsi-stm.c | 246 unsigned int idf, ndiv, odf, pll_in_khz, pll_out_khz; in dw_mipi_dsi_get_lane_mbps() local 254 pll_out_khz = mode->clock * bpp / lanes; in dw_mipi_dsi_get_lane_mbps() 258 pll_out_khz = (pll_out_khz * 12) / 10; in dw_mipi_dsi_get_lane_mbps() 260 if (pll_out_khz > dsi->lane_max_kbps) { in dw_mipi_dsi_get_lane_mbps() 261 pll_out_khz = dsi->lane_max_kbps; in dw_mipi_dsi_get_lane_mbps() 264 if (pll_out_khz < dsi->lane_min_kbps) { in dw_mipi_dsi_get_lane_mbps() 265 pll_out_khz = dsi->lane_min_kbps; in dw_mipi_dsi_get_lane_mbps() 273 ret = dsi_pll_get_params(dsi, pll_in_khz, pll_out_khz, in dw_mipi_dsi_get_lane_mbps() 279 pll_out_khz = dsi_pll_get_clkout_khz(pll_in_khz, idf, ndiv, odf); in dw_mipi_dsi_get_lane_mbps() 286 val = 4000000 / pll_out_khz; in dw_mipi_dsi_get_lane_mbps() [all …]
|