Home
last modified time | relevance | path

Searched refs:prate (Results 1 – 4 of 4) 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/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.c375 static long alchemy_calc_div(unsigned long rate, unsigned long prate, in alchemy_calc_div() argument
380 div1 = prate / rate; in alchemy_calc_div()
381 if ((prate / div1) > rate) in alchemy_calc_div()