Searched refs:hwrate (Results 1 - 5 of 5) sorted by relevance

/linux-master/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00queue.c230 const struct rt2x00_rate *hwrate)
256 txdesc->u.plcp.signal = hwrate->plcp;
259 if (hwrate->flags & DEV_RATE_OFDM) {
266 residual = GET_DURATION_RES(data_length, hwrate->bitrate);
267 duration = GET_DURATION(data_length, hwrate->bitrate);
275 if (hwrate->bitrate == 110 && residual <= 30)
295 const struct rt2x00_rate *hwrate)
324 txdesc->u.ht.mcs = rt2x00_get_rate_mcs(hwrate->mcs);
393 const struct rt2x00_rate *hwrate = NULL; local
464 hwrate
227 rt2x00queue_create_tx_descriptor_plcp(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb, struct txentry_desc *txdesc, const struct rt2x00_rate *hwrate) argument
291 rt2x00queue_create_tx_descriptor_ht(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb, struct txentry_desc *txdesc, struct ieee80211_sta *sta, const struct rt2x00_rate *hwrate) argument
[all...]
/linux-master/drivers/clk/st/
H A Dclkgen-pll.c424 long hwrate = 0; local
431 clk_pll3200c32_get_rate(parent_rate, &params, &hwrate);
435 hwrate, (unsigned int)params.ndiv,
438 if (!hwrate)
578 long hwrate; local
585 clk_pll4600c28_get_rate(parent_rate, &params, &hwrate);
594 hwrate, (unsigned int)params.ndiv,
597 if (!hwrate)
H A Dclkgen-fsyn.c401 long hwrate = 0; local
412 clk_fs660c32_vco_get_rate(parent_rate, &params, &hwrate);
416 hwrate, (unsigned int)params.ndiv);
418 if (!hwrate)
854 long hwrate; local
861 hwrate = quadfs_find_best_rate(hw, rate, parent_rate, &params);
862 if (!hwrate)
/linux-master/sound/soc/sunxi/
H A Dsun4i-codec.c468 unsigned int hwrate)
473 hwrate << SUN4I_CODEC_ADC_FIFOC_ADC_FS);
508 unsigned int hwrate)
515 hwrate << SUN4I_CODEC_DAC_FIFOC_DAC_FS);
558 int ret, hwrate; local
568 hwrate = sun4i_codec_get_hw_rate(params);
569 if (hwrate < 0)
570 return hwrate;
574 hwrate);
577 hwrate);
466 sun4i_codec_hw_params_capture(struct sun4i_codec *scodec, struct snd_pcm_hw_params *params, unsigned int hwrate) argument
506 sun4i_codec_hw_params_playback(struct sun4i_codec *scodec, struct snd_pcm_hw_params *params, unsigned int hwrate) argument
[all...]
/linux-master/drivers/mfd/
H A Ddb8500-prcmu.c1839 u64 hwrate; local
1847 hwrate = (d * src_rate);
1848 if (((2 * hwrate) < (r * MIN_PLL_VCO_RATE)) ||
1849 ((r * MAX_PLL_VCO_RATE) < (2 * hwrate)))
1851 (void)do_div(hwrate, r);
1852 if (rate < hwrate) {
1858 if ((rate - hwrate) < rem) {
1859 rem = (rate - hwrate);

Completed in 156 milliseconds