Searched refs:tmp_rate (Results 1 – 7 of 7) sorted by relevance
67 unsigned long tmp_rate; in clk_programmable_determine_rate() local78 tmp_rate = parent_rate >> shift; in clk_programmable_determine_rate()79 if (tmp_rate <= rate) in clk_programmable_determine_rate()83 if (tmp_rate > rate) in clk_programmable_determine_rate()86 if (best_rate < 0 || (rate - tmp_rate) < (rate - best_rate)) { in clk_programmable_determine_rate()87 best_rate = tmp_rate; in clk_programmable_determine_rate()
68 unsigned long tmp_rate; in at91sam9x5_clk_usb_determine_rate() local86 tmp_rate = DIV_ROUND_CLOSEST(tmp_parent_rate, div); in at91sam9x5_clk_usb_determine_rate()87 if (tmp_rate < rate) in at91sam9x5_clk_usb_determine_rate()88 tmp_diff = rate - tmp_rate; in at91sam9x5_clk_usb_determine_rate()90 tmp_diff = tmp_rate - rate; in at91sam9x5_clk_usb_determine_rate()93 best_rate = tmp_rate; in at91sam9x5_clk_usb_determine_rate()99 if (!best_diff || tmp_rate < rate) in at91sam9x5_clk_usb_determine_rate()
61 unsigned long tmp_rate; in ar100_determine_rate() local103 tmp_rate = (parent_rate >> shift) / div; in ar100_determine_rate()104 if (!*best_parent_clk || tmp_rate > best_rate) { in ar100_determine_rate()107 best_rate = tmp_rate; in ar100_determine_rate()
71 long tmp_rate, best_rate = 0; in clk_composite_determine_rate() local102 tmp_rate = rate_ops->round_rate(rate_hw, rate, in clk_composite_determine_rate()104 if (tmp_rate < 0) in clk_composite_determine_rate()107 rate_diff = abs(rate - tmp_rate); in clk_composite_determine_rate()114 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()
3523 u8 i, j, tmp_rate; in _rtl8821ae_rate_to_bitmap_2ssvht() local3527 tmp_rate = (le16_to_cpu(vht_rate) >> i) & 3; in _rtl8821ae_rate_to_bitmap_2ssvht()3529 switch (tmp_rate) { in _rtl8821ae_rate_to_bitmap_2ssvht()