Home
last modified time | relevance | path

Searched refs:cur_rate (Results 1 – 6 of 6) sorted by relevance

/drivers/clk/at91/
Dclk-peripheral.c245 unsigned long cur_rate = *parent_rate; in clk_sam9x5_peripheral_round_rate() local
254 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 …]
/drivers/clk/mvebu/
Dclk-cpu.c114 unsigned long fabric_div, target_div, cur_rate; in clk_cpu_on_set_rate() local
124 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()
/drivers/infiniband/hw/mthca/
Dmthca_av.c106 static u8 ib_rate_to_memfree(u8 req_rate, u8 cur_rate) in ib_rate_to_memfree() argument
108 if (cur_rate <= req_rate) in ib_rate_to_memfree()
115 switch ((cur_rate - 1) / req_rate) { in ib_rate_to_memfree()
/drivers/net/wireless/libertas/
Drx.c147 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()
Ddev.h173 u8 cur_rate; member
Dcfg.c1640 if (priv->cur_rate == lbs_rates[i].hw_value) { in lbs_cfg_get_station()