Searched refs:cur_rate (Results 1 – 6 of 6) sorted by relevance
245 unsigned long cur_rate = *parent_rate; in clk_sam9x5_peripheral_round_rate() local254 cur_rate = *parent_rate >> shift; in clk_sam9x5_peripheral_round_rate()255 if (cur_rate <= periph->range.max) in clk_sam9x5_peripheral_round_rate()260 if (rate >= cur_rate) in clk_sam9x5_peripheral_round_rate()261 return cur_rate; in clk_sam9x5_peripheral_round_rate()263 best_diff = cur_rate - rate; in clk_sam9x5_peripheral_round_rate()264 best_rate = cur_rate; in clk_sam9x5_peripheral_round_rate()266 cur_rate = *parent_rate >> shift; in clk_sam9x5_peripheral_round_rate()267 if (cur_rate < rate) in clk_sam9x5_peripheral_round_rate()268 cur_diff = rate - cur_rate; in clk_sam9x5_peripheral_round_rate()[all …]
114 unsigned long fabric_div, target_div, cur_rate; in clk_cpu_on_set_rate() local124 cur_rate = clk_hw_get_rate(hwclk); in clk_cpu_on_set_rate()131 if (rate == 2 * cur_rate) in clk_cpu_on_set_rate()
106 static u8 ib_rate_to_memfree(u8 req_rate, u8 cur_rate) in ib_rate_to_memfree() argument108 if (cur_rate <= req_rate) in ib_rate_to_memfree()115 switch ((cur_rate - 1) / req_rate) { in ib_rate_to_memfree()
147 priv->cur_rate = lbs_fw_index_to_data_rate(p_rx_pd->rx_rate); in lbs_process_rxed_packet()268 priv->cur_rate = lbs_fw_index_to_data_rate(prxpd->rx_rate); in process_rxed_802_11_packet()
173 u8 cur_rate; member
1640 if (priv->cur_rate == lbs_rates[i].hw_value) { in lbs_cfg_get_station()