Home
last modified time | relevance | path

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

/drivers/clk/at91/
Dclk-programmable.c65 unsigned long tmp_rate; in clk_programmable_determine_rate() local
76 tmp_rate = parent_rate >> shift; in clk_programmable_determine_rate()
77 if (tmp_rate <= rate) in clk_programmable_determine_rate()
81 if (tmp_rate > rate) in clk_programmable_determine_rate()
84 if (best_rate < 0 || (rate - tmp_rate) < (rate - best_rate)) { in clk_programmable_determine_rate()
85 best_rate = tmp_rate; in clk_programmable_determine_rate()
Dclk-usb.c66 unsigned long tmp_rate; in at91sam9x5_clk_usb_determine_rate() local
84 tmp_rate = DIV_ROUND_CLOSEST(tmp_parent_rate, div); in at91sam9x5_clk_usb_determine_rate()
85 if (tmp_rate < rate) in at91sam9x5_clk_usb_determine_rate()
86 tmp_diff = rate - tmp_rate; in at91sam9x5_clk_usb_determine_rate()
88 tmp_diff = tmp_rate - rate; in at91sam9x5_clk_usb_determine_rate()
91 best_rate = tmp_rate; in at91sam9x5_clk_usb_determine_rate()
97 if (!best_diff || tmp_rate < rate) in at91sam9x5_clk_usb_determine_rate()
/drivers/clk/sunxi/
Dclk-sun6i-ar100.c59 unsigned long tmp_rate; in ar100_determine_rate() local
101 tmp_rate = (parent_rate >> shift) / div; in ar100_determine_rate()
102 if (!*best_parent_clk || tmp_rate > best_rate) { in ar100_determine_rate()
105 best_rate = tmp_rate; in ar100_determine_rate()
/drivers/clk/
Dclk-composite.c69 long tmp_rate, best_rate = 0; in clk_composite_determine_rate() local
97 tmp_rate = rate_ops->round_rate(rate_hw, rate, in clk_composite_determine_rate()
99 if (tmp_rate < 0) in clk_composite_determine_rate()
102 rate_diff = abs(rate - tmp_rate); in clk_composite_determine_rate()
109 best_rate = tmp_rate; in clk_composite_determine_rate()
/drivers/staging/rtl8192u/ieee80211/
Dieee80211_softmac_wx.c235 u32 tmp_rate; in ieee80211_wx_get_rate() local
236 tmp_rate = TxCountToDataRate(ieee, ieee->softmac_stats.CurrentShowTxate); in ieee80211_wx_get_rate()
238 wrqu->bitrate.value = tmp_rate * 500000; in ieee80211_wx_get_rate()
/drivers/staging/rtl8192e/
Drtllib_softmac_wx.c246 u32 tmp_rate = 0; in rtllib_wx_get_rate() local
248 tmp_rate = TxCountToDataRate(ieee, in rtllib_wx_get_rate()
250 wrqu->bitrate.value = tmp_rate * 500000; in rtllib_wx_get_rate()
/drivers/net/wireless/rtlwifi/rtl8821ae/
Dhw.c3506 u8 i, j, tmp_rate; in _rtl8821ae_rate_to_bitmap_2ssvht() local
3510 tmp_rate = (le16_to_cpu(vht_rate) >> i) & 3; in _rtl8821ae_rate_to_bitmap_2ssvht()
3512 switch (tmp_rate) { in _rtl8821ae_rate_to_bitmap_2ssvht()