Searched refs:clk_divs (Results 1 – 2 of 2) sorted by relevance
36 DIV_ROUND_UP((d) * (p)->clk_rate, clk_divs[(p)->cks])39 #define DIV_BY_CLKS_PER_SEC(p, d) ((d) * clk_divs[(p)->cks] / (p)->clk_rate)41 static const unsigned int clk_divs[] = { 1, 4, 16, 32, 64, 128, 1024, 4096 }; variable226 for (i = ARRAY_SIZE(clk_divs) - 1; i >= 0; i--) { in rwdt_probe()227 clks_per_sec = priv->clk_rate / clk_divs[i]; in rwdt_probe()
119 static const struct edp_pixel_clk_div clk_divs[2][EDP_PIXEL_CLK_NUM] = { variable1353 divs = clk_divs[0]; in msm_edp_ctrl_pixel_clock_valid()1355 divs = clk_divs[1]; in msm_edp_ctrl_pixel_clock_valid()