Searched refs:cur_rate (Results 1 – 12 of 12) sorted by relevance
108 u32 cur_rate, low, mult, div, valid_rate, done_rate; in omap2_reprogram_dpllcore() local113 cur_rate = omap2xxx_clk_get_core_rate(dclk); in omap2_reprogram_dpllcore()117 if ((rate == (cur_rate / 2)) && (mult == 2)) { in omap2_reprogram_dpllcore()119 } else if ((rate == (cur_rate * 2)) && (mult == 1)) { in omap2_reprogram_dpllcore()121 } else if (rate != cur_rate) { in omap2_reprogram_dpllcore()
92 u32 cur_rate, done_rate, bypass = 0, tmp; in omap2_select_table_rate() local117 cur_rate = omap2xxx_clk_get_core_rate(dclk); in omap2_select_table_rate()119 if (prcm->dpll_speed == cur_rate / 2) { in omap2_select_table_rate()121 } else if (prcm->dpll_speed == cur_rate * 2) { in omap2_select_table_rate()123 } else if (prcm->dpll_speed != cur_rate) { in omap2_select_table_rate()
104 u32 cur_rate = clk->ops->get_rate(clk); in s5p64x0_armclk_set_rate() local108 if (round_tmp == cur_rate) in s5p64x0_armclk_set_rate()121 if (cur_rate > round_tmp) { in s5p64x0_armclk_set_rate()
72 unsigned int cur_rate; member179 if (chip->cur_rate) { in atmel_ac97c_playback_open()180 runtime->hw.rate_min = chip->cur_rate; in atmel_ac97c_playback_open()181 runtime->hw.rate_max = chip->cur_rate; in atmel_ac97c_playback_open()198 if (chip->cur_rate) { in atmel_ac97c_capture_open()199 runtime->hw.rate_min = chip->cur_rate; in atmel_ac97c_capture_open()200 runtime->hw.rate_max = chip->cur_rate; in atmel_ac97c_capture_open()216 chip->cur_rate = 0; in atmel_ac97c_playback_close()233 chip->cur_rate = 0; in atmel_ac97c_capture_close()262 chip->cur_rate = params_rate(hw_params); in atmel_ac97c_playback_hw_params()[all …]
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()
139 priv->cur_rate = lbs_fw_index_to_data_rate(p_rx_pd->rx_rate); in lbs_process_rxed_packet()260 priv->cur_rate = lbs_fw_index_to_data_rate(prxpd->rx_rate); in process_rxed_802_11_packet()
159 u8 cur_rate; member
1571 if (priv->cur_rate == lbs_rates[i].hw_value) { in lbs_cfg_get_station()
56 unsigned int cur_rate; /* current rate (for hw_params callback) */ member
349 subs->cur_rate != rate; in snd_usb_hw_params()353 if (subs->cur_rate != rate) { in snd_usb_hw_params()361 subs->cur_rate = rate; in snd_usb_hw_params()389 subs->cur_rate = 0; in snd_usb_hw_free()
341 unsigned int cur_rate; /* current rate */ member
675 return ((rate == ice->cur_rate) && !force) ? 0 : -EBUSY; in snd_vt1724_set_pro_rate()681 return (rate == ice->cur_rate) ? 0 : -EBUSY; in snd_vt1724_set_pro_rate()690 else if (rate == ice->cur_rate) { in snd_vt1724_set_pro_rate()696 ice->cur_rate = rate; in snd_vt1724_set_pro_rate()