Home
last modified time | relevance | path

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

/linux-2.6.39/arch/arm/mach-omap2/
Dclkt2xxx_dpllcore.c108 u32 cur_rate, low, mult, div, valid_rate, done_rate; in omap2_reprogram_dpllcore() local
113 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()
Dclkt2xxx_virt_prcm_set.c92 u32 cur_rate, done_rate, bypass = 0, tmp; in omap2_select_table_rate() local
117 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()
/linux-2.6.39/arch/arm/mach-s5p64x0/
Dclock.c104 u32 cur_rate = clk->ops->get_rate(clk); in s5p64x0_armclk_set_rate() local
108 if (round_tmp == cur_rate) in s5p64x0_armclk_set_rate()
121 if (cur_rate > round_tmp) { in s5p64x0_armclk_set_rate()
/linux-2.6.39/sound/atmel/
Dac97c.c72 unsigned int cur_rate; member
179 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 …]
/linux-2.6.39/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()
/linux-2.6.39/drivers/net/wireless/libertas/
Drx.c139 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()
Ddev.h159 u8 cur_rate; member
Dcfg.c1571 if (priv->cur_rate == lbs_rates[i].hw_value) { in lbs_cfg_get_station()
/linux-2.6.39/sound/usb/
Dcard.h56 unsigned int cur_rate; /* current rate (for hw_params callback) */ member
Dpcm.c349 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()
/linux-2.6.39/sound/pci/ice1712/
Dice1712.h341 unsigned int cur_rate; /* current rate */ member
Dice1724.c675 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()