Home
last modified time | relevance | path

Searched refs:clk_divs (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/watchdog/
Drenesas_wdt.c38 DIV_ROUND_UP((d) * (p)->clk_rate, clk_divs[(p)->cks])
41 #define DIV_BY_CLKS_PER_SEC(p, d) ((d) * clk_divs[(p)->cks] / (p)->clk_rate)
43 static const unsigned int clk_divs[] = { 1, 4, 16, 32, 64, 128, 1024, 4096 }; variable
212 for (i = ARRAY_SIZE(clk_divs) - 1; i >= 0; i--) { in rwdt_probe()
213 clks_per_sec = priv->clk_rate / clk_divs[i]; in rwdt_probe()
/Linux-v4.19/drivers/gpu/drm/msm/edp/
Dedp_ctrl.c128 static const struct edp_pixel_clk_div clk_divs[2][EDP_PIXEL_CLK_NUM] = { variable
1332 divs = clk_divs[0]; in msm_edp_ctrl_pixel_clock_valid()
1334 divs = clk_divs[1]; in msm_edp_ctrl_pixel_clock_valid()