Home
last modified time | relevance | path

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

/linux-2.6.39/arch/arm/mach-omap2/
Dclkt_dpll.c137 unsigned long target_rate, in _dpll_test_mult() argument
152 if (*new_rate > target_rate) { in _dpll_test_mult()
273 long omap2_dpll_round_rate(struct clk *clk, unsigned long target_rate) in omap2_dpll_round_rate() argument
286 clk->name, target_rate); in omap2_dpll_round_rate()
288 scaled_rt_rp = target_rate / (dd->clk_ref->rate / DPLL_SCALE_FACTOR); in omap2_dpll_round_rate()
314 r = _dpll_test_mult(&m, n, &new_rate, target_rate, in omap2_dpll_round_rate()
324 if (target_rate == new_rate) { in omap2_dpll_round_rate()
327 dd->last_rounded_rate = target_rate; in omap2_dpll_round_rate()
332 if (target_rate != new_rate) { in omap2_dpll_round_rate()
334 target_rate); in omap2_dpll_round_rate()
[all …]
Dclkt2xxx_dpllcore.c72 static long omap2_dpllcore_round_rate(unsigned long target_rate) in omap2_dpllcore_round_rate() argument
88 if (target_rate > high) in omap2_dpllcore_round_rate()
91 return target_rate; in omap2_dpllcore_round_rate()
93 if (target_rate > low) in omap2_dpllcore_round_rate()
Dclkt_clksel.c276 u32 omap2_clksel_round_rate_div(struct clk *clk, unsigned long target_rate, in omap2_clksel_round_rate_div() argument
288 clk->name, target_rate); in omap2_clksel_round_rate_div()
309 if (test_rate <= target_rate) in omap2_clksel_round_rate_div()
315 "rate %ld for clock %s parent %s\n", target_rate, in omap2_clksel_round_rate_div()
417 long omap2_clksel_round_rate(struct clk *clk, unsigned long target_rate) in omap2_clksel_round_rate() argument
421 return omap2_clksel_round_rate_div(clk, target_rate, &new_div); in omap2_clksel_round_rate()
Dclock.h55 long omap2_dpll_round_rate(struct clk *clk, unsigned long target_rate);
77 u32 omap2_clksel_round_rate_div(struct clk *clk, unsigned long target_rate,
81 long omap2_clksel_round_rate(struct clk *clk, unsigned long target_rate);
/linux-2.6.39/drivers/staging/rtl8187se/ieee80211/
Dieee80211_softmac_wx.c217 u32 target_rate = wrqu->bitrate.value; in ieee80211_wx_set_rate() local
220 if(target_rate == -1){ in ieee80211_wx_set_rate()
223 ieee->rate = target_rate/100000; in ieee80211_wx_set_rate()
/linux-2.6.39/drivers/staging/rtl8192e/ieee80211/
Dieee80211_softmac_wx.c220 u32 target_rate = wrqu->bitrate.value; in ieee80211_wx_set_rate() local
222 ieee->rate = target_rate/100000; in ieee80211_wx_set_rate()
/linux-2.6.39/drivers/staging/rtl8192u/ieee80211/
Dieee80211_softmac_wx.c219 u32 target_rate = wrqu->bitrate.value; in ieee80211_wx_set_rate() local
221 ieee->rate = target_rate/100000; in ieee80211_wx_set_rate()
/linux-2.6.39/drivers/net/wireless/ipw2x00/
Dipw2200.c9233 u32 target_rate = wrqu->bitrate.value; in ipw_wx_set_rate() local
9240 if (target_rate == -1) { in ipw_wx_set_rate()
9250 if (target_rate == 1000000 || !fixed) in ipw_wx_set_rate()
9252 if (target_rate == 1000000) in ipw_wx_set_rate()
9255 if (target_rate == 2000000 || !fixed) in ipw_wx_set_rate()
9257 if (target_rate == 2000000) in ipw_wx_set_rate()
9260 if (target_rate == 5500000 || !fixed) in ipw_wx_set_rate()
9262 if (target_rate == 5500000) in ipw_wx_set_rate()
9265 if (target_rate == 6000000 || !fixed) in ipw_wx_set_rate()
9267 if (target_rate == 6000000) in ipw_wx_set_rate()
[all …]
Dipw2100.c7164 u32 target_rate = wrqu->bitrate.value; in ipw2100_wx_set_rate() local
7176 if (target_rate == 1000000 || in ipw2100_wx_set_rate()
7177 (!wrqu->bitrate.fixed && target_rate > 1000000)) in ipw2100_wx_set_rate()
7179 if (target_rate == 2000000 || in ipw2100_wx_set_rate()
7180 (!wrqu->bitrate.fixed && target_rate > 2000000)) in ipw2100_wx_set_rate()
7182 if (target_rate == 5500000 || in ipw2100_wx_set_rate()
7183 (!wrqu->bitrate.fixed && target_rate > 5500000)) in ipw2100_wx_set_rate()
7185 if (target_rate == 11000000 || in ipw2100_wx_set_rate()
7186 (!wrqu->bitrate.fixed && target_rate > 11000000)) in ipw2100_wx_set_rate()
/linux-2.6.39/drivers/staging/rtl8712/
Drtl871x_ioctl_linux.c1250 u32 target_rate = wrqu->bitrate.value; in r8711_wx_set_rate() local
1257 if (target_rate == -1) { in r8711_wx_set_rate()
1261 target_rate = target_rate / 100000; in r8711_wx_set_rate()
1262 switch (target_rate) { in r8711_wx_set_rate()