Searched refs:tmp_rate (Results 1 – 7 of 7) sorted by relevance
65 unsigned long tmp_rate; in clk_programmable_determine_rate() local76 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()
66 unsigned long tmp_rate; in at91sam9x5_clk_usb_determine_rate() local84 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()
59 unsigned long tmp_rate; in ar100_determine_rate() local101 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()
69 long tmp_rate, best_rate = 0; in clk_composite_determine_rate() local97 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()
235 u32 tmp_rate; in ieee80211_wx_get_rate() local236 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()
246 u32 tmp_rate = 0; in rtllib_wx_get_rate() local248 tmp_rate = TxCountToDataRate(ieee, in rtllib_wx_get_rate()250 wrqu->bitrate.value = tmp_rate * 500000; in rtllib_wx_get_rate()
3506 u8 i, j, tmp_rate; in _rtl8821ae_rate_to_bitmap_2ssvht() local3510 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()