Home
last modified time | relevance | path

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

/arch/unicore32/kernel/
Dclock.c119 unsigned long prate; member
121 {.mrate = 500000000, .prate = 0x00109801},
122 {.mrate = 525000000, .prate = 0x00104C00},
123 {.mrate = 550000000, .prate = 0x00105000},
124 {.mrate = 575000000, .prate = 0x00105400},
125 {.mrate = 600000000, .prate = 0x00105800},
126 {.mrate = 625000000, .prate = 0x00105C00},
127 {.mrate = 650000000, .prate = 0x00106000},
128 {.mrate = 675000000, .prate = 0x00106400},
129 {.mrate = 700000000, .prate = 0x00106800},
[all …]
/arch/arm/mach-lpc32xx/
Dclock.c940 unsigned long div, prate; in mmc_round_rate() local
943 prate = clk->parent->get_rate(clk->parent); in mmc_round_rate()
945 if (rate >= prate) in mmc_round_rate()
946 return prate; in mmc_round_rate()
948 div = prate / rate; in mmc_round_rate()
952 return prate / div; in mmc_round_rate()
958 unsigned long prate, div, crate = mmc_round_rate(clk, rate); in mmc_set_rate() local
960 prate = clk->parent->get_rate(clk->parent); in mmc_set_rate()
962 div = prate / crate; in mmc_set_rate()
1009 u32 tmp, prate, div, oldclk; in clcd_set_rate() local
[all …]
/arch/arm/mach-imx/
Dclk-pllv3.c111 unsigned long *prate) in clk_pllv3_round_rate() argument
113 unsigned long parent_rate = *prate; in clk_pllv3_round_rate()
158 unsigned long *prate) in clk_pllv3_sys_round_rate() argument
160 unsigned long parent_rate = *prate; in clk_pllv3_sys_round_rate()
214 unsigned long *prate) in clk_pllv3_av_round_rate() argument
216 unsigned long parent_rate = *prate; in clk_pllv3_av_round_rate()
Dclk-pfd.c72 unsigned long *prate) in clk_pfd_round_rate() argument
74 u64 tmp = *prate; in clk_pfd_round_rate()
84 tmp = *prate; in clk_pfd_round_rate()
Dclk-fixup-div.c52 unsigned long *prate) in clk_fixup_div_round_rate() argument
56 return fixup_div->ops->round_rate(&fixup_div->divider.hw, rate, prate); in clk_fixup_div_round_rate()
Dclk-pllv2.c184 unsigned long *prate) in clk_pllv2_round_rate() argument
188 __clk_pllv2_set_rate(rate, *prate, &dp_op, &dp_mfd, &dp_mfn); in clk_pllv2_round_rate()
189 return __clk_pllv2_recalc_rate(*prate, MXC_PLL_DP_CTL_DPDCK0_2_EN, in clk_pllv2_round_rate()
Dclk-busy.c55 unsigned long *prate) in clk_busy_divider_round_rate() argument
59 return busy->div_ops->round_rate(&busy->div.hw, rate, prate); in clk_busy_divider_round_rate()
/arch/arm/mach-omap2/
Ddpll3xxx.c710 unsigned long *prate) in omap3_clkoutx2_round_rate() argument
716 if (!*prate) in omap3_clkoutx2_round_rate()
728 *prate = __clk_round_rate(__clk_get_parent(pclk->hw.clk), rate); in omap3_clkoutx2_round_rate()
729 return *prate; in omap3_clkoutx2_round_rate()
739 return *prate; in omap3_clkoutx2_round_rate()
745 *prate = __clk_round_rate(__clk_get_parent(hw->clk), in omap3_clkoutx2_round_rate()
749 return *prate * 2; in omap3_clkoutx2_round_rate()
/arch/powerpc/platforms/powermac/
Dlow_i2c.c491 const u32 *psteps, *prate, *addrp; in kw_i2c_host_init() local
525 prate = of_get_property(np, "AAPL,i2c-rate", NULL); in kw_i2c_host_init()
526 if (prate) switch(*prate) { in kw_i2c_host_init()
/arch/mips/alchemy/common/
Dclock.c353 static long alchemy_calc_div(unsigned long rate, unsigned long prate, in alchemy_calc_div() argument
358 div1 = prate / rate; in alchemy_calc_div()
359 if ((prate / div1) > rate) in alchemy_calc_div()