Home
last modified time | relevance | path

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

/openbmc/linux/arch/arm/mach-ep93xx/
H A Dclock.c216 int __div = 0, __pdiv = 0; in ep93xx_mux_determine_rate() local
235 for (__pdiv = 4; __pdiv <= 6; __pdiv++) { in ep93xx_mux_determine_rate()
236 __div = mclk_rate / (rate * __pdiv); in ep93xx_mux_determine_rate()
240 actual_rate = mclk_rate / (__pdiv * __div); in ep93xx_mux_determine_rate()
265 int __pdiv = ((val >> EP93XX_SYSCON_CLKDIV_PDIV_SHIFT) & 0x03); in ep93xx_ddiv_recalc_rate() local
269 rate = (parent_rate * 2) / ((__pdiv + 3) * __div); in ep93xx_ddiv_recalc_rate()
280 int __div = 0, __pdiv = 0; in ep93xx_ddiv_set_rate() local
285 for (__pdiv = 4; __pdiv <= 6; __pdiv++) { in ep93xx_ddiv_set_rate()
286 __div = mclk_rate / (rate * __pdiv); in ep93xx_ddiv_set_rate()
290 actual_rate = mclk_rate / (__pdiv * __div); in ep93xx_ddiv_set_rate()
[all …]